/*
Theme Name: E-Class Marketplace
Author: E-Class Kenya
Description: Institutional marketplace theme with lesson reader.
Version: 0.1.77
Text Domain: eclass-marketplace
*/

:root {
    --ec-ink: #1f1f1f;
    --ec-muted: #5f6470;
    --ec-border: #d7d9df;
    --ec-soft: #f6f7f9;
    --ec-accent: #7c3aed;
    --ec-teal: #149991;
    --ec-shadow: 0 10px 30px rgba(31, 31, 31, 0.08);
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ec-ink); background: #fff; font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.ec-container { width: min(1280px, calc(100% - 80px)); margin: 0 auto; }
.ec-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--ec-border); }
.ec-header__inner { min-height: 72px; display: grid; grid-template-columns: auto auto auto minmax(280px, 1fr) max-content; gap: 18px; align-items: center; }
.ec-logo { display: inline-flex; align-items: center; min-width: max-content; color: #0f766e; font-weight: 800; font-size: 24px; line-height: 1; }
.ec-logo__image { width: auto; max-width: 190px; max-height: 46px; object-fit: contain; }
.ec-logo__text { display: inline-block; }
.ec-nav { display: flex; gap: 18px; color: var(--ec-muted); font-weight: 700; font-size: 14px; }
.ec-category-menu { position: relative; z-index: 45; }
.ec-category-menu__button { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0 6px; border: 0; background: transparent; color: #111827; cursor: pointer; font: 800 14px/1 Arial, Helvetica, sans-serif; }
.ec-category-menu__button svg { width: 16px; height: 16px; }
.ec-category-menu__button path, .ec-category-menu__list path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ec-category-menu__button:hover, .ec-category-menu__button:focus { color: var(--ec-accent); outline: 0; }
.ec-category-menu__panel { position: absolute; left: 0; top: calc(100% + 16px); width: 300px; min-height: 320px; padding: 8px 0; border: 1px solid #d7d9df; border-radius: 4px; background: #fff; box-shadow: 0 14px 36px rgba(15, 23, 42, .16); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(6px); transition: opacity .14s ease, transform .14s ease, visibility .14s ease; }
.ec-category-menu.is-open .ec-category-menu__panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.ec-category-menu__panel::before { content: ""; position: absolute; left: 32px; top: -7px; width: 14px; height: 14px; border-left: 1px solid #d7d9df; border-top: 1px solid #d7d9df; background: #fff; transform: rotate(45deg); }
.ec-category-menu__all, .ec-category-menu__list a, .ec-category-menu__children a { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; color: #111827; text-decoration: none; font: 700 14px/1.25 Arial, Helvetica, sans-serif; }
.ec-category-menu__all { border-bottom: 1px solid #eef2f7; color: var(--ec-accent); font-weight: 900; }
.ec-category-menu__list, .ec-category-menu__children { margin: 0; padding: 0; list-style: none; }
.ec-category-menu__list > li { position: static; }
.ec-category-menu__list > li > a svg { width: 16px; height: 16px; color: #64748b; }
.ec-category-menu__list > li:hover > a, .ec-category-menu__list > li:focus-within > a, .ec-category-menu__all:hover, .ec-category-menu__all:focus { color: var(--ec-accent); background: #f7f2ff; outline: 0; }
.ec-category-menu__children { position: absolute; left: calc(100% - 1px); top: -1px; width: 300px; min-height: calc(100% + 2px); padding: 8px 0; border: 1px solid #d7d9df; border-radius: 0 4px 4px 0; background: #fff; box-shadow: 18px 14px 36px rgba(15, 23, 42, .12); opacity: 0; visibility: hidden; pointer-events: none; }
.ec-category-menu__list > li:hover .ec-category-menu__children, .ec-category-menu__list > li:focus-within .ec-category-menu__children { opacity: 1; visibility: visible; pointer-events: auto; }
.ec-category-menu__children a:hover, .ec-category-menu__children a:focus { color: var(--ec-accent); background: #f7f2ff; outline: 0; }
.ec-category-menu__panel p { margin: 12px 16px; color: #64748b; font: 600 13px/1.4 Arial, Helvetica, sans-serif; }
.ec-search { display: flex; width: 100%; min-width: 0; align-items: center; border: 1px solid var(--ec-ink); border-radius: 999px; min-height: 46px; padding: 0 16px; background: var(--ec-soft); }
.ec-search input { width: 100%; border: 0; outline: 0; background: transparent; font: inherit; }
.ec-header-actions { display: flex; align-items: center; gap: 10px; }
.ec-header-link { font-weight: 800; font-size: 14px; }
.ec-header-link--institution { min-height: 40px; display: inline-flex; align-items: center; color: #111827; }
.ec-header-link--teach { min-height: 40px; display: inline-flex; align-items: center; color: #111827; white-space: nowrap; }
.ec-header-link--teach:hover, .ec-header-link--teach:focus, .ec-header-link--institution:hover, .ec-header-link--institution:focus { color: var(--ec-accent); outline: 0; }
.ec-auth-links { display: flex; align-items: center; gap: 10px; }
.ec-auth-links .ec-button { min-height: 40px; border-radius: 0; padding: 0 18px; white-space: nowrap; }
.ec-cart-menu { position: relative; z-index: 47; }
.ec-cart-menu__toggle { position: relative; width: 38px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 0; background: transparent; color: #111827; cursor: pointer; }
.ec-cart-menu__toggle svg { width: 21px; height: 21px; }
.ec-cart-menu__toggle > span { position: absolute; right: -3px; top: -5px; min-width: 19px; height: 19px; display: grid; place-items: center; border-radius: 999px; background: #7c3aed; color: #fff; font-size: 11px; font-weight: 900; line-height: 1; }
.ec-cart-menu__panel { position: absolute; right: 0; top: calc(100% + 12px); width: 340px; max-width: calc(100vw - 32px); padding: 14px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 16px 42px rgba(15, 23, 42, .16); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(6px); transition: opacity .14s ease, transform .14s ease, visibility .14s ease; }
.ec-cart-menu.is-open .ec-cart-menu__panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.ec-cart-menu__panel::before { content: ""; position: absolute; right: 16px; top: -7px; width: 14px; height: 14px; border-left: 1px solid #d7d9df; border-top: 1px solid #d7d9df; background: #fff; transform: rotate(45deg); }
.ec-cart-menu__panel > strong { display: block; margin: 0 0 10px; color: #111827; font-size: 15px; }
.ec-cart-menu__items { display: grid; gap: 10px; max-height: 300px; overflow: auto; }
.ec-cart-menu__items article { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid #edf0f5; border-radius: 7px; background: #f8fafc; }
.ec-cart-menu__thumb { width: 48px; height: 38px; overflow: hidden; border-radius: 5px; background: #e5e7eb; }
.ec-cart-menu__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ec-cart-menu__items span { display: block; color: #111827; font-size: 13px; font-weight: 900; line-height: 1.25; }
.ec-cart-menu__items em { display: block; margin-top: 3px; color: #667085; font-size: 12px; font-style: normal; font-weight: 800; }
.ec-cart-menu__items b { color: #111827; font-size: 12px; white-space: nowrap; }
.ec-cart-menu__total { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0; padding-top: 12px; border-top: 1px solid #edf0f5; color: #111827; font-weight: 900; }
.ec-cart-menu__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ec-cart-menu__actions a, .ec-cart-menu__browse { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #7c3aed; border-radius: 6px; color: #7c3aed; font-size: 13px; font-weight: 900; }
.ec-cart-menu__actions a:last-child { background: #7c3aed; color: #fff; }
.ec-cart-menu__empty { margin: 0 0 12px; color: #475467; font-size: 14px; font-weight: 700; }
.ec-cart-menu__browse { width: 100%; }
.ec-profile-menu { position: relative; z-index: 46; }
.ec-profile-menu__toggle { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 0; background: transparent; color: #111827; cursor: pointer; font: 900 14px/1 Arial, Helvetica, sans-serif; }
.ec-profile-menu__avatar { width: 28px; height: 28px; border-radius: 50%; }
.ec-profile-menu__toggle svg { width: 15px; height: 15px; }
.ec-profile-menu__toggle path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ec-profile-menu__panel { position: fixed; right: 16px; top: 66px; width: 290px; padding: 10px 0; border: 1px solid #d7d9df; border-radius: 6px; background: #fff; box-shadow: 0 16px 42px rgba(15, 23, 42, .16); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(6px); transition: opacity .14s ease, transform .14s ease, visibility .14s ease; }
.ec-profile-menu.is-open .ec-profile-menu__panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.ec-profile-menu__panel::before { content: ""; position: absolute; right: 24px; top: -7px; width: 14px; height: 14px; border-left: 1px solid #d7d9df; border-top: 1px solid #d7d9df; background: #fff; transform: rotate(45deg); }
.ec-profile-menu__user { padding: 4px 16px 8px; border-bottom: 1px solid #edf0f5; }
.ec-profile-menu__user strong { display: block; color: #111827; font-size: 14px; line-height: 1.25; }
.ec-profile-menu__user span { display: block; margin-top: 3px; color: #667085; font-size: 12px; font-weight: 700; }
.ec-profile-menu__panel p { margin: 10px 16px 8px; color: #0f766e; font-size: 12px; font-weight: 900; }
.ec-profile-menu__panel a, .ec-profile-menu__panel > span, .ec-profile-menu__panel > strong { min-height: 34px; display: flex; align-items: center; padding: 0 16px; color: #111827; font-size: 13px; font-weight: 800; }
.ec-profile-menu__panel > strong, .ec-profile-menu__switch-label { min-height: 28px; margin-top: 6px; color: #667085; font-size: 11px; text-transform: uppercase; }
.ec-profile-menu__profiles { display: grid; gap: 2px; padding: 0 10px 6px 24px; }
.ec-profile-menu__profiles a, .ec-profile-menu__profiles span { min-height: 32px; display: flex; align-items: center; padding: 0 10px; border-radius: 6px; color: #344054; font-size: 13px; font-weight: 800; }
.ec-profile-menu__profiles span.is-active { color: #0f766e; background: #ecfdf5; }
.ec-profile-menu__panel a:hover, .ec-profile-menu__panel a:focus { color: #5624d0; background: #f7f2ff; outline: 0; }
.ec-mobile-menu-toggle,
.ec-mobile-menu { display: none; }
.ec-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; border: 1px solid var(--ec-ink); padding: 0 16px; font-weight: 800; background: #fff; }
.ec-button--primary { color: #fff; background: var(--ec-accent); border-color: var(--ec-accent); }
.ec-hero { background: linear-gradient(90deg, #f5f0ff 0%, #fff 48%, #eef7f2 100%); border-bottom: 1px solid var(--ec-border); }
.ec-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: center; min-height: 430px; padding: 44px 0; }
.ec-hero h1 { margin: 0 0 16px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(42px, 5vw, 66px); line-height: 1.02; }
.ec-hero p { max-width: 680px; color: var(--ec-muted); font-size: 19px; }
.ec-eyebrow { margin: 0 0 8px; color: #6d28d9; font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.ec-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ec-strip { border-bottom: 1px solid var(--ec-border); background: #fff; }
.ec-strip__inner { display: flex; gap: 28px; overflow: auto; padding: 16px 0; color: #38333f; font-weight: 900; white-space: nowrap; }
.ec-section { padding: 40px 0; }
.ec-section h1, .ec-section h2 { margin-top: 0; }
.ec-page { min-height: 620px; padding: 54px 0 72px; background: #fff; }
.ec-page__article { max-width: 980px; }
.ec-page__header { margin-bottom: 28px; }
.ec-page__header h1 { max-width: 760px; margin: 0; color: #111827; font-size: 44px; line-height: 1.08; letter-spacing: 0; }
.ec-page__content { max-width: 860px; color: #1f2937; font-size: 17px; line-height: 1.65; }
.ec-page__content h2 { margin: 34px 0 12px; color: #111827; font-size: 26px; line-height: 1.2; }
.ec-page__content p { margin: 0 0 18px; }
.ec-page__content a { color: #5624d0; font-weight: 800; text-decoration: none; }
.ec-page__content a:hover, .ec-page__content a:focus { text-decoration: underline; }
.ec-page__content ol, .ec-page__content ul { margin: 18px 0 0; padding: 0; list-style: none; }
.ec-page__content li { margin: 0 0 10px; padding: 14px 16px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 rgba(15, 23, 42, .04); }
.ec-page__article--start-here { max-width: 1120px; }
.ec-page__article--start-here .ec-page__content { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: 28px; max-width: none; }
.ec-page__article--start-here .ec-page__content > h2,
.ec-page__article--start-here .ec-page__content > p,
.ec-page__article--start-here .ec-page__content > ol,
.ec-page__article--start-here .ec-page__content > ul { grid-column: 1; }
.ec-page__article--start-here .ec-page__content > h2:nth-of-type(2),
.ec-page__article--start-here .ec-page__content > h2:nth-of-type(2) + ul { grid-column: 2; }
.ec-page__article--start-here .ec-page__content > h2:first-child { margin-top: 0; }
.ec-page__article--start-here .ec-page__content ol li a { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #111827; }
.ec-page__article--start-here .ec-page__content ol li a::after { content: "->"; color: #5624d0; font-weight: 900; }
.ec-page__article--start-here .ec-page__content ul li { border-color: #c7f0ee; background: #f0fdfa; }
.ec-course-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ec-card, .ec-course-card { border: 1px solid var(--ec-border); background: #fff; padding: 18px; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.ec-course-card { padding: 0; }
.ec-course-card:hover { box-shadow: var(--ec-shadow); transform: translateY(-1px); transition: box-shadow .16s ease, transform .16s ease; }
.ec-course-card__image { aspect-ratio: 16 / 9; background: #e8ebf0; overflow: hidden; }
.ec-course-card__image img { width: 100%; height: 100%; object-fit: cover; }
.ec-course-card__body { padding: 14px; }
.ec-course-card h3 { min-height: 48px; margin: 0 0 8px; font-size: 16px; line-height: 1.25; }
.ec-meta, .ec-rating { color: var(--ec-muted); font-size: 13px; }
.ec-rating strong { color: #b4690e; }
.ec-price { margin-top: 8px; font-weight: 900; }
.ec-price--large { font-size: 30px; }
.ec-card-action { display: inline-flex; margin-top: 12px; color: #5624d0; font-weight: 900; font-size: 14px; }
.ec-single-hero { color: #fff; background: #24212f; padding: 34px 0; }
.ec-single-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; }
.ec-footer { margin-top: 40px; padding: 34px 0; background: #1f1f1f; color: #fff; }
.ec-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
.ec-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; }
.ec-dashboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ec-account { padding: 36px 0 72px; background: #f7f9fc; color: #111827; font-family: Arial, Helvetica, sans-serif; }
.ec-account-auth { max-width: 720px; padding: 42px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 16px 36px rgba(15, 23, 42, .06); }
.ec-account-auth h1 { margin: 0 0 14px; font-size: 42px; line-height: 1.08; }
.ec-account-auth p { max-width: 560px; margin: 0 0 22px; color: #475467; font-size: 17px; line-height: 1.6; }
.ec-account-auth__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ec-account-notice { margin: 0 0 18px; padding: 13px 16px; border: 1px solid #99f6e4; border-radius: 8px; background: #ecfdf5; color: #047857; font-size: 14px; font-weight: 900; }
.ec-account-notice--error { border-color: #fecaca; background: #fff1f2; color: #be123c; }
.ec-account-hero { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 28px 30px; border: 1px solid #202938; border-radius: 8px; background: linear-gradient(135deg, #151821 0%, #202938 100%); color: #fff; box-shadow: 0 18px 42px rgba(15, 23, 42, .12); }
.ec-account-hero .ec-eyebrow { color: #99f6e4; }
.ec-account-hero h1 { margin: 0 0 6px; font-size: clamp(32px, 4vw, 46px); line-height: 1.05; letter-spacing: 0; }
.ec-account-hero p { max-width: 720px; margin: 0; color: #d1d5db; font-size: 16px; line-height: 1.55; }
.ec-account-identity { display: flex; gap: 18px; align-items: center; min-width: 0; }
.ec-account-avatar { width: 120px; height: 120px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border: 4px solid rgba(255,255,255,.16); border-radius: 50%; background: #f2f4f7; color: #64748b; }
.ec-account-avatar--small { width: 82px; height: 82px; border-width: 2px; border-color: #e5e7eb; }
.ec-account-avatar__image, .ec-account-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ec-account-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.ec-account-hero__actions .ec-button:not(.ec-button--primary) { border-color: rgba(255,255,255,.36); background: transparent; color: #fff; }
.ec-account-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.ec-account-stats article { padding: 18px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 rgba(15, 23, 42, .04); }
.ec-account-stats span { display: block; color: #667085; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ec-account-stats strong { display: block; margin-top: 8px; color: #111827; font-size: 30px; line-height: 1; }
.ec-account-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.ec-account-nav { position: sticky; top: 96px; display: grid; gap: 6px; padding: 12px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; }
.ec-account-nav a { padding: 11px 12px; border-radius: 6px; color: #344054; font-size: 14px; font-weight: 900; }
.ec-account-nav a:hover, .ec-account-nav a:focus, .ec-account-nav a.is-active { background: #f2f4f7; color: #5624d0; outline: 0; }
.ec-account-main { display: grid; gap: 20px; min-width: 0; }
.ec-account-section { display: grid; gap: 20px; }
.ec-account-section[hidden], .ec-account-panel[hidden] { display: none !important; }
.ec-account-panel { scroll-margin-top: 96px; padding: 22px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
.ec-account-panel__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.ec-account-panel__head h2 { margin: 0; color: #111827; font-size: 25px; line-height: 1.15; }
.ec-account-panel__head a { color: #5624d0; font-size: 14px; font-weight: 900; }
.ec-account-profiles { display: flex; flex-wrap: wrap; gap: 10px; }
.ec-account-profiles a, .ec-account-profiles span { min-height: 36px; display: inline-flex; align-items: center; border: 1px solid #cfd6e4; border-radius: 999px; padding: 0 13px; color: #344054; font-size: 13px; font-weight: 900; }
.ec-account-profiles .is-active { border-color: #99f6e4; background: #ecfdf5; color: #0f766e; }
.ec-account-course-list { display: grid; gap: 12px; }
.ec-account-course { display: grid; grid-template-columns: 190px minmax(0, 1fr) 112px; gap: 16px; align-items: center; padding: 12px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
.ec-account-course__thumb { aspect-ratio: 16 / 9; display: block; overflow: hidden; border-radius: 6px; background: #e8ebf0; }
.ec-account-course__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ec-account-course span { display: block; margin-bottom: 4px; color: #0f766e; font-size: 12px; font-weight: 900; }
.ec-account-course h3 { margin: 0 0 5px; color: #111827; font-size: 18px; line-height: 1.25; }
.ec-account-course p { margin: 0 0 10px; color: #475467; font-size: 14px; line-height: 1.45; }
.ec-account-progress { height: 7px; overflow: hidden; border-radius: 999px; background: #edf0f5; }
.ec-account-progress span { display: block; height: 100%; margin: 0; border-radius: inherit; background: #5624d0; }
.ec-account-course__actions { display: grid; gap: 8px; justify-items: end; }
.ec-account-course__actions strong { color: #111827; font-size: 18px; line-height: 1; }
.ec-account-course__actions a { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #5624d0; border-radius: 6px; padding: 0 14px; background: #5624d0; color: #fff; font-size: 13px; font-weight: 900; }
.ec-account-empty { padding: 22px; border: 1px dashed #cfd6e4; border-radius: 8px; background: #f8fafc; }
.ec-account-empty--compact { padding: 16px; }
.ec-account-empty h3 { margin: 0 0 6px; color: #111827; font-size: 18px; }
.ec-account-empty p { margin: 0; color: #475467; font-size: 14px; line-height: 1.5; }
.ec-account-empty a { display: inline-flex; margin-top: 12px; color: #5624d0; font-size: 14px; font-weight: 900; }
.ec-account-records { display: grid; gap: 10px; }
.ec-account-records article { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px; border: 1px solid #edf0f5; border-radius: 8px; background: #fff; }
.ec-account-records strong { display: block; color: #111827; font-size: 15px; }
.ec-account-records span { display: block; margin-top: 3px; color: #667085; font-size: 12px; font-weight: 800; }
.ec-account-records em { color: #344054; font-size: 13px; font-style: normal; font-weight: 900; white-space: nowrap; }
.ec-account-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ec-account-details article { padding: 15px; border: 1px solid #edf0f5; border-radius: 8px; background: #f8fafc; }
.ec-account-details span { display: block; color: #667085; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ec-account-details strong { display: block; margin-top: 5px; color: #111827; font-size: 15px; line-height: 1.35; word-break: break-word; }
.ec-account-form { display: grid; gap: 16px; }
.ec-account-form__avatar { display: flex; gap: 16px; align-items: center; padding: 14px; border: 1px solid #edf0f5; border-radius: 8px; background: #f8fafc; }
.ec-account-form label { display: grid; gap: 6px; color: #344054; font-size: 12px; font-weight: 900; }
.ec-account-form label span { text-transform: uppercase; }
.ec-account-form input, .ec-account-form textarea { width: 100%; min-height: 42px; border: 1px solid #cfd6e4; border-radius: 6px; padding: 0 12px; background: #fff; color: #111827; font: 700 14px/1.3 Arial, Helvetica, sans-serif; }
.ec-account-form input[readonly] { background: #f2f4f7; color: #667085; }
.ec-account-form input[type="file"] { min-height: 0; padding: 9px 12px; font-weight: 700; }
.ec-account-form textarea { min-height: 120px; padding: 12px; resize: vertical; }
.ec-account-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ec-account-form__wide { display: grid; }
.ec-account-form button { justify-self: start; cursor: pointer; }
.ec-auth-page { padding: 42px 0 76px; background: #f7f9fc; color: #111827; font-family: Arial, Helvetica, sans-serif; }
.ec-auth-page__grid { display: grid; grid-template-columns: minmax(0, 620px) minmax(300px, 1fr); gap: 22px; align-items: stretch; }
.ec-auth-card, .ec-auth-side { border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 16px 36px rgba(15, 23, 42, .06); }
.ec-auth-card { padding: 34px; }
.ec-auth-card h1 { max-width: 520px; margin: 0 0 12px; color: #111827; font-size: 38px; line-height: 1.08; letter-spacing: 0; }
.ec-auth-card p { max-width: 540px; margin: 0 0 18px; color: #475467; font-size: 15px; line-height: 1.55; }
.ec-auth-notice { margin: 0 0 16px; padding: 12px 14px; border: 1px solid #99f6e4; border-radius: 8px; background: #ecfdf5; color: #047857; font-size: 13px; font-weight: 900; }
.ec-auth-notice--error { border-color: #fecaca; background: #fff1f2; color: #be123c; }
.ec-auth-form { display: grid; gap: 14px; }
.ec-auth-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ec-auth-form label { display: grid; gap: 6px; color: #344054; font-size: 12px; font-weight: 900; }
.ec-auth-form label > span { text-transform: uppercase; }
.ec-auth-form input[type="text"], .ec-auth-form input[type="email"], .ec-auth-form input[type="password"] { width: 100%; min-height: 44px; border: 1px solid #cfd6e4; border-radius: 6px; padding: 0 12px; background: #fff; color: #111827; font: 700 14px/1.3 Arial, Helvetica, sans-serif; }
.ec-auth-form__row { display: flex; justify-content: space-between; gap: 14px; align-items: center; color: #475467; font-size: 13px; font-weight: 800; }
.ec-auth-form__row a, .ec-auth-switch a { color: #5624d0; font-weight: 900; }
.ec-auth-check { display: inline-flex !important; grid-template-columns: none !important; gap: 8px !important; align-items: center; }
.ec-auth-check input { width: 16px; height: 16px; margin: 0; accent-color: #5624d0; }
.ec-auth-teach-check { grid-template-columns: 18px minmax(0, 1fr) !important; align-items: start; gap: 12px !important; padding: 14px; border: 1px solid #c4b5fd; border-radius: 8px; background: #f7f2ff; cursor: pointer; }
.ec-auth-teach-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #5624d0; }
.ec-auth-teach-check span { text-transform: none !important; }
.ec-auth-teach-check strong, .ec-auth-teach-check em { display: block; }
.ec-auth-teach-check strong { color: #111827; font-size: 14px; line-height: 1.25; }
.ec-auth-teach-check em { margin-top: 3px; color: #475467; font-size: 12px; font-style: normal; font-weight: 800; line-height: 1.4; }
.ec-auth-card .ec-button { justify-self: start; border-radius: 6px; cursor: pointer; }
.ec-auth-switch { margin-top: 18px !important; font-size: 14px !important; }
.ec-auth-side { padding: 30px; background: linear-gradient(135deg, #151821 0%, #202938 100%); color: #fff; }
.ec-auth-side h2 { margin: 0 0 16px; color: #fff; font-size: 26px; line-height: 1.15; }
.ec-auth-side ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ec-auth-side li { position: relative; padding-left: 24px; color: #d1d5db; font-size: 14px; font-weight: 800; line-height: 1.5; }
.ec-auth-side li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 7px; border-left: 2px solid #99f6e4; border-bottom: 2px solid #99f6e4; transform: rotate(-45deg); }
.ec-inst { padding: 36px 0 72px; background: #f7f9fc; color: #111827; font-family: Arial, Helvetica, sans-serif; }
.ec-inst-empty { max-width: 780px; padding: 44px; border: 1px solid #d7d9df; background: #fff; box-shadow: 0 12px 30px rgba(15, 23, 42, .05); }
.ec-inst-empty h1 { margin: 0 0 14px; font-size: 40px; line-height: 1.08; }
.ec-inst-empty p { margin: 0 0 22px; color: #4b5563; font-size: 17px; line-height: 1.6; }
.ec-inst-notice { margin: 0 0 18px; padding: 13px 16px; border: 1px solid #99f6e4; border-radius: 8px; background: #ecfdf5; color: #047857; font-weight: 800; }
.ec-inst-hero { display: flex; justify-content: space-between; gap: 28px; padding: 30px; border: 1px solid #202938; border-radius: 8px; background: #151821; color: #fff; box-shadow: 0 18px 42px rgba(15, 23, 42, .12); }
.ec-inst-identity { display: flex; gap: 20px; align-items: flex-start; }
.ec-inst-logo { width: 82px; height: 82px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: #fff; color: #0f766e; font-size: 38px; font-weight: 900; }
.ec-inst-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.ec-inst-hero .ec-eyebrow { color: #99f6e4; }
.ec-inst-hero h1 { max-width: 720px; margin: 0 0 10px; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; }
.ec-inst-hero p { max-width: 760px; margin: 0; color: #d1d5db; font-size: 16px; line-height: 1.55; }
.ec-inst-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ec-inst-chips span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: 12px; font-weight: 900; }
.ec-inst-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: 190px; }
.ec-inst-actions .ec-button { border-color: rgba(255,255,255,.32); color: #fff; background: transparent; }
.ec-inst-actions .ec-button--primary { border-color: #7c3aed; background: #7c3aed; }
.ec-inst-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.ec-inst-stats article { padding: 18px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 rgba(15, 23, 42, .04); }
.ec-inst-stats span { display: block; min-height: 32px; color: #667085; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ec-inst-stats strong { display: block; margin-top: 8px; color: #111827; font-size: 30px; line-height: 1; }
.ec-inst-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.ec-inst-sidebar { position: sticky; top: 96px; display: grid; gap: 6px; padding: 12px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; }
.ec-inst-sidebar a { padding: 11px 12px; border-radius: 6px; color: #344054; font-size: 14px; font-weight: 900; }
.ec-inst-sidebar a:hover, .ec-inst-sidebar a:focus { background: #f2f4f7; color: #5624d0; outline: 0; }
.ec-inst-main { display: grid; gap: 20px; }
.ec-inst-panel { padding: 22px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
.ec-inst-panel__head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 16px; }
.ec-inst-panel__head h2 { margin: 0; color: #111827; font-size: 24px; line-height: 1.15; }
.ec-inst-panel__head a { color: #5624d0; font-weight: 900; font-size: 14px; }
.ec-inst-panel__links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; }
.ec-inst-kicker { margin: 0 0 5px; color: #0f766e; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ec-inst-panel-intro { max-width: 780px; margin: -6px 0 16px; color: #475467; font-size: 14px; font-weight: 700; line-height: 1.5; }
.ec-inst-form { display: grid; grid-template-columns: minmax(180px, 1.2fr) minmax(140px, .8fr) minmax(110px, .55fr) auto; gap: 10px; align-items: end; margin: 0 0 18px; padding: 14px; border: 1px solid #e5e7eb; border-radius: 8px; background: #f8fafc; }
.ec-inst-form label { display: grid; gap: 5px; color: #344054; font-size: 12px; font-weight: 900; }
.ec-inst-form input, .ec-inst-form select { width: 100%; min-height: 40px; border: 1px solid #cfd6e4; border-radius: 6px; background: #fff; color: #111827; font: 700 14px/1 Arial, Helvetica, sans-serif; }
.ec-inst-form select[multiple] { min-height: 112px; padding: 8px 10px; line-height: 1.35; }
.ec-inst-form small { color: #667085; font-size: 11px; font-weight: 800; line-height: 1.35; }
.ec-inst-form button { min-height: 40px; border: 1px solid #5624d0; border-radius: 6px; padding: 0 14px; background: #5624d0; color: #fff; font: 900 14px/1 Arial, Helvetica, sans-serif; cursor: pointer; }
.ec-inst-empty-inline { display: grid; gap: 6px; margin: 0 0 14px; padding: 14px 16px; border: 1px dashed #cfd6e4; border-radius: 8px; background: #f8fafc; color: #344054; }
.ec-inst-empty-inline strong { color: #111827; font-size: 14px; }
.ec-inst-empty-inline p { margin: 0; color: #667085; font-size: 13px; font-weight: 800; line-height: 1.45; }
.ec-inst-split-forms { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 12px; margin-bottom: 16px; }
.ec-inst-form-card { margin: 0; border-color: #dbe3ef; background: #fff; box-shadow: 0 8px 22px rgba(15, 23, 42, .04); }
.ec-inst-form--compact { grid-template-columns: minmax(0, 1fr) auto; margin: 0; }
.ec-inst-form--group-members { grid-template-columns: minmax(150px, .58fr) minmax(0, 1.3fr) auto; margin: 0; }
.ec-inst-form--assignment { grid-template-columns: minmax(190px, 1fr) minmax(150px, .9fr) minmax(150px, .9fr) minmax(150px, .75fr) minmax(140px, .7fr); align-items: end; }
.ec-inst-form--assignment .ec-inst-check { min-height: 82px; align-content: center; }
.ec-inst-form--assignment button { grid-column: 1 / -1; justify-self: start; min-width: 180px; }
.ec-inst-check { display: flex !important; align-items: center; gap: 8px !important; min-height: 40px; padding: 0 10px; border: 1px solid #cfd6e4; border-radius: 6px; background: #fff; }
.ec-inst-check input { width: 16px; min-height: 16px; height: 16px; accent-color: #5624d0; }
.ec-inst-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ec-inst-group-card { position: relative; display: grid; gap: 7px; padding: 17px 18px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 rgba(15, 23, 42, .04); }
.ec-inst-group-card::before { content: ""; width: 32px; height: 4px; border-radius: 999px; background: #7c3aed; }
.ec-inst-group-card--unassigned { border-style: dashed; background: #f8fafc; }
.ec-inst-group-card--unassigned::before { background: #0f766e; }
.ec-inst-group-card strong { color: #111827; font-size: 16px; line-height: 1.2; }
.ec-inst-group-card span { color: #5624d0; font-size: 13px; font-weight: 900; }
.ec-inst-group-card p { margin: 0; color: #667085; font-size: 13px; line-height: 1.45; }
.ec-inst-role-field { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; min-height: 40px; margin: 0; padding: 9px 11px; border: 1px solid #cfd6e4; border-radius: 6px; background: #fff; }
.ec-inst-role-field legend { padding: 0 4px; color: #344054; font-size: 12px; font-weight: 900; }
.ec-inst-role-field label { display: inline-flex; align-items: center; gap: 6px; color: #344054; font-size: 12px; font-weight: 900; }
.ec-inst-role-field input { width: 15px; min-height: 15px; height: 15px; accent-color: #5624d0; }
.ec-inst-table-wrap { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 8px; }
.ec-inst-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.ec-inst-table th, .ec-inst-table td { padding: 13px 14px; border-bottom: 1px solid #edf0f5; text-align: left; vertical-align: middle; font-size: 14px; }
.ec-inst-table th { background: #f8fafc; color: #344054; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ec-inst-table tr:last-child td { border-bottom: 0; }
.ec-inst-table td a { color: #111827; font-weight: 900; }
.ec-inst-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: 999px; background: #ccfbf1; color: #115e59; font-size: 12px; font-weight: 900; text-transform: capitalize; }
.ec-inst-feed, .ec-inst-certs { display: grid; gap: 10px; }
.ec-inst-feed article, .ec-inst-certs article { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid #edf0f5; border-radius: 8px; background: #fff; }
.ec-inst-feed strong, .ec-inst-certs strong { color: #111827; font-size: 15px; }
.ec-inst-feed span, .ec-inst-certs span { color: #475467; font-size: 13px; font-weight: 800; }
.ec-inst-feed em, .ec-inst-certs em { color: #667085; font-size: 12px; font-style: normal; font-weight: 900; text-transform: capitalize; }
.ec-inst-brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ec-inst-brand-grid article { padding: 18px; border: 1px solid #edf0f5; border-radius: 8px; background: #f8fafc; }
.ec-inst-brand-grid span { display: block; color: #667085; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ec-inst-brand-grid strong { display: block; margin-top: 6px; color: #111827; font-size: 18px; }
.ec-inst-brand-grid p { margin: 8px 0 0; color: #475467; font-size: 13px; line-height: 1.45; }
.ec-studio { padding: 36px 0 72px; background: #f7f9fc; color: #111827; font-family: Arial, Helvetica, sans-serif; }
.ec-studio-hero { display: flex; justify-content: space-between; gap: 28px; align-items: flex-end; padding: 30px; border: 1px solid #202938; border-radius: 8px; background: linear-gradient(135deg, #151821 0%, #202938 100%); color: #fff; box-shadow: 0 18px 42px rgba(15, 23, 42, .12); }
.ec-studio-hero .ec-eyebrow { color: #99f6e4; }
.ec-studio-hero h1 { margin: 0 0 10px; font-size: clamp(34px, 4vw, 50px); line-height: 1.04; }
.ec-studio-hero p { max-width: 780px; margin: 0; color: #d1d5db; font-size: 16px; line-height: 1.55; }
.ec-studio-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; min-width: 320px; }
.ec-studio-hero__actions .ec-button { border-color: rgba(255,255,255,.32); color: #fff; background: transparent; }
.ec-studio-hero__actions .ec-button--primary { border-color: #7c3aed; background: #7c3aed; }
.ec-studio-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 20px; }
.ec-studio-steps { position: sticky; top: 96px; display: grid; gap: 6px; padding: 14px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
.ec-studio-steps span { padding: 4px 8px 8px; color: #0f766e; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ec-studio-steps a { padding: 11px 12px; border-radius: 6px; color: #344054; font-size: 14px; font-weight: 900; }
.ec-studio-steps a:hover, .ec-studio-steps a:focus { background: #f2f4f7; color: #5624d0; outline: 0; }
.ec-studio-main { display: grid; gap: 20px; }
.ec-studio-panel { padding: 22px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
.ec-studio-panel__head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 16px; }
.ec-studio-panel__head h2 { margin: 0; color: #111827; font-size: 24px; line-height: 1.15; }
.ec-studio-link { color: #5624d0; font-size: 14px; font-weight: 900; }
.ec-studio-course-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ec-studio-course-list a, .ec-studio-course-list p { min-height: 88px; margin: 0; padding: 14px; border: 1px solid #d7d9df; border-radius: 8px; background: #f8fafc; color: #111827; }
.ec-studio-course-list a { display: grid; align-content: space-between; gap: 10px; }
.ec-studio-course-list a.is-active { border-color: #7c3aed; box-shadow: inset 4px 0 0 #7c3aed; background: #fbfaff; }
.ec-studio-course-list strong { font-size: 15px; line-height: 1.35; }
.ec-studio-course-list span { color: #667085; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ec-studio-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ec-studio-field, .ec-studio-check, .ec-studio-mini-form label { display: grid; gap: 6px; color: #344054; font-size: 12px; font-weight: 900; }
.ec-studio-field--wide { grid-column: 1 / -1; }
.ec-studio-field input, .ec-studio-field select, .ec-studio-field textarea, .ec-studio-mini-form input { width: 100%; border: 1px solid #cfd6e4; border-radius: 6px; background: #fff; color: #111827; font: 700 14px/1.35 Arial, Helvetica, sans-serif; }
.ec-studio-field input, .ec-studio-field select, .ec-studio-mini-form input { min-height: 42px; padding: 0 12px; }
.ec-studio-field select[multiple] { min-height: 128px; padding: 8px 12px; }
.ec-studio-field textarea { min-height: 104px; padding: 12px; resize: vertical; }
.ec-studio-field small { color: #667085; font-size: 12px; font-weight: 800; line-height: 1.35; }
.ec-studio-featured-image__inner { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: 14px; align-items: stretch; padding: 12px; border: 1px solid #edf0f5; border-radius: 8px; background: #f8fafc; }
.ec-studio-featured-image__preview { display: grid; place-items: center; aspect-ratio: 16 / 9; min-height: 160px; overflow: hidden; border: 1px dashed #cfd6e4; border-radius: 8px; background: #fff; color: #667085; font-size: 13px; font-weight: 900; text-align: center; }
.ec-studio-featured-image__preview img { width: 100%; height: 100%; object-fit: cover; }
.ec-studio-featured-image__controls { display: grid; align-content: center; gap: 10px; }
.ec-studio-upload { display: grid; gap: 7px; color: #344054; font-size: 12px; font-weight: 900; }
.ec-studio-upload input { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid #cfd6e4; border-radius: 6px; background: #fff; color: #111827; font: 800 13px/1.2 Arial, Helvetica, sans-serif; }
.ec-studio-check--inline { align-self: start; min-height: 38px; }
.ec-studio-user-picker { display: grid; gap: 8px; }
.ec-studio-user-picker > span { color: #344054; font-size: 12px; font-weight: 900; }
.ec-studio-user-picker__control input { width: 100%; min-height: 42px; border: 1px solid #cfd6e4; border-radius: 6px; padding: 0 12px; background: #fff; color: #111827; font: 700 14px/1.35 Arial, Helvetica, sans-serif; }
.ec-studio-user-picker__selected { min-height: 44px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; padding: 8px; border: 1px solid #edf0f5; border-radius: 8px; background: #f8fafc; }
.ec-studio-user-picker__chip { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; border: 1px solid #c7d2fe; border-radius: 999px; padding: 0 11px; background: #eef2ff; color: #312e81; font: 900 12px/1 Arial, Helvetica, sans-serif; cursor: pointer; }
.ec-studio-user-picker__chip::after { content: "x"; color: #5624d0; font-size: 12px; font-weight: 900; }
.ec-studio-user-picker__empty, .ec-studio-user-picker__hint { color: #667085; font-size: 12px; font-weight: 800; }
.ec-studio-user-picker__results { display: grid; gap: 5px; }
.ec-studio-user-picker__result { min-height: 34px; border: 1px solid #e5e7eb; border-radius: 6px; padding: 0 10px; background: #fff; color: #111827; text-align: left; font: 800 13px/1 Arial, Helvetica, sans-serif; cursor: pointer; }
.ec-studio-user-picker__result:hover, .ec-studio-user-picker__result:focus { border-color: #7c3aed; color: #5624d0; outline: 0; }
.ec-studio-user-picker.is-enhanced select[data-user-picker-select] { display: none; }
.ec-studio-check { align-self: end; min-height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #cfd6e4; border-radius: 6px; background: #f8fafc; }
.ec-studio-check input { width: 16px; height: 16px; margin: 0; accent-color: #5624d0; }
.ec-studio-check--wide { grid-column: 1 / -1; align-self: auto; }
.ec-studio-form__actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.ec-studio-form__actions button, .ec-studio-mini-form button { min-height: 42px; border: 1px solid #5624d0; border-radius: 6px; padding: 0 18px; background: #5624d0; color: #fff; font: 900 14px/1 Arial, Helvetica, sans-serif; cursor: pointer; }
.ec-studio-muted { margin: 0; padding: 16px; border: 1px dashed #cfd6e4; border-radius: 8px; background: #f8fafc; color: #475467; font-weight: 800; }
.ec-studio-muted--compact { padding: 12px 14px; font-size: 13px; }
.ec-studio-count { color: #667085; font-size: 13px; font-weight: 900; }
.ec-studio-chapter-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.ec-studio-chapter-strip article { display: grid; gap: 7px; min-height: 76px; padding: 13px; border: 1px solid #d7d9df; border-radius: 8px; background: #f8fafc; }
.ec-studio-chapter-strip strong { color: #111827; font-size: 14px; line-height: 1.25; }
.ec-studio-chapter-strip span { color: #667085; font-size: 12px; font-weight: 900; }
.ec-studio-chapter-strip a { justify-self: start; color: #5624d0; font-size: 12px; font-weight: 900; }
.ec-studio-lessons { display: grid; gap: 8px; }
.ec-studio-lessons article { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto auto; gap: 14px; align-items: center; padding: 13px 14px; border: 1px solid #edf0f5; border-radius: 8px; background: #fff; }
.ec-studio-lessons article > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: #eef2ff; color: #5624d0; font-size: 12px; font-weight: 900; }
.ec-studio-order-form article { grid-template-columns: 86px minmax(0, 1fr) auto auto auto; }
.ec-studio-order-form label { display: grid; gap: 4px; color: #667085; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.ec-studio-order-form input { width: 68px; min-height: 36px; border: 1px solid #cfd6e4; border-radius: 6px; padding: 0 8px; color: #111827; font: 900 14px/1 Arial, Helvetica, sans-serif; }
.ec-studio-order-form__actions { display: flex; justify-content: flex-end; padding-top: 8px; }
.ec-studio-order-form__actions button { min-height: 40px; border: 1px solid #5624d0; border-radius: 6px; padding: 0 16px; background: #5624d0; color: #fff; font: 900 14px/1 Arial, Helvetica, sans-serif; cursor: pointer; }
.ec-studio-lessons strong { display: block; color: #111827; font-size: 15px; line-height: 1.25; }
.ec-studio-lessons em { display: block; margin-top: 3px; color: #667085; font-size: 12px; font-style: normal; font-weight: 800; }
.ec-studio-lessons small { color: #475467; font-size: 12px; font-weight: 900; text-transform: capitalize; }
.ec-studio-lessons a { color: #5624d0; font-size: 13px; font-weight: 900; }
.ec-studio-lessons p { margin: 0; padding: 14px; border: 1px dashed #cfd6e4; border-radius: 8px; color: #475467; font-weight: 800; }
.ec-studio-curriculum-form { display: grid; gap: 12px; }
.ec-studio-curriculum-list { display: grid; gap: 8px; }
.ec-studio-curriculum-list.is-sorting { padding: 6px; border: 1px dashed #c4b5fd; border-radius: 10px; background: #faf7ff; }
.ec-studio-curriculum-row { position: relative; display: grid; grid-template-columns: 34px 34px minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; min-height: 58px; padding: 12px 14px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; transition: border-color .16s ease, box-shadow .16s ease, opacity .16s ease; }
.ec-studio-curriculum-row::before { content: var(--curriculum-index, ""); display: grid; place-items: center; width: 34px; height: 26px; border-radius: 999px; background: #eef2ff; color: #5624d0; font-size: 11px; font-weight: 900; }
.ec-studio-curriculum-row.is-dragging { opacity: .48; border-color: #7c3aed; box-shadow: 0 16px 36px rgba(15, 23, 42, .14); }
.ec-studio-curriculum-row--chapter { border-color: #c7d2fe; background: #f8fbff; }
.ec-studio-curriculum-row--chapter strong { color: #111827; font-size: 15px; }
.ec-studio-curriculum-row--lesson { margin-left: 38px; border-color: #edf0f5; }
.ec-studio-curriculum-row--lesson.is-unassigned { margin-left: 0; border-style: dashed; background: #fffaf4; }
.ec-studio-curriculum-row div { min-width: 0; }
.ec-studio-curriculum-row strong { display: block; overflow: hidden; color: #111827; font-size: 14px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.ec-studio-curriculum-row em { display: block; overflow: hidden; margin-top: 3px; color: #667085; font-size: 12px; font-style: normal; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.ec-studio-curriculum-row small, .ec-studio-curriculum-row > span, .ec-studio-curriculum-row a { color: #475467; font-size: 12px; font-weight: 900; text-transform: capitalize; }
.ec-studio-curriculum-row a { color: #5624d0; }
.ec-studio-drag-handle { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #cfd6e4; border-radius: 6px; background: #fff; color: #667085; cursor: grab; }
.ec-studio-drag-handle:active { cursor: grabbing; }
.ec-studio-drag-handle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; }
.ec-studio-curriculum-note { display: grid; gap: 4px; margin-top: 4px; padding: 11px 14px; border: 1px dashed #cfd6e4; border-radius: 8px; background: #f8fafc; }
.ec-studio-curriculum-note strong { color: #111827; font-size: 13px; }
.ec-studio-curriculum-note span { color: #667085; font-size: 12px; font-weight: 800; }
.ec-studio-assignment-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(180px, .6fr) !important; }
.ec-studio-assignment-feed { display: grid; gap: 9px; margin-top: 14px; }
.ec-studio-assignment-feed article { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid #edf0f5; border-radius: 8px; background: #fff; }
.ec-studio-assignment-feed strong { color: #111827; font-size: 14px; line-height: 1.25; }
.ec-studio-assignment-feed span { color: #667085; font-size: 12px; font-weight: 900; }
.ec-studio-assignment-feed p { margin: 0; padding: 14px; border: 1px dashed #cfd6e4; border-radius: 8px; color: #475467; font-weight: 800; }
.ec-studio-tax-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ec-studio-mini-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; padding: 14px; border: 1px solid #edf0f5; border-radius: 8px; background: #f8fafc; }
.ec-institution-signup { padding: 36px 0 72px; background: #f7f9fc; color: #111827; font-family: Arial, Helvetica, sans-serif; }
.ec-institution-signup__hero { padding: 32px; border: 1px solid #202938; border-radius: 8px; background: linear-gradient(135deg, #151821 0%, #202938 100%); color: #fff; box-shadow: 0 18px 42px rgba(15, 23, 42, .12); }
.ec-institution-signup__hero .ec-eyebrow { color: #99f6e4; }
.ec-institution-signup__hero h1 { max-width: 940px; margin: 0 0 10px; font-size: clamp(34px, 4vw, 50px); line-height: 1.05; }
.ec-institution-signup__hero p { max-width: 900px; margin: 0; color: #d1d5db; font-size: 16px; line-height: 1.55; }
.ec-institution-signup__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; margin-top: 20px; }
.ec-institution-signup__panel, .ec-institution-signup__form, .ec-institution-signup__summary { margin-top: 20px; padding: 24px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
.ec-institution-signup__panel h2, .ec-institution-signup__summary h2 { margin: 0 0 12px; color: #111827; font-size: 24px; line-height: 1.15; }
.ec-institution-signup__panel p { max-width: 720px; margin: 0 0 18px; color: #475467; font-size: 16px; line-height: 1.55; }
.ec-institution-signup__form { display: grid; gap: 14px; margin-top: 0; }
.ec-institution-signup__form label { display: grid; gap: 6px; color: #344054; font-size: 12px; font-weight: 900; }
.ec-institution-signup__form input, .ec-institution-signup__form select { width: 100%; min-height: 44px; border: 1px solid #cfd6e4; border-radius: 6px; padding: 0 12px; background: #fff; color: #111827; font: 700 14px/1.35 Arial, Helvetica, sans-serif; }
.ec-institution-signup__form button { justify-self: start; min-height: 44px; border: 1px solid #5624d0; border-radius: 6px; padding: 0 18px; background: #5624d0; color: #fff; font: 900 14px/1 Arial, Helvetica, sans-serif; cursor: pointer; }
.ec-institution-signup__summary { margin-top: 0; background: #0f766e; color: #fff; }
.ec-institution-signup__summary h2 { color: #fff; }
.ec-institution-signup__summary ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ec-institution-signup__summary li { position: relative; padding-left: 24px; color: #ecfdf5; font-size: 14px; font-weight: 800; line-height: 1.45; }
.ec-institution-signup__summary li::before { content: ""; position: absolute; left: 0; top: .42em; width: 11px; height: 7px; border-left: 2px solid #99f6e4; border-bottom: 2px solid #99f6e4; transform: rotate(-45deg); }
.ec-institution-signup__flow { margin-top: 20px; }
.ec-institution-signup__layout { grid-template-columns: minmax(0, 1fr) 390px; }
.ec-form-section-head { margin-bottom: 12px; }
.ec-form-section-head span { display: block; margin-bottom: 3px; color: #0f766e; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.ec-form-section-head h2 { margin: 0; color: #111827; font-size: 24px; line-height: 1.15; }
.ec-institution-signup__form { padding: 26px; }
.ec-institution-signup__form label span { text-transform: uppercase; }
.ec-institution-signup__summary { position: sticky; top: 96px; display: grid; gap: 16px; padding: 24px; background: #0f766e; color: #fff; }
.ec-institution-signup__summary .ec-form-section-head span { color: #99f6e4; }
.ec-institution-signup__summary .ec-form-section-head h2 { color: #fff; }
.ec-institution-signup__summary button { width: 100%; min-height: 46px; border: 1px solid #7c3aed; border-radius: 6px; background: #7c3aed; color: #fff; font: 900 14px/1 Arial, Helvetica, sans-serif; cursor: pointer; }
.ec-institution-member-login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .76fr); gap: 24px; align-items: center; margin-top: 20px; padding: 24px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
.ec-institution-member-login h2 { margin: 0 0 8px; color: #111827; font-size: 26px; line-height: 1.16; }
.ec-institution-member-login p:not(.ec-eyebrow) { max-width: 660px; margin: 0; color: #475467; font-size: 15px; line-height: 1.55; }
.ec-institution-member-login form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.ec-institution-member-login label { display: grid; gap: 6px; color: #344054; font-size: 12px; font-weight: 900; }
.ec-institution-member-login label span { text-transform: uppercase; }
.ec-institution-member-login input { width: 100%; min-height: 42px; border: 1px solid #cfd6e4; border-radius: 6px; padding: 0 12px; background: #fff; color: #111827; font: 700 14px/1.35 Arial, Helvetica, sans-serif; }
.ec-institution-member-login button { min-height: 42px; border: 1px solid #5624d0; border-radius: 6px; padding: 0 18px; background: #5624d0; color: #fff; font: 900 14px/1 Arial, Helvetica, sans-serif; cursor: pointer; white-space: nowrap; }
.ec-plan-options { display: grid; gap: 9px; }
.ec-plan-option { display: grid !important; grid-template-columns: 18px minmax(0, 1fr); gap: 10px !important; align-items: start; padding: 12px; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; background: rgba(255,255,255,.08); color: #fff !important; cursor: pointer; }
.ec-plan-option input { width: 16px !important; height: 16px !important; min-height: 0 !important; margin: 2px 0 0; padding: 0 !important; accent-color: #7c3aed; }
.ec-plan-option strong, .ec-plan-option em { display: block; }
.ec-plan-option strong { color: #fff; font-size: 15px; line-height: 1.2; }
.ec-plan-option em { margin-top: 4px; color: #d1fae5; font-size: 12px; font-style: normal; font-weight: 800; line-height: 1.35; }
.ec-institution-auth { display: grid; gap: 14px; margin-top: 12px; padding-top: 18px; border-top: 1px solid #edf0f5; }
.ec-institution-auth__modes { display: flex; flex-wrap: wrap; gap: 10px; }
.ec-institution-auth__modes label { display: inline-flex !important; min-height: 38px; align-items: center; gap: 8px !important; border: 1px solid #cfd6e4; border-radius: 999px; padding: 0 12px; background: #f8fafc; color: #344054 !important; cursor: pointer; }
.ec-institution-auth__modes input { width: 15px !important; height: 15px !important; min-height: 0 !important; padding: 0 !important; accent-color: #5624d0; }
.ec-institution-auth__panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ec-institution-auth__panel label:first-child { grid-column: 1 / -1; }
.ec-institution-auth__panel[data-auth-panel="login"] { display: none; }
.ec-institution-auth:has(input[value="login"]:checked) .ec-institution-auth__panel[data-auth-panel="signup"] { display: none; }
.ec-institution-auth:has(input[value="login"]:checked) .ec-institution-auth__panel[data-auth-panel="login"] { display: grid; }
.ec-institution-auth__panel[hidden] { display: none; }
.ec-institution-auth--signed p { margin: 0; padding: 12px 14px; border: 1px solid #d1fae5; border-radius: 8px; background: #ecfdf5; color: #0f766e; font-size: 14px; font-weight: 900; }
.ec-inst-notice--error { border-color: #fecaca; background: #fff1f2; color: #be123c; }
.ec-institution-packages { margin-top: 24px; padding: 26px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
.ec-institution-packages .ec-section__header { align-items: flex-start; margin-bottom: 18px; }
.ec-institution-packages h2 { margin: 0; color: #111827; font-size: 28px; line-height: 1.15; }
.ec-institution-package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ec-institution-package-grid article { display: grid; align-content: start; gap: 9px; min-height: 100%; padding: 18px; border: 1px solid #d7d9df; border-radius: 8px; background: #f8fafc; }
.ec-institution-package-grid article:nth-child(2) { border-color: #c4b5fd; background: #fbf8ff; box-shadow: inset 0 3px 0 #7c3aed; }
.ec-institution-package-grid span { color: #0f766e; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.ec-institution-package-grid h3 { margin: 0; color: #111827; font-size: 23px; line-height: 1.16; }
.ec-institution-package-grid p { margin: 0; color: #475467; font-size: 14px; font-weight: 800; }
.ec-institution-package-grid ul { display: grid; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.ec-institution-package-grid li { position: relative; padding-left: 21px; color: #344054; font-size: 13px; font-weight: 800; line-height: 1.4; }
.ec-institution-package-grid li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 6px; border-left: 2px solid #0f766e; border-bottom: 2px solid #0f766e; transform: rotate(-45deg); }
.ec-section__header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.ec-section__header p { margin: 6px 0 0; color: var(--ec-muted); }
.ec-home-hero { border-bottom: 1px solid #d7d9df; background: #f7f9fc; }
.ec-home-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .72fr); gap: 44px; align-items: center; min-height: 520px; padding: 54px 0; }
.ec-home-hero__copy h1 { max-width: 820px; margin: 0 0 16px; color: #111827; font: 900 60px/1.02 Arial, Helvetica, sans-serif; }
.ec-home-hero__copy p:not(.ec-eyebrow) { max-width: 720px; margin: 0; color: #475467; font-size: 19px; line-height: 1.55; }
.ec-home-hero__visual { min-height: 360px; display: grid; place-items: center; background: linear-gradient(135deg, #0f766e 0%, #25314a 72%); }
.ec-home-hero__screen { width: min(420px, 92%); display: grid; gap: 12px; padding: 20px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.94); box-shadow: 0 18px 44px rgba(15, 23, 42, .2); }
.ec-home-hero__screen div { display: grid; gap: 5px; padding: 14px 16px; border-left: 5px solid #149991; background: #fff; box-shadow: 0 1px 0 rgba(15, 23, 42, .05); }
.ec-home-hero__screen div:nth-child(2) { border-left-color: #b4690e; }
.ec-home-hero__screen div:nth-child(3) { border-left-color: #7c3aed; }
.ec-home-hero__screen span { color: #667085; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ec-home-hero__screen strong { color: #111827; font-size: 16px; line-height: 1.25; }
.ec-home-hero__screen em { color: #475467; font-size: 13px; font-style: normal; font-weight: 800; }
.ec-track-band { border-bottom: 1px solid #d7d9df; background: #fff; }
.ec-track-band__inner { display: flex; gap: 10px; overflow-x: auto; padding: 16px 0; }
.ec-track-band a { min-height: 36px; display: inline-flex; align-items: center; border: 1px solid #cfd6e4; border-radius: 999px; padding: 0 14px; color: #344054; background: #fff; font-size: 13px; font-weight: 900; white-space: nowrap; }
.ec-track-band a:hover, .ec-track-band a:focus { border-color: #149991; color: #0f766e; outline: 0; }
.ec-home-section, .ec-inst-landing-section { padding: 44px 0; background: #fff; }
.ec-home-section--split, .ec-inst-landing-section--split { background: #f7f9fc; border-top: 1px solid #edf0f5; border-bottom: 1px solid #edf0f5; }
.ec-institution-band { padding: 46px 0; background: #102a43; color: #fff; }
.ec-institution-band__inner { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); gap: 34px; align-items: center; }
.ec-institution-band .ec-eyebrow { color: #99f6e4; }
.ec-institution-band h2 { max-width: 680px; margin: 0 0 12px; color: #fff; font-size: 38px; line-height: 1.08; }
.ec-institution-band p { max-width: 700px; margin: 0 0 22px; color: #dbeafe; font-size: 16px; line-height: 1.6; }
.ec-institution-band__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ec-institution-band__grid article { display: grid; gap: 8px; min-height: 132px; padding: 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); }
.ec-institution-band__grid strong { color: #fff; font-size: 17px; }
.ec-institution-band__grid span { color: #dbeafe; font-size: 14px; line-height: 1.45; }
.ec-home-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); gap: 24px; align-items: start; }
.ec-news-list, .ec-event-list { display: grid; gap: 12px; }
.ec-news-list article { display: grid; gap: 6px; padding: 18px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 rgba(15, 23, 42, .04); }
.ec-news-list span { color: #0f766e; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ec-news-list h3 { margin: 0; color: #111827; font-size: 18px; line-height: 1.2; }
.ec-news-list p { margin: 0; color: #475467; font-size: 14px; line-height: 1.5; }
.ec-news-list a { color: #5624d0; font-size: 13px; font-weight: 900; }
.ec-event-list a, .ec-event-list p { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px 14px; align-items: center; min-height: 70px; padding: 14px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 rgba(15, 23, 42, .04); }
.ec-event-list time { grid-row: span 2; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 8px; background: #fff7ed; color: #9a3412; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.ec-event-list span { color: #111827; font-size: 15px; font-weight: 900; line-height: 1.25; }
.ec-event-list em { color: #667085; font-size: 12px; font-style: normal; font-weight: 900; }
.ec-institution-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ec-institution-list--large { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ec-institution-list a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 82px; padding: 14px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 rgba(15, 23, 42, .04); }
.ec-institution-list img, .ec-institution-list span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 8px; background: var(--institution-color, #149991); color: #fff; object-fit: contain; padding: 8px; font-size: 25px; font-weight: 900; }
.ec-institution-list strong { overflow: hidden; color: #111827; font-size: 15px; line-height: 1.25; text-overflow: ellipsis; }
.ec-institution-list em { color: #5624d0; font-size: 12px; font-style: normal; font-weight: 900; white-space: nowrap; }
.ec-inst-landing { background: #fff; color: #111827; }
.ec-inst-landing-hero { border-bottom: 1px solid #d7d9df; background: #f8fafc; }
.ec-inst-landing-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: center; min-height: 430px; padding: 46px 0; }
.ec-inst-landing-brand { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.ec-inst-landing-brand img, .ec-inst-landing-brand > span { width: 84px; height: 84px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #d7d9df; border-radius: 10px; background: #fff; color: var(--institution-color); object-fit: contain; padding: 10px; font-size: 38px; font-weight: 900; }
.ec-inst-landing-brand h1 { max-width: 850px; margin: 0; color: #111827; font-size: 52px; line-height: 1.04; }
.ec-inst-landing-hero__copy > p { max-width: 720px; margin: 0; color: #475467; font-size: 18px; line-height: 1.6; }
.ec-inst-landing-panel { display: grid; gap: 12px; padding: 18px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 16px 36px rgba(15, 23, 42, .08); }
.ec-inst-landing-panel article { padding: 16px; border-left: 5px solid var(--institution-color); background: #f8fafc; }
.ec-inst-landing-panel span { display: block; color: #667085; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ec-inst-landing-panel strong { display: block; margin-top: 6px; color: #111827; font-size: 24px; line-height: 1.1; }
.ec-inst-landing-empty { padding: 22px; border: 1px dashed #cfd6e4; border-radius: 8px; background: #f8fafc; }
.ec-inst-landing-empty h3 { margin: 0 0 8px; color: #111827; }
.ec-inst-landing-empty p { margin: 0; color: #475467; }
.ec-inst-landing-pathways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ec-inst-landing-pathways article { padding: 20px; border: 1px solid #d7d9df; border-radius: 8px; background: #fff; box-shadow: 0 1px 0 rgba(15, 23, 42, .04); }
.ec-inst-landing-pathways span { color: var(--institution-color); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.ec-inst-landing-pathways h3 { margin: 8px 0; color: #111827; font-size: 20px; line-height: 1.2; }
.ec-inst-landing-pathways p { margin: 0; color: #475467; font-size: 14px; line-height: 1.55; }
.ec-check-list { margin: 16px 0 0; padding: 0; list-style: none; }
.ec-check-list li { position: relative; padding-left: 24px; margin: 10px 0; }
.ec-check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 11px; height: 6px; border-left: 2px solid #13795b; border-bottom: 2px solid #13795b; transform: rotate(-45deg); }
.ec-market-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; }
.ec-filter-panel { border-right: 1px solid var(--ec-border); padding-right: 22px; }
.ec-filter-panel h2 { margin: 0 0 12px; font-size: 16px; }
.ec-filter-panel ul { margin: 0 0 28px; padding: 0; list-style: none; }
.ec-filter-panel li { margin: 9px 0; color: var(--ec-muted); font-weight: 700; }
.ec-results-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; padding: 14px 16px; border: 1px solid var(--ec-border); background: #fafafa; }
.ec-course-hero { color: #fff; background: #1f1b2d; }
.ec-course-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; padding: 42px 0 34px; }
.ec-course-hero h1 { max-width: 820px; margin: 0 0 12px; font-size: clamp(34px, 4vw, 48px); line-height: 1.08; }
.ec-course-lead { max-width: 760px; color: #eeeaf8; font-size: 19px; }
.ec-course-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; color: #f2e9ff; font-weight: 700; }
.ec-course-meta strong { color: #f4c150; }
.ec-buy-card { background: #fff; color: var(--ec-ink); border: 1px solid var(--ec-border); box-shadow: var(--ec-shadow); }
.ec-buy-card__image { aspect-ratio: 16 / 9; overflow: hidden; background: #e8ebf0; }
.ec-buy-card__image img { width: 100%; height: 100%; object-fit: cover; }
.ec-buy-card__body { display: grid; gap: 12px; padding: 18px; }
.ec-buy-card__body p { margin: 4px 0 0; color: var(--ec-muted); font-size: 14px; }
.ec-course-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.ec-course-tabs { position: sticky; top: 72px; z-index: 3; display: flex; gap: 22px; border-bottom: 1px solid var(--ec-border); background: #fff; }
.ec-course-tabs a { padding: 16px 0 12px; border-bottom: 3px solid transparent; color: var(--ec-muted); font-weight: 900; }
.ec-course-tabs a:first-child { color: var(--ec-ink); border-color: var(--ec-ink); }
.ec-rich-content { padding: 26px 0; }
.ec-rich-content h2 { margin-top: 0; }
.ec-curriculum-list { padding-top: 22px; }
.ec-curriculum-list a { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 54px; padding: 12px 16px; border: 1px solid var(--ec-border); border-bottom: 0; background: #fff; }
.ec-curriculum-list a:last-child { border-bottom: 1px solid var(--ec-border); }
.ec-curriculum-list span { color: var(--ec-muted); font-size: 13px; font-weight: 800; }
.ec-curriculum-list em { color: #5624d0; font-style: normal; font-weight: 900; }

.ec-reader-body { overflow: hidden; background: #fff; }
.ec-reader-body .ec-header, .ec-reader-body .ec-footer { display: none; }
.ec-reader { --reader-bar: 48px; --reader-bottom: 36px; position: relative; min-height: 100vh; overflow: hidden; background: #fff; color: #000; font-family: Georgia, 'Times New Roman', serif; }
.ec-reader-toolbar { position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--reader-bar); display: grid; grid-template-columns: auto 56px minmax(0, 1fr) auto; align-items: center; border-bottom: 3px solid rgba(0,0,0,.18); background: var(--ec-teal); color: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.25); }
.ec-reader-tools { display: flex; align-items: center; height: 100%; }
.ec-reader-tools--left { padding-left: 9px; }
.ec-reader-tools--right { justify-content: flex-end; border-left: 1px solid rgba(255,255,255,.45); }
.ec-reader-icon, .ec-reader-text-control, .ec-reader-close, .ec-reader-menu-button, .ec-reader-toggle { position: relative; width: 44px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: #000; font: inherit; cursor: pointer; }
.ec-reader-icon--brand { width: 60px; background: #d0d0d0; }
.ec-reader-icon--brand span { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #00a6d6; border-radius: 50%; color: #00a6d6; background: #fff; font-size: 24px; font-style: italic; }
.ec-reader-icon--brand::after { content: ""; width: 0; height: 0; margin-left: 5px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 12px solid #fff; }
.ec-reader-tools--left .ec-reader-icon:nth-child(2)::before { content: ""; position: absolute; width: 24px; height: 24px; background: #67b8bd; }
.ec-reader-tools--left .ec-reader-icon:nth-child(2) span { position: absolute; right: 9px; top: 6px; color: #21a43a; font: 700 22px/1 Arial, sans-serif; }
.ec-reader-tools--left .ec-reader-icon:nth-child(3)::before { content: ""; width: 28px; height: 24px; border-radius: 2px 2px 8px 2px; background: #168bd7; }
.ec-reader-tools--left .ec-reader-icon:nth-child(3) span { position: absolute; color: #fff; font: 700 20px/1 Arial, sans-serif; }
.ec-reader-search-mark { width: 20px; height: 20px; border: 4px solid currentColor; border-radius: 50%; }
.ec-reader-search-mark::after { content: ""; position: absolute; width: 14px; height: 4px; right: 7px; bottom: 9px; background: currentColor; transform: rotate(-45deg); }
.ec-reader-menu-button { border-left: 1px solid rgba(255,255,255,.45); border-right: 1px solid rgba(255,255,255,.45); }
.ec-reader-menu-button span { width: 29px; height: 29px; display: block; background: #bfbfbf; }
.ec-reader-menu-button span + span { display: none; }
.ec-reader-menu-button::before, .ec-reader-menu-button::after, .ec-reader-menu-button span::before { content: ""; position: absolute; left: 19px; width: 16px; height: 1px; background: #fff; }
.ec-reader-menu-button::before { top: 15px; }
.ec-reader-menu-button span::before { top: 23px; }
.ec-reader-menu-button::after { top: 31px; }
.ec-reader-course-title { min-width: 0; overflow: hidden; padding: 0 18px; color: #fff; font-size: 24px; line-height: 44px; white-space: nowrap; text-overflow: ellipsis; text-shadow: 0 3px 4px rgba(0,0,0,.35); }
.ec-reader-text-control { width: 54px; color: #000; font: 800 28px/1 Arial, sans-serif; }
.ec-reader-cart { width: 34px; overflow: hidden; color: transparent; }
.ec-reader-cart::before { content: ""; width: 25px; height: 16px; border-left: 5px solid #fff; border-bottom: 5px solid #fff; transform: skewX(-15deg); }
.ec-reader-cart::after { content: ""; position: absolute; left: 12px; bottom: 7px; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 13px 0 0 #fff; }
.ec-reader-toggle::before { content: ""; width: 34px; height: 18px; border-radius: 999px; background: #000; }
.ec-reader-toggle span { position: absolute; left: 11px; width: 18px; height: 18px; border-radius: 50%; background: #101010; box-shadow: 9px 0 0 #0e8a85; }
.ec-reader-profile span { width: 32px; height: 32px; border: 2px solid #000; border-radius: 50%; }
.ec-reader-profile span::before { content: ""; position: absolute; top: 9px; left: 17px; width: 10px; height: 10px; border: 2px solid #000; border-radius: 50%; }
.ec-reader-profile span::after { content: ""; position: absolute; left: 14px; bottom: 7px; width: 16px; height: 11px; border: 2px solid #000; border-radius: 50% 50% 0 0; border-bottom: 0; }
.ec-reader-close { width: 38px; color: #fff; font: 900 26px/1 Arial, sans-serif; }
.ec-reader-content { height: calc(100vh - var(--reader-bar) - var(--reader-bottom)); margin-top: var(--reader-bar); overflow: auto; padding: 38px 8.5vw 120px; }
.ec-reader-content h1 { margin: 0 auto 56px; max-width: 900px; color: #000; font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: 400; line-height: 1.25; text-align: center; text-decoration: underline; }
.ec-reader-content__body { max-width: 1080px; margin: 0 auto; font-size: 21px; line-height: 1.38; }
.ec-reader-content__body p { margin: 0 0 28px; }
.ec-reader[data-font-scale="large"] .ec-reader-content__body { font-size: 27px; line-height: 1.12; }
.ec-reader[data-font-scale="larger"] .ec-reader-content__body { font-size: 31px; line-height: 1.04; }
.ec-reader.is-dark, .ec-reader.is-dark .ec-reader-content { background: #303030; color: #fff; }
.ec-reader.is-dark .ec-reader-content h1, .ec-reader.is-dark .ec-reader-content__body { color: #fff; }
.ec-reader-search-panel, .ec-reader-dropdown, .ec-reader-panel, .ec-reader-curriculum, .ec-reader-other-courses { position: fixed; z-index: 75; display: none; color: #000; box-shadow: 0 3px 6px rgba(0,0,0,.35); }
.ec-reader-search-panel.is-open, .ec-reader-dropdown.is-open, .ec-reader-panel.is-open, .ec-reader-curriculum.is-open, .ec-reader-other-courses.is-open { display: block; }
.ec-reader-search-panel { top: var(--reader-bar); left: 16%; right: 6%; padding-top: 2px; box-shadow: none; }
.ec-reader-search-panel form { position: relative; }
.ec-reader-search-panel input { width: 100%; height: 38px; border: 2px solid var(--ec-teal); border-radius: 999px; padding: 0 58px 0 22px; font: 20px Georgia, 'Times New Roman', serif; }
.ec-reader-search-panel button { position: absolute; right: 10px; top: 6px; width: 26px; height: 26px; border: 4px solid #e01818; border-radius: 50%; background: transparent; }
.ec-reader-search-panel button::after { content: ""; position: absolute; right: 15px; bottom: -8px; width: 18px; height: 4px; background: #e01818; transform: rotate(-35deg); }
.ec-reader-dropdown { top: var(--reader-bar); width: 235px; padding: 10px 22px 20px; background: #f3f3f3; font-size: 21px; }
.ec-reader-dropdown--site { left: 50px; }
.ec-reader-dropdown--profile { right: 0; width: 260px; }
.ec-reader-dropdown a { display: block; padding: 4px 0 9px; }
.ec-reader-dropdown--profile strong, .ec-reader-dropdown--profile span { display: block; padding: 7px 0; color: #475467; font: 800 12px/1.25 Arial, Helvetica, sans-serif; }
.ec-reader-dropdown--profile strong { padding-bottom: 2px; color: #0f766e; text-transform: uppercase; }
.ec-reader-dropdown--profile span { margin: 2px -8px 7px; padding: 8px; border-radius: 6px; background: #ecfdf5; color: #111827; }
.ec-reader-dropdown a::before, .ec-reader-topic-list li::before, .ec-reader-other-courses a::before { content: ">"; margin-right: 8px; font-size: 14px; }
.ec-reader-panel { top: var(--reader-bar); left: 0; width: min(418px, 100vw); height: calc(100vh - var(--reader-bar) - var(--reader-bottom) - 4px); padding: 14px 23px 32px; background: #f3f3f3; font-family: Arial, Helvetica, sans-serif; overflow: auto; }
.ec-reader-panel p { margin: 0 0 8px; }
.ec-reader-breadcrumb { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-reader-panel hr { border: 0; border-top: 1px solid #555; margin: 8px 4px 16px 0; }
.ec-reader-panel label { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.ec-reader-panel input, .ec-reader-panel textarea { width: 100%; border: 1px solid #444; background: #ededed; padding: 8px 10px; font: 14px Arial, Helvetica, sans-serif; }
.ec-reader-panel textarea { height: 125px; resize: vertical; }
.ec-reader-panel--notes textarea { height: 430px; }
.ec-reader-topic-list { margin: 0 0 132px; padding: 0; list-style: none; }
.ec-reader-topic-list li { margin-bottom: 13px; font-size: 14px; }
.ec-reader-panel-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-top: 24px; }
.ec-reader-panel-actions button { height: 30px; border: 1px solid #8fd3d0; background: #f7f7f7; font: 14px Arial, Helvetica, sans-serif; }
.ec-reader-curriculum { top: var(--reader-bar); left: 22%; width: min(568px, 76vw); max-height: calc(100vh - var(--reader-bar) - var(--reader-bottom)); overflow: auto; background: #fff; font-family: Arial, Helvetica, sans-serif; }
.ec-reader-curriculum__head, .ec-reader-section-title { display: flex; justify-content: space-between; gap: 20px; padding: 16px 28px; }
.ec-reader-curriculum__head { border-bottom: 1px solid #eee; text-transform: uppercase; }
.ec-reader-curriculum__head span { color: #6f7680; font-size: 12px; text-transform: none; }
.ec-reader-section-title { color: #444; font-weight: 800; text-transform: uppercase; }
.ec-reader-section-title span:last-child { color: #43b9ad; }
.ec-reader-curriculum > p { margin: 0; padding: 0 40px 16px; color: #6a6f77; font-size: 13px; font-weight: 700; }
.ec-reader-curriculum__list a { display: grid; grid-template-columns: 95px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 38px; padding: 0 24px; border-top: 1px solid #eee; color: #666; font-size: 13px; }
.ec-reader-curriculum__list a.is-current { background: #f2f2f2; }
.ec-reader-curriculum__list strong { color: #555; font-weight: 600; }
.ec-reader-curriculum__list em { width: 18px; height: 18px; overflow: hidden; border-radius: 50%; background: #5ebd59; color: transparent; }
.ec-reader-other-courses { top: var(--reader-bar); left: 22%; width: min(570px, 76vw); min-height: 435px; padding: 34px 78px; background: #cfc7c7; }
.ec-reader-other-courses h2 { margin: 0 0 10px; font: 400 24px Arial, Helvetica, sans-serif; text-align: center; }
.ec-reader-other-courses hr { border: 0; border-top: 1px solid #fff; margin-bottom: 16px; }
.ec-reader-other-courses a { display: block; margin: 13px 0; font-size: 25px; text-shadow: 0 3px 4px rgba(0,0,0,.28); }
.ec-reader-buy, .ec-reader-lesson-peek { position: fixed; z-index: 60; display: block; background: #cfcfcf; color: #000; font-size: 21px; line-height: 30px; white-space: nowrap; }
.ec-reader-buy { top: var(--reader-bar); right: 38px; width: 266px; text-align: center; }
.ec-reader-lesson-peek { bottom: var(--reader-bottom); max-width: 48vw; overflow: hidden; padding: 0 22px; text-overflow: ellipsis; }
.ec-reader-lesson-peek--prev { left: 8px; }
.ec-reader-lesson-peek--next { right: 8px; }
.ec-reader-nav { position: fixed; inset: auto 0 0 0; z-index: 85; height: var(--reader-bottom); display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px; align-items: center; background: var(--ec-teal); color: #fff; font-size: 20px; }
.ec-reader-nav a, .ec-reader-nav > span, .ec-reader-nav button { height: 100%; display: inline-flex; align-items: center; border: 0; background: transparent; color: inherit; font: inherit; }
.ec-reader-nav button { justify-content: center; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-shadow: 0 3px 4px rgba(0,0,0,.28); cursor: pointer; }
.ec-reader-nav__prev { justify-content: flex-start; padding-left: 6px; }
.ec-reader-nav__next { justify-content: flex-end; padding-right: 6px; }
.ec-reader-nav__prev span, .ec-reader-nav__next span { width: 27px; height: 27px; margin: 0 6px; background: #fff; }
.ec-reader-nav__prev span::before, .ec-reader-nav__next span::before { content: ""; display: block; width: 0; height: 0; margin: 6px auto; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.ec-reader-nav__prev span::before { border-right: 11px solid #777; }
.ec-reader-nav__next span::before { border-left: 11px solid #777; }

@media (max-width: 920px) {
    .ec-header__inner, .ec-hero__inner, .ec-single-hero__inner, .ec-content-grid, .ec-layout, .ec-market-layout, .ec-course-hero__inner, .ec-course-page-grid { grid-template-columns: 1fr; }
    .ec-home-hero__inner, .ec-institution-band__inner, .ec-home-split, .ec-inst-landing-hero__inner { grid-template-columns: 1fr; }
    .ec-home-hero__inner { min-height: 0; }
    .ec-home-hero__copy h1, .ec-inst-landing-brand h1 { font-size: 46px; }
    .ec-home-hero__visual { min-height: 300px; }
    .ec-institution-list, .ec-institution-list--large, .ec-inst-landing-pathways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ec-nav, .ec-category-menu { display: none; }
    .ec-header-actions { display: none; }
    .ec-course-grid, .ec-dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ec-account-hero, .ec-account-panel__head { display: grid; }
    .ec-account-hero__actions { justify-content: flex-start; }
    .ec-account-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ec-account-layout { grid-template-columns: 1fr; }
    .ec-account-nav { position: static; grid-template-columns: repeat(6, max-content); overflow-x: auto; }
    .ec-account-course { grid-template-columns: 150px minmax(0, 1fr); }
    .ec-account-course__actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
    .ec-auth-page__grid { grid-template-columns: 1fr; }
    .ec-inst-hero, .ec-inst-panel__head { display: grid; }
    .ec-inst-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ec-inst-layout { grid-template-columns: 1fr; }
    .ec-inst-sidebar { position: static; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow-x: auto; }
    .ec-inst-form { grid-template-columns: 1fr 1fr; }
    .ec-inst-form button { grid-column: 1 / -1; }
    .ec-inst-brand-grid, .ec-inst-groups, .ec-inst-split-forms { grid-template-columns: 1fr; }
    .ec-inst-form--compact, .ec-inst-form--group-members, .ec-studio-assignment-form { grid-template-columns: 1fr 1fr !important; }
    .ec-studio-hero, .ec-studio-panel__head { display: grid; }
    .ec-studio-hero__actions { justify-content: flex-start; min-width: 0; }
    .ec-studio-layout { grid-template-columns: 1fr; }
    .ec-studio-steps { position: static; grid-template-columns: repeat(7, max-content); overflow-x: auto; }
    .ec-studio-course-list { grid-template-columns: 1fr 1fr; }
    .ec-studio-form { grid-template-columns: 1fr 1fr; }
    .ec-studio-chapter-strip { grid-template-columns: 1fr 1fr; }
    .ec-studio-tax-grid { grid-template-columns: 1fr; }
    .ec-institution-member-login { grid-template-columns: 1fr; }
    .ec-institution-member-login form { grid-template-columns: 1fr 1fr auto; }
    .ec-institution-signup__layout { grid-template-columns: 1fr; }
    .ec-institution-signup__summary { position: static; margin-top: 0; }
    .ec-institution-package-grid { grid-template-columns: 1fr; }
    .ec-page__article--start-here .ec-page__content { grid-template-columns: 1fr; }
    .ec-page__article--start-here .ec-page__content > h2:nth-of-type(2),
    .ec-page__article--start-here .ec-page__content > h2:nth-of-type(2) + ul { grid-column: 1; }
    .ec-filter-panel { border-right: 0; border-bottom: 1px solid var(--ec-border); padding-right: 0; padding-bottom: 20px; }
    .ec-reader-toolbar { grid-template-columns: auto 48px minmax(140px, 1fr); }
    .ec-reader-tools--right { grid-column: 1 / -1; justify-content: flex-end; height: 40px; background: var(--ec-teal); }
    .ec-reader { --reader-bar: 88px; }
    .ec-reader-content { padding-left: 28px; padding-right: 28px; }
    .ec-reader-panel, .ec-reader-curriculum, .ec-reader-other-courses { left: 0; width: min(100vw, 620px); }
}

@media (max-width: 620px) {
    .ec-course-grid, .ec-dashboard-grid { grid-template-columns: 1fr; }
    .ec-home-hero__inner, .ec-inst-landing-hero__inner { padding: 30px 0; }
    .ec-home-hero__copy h1, .ec-inst-landing-brand h1 { font-size: 34px; }
    .ec-home-hero__visual { min-height: 260px; }
    .ec-institution-band__grid, .ec-institution-list, .ec-institution-list--large, .ec-inst-landing-pathways { grid-template-columns: 1fr; }
    .ec-institution-list a { grid-template-columns: 48px minmax(0, 1fr); }
    .ec-institution-list em { grid-column: 2; }
    .ec-inst-landing-brand { display: grid; }
    .ec-account { padding-top: 24px; }
    .ec-account-auth, .ec-account-hero, .ec-account-panel { padding: 20px; }
    .ec-account-identity, .ec-account-form__avatar { display: grid; }
    .ec-account-stats, .ec-account-form__grid, .ec-account-details { grid-template-columns: 1fr; }
    .ec-account-nav { grid-template-columns: repeat(6, max-content); }
    .ec-account-course { grid-template-columns: 1fr; }
    .ec-auth-card, .ec-auth-side { padding: 22px; }
    .ec-auth-card h1 { font-size: 32px; }
    .ec-auth-form__grid, .ec-institution-auth__panel { grid-template-columns: 1fr; }
    .ec-auth-form__row { display: grid; justify-content: stretch; }
    .ec-inst { padding-top: 24px; }
    .ec-inst-hero { padding: 22px; }
    .ec-inst-identity { display: grid; }
    .ec-inst-stats, .ec-inst-form { grid-template-columns: 1fr; }
    .ec-inst-sidebar { grid-template-columns: repeat(6, max-content); }
    .ec-inst-feed article, .ec-inst-certs article { grid-template-columns: 1fr; }
    .ec-inst-form--compact, .ec-inst-form--group-members, .ec-studio-assignment-form { grid-template-columns: 1fr !important; }
    .ec-studio { padding-top: 24px; }
    .ec-studio-hero { padding: 22px; }
    .ec-studio-course-list, .ec-studio-form { grid-template-columns: 1fr; }
    .ec-studio-featured-image__inner { grid-template-columns: 1fr; }
    .ec-studio-chapter-strip { grid-template-columns: 1fr; }
    .ec-studio-lessons article { grid-template-columns: 34px minmax(0, 1fr); }
    .ec-studio-order-form article { grid-template-columns: 82px minmax(0, 1fr); }
    .ec-studio-curriculum-row, .ec-studio-curriculum-row--lesson { grid-template-columns: 30px 30px minmax(0, 1fr); margin-left: 0; }
    .ec-studio-curriculum-row small, .ec-studio-curriculum-row > span, .ec-studio-curriculum-row a { justify-self: start; grid-column: 3; }
    .ec-studio-lessons small, .ec-studio-lessons a { justify-self: start; grid-column: 2; }
    .ec-studio-mini-form { grid-template-columns: 1fr; }
    .ec-institution-signup { padding-top: 24px; }
    .ec-institution-signup__hero { padding: 22px; }
    .ec-institution-member-login form { grid-template-columns: 1fr; }
}

/* Lesson reader refinement */
.ec-reader {
    --reader-bar: 56px;
    --reader-bottom: 44px;
    --reader-teal: #0f918b;
    --reader-teal-dark: #0b7772;
    --reader-surface: #ffffff;
    --reader-panel: #f8fafc;
    font-family: Arial, Helvetica, sans-serif;
}

.ec-reader-toolbar {
    grid-template-columns: auto 56px minmax(0, 1fr) auto;
    height: var(--reader-bar);
    border-bottom: 1px solid rgba(0, 0, 0, .18);
    background: var(--reader-teal);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .18);
}

.ec-reader-tools--left {
    gap: 4px;
    padding-left: 10px;
}

.ec-reader-tools--right {
    gap: 4px;
    padding-right: 10px;
}

.ec-reader-icon,
.ec-reader-text-control,
.ec-reader-close,
.ec-reader-menu-button,
.ec-reader-toggle,
.ec-reader-site-toggle {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    color: #08312f;
    transition: background .16s ease, transform .16s ease;
}

.ec-reader-icon:hover,
.ec-reader-text-control:hover,
.ec-reader-close:hover,
.ec-reader-menu-button:hover,
.ec-reader-toggle:hover,
.ec-reader-site-toggle:hover,
.ec-reader-course-title:hover {
    background: rgba(255, 255, 255, .2);
}

.ec-reader-icon--brand {
    width: 42px;
    background: transparent;
}

.ec-reader-icon--brand::after {
    display: none;
}

.ec-reader-icon--brand span {
    width: 34px;
    height: 34px;
    border: 2px solid #e6fffb;
    color: #0f918b;
    font: 800 20px/1 Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    background: #fff;
}

.ec-reader-site-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: rgba(255,255,255,.14);
    cursor: pointer;
}

.ec-reader-site-toggle span {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #fff;
}

.ec-reader-notes::before,
.ec-reader-forum::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: #dff8f6;
}

.ec-reader-notes::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 2px;
    background: #0f918b;
    box-shadow: 0 -5px 0 #0f918b, 0 5px 0 #0f918b;
}

.ec-reader-notes span {
    position: absolute;
    right: 7px;
    top: 5px;
    color: #13795b;
    font: 800 16px/1 Arial, Helvetica, sans-serif;
}

.ec-reader-forum::before {
    background: #e6f0ff;
    border-radius: 4px 4px 9px 4px;
}

.ec-reader-forum span {
    position: relative;
    z-index: 1;
    color: #155eef;
    font: 900 16px/1 Arial, Helvetica, sans-serif;
}

.ec-reader-tools--left .ec-reader-icon:nth-child(2)::before,
.ec-reader-tools--left .ec-reader-icon:nth-child(3)::before {
    content: none;
}

.ec-reader-menu-button {
    border-left: 1px solid rgba(255, 255, 255, .3);
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.ec-reader-menu-button span {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    background: rgba(255,255,255,.22);
}

.ec-reader-course-title {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: center;
    justify-items: center;
    border: 0;
    background: transparent;
    color: #fff;
    font: 700 22px/1.2 Arial, Helvetica, sans-serif;
    text-align: center;
    text-shadow: none;
    cursor: pointer;
}

.ec-reader-course-title span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ec-reader-course-title i {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #fff;
}

.ec-reader-content {
    background: #fff;
    padding-top: 46px;
}

.ec-reader-content h1,
.ec-reader-content__body {
    font-family: Arial, Helvetica, sans-serif;
}

.ec-reader-content h1 {
    margin-bottom: 42px;
    font-size: 24px;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.ec-reader-content__body {
    font-size: 20px;
    line-height: 1.62;
}

.ec-reader-content__body p {
    margin-bottom: 22px;
}

.ec-reader-dropdown,
.ec-reader-panel,
.ec-reader-curriculum,
.ec-reader-other-courses {
    background: var(--reader-panel);
    border: 1px solid #d8dee6;
    border-top: 0;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .18);
    font-family: Arial, Helvetica, sans-serif;
}

.ec-reader-dropdown {
    font-size: 16px;
    width: 230px;
    padding: 8px;
}

.ec-reader-dropdown a {
    padding: 10px 12px;
    border-radius: 4px;
}

.ec-reader-dropdown a:hover,
.ec-reader-other-courses a:hover,
.ec-reader-curriculum__list a:hover {
    background: #eefaf9;
}

.ec-reader-panel {
    width: min(440px, 100vw);
    padding: 18px 22px 24px;
}

.ec-reader-panel label {
    margin-bottom: 14px;
}

.ec-reader-topic-list {
    margin: 0 0 28px;
}

.ec-reader-topic-list li {
    margin-bottom: 8px;
    padding: 7px 8px;
    border-radius: 4px;
}

.ec-reader-topic-list li:hover {
    background: #eefaf9;
}

.ec-reader-panel textarea {
    height: 118px;
}

.ec-reader-panel--notes textarea {
    height: 390px;
}

.ec-reader-panel-actions {
    gap: 14px;
}

.ec-reader-panel-actions button {
    border-color: #b8d9d6;
    border-radius: 4px;
    background: #fff;
    font-weight: 700;
}

.ec-reader-curriculum {
    left: 50%;
    width: min(640px, 82vw);
    transform: translateX(-50%);
}

.ec-reader-curriculum__list a {
    min-height: 46px;
    font-size: 14px;
}

.ec-reader-other-courses {
    left: 50%;
    width: min(560px, 82vw);
    min-height: auto;
    padding: 22px;
    transform: translateX(-50%);
}

.ec-reader-other-courses h2 {
    font: 800 20px/1.3 Arial, Helvetica, sans-serif;
}

.ec-reader-other-courses a {
    margin: 6px 0;
    padding: 10px 12px;
    border-radius: 4px;
    font: 700 16px/1.3 Arial, Helvetica, sans-serif;
    text-shadow: none;
}

.ec-reader-buy {
    top: calc(var(--reader-bar) + 10px);
    right: 24px;
    border-radius: 4px;
    background: #fff4d6;
    color: #6b3d00;
    font: 800 15px/34px Arial, Helvetica, sans-serif;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .14);
}

.ec-reader-lesson-peek {
    display: none;
}

.ec-reader-nav {
    height: var(--reader-bottom);
    grid-template-columns: 170px minmax(0, 1fr) 170px;
    background: var(--reader-teal);
    font: 700 16px/1 Arial, Helvetica, sans-serif;
}

.ec-reader-nav a,
.ec-reader-nav > span,
.ec-reader-nav button {
    position: relative;
}

.ec-reader-nav button:hover {
    background: var(--reader-teal-dark);
}

.ec-reader-nav-arrow {
    width: 24px;
    height: 24px;
    border-radius: 3px;
}

.ec-reader-nav__prev .ec-reader-nav-arrow::before,
.ec-reader-nav__next .ec-reader-nav-arrow::before {
    margin-top: 5px;
}

.ec-reader-nav-preview {
    position: absolute;
    bottom: calc(100% + 8px);
    display: block;
    max-width: 430px;
    min-width: 250px;
    overflow: hidden;
    padding: 10px 14px;
    border: 1px solid #d8dee6;
    border-radius: 4px;
    background: #fff;
    color: #111827;
    font: 700 14px/1.35 Arial, Helvetica, sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity .16s ease, transform .16s ease;
}

.ec-reader-nav__prev .ec-reader-nav-preview {
    left: 8px;
}

.ec-reader-nav__next .ec-reader-nav-preview {
    right: 8px;
}

.ec-reader-nav__prev:hover .ec-reader-nav-preview,
.ec-reader-nav__next:hover .ec-reader-nav-preview,
.ec-reader-nav__prev:focus .ec-reader-nav-preview,
.ec-reader-nav__next:focus .ec-reader-nav-preview {
    opacity: 1;
    transform: translateY(0);
}

.ec-reader-tools--left .ec-reader-notes::before,
.ec-reader-tools--left .ec-reader-forum::before {
    content: "";
}

.ec-reader-tools--left .ec-reader-notes::before {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: #dff8f6;
}

.ec-reader-tools--left .ec-reader-forum::before {
    width: 28px;
    height: 24px;
    border-radius: 4px 4px 9px 4px;
    background: #e6f0ff;
}

.ec-reader.is-dark .ec-reader-dropdown,
.ec-reader.is-dark .ec-reader-panel,
.ec-reader.is-dark .ec-reader-curriculum,
.ec-reader.is-dark .ec-reader-other-courses,
.ec-reader.is-dark .ec-reader-nav-preview {
    background: #1f2937;
    color: #fff;
    border-color: #374151;
}

@media (max-width: 920px) {
    .ec-reader-toolbar {
        grid-template-columns: auto 48px minmax(120px, 1fr);
    }

    .ec-reader-course-title {
        font-size: 17px;
    }

    .ec-reader-nav-preview {
        max-width: 70vw;
        min-width: 180px;
    }
}

.ec-reader-icon--svg {
    color: #f8fafc;
}

.ec-reader-icon--svg::before,
.ec-reader-icon--svg::after,
.ec-reader-menu-button::before,
.ec-reader-menu-button::after,
.ec-reader-menu-button span::before {
    content: none !important;
}

.ec-reader-icon--svg svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ec-reader-menu-button {
    background: rgba(255,255,255,.12);
}

.ec-reader-text-control {
    font: inherit;
}

.ec-reader-close {
    color: #fff;
    font: inherit;
}

.ec-reader-nav__prev,
.ec-reader-nav__next {
    gap: 4px;
    font-weight: 800;
}

.ec-reader-nav__prev:hover,
.ec-reader-nav__next:hover {
    background: var(--reader-teal-dark);
}

.ec-reader-nav__prev > .ec-reader-nav-arrow,
.ec-reader-nav__next > .ec-reader-nav-arrow {
    flex: none;
}

.ec-course-card {
    position: relative;
    min-width: 0;
    overflow: visible;
    transition: transform .16s ease, box-shadow .16s ease;
}

.ec-course-card__main {
    display: block;
    height: 100%;
}

.ec-course-card__image {
    position: relative;
    border-bottom: 4px solid var(--ec-teal);
}

.ec-course-card__price {
    position: absolute;
    right: 0;
    top: 28px;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    background: #007c91;
    color: #fff;
    font-weight: 900;
}

.ec-instructor-avatar {
    width: 54px;
    height: 54px;
    margin: -42px auto 10px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #d8d8d8;
    box-shadow: 0 1px 2px rgba(15,23,42,.2);
}

.ec-instructor-avatar::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    margin: 10px auto 0;
    border-radius: 50%;
    background: #fff;
}

.ec-instructor-avatar::after {
    content: "";
    display: block;
    width: 34px;
    height: 17px;
    margin: 2px auto 0;
    border-radius: 999px 999px 0 0;
    background: #fff;
}

.ec-course-card__body {
    text-align: center;
}

.ec-course-card__foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    color: #6b7280;
    font-size: 14px;
}

.ec-course-card__foot span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ec-course-popover {
    position: absolute;
    z-index: 30;
    left: calc(100% + 18px);
    top: 10px;
    width: 390px;
    min-height: 420px;
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 20px;
    border: 1px solid #1f2937;
    background: #fff;
    color: #111827;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px);
    transition: opacity .16s ease, transform .16s ease;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .16);
}

.ec-course-popover::before {
    content: "";
    position: absolute;
    left: -11px;
    top: 48%;
    width: 20px;
    height: 20px;
    border-left: 1px solid #1f2937;
    border-bottom: 1px solid #1f2937;
    background: #fff;
    transform: rotate(45deg);
}

.ec-course-card:hover .ec-course-popover,
.ec-course-card:focus-within .ec-course-popover {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.ec-course-grid .ec-course-card:nth-child(4n) .ec-course-popover,
.ec-course-grid .ec-course-card:nth-child(4n-1) .ec-course-popover {
    left: auto;
    right: calc(100% + 18px);
    transform: translateX(8px);
}

.ec-course-grid .ec-course-card:nth-child(4n) .ec-course-popover::before,
.ec-course-grid .ec-course-card:nth-child(4n-1) .ec-course-popover::before {
    left: auto;
    right: -11px;
    border-left: 0;
    border-bottom: 0;
    border-right: 1px solid #1f2937;
    border-top: 1px solid #1f2937;
}

.ec-course-grid .ec-course-card:nth-child(4n):hover .ec-course-popover,
.ec-course-grid .ec-course-card:nth-child(4n-1):hover .ec-course-popover,
.ec-course-grid .ec-course-card:nth-child(4n):focus-within .ec-course-popover,
.ec-course-grid .ec-course-card:nth-child(4n-1):focus-within .ec-course-popover {
    transform: translateX(0);
}

.ec-course-popover__updated {
    color: #6b7280;
    font-size: 15px;
}

.ec-course-popover h4 {
    margin: 0;
    font-size: 24px;
    line-height: 1.35;
}

.ec-course-popover__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #6b7280;
}

.ec-course-popover p {
    margin: 0;
    color: #6b7280;
    font-size: 18px;
    line-height: 1.55;
}

.ec-course-popover__buy {
    display: inline-flex;
    width: min(245px, 100%);
    min-height: 56px;
    align-items: center;
    justify-content: center;
    border: 2px solid #14b8a6;
    border-radius: 999px;
    color: #0f918b;
    font-weight: 900;
    text-transform: uppercase;
}

.ec-course-popover__share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: #6b7280;
}

.ec-course-popover__share a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    color: #64748b;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .ec-course-popover {
        left: 12px;
        right: 12px;
        top: 28px;
        width: auto;
        min-height: auto;
    }

    .ec-course-popover::before {
        display: none;
    }

    .ec-course-grid .ec-course-card:nth-child(4n) .ec-course-popover,
    .ec-course-grid .ec-course-card:nth-child(4n-1) .ec-course-popover {
        left: 12px;
        right: 12px;
    }
}

/* Hardening overrides for current lesson/course UI */
.ec-reader,
.ec-reader * {
    box-sizing: border-box;
}

.ec-reader {
    --reader-bottom: 48px !important;
}

.ec-reader-toolbar {
    grid-template-columns: auto 48px minmax(0, 1fr) auto !important;
    height: 56px !important;
    background: #0f918b !important;
}

.ec-reader-icon--svg,
.ec-reader-site-toggle,
.ec-reader-menu-button,
.ec-reader-close {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #f8fafc !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.ec-reader-icon--svg:hover,
.ec-reader-site-toggle:hover,
.ec-reader-menu-button:hover,
.ec-reader-close:hover {
    background: rgba(255,255,255,.18) !important;
}

.ec-reader-icon--svg::before,
.ec-reader-icon--svg::after,
.ec-reader-icon--svg span,
.ec-reader-icon--svg span::before,
.ec-reader-icon--svg span::after,
.ec-reader-menu-button::before,
.ec-reader-menu-button::after,
.ec-reader-menu-button span,
.ec-reader-menu-button span::before,
.ec-reader-menu-button span::after {
    display: none !important;
    content: none !important;
}

.ec-reader-icon--svg svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.ec-reader-icon--svg svg *,
.ec-reader-icon--svg svg path,
.ec-reader-icon--svg svg circle,
.ec-reader-icon--svg svg line,
.ec-reader-icon--svg svg polyline {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.ec-reader-course-title {
    background: rgba(255,255,255,.08) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #fff !important;
}

.ec-reader-content {
    padding: 42px min(8vw, 96px) 96px !important;
    background: #fff !important;
}

.ec-reader-content h1 {
    margin-bottom: 34px !important;
    font: 700 28px/1.25 Arial, Helvetica, sans-serif !important;
}

.ec-reader-content__body,
.ec-reader-content__body p,
.ec-reader-content__body strong,
.ec-reader-content__body li {
    font-family: Arial, Helvetica, sans-serif !important;
}

.ec-reader-content__body {
    max-width: 1160px !important;
    font-size: 20px !important;
    line-height: 1.65 !important;
}

.ec-reader-content__body p {
    margin: 0 0 20px !important;
}

.ec-reader-nav {
    grid-template-columns: 190px minmax(0, 1fr) 190px !important;
    height: 48px !important;
    background: #0f918b !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.ec-reader-nav a,
.ec-reader-nav > span,
.ec-reader-nav button {
    min-width: 0 !important;
    height: 48px !important;
    padding: 0 14px !important;
    gap: 8px !important;
    font: 800 15px/1 Arial, Helvetica, sans-serif !important;
    text-shadow: none !important;
}

.ec-reader-nav__chapter {
    display: grid !important;
    gap: 2px !important;
    align-content: center !important;
    justify-items: center !important;
    text-align: center !important;
}

.ec-reader-nav__chapter span {
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

.ec-reader-nav__chapter small {
    color: rgba(255,255,255,.75) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

.ec-reader-nav .is-disabled {
    opacity: .55 !important;
    pointer-events: none !important;
}

.ec-reader-nav-arrow {
    position: relative !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 4px !important;
    background: #fff !important;
}

.ec-reader-nav-arrow::before {
    content: "" !important;
    position: absolute !important;
    top: 6px !important;
    left: 8px !important;
    width: 8px !important;
    height: 8px !important;
    border-top: 2px solid #667085 !important;
    border-left: 2px solid #667085 !important;
    transform: rotate(-45deg) !important;
}

.ec-reader-nav__next .ec-reader-nav-arrow::before {
    left: 6px !important;
    transform: rotate(135deg) !important;
}

.ec-course-card {
    position: relative !important;
    overflow: visible !important;
    background: #fff !important;
}

.ec-course-popover {
    position: absolute !important;
    z-index: 500 !important;
    left: calc(100% + 18px) !important;
    top: 14px !important;
    width: 380px !important;
    display: grid !important;
    gap: 14px !important;
    padding: 20px !important;
    border: 1px solid #111827 !important;
    background: #fff !important;
    color: #111827 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(-8px) !important;
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease !important;
}

.ec-course-card:hover .ec-course-popover,
.ec-course-card:focus-within .ec-course-popover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
}

.ec-course-popover h4 {
    margin: 0 !important;
    font: 800 22px/1.3 Arial, Helvetica, sans-serif !important;
}

.ec-course-popover p {
    margin: 0 !important;
    color: #667085 !important;
    font: 400 16px/1.65 Arial, Helvetica, sans-serif !important;
}

.ec-course-popover__buy {
    text-decoration: none !important;
}

@media (max-width: 1100px) {
    .ec-course-popover {
        left: 12px !important;
        right: 12px !important;
        top: 28px !important;
        width: auto !important;
    }
}

/* Final lesson reader and course-card interaction polish. */
.ec-reader-content {
    padding-top: 34px !important;
}

.ec-reader-content__header {
    max-width: 1160px !important;
    margin: 0 auto 30px !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.ec-reader-chapter-title {
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid #d7dee8 !important;
    color: #111827 !important;
    font: 800 32px/1.22 Arial, Helvetica, sans-serif !important;
}

.ec-reader-content__header h1 {
    max-width: none !important;
    margin: 0 !important;
    color: #111827 !important;
    font: 700 24px/1.3 Arial, Helvetica, sans-serif !important;
    text-align: center !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 5px !important;
}

.ec-reader.is-dark .ec-reader-chapter-title,
.ec-reader.is-dark .ec-reader-content__header h1 {
    color: #fff !important;
}

.ec-reader.is-dark .ec-reader-chapter-title {
    border-bottom-color: rgba(255,255,255,.18) !important;
}

.ec-reader-nav__prev span::before,
.ec-reader-nav__next span::before {
    content: none !important;
    display: none !important;
}

.ec-reader-nav__prev .ec-reader-nav-label,
.ec-reader-nav__next .ec-reader-nav-label {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font: 800 14px/1 Arial, Helvetica, sans-serif !important;
}

.ec-reader-nav__prev .ec-reader-nav-arrow,
.ec-reader-nav__next .ec-reader-nav-arrow {
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    background: #fff !important;
}

.ec-reader-nav__prev .ec-reader-nav-arrow::before,
.ec-reader-nav__next .ec-reader-nav-arrow::before {
    content: "" !important;
    display: block !important;
}

.ec-reader-nav__prev,
.ec-reader-nav__next {
    overflow: visible !important;
}

.ec-course-grid {
    overflow: visible !important;
}

.ec-course-card {
    z-index: 1 !important;
}

.ec-course-card:hover,
.ec-course-card:focus-within {
    z-index: 3000 !important;
}

.ec-course-grid .ec-course-card .ec-course-popover {
    left: auto !important;
    right: auto !important;
    top: var(--course-popover-top, 10px) !important;
    width: var(--course-popover-width, 320px) !important;
    max-width: calc(100vw - 32px) !important;
    min-height: 0 !important;
    overflow: visible !important;
    z-index: 4000 !important;
}

.ec-course-popover h4 {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

.ec-course-popover p {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
}

.ec-course-card.is-popover-right .ec-course-popover {
    left: calc(100% + 14px) !important;
    right: auto !important;
    transform: translateX(-8px) !important;
}

.ec-course-card.is-popover-left .ec-course-popover {
    left: auto !important;
    right: calc(100% + 14px) !important;
    transform: translateX(8px) !important;
}

.ec-course-card.is-popover-below .ec-course-popover {
    left: 0 !important;
    right: auto !important;
    top: calc(100% + 12px) !important;
    transform: translateY(-6px) !important;
}

.ec-course-card:hover .ec-course-popover,
.ec-course-card:focus-within .ec-course-popover,
.ec-course-card.is-popover-right:hover .ec-course-popover,
.ec-course-card.is-popover-right:focus-within .ec-course-popover,
.ec-course-card.is-popover-left:hover .ec-course-popover,
.ec-course-card.is-popover-left:focus-within .ec-course-popover,
.ec-course-card.is-popover-below:hover .ec-course-popover,
.ec-course-card.is-popover-below:focus-within .ec-course-popover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(0, 0) !important;
}

.ec-course-popover::before {
    display: none !important;
}

/* Course card visual refresh. */
.ec-course-card {
    border: 1px solid #e4e8f0 !important;
    border-radius: 18px !important;
    background: #f8fafc !important;
    box-shadow: none !important;
    transform: none !important;
}

.ec-course-card:hover,
.ec-course-card:focus-within {
    box-shadow: 0 18px 42px rgba(15,23,42,.12) !important;
    transform: translateY(-2px) !important;
}

.ec-course-card__main {
    color: #111827 !important;
    text-decoration: none !important;
}

.ec-course-card__image {
    margin: 22px 22px 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #eef2f7 !important;
}

.ec-course-card__body {
    padding: 20px 22px 24px !important;
    text-align: left !important;
}

.ec-course-card h3 {
    min-height: 0 !important;
    margin: 0 0 8px !important;
    color: #111827 !important;
    font: 900 24px/1.2 Arial, Helvetica, sans-serif !important;
}

.ec-course-card .ec-meta {
    margin-bottom: 20px !important;
    color: #475569 !important;
    font: 500 15px/1.4 Arial, Helvetica, sans-serif !important;
}

.ec-course-card__badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    align-items: center !important;
    margin-bottom: 22px !important;
}

.ec-course-badge {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 0 10px !important;
    border-radius: 5px !important;
    background: #bdecef !important;
    color: #075a63 !important;
    font: 900 15px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-rating,
.ec-course-rating-count {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 0 8px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #475569 !important;
    font: 500 14px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-rating strong::before {
    content: "*" !important;
    margin-right: 5px !important;
    color: #b7791f !important;
}

.ec-course-card__price-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
}

.ec-course-card__price-row strong {
    color: #0f172a !important;
    font: 900 24px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-card__price-row span {
    color: #64748b !important;
    font: 500 16px/1 Arial, Helvetica, sans-serif !important;
    text-decoration: line-through !important;
}

.ec-course-grid .ec-course-card .ec-course-popover {
    width: var(--course-popover-width, 360px) !important;
    padding: 32px !important;
    border: 1px solid #d7ddea !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #2f3142 !important;
    box-shadow: 0 18px 45px rgba(15,23,42,.16) !important;
    gap: 16px !important;
}

.ec-course-popover h4 {
    color: #2f3142 !important;
    font: 900 24px/1.38 Arial, Helvetica, sans-serif !important;
}

.ec-course-popover__status {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: center !important;
    color: #2f6f4d !important;
    font: 800 15px/1.2 Arial, Helvetica, sans-serif !important;
}

.ec-course-popover__meta {
    gap: 0 !important;
    color: #596179 !important;
    font: 500 15px/1.5 Arial, Helvetica, sans-serif !important;
}

.ec-course-popover__meta span:not(:last-child)::after {
    content: "\00b7" !important;
    margin: 0 6px !important;
}

.ec-course-popover p {
    color: #4b5268 !important;
    font: 500 18px/1.6 Arial, Helvetica, sans-serif !important;
}

.ec-course-popover__points {
    display: grid !important;
    gap: 18px !important;
    margin: 2px 0 8px !important;
    padding: 0 !important;
    list-style: none !important;
    color: #4b5268 !important;
    font: 500 17px/1.55 Arial, Helvetica, sans-serif !important;
}

.ec-course-popover__points li {
    position: relative !important;
    padding-left: 42px !important;
}

.ec-course-popover__points li::before {
    content: "" !important;
    position: absolute !important;
    left: 4px !important;
    top: 10px !important;
    width: 12px !important;
    height: 7px !important;
    border-left: 2px solid #202637 !important;
    border-bottom: 2px solid #202637 !important;
    transform: rotate(-45deg) !important;
}

.ec-course-popover__actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 56px !important;
    gap: 12px !important;
    align-items: center !important;
}

.ec-course-popover__buy {
    width: 100% !important;
    min-height: 64px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #6d28d9 !important;
    color: #fff !important;
    font: 900 22px/1 Arial, Helvetica, sans-serif !important;
    text-transform: none !important;
}

.ec-course-popover__favorite {
    display: inline-flex !important;
    width: 56px !important;
    height: 56px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #6d28d9 !important;
    cursor: pointer !important;
}

.ec-course-popover__favorite span {
    position: relative !important;
    width: 24px !important;
    height: 22px !important;
    transform: rotate(-45deg) !important;
}

.ec-course-popover__favorite span::before,
.ec-course-popover__favorite span::after {
    content: "" !important;
    position: absolute !important;
    background: currentColor !important;
}

.ec-course-popover__favorite span::before {
    left: 8px !important;
    top: 0 !important;
    width: 13px !important;
    height: 21px !important;
    border-radius: 8px 8px 0 0 !important;
    transform: rotate(45deg) !important;
}

.ec-course-popover__favorite span::after {
    left: 2px !important;
    top: 0 !important;
    width: 13px !important;
    height: 21px !important;
    border-radius: 8px 8px 0 0 !important;
    transform: rotate(-45deg) !important;
}

.ec-course-popover__favorite[aria-pressed="false"] span::before,
.ec-course-popover__favorite[aria-pressed="false"] span::after {
    background: transparent !important;
    border: 2px solid currentColor !important;
}

.ec-course-popover__share {
    margin-top: 2px !important;
    font: 500 15px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-card.is-popover-open .ec-course-popover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(0, 0) !important;
}

.ec-reader-content__header {
    max-width: none !important;
    margin-bottom: 16px !important;
}

.ec-reader-content__header h1 {
    margin: 0 !important;
    color: #0f918b !important;
    text-align: left !important;
    text-decoration: none !important;
}

.ec-reader-chapter-title {
    text-align: center !important;
}

.ec-reader-content__body {
    margin-top: 0 !important;
}

/* Lesson search and responsive toolbar polish. */
.ec-reader-search-panel {
    left: min(170px, 10vw) !important;
    right: min(66px, 4vw) !important;
    padding-top: 6px !important;
}

.ec-reader-search-panel input {
    height: 46px !important;
    border: 2px solid #111827 !important;
    border-radius: 999px !important;
    padding: 0 64px 0 30px !important;
    color: #111827 !important;
    font: 500 24px/1 Arial, Helvetica, sans-serif !important;
    outline: 0 !important;
}

.ec-reader-search-panel input:focus {
    border-color: #0f918b !important;
    box-shadow: 0 0 0 3px rgba(15,145,139,.18) !important;
}

.ec-reader-search-panel button {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    width: 36px !important;
    height: 36px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
}

.ec-reader-search-panel button::before {
    content: "" !important;
    position: absolute !important;
    left: 5px !important;
    top: 4px !important;
    width: 20px !important;
    height: 20px !important;
    border: 4px solid #e01818 !important;
    border-radius: 50% !important;
}

.ec-reader-search-panel button::after {
    content: "" !important;
    position: absolute !important;
    right: 3px !important;
    bottom: 5px !important;
    width: 17px !important;
    height: 4px !important;
    border-radius: 999px !important;
    background: #e01818 !important;
    transform: rotate(-45deg) !important;
    transform-origin: center !important;
}

@media (max-width: 760px) {
    .ec-reader {
        --reader-bar: 104px !important;
    }

    .ec-reader-toolbar {
        height: var(--reader-bar) !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        grid-template-rows: 52px 52px !important;
        align-items: stretch !important;
    }

    .ec-reader-tools--left {
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-content: flex-start !important;
        height: 52px !important;
        min-width: 0 !important;
        overflow: hidden !important;
        padding-left: 6px !important;
    }

    .ec-reader-tools--right {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-content: flex-end !important;
        height: 52px !important;
        min-width: 0 !important;
        overflow: hidden !important;
        border-left: 0 !important;
        background: transparent !important;
    }

    .ec-reader-menu-button {
        grid-column: 1 / 3 !important;
        grid-row: 1 !important;
        justify-self: center !important;
        align-self: center !important;
        width: 40px !important;
        height: 40px !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }

    .ec-reader-course-title {
        grid-column: 1 / 3 !important;
        grid-row: 2 !important;
        height: 52px !important;
        padding: 0 18px !important;
        border-top: 1px solid rgba(255,255,255,.25) !important;
        font-size: 18px !important;
    }

    .ec-reader-icon,
    .ec-reader-text-control,
    .ec-reader-close {
        width: 38px !important;
        height: 40px !important;
    }

    .ec-reader-icon--brand {
        width: 48px !important;
    }

    .ec-reader-icon--brand span {
        width: 34px !important;
        height: 34px !important;
        font-size: 22px !important;
    }

    .ec-reader-search-panel {
        left: 12px !important;
        right: 12px !important;
    }
}

@media (max-width: 420px) {
    .ec-reader-tools--left,
    .ec-reader-tools--right {
        gap: 0 !important;
    }

    .ec-reader-icon,
    .ec-reader-text-control,
    .ec-reader-close {
        width: 32px !important;
    }

    .ec-reader-icon--brand {
        width: 38px !important;
    }

    .ec-reader-icon--brand::after {
        display: none !important;
    }

    .ec-reader-menu-button {
        width: 34px !important;
    }

    .ec-reader-course-title {
        font-size: 16px !important;
    }
}

/* Requested lesson/card refinements. */
.ec-reader-content {
    padding-top: 22px !important;
}

.ec-reader-content__header {
    max-width: 1160px !important;
    margin: 0 auto 14px !important;
}

.ec-reader-chapter-title {
    margin-bottom: 10px !important;
    padding-bottom: 9px !important;
    text-align: center !important;
}

.ec-reader-content__header h1 {
    margin: 0 0 12px !important;
    color: #0f918b !important;
    text-align: left !important;
    text-decoration: none !important;
}

.ec-reader-content__body {
    max-width: 1160px !important;
    margin: 0 auto !important;
    text-align: left !important;
}

.ec-reader-nav {
    grid-template-columns: 190px minmax(0, 1fr) 190px !important;
}

.ec-reader-nav a,
.ec-reader-nav > span,
.ec-reader-nav button {
    gap: 8px !important;
}

.ec-reader-nav-arrow {
    display: none !important;
}

.ec-reader-nav-icon {
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    padding: 4px !important;
    border-radius: 6px !important;
    background: rgba(255,255,255,.18) !important;
    color: #fff !important;
    stroke: currentColor !important;
    stroke-width: 2.4 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    fill: none !important;
}

.ec-reader-nav__prev:hover .ec-reader-nav-icon,
.ec-reader-nav__next:hover .ec-reader-nav-icon,
.ec-reader-nav__prev:focus .ec-reader-nav-icon,
.ec-reader-nav__next:focus .ec-reader-nav-icon {
    background: #fff !important;
    color: #0f918b !important;
}

.ec-course-card {
    border-radius: 12px !important;
}

.ec-course-card__image {
    margin: 14px 14px 0 !important;
    border-radius: 8px !important;
}

.ec-course-card__body {
    padding: 14px 16px 16px !important;
}

.ec-course-card h3 {
    margin-bottom: 6px !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
}

.ec-course-card .ec-meta {
    margin-bottom: 12px !important;
    font-size: 13px !important;
}

.ec-course-card__badges {
    gap: 6px !important;
    margin-bottom: 14px !important;
}

.ec-course-badge {
    min-height: 24px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
}

.ec-course-rating,
.ec-course-rating-count {
    min-height: 24px !important;
    padding: 0 7px !important;
    font-size: 12px !important;
}

.ec-course-card__price-row strong {
    font-size: 19px !important;
}

.ec-course-card__price-row span {
    font-size: 13px !important;
}

.ec-course-grid .ec-course-card .ec-course-popover {
    width: var(--course-popover-width, 330px) !important;
    padding: 22px !important;
    border-radius: 8px !important;
    gap: 11px !important;
}

.ec-course-popover::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 46px !important;
    width: 18px !important;
    height: 18px !important;
    background: #fff !important;
    border-color: #d7ddea !important;
    transform: rotate(45deg) !important;
}

.ec-course-card.is-popover-right .ec-course-popover::before {
    left: -10px !important;
    right: auto !important;
    border-left: 1px solid #d7ddea !important;
    border-bottom: 1px solid #d7ddea !important;
    border-top: 0 !important;
    border-right: 0 !important;
}

.ec-course-card.is-popover-left .ec-course-popover::before {
    right: -10px !important;
    left: auto !important;
    border-top: 1px solid #d7ddea !important;
    border-right: 1px solid #d7ddea !important;
    border-left: 0 !important;
    border-bottom: 0 !important;
}

.ec-course-card.is-popover-below .ec-course-popover::before {
    top: -9px !important;
    left: 34px !important;
    right: auto !important;
    border-left: 1px solid #d7ddea !important;
    border-top: 1px solid #d7ddea !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
}

.ec-course-popover h4 {
    font-size: 19px !important;
    line-height: 1.35 !important;
}

.ec-course-popover__status,
.ec-course-popover__meta,
.ec-course-popover__share {
    font-size: 12px !important;
}

.ec-course-popover p {
    font-size: 14px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 3 !important;
}

.ec-course-popover__points {
    gap: 10px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.ec-course-popover__points li {
    padding-left: 30px !important;
}

.ec-course-popover__actions {
    grid-template-columns: minmax(0, 1fr) 46px !important;
    gap: 10px !important;
}

.ec-course-popover__buy {
    min-height: 48px !important;
    font-size: 16px !important;
}

.ec-course-popover__favorite {
    width: 46px !important;
    height: 46px !important;
}

.ec-course-popover__favorite svg {
    width: 22px !important;
    height: 22px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.ec-course-popover__favorite[aria-pressed="true"] svg {
    fill: currentColor !important;
}

.ec-course-popover__favorite span,
.ec-course-popover__favorite span::before,
.ec-course-popover__favorite span::after {
    display: none !important;
}

/* Final fine tuning: compact cards, aligned pointers, lesson controls. */
.ec-reader-content {
    padding-top: 10px !important;
}

.ec-reader-content__header {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.ec-reader-chapter-title {
    margin-bottom: 24px !important;
    padding-bottom: 8px !important;
    font-size: 30px !important;
}

.ec-reader-content__header h1 {
    margin-bottom: 10px !important;
    font-size: 22px !important;
}

.ec-reader-content__body {
    font-size: 18px !important;
    line-height: 1.55 !important;
}

.ec-reader-content__body p {
    margin-bottom: 16px !important;
}

.ec-reader[data-font-scale="large"] .ec-reader-content__body {
    font-size: 21px !important;
    line-height: 1.5 !important;
}

.ec-reader[data-font-scale="larger"] .ec-reader-content__body {
    font-size: 24px !important;
    line-height: 1.42 !important;
}

.ec-reader.is-dark,
.ec-reader.is-dark .ec-reader-content {
    background: #242424 !important;
    color: #f8fafc !important;
}

.ec-reader.is-dark .ec-reader-content__body,
.ec-reader.is-dark .ec-reader-content__body p,
.ec-reader.is-dark .ec-reader-content__body strong,
.ec-reader.is-dark .ec-reader-content__body li {
    color: #f8fafc !important;
}

.ec-reader.is-dark .ec-reader-content__header h1,
.ec-reader.is-dark .ec-reader-chapter-title {
    color: #7ddbd5 !important;
}

.ec-reader.is-dark .ec-reader-chapter-title {
    border-bottom-color: rgba(255,255,255,.22) !important;
}

.ec-reader-icon[aria-pressed="true"] {
    background: rgba(255,255,255,.22) !important;
    color: #fff !important;
}

.ec-course-card__image {
    margin: 12px 12px 0 !important;
}

.ec-course-card__body {
    padding: 12px 14px 14px !important;
}

.ec-course-card h3 {
    font-size: 16px !important;
}

.ec-course-card .ec-meta {
    margin-bottom: 10px !important;
    font-size: 12px !important;
}

.ec-course-card__badges {
    margin-bottom: 12px !important;
}

.ec-course-badge,
.ec-course-rating,
.ec-course-rating-count {
    min-height: 22px !important;
    font-size: 11px !important;
}

.ec-course-card__price-row strong {
    font-size: 17px !important;
}

.ec-course-grid .ec-course-card .ec-course-popover {
    width: var(--course-popover-width, 310px) !important;
    padding: 18px !important;
    gap: 9px !important;
}

.ec-course-popover::before {
    top: var(--course-popover-arrow-top, 42px) !important;
}

.ec-course-card.is-popover-below .ec-course-popover::before {
    left: var(--course-popover-arrow-left, 34px) !important;
    top: -9px !important;
}

.ec-course-popover h4 {
    font-size: 17px !important;
}

.ec-course-popover h4 a {
    color: inherit !important;
    text-decoration: none !important;
}

.ec-course-popover h4 a:hover,
.ec-course-popover h4 a:focus {
    color: #6d28d9 !important;
    text-decoration: underline !important;
}

.ec-course-popover__status,
.ec-course-popover__meta,
.ec-course-popover__share {
    font-size: 11px !important;
}

.ec-course-popover p {
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.ec-course-popover__points {
    gap: 8px !important;
    font-size: 12px !important;
}

.ec-course-popover__points li {
    padding-left: 26px !important;
}

.ec-course-popover__points li::before {
    left: 2px !important;
    top: 8px !important;
    width: 10px !important;
    height: 6px !important;
}

.ec-course-popover__actions {
    grid-template-columns: minmax(0, 1fr) 40px !important;
}

.ec-course-popover__buy {
    min-height: 42px !important;
    font-size: 14px !important;
}

.ec-course-popover__favorite {
    width: 40px !important;
    height: 40px !important;
}

.ec-course-popover__favorite svg {
    width: 19px !important;
    height: 19px !important;
}

/* Stability pass: keep card popovers outside cards and toolbar buttons clickable. */
.ec-course-grid .ec-course-card .ec-course-popover {
    position: absolute !important;
    left: calc(100% + 14px) !important;
    right: auto !important;
    top: var(--course-popover-top, 10px) !important;
    width: var(--course-popover-width, 310px) !important;
    max-width: calc(100vw - 32px) !important;
    z-index: 5000 !important;
}

.ec-course-card.is-popover-right .ec-course-popover {
    left: calc(100% + 14px) !important;
    right: auto !important;
    top: var(--course-popover-top, 10px) !important;
}

.ec-course-card.is-popover-left .ec-course-popover {
    left: auto !important;
    right: calc(100% + 14px) !important;
    top: var(--course-popover-top, 10px) !important;
}

.ec-course-card.is-popover-below .ec-course-popover {
    left: 0 !important;
    right: auto !important;
    top: calc(100% + 12px) !important;
}

.ec-course-card:hover,
.ec-course-card:focus-within {
    z-index: 5000 !important;
}

.ec-reader-toolbar button,
.ec-reader-toolbar a,
.ec-reader-nav button {
    pointer-events: auto !important;
}

.ec-course-grid .ec-course-card .ec-course-popover {
    position: fixed !important;
    right: auto !important;
}

/* Navigation request: smaller standard search control. */
.ec-reader-search-panel input {
    height: 42px !important;
    padding: 0 56px 0 24px !important;
    font: 500 19px/1 Arial, Helvetica, sans-serif !important;
}

.ec-reader-search-panel button {
    right: 14px !important;
    width: 30px !important;
    height: 30px !important;
}

.ec-reader-search-panel button::before {
    left: 4px !important;
    top: 3px !important;
    width: 16px !important;
    height: 16px !important;
    border: 3px solid #0f918b !important;
}

.ec-reader-search-panel button::after {
    right: 4px !important;
    bottom: 6px !important;
    width: 13px !important;
    height: 3px !important;
    background: #0f918b !important;
    transform: rotate(-45deg) !important;
}

/* Final restore pass after Downloads base reset. */
.ec-course-card .ec-course-popover,
.ec-course-card:hover .ec-course-popover,
.ec-course-card:focus-within .ec-course-popover {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.ec-course-card.is-popover-open .ec-course-popover,
.ec-course-card.is-popover-open:hover .ec-course-popover,
.ec-course-card.is-popover-open:focus-within .ec-course-popover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(0, 0) !important;
}

/* 0.1.77 custom payments checkout. */
.ec-checkout-grid {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.ec-checkout-main h1 {
    margin-top: 0;
}

.ec-checkout-form {
    display: grid;
    gap: 22px;
}

.ec-checkout-form h2 {
    margin: 0;
    font-size: 22px;
}

.ec-checkout-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ec-checkout-fields label,
.ec-checkout-wide {
    display: grid;
    gap: 8px;
    color: #374151;
    font-weight: 800;
    font-size: 14px;
}

.ec-checkout-fields input,
.ec-checkout-wide textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--ec-border);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--ec-ink);
    background: #fff;
    font: 600 15px/1.35 Arial, Helvetica, sans-serif;
}

.ec-checkout-wide textarea {
    min-height: 92px;
    resize: vertical;
}

.ec-checkout-methods {
    display: grid;
    gap: 10px;
}

.ec-checkout-methods label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    border: 1px solid var(--ec-border);
    border-radius: 6px;
    padding: 0 14px;
    color: #111827;
    background: #fff;
    font-weight: 800;
}

.ec-checkout-methods input {
    width: 18px;
    height: 18px;
}

.ec-checkout-summary {
    position: sticky;
    top: 96px;
}

.ec-checkout-summary__items {
    display: grid;
    gap: 14px;
    margin: 18px 0;
}

.ec-checkout-summary__items div,
.ec-checkout-total {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.ec-checkout-summary__items span {
    color: #374151;
    font-weight: 700;
}

.ec-checkout-total {
    border-top: 1px solid var(--ec-border);
    margin: 18px 0 0;
    padding-top: 18px;
    color: #111827;
    font-weight: 900;
}

.ec-checkout-total strong {
    color: var(--ec-teal);
}

.ec-checkout-notice {
    margin-bottom: 18px;
    border-color: rgba(20, 153, 145, .35);
    background: #f0fdfa;
}

.ec-checkout-notice--error {
    border-color: rgba(185, 28, 28, .25);
    background: #fef2f2;
}

.ec-cart-list {
    display: grid;
    gap: 14px;
}

.ec-cart-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ec-cart-list__item > div {
    display: grid;
    gap: 6px;
}

.ec-cart-list__item span,
.ec-cart-list__item a {
    color: var(--ec-muted);
    font-weight: 700;
}

.ec-cart-list__item a {
    text-decoration: underline;
}

@media (max-width: 980px) {
    .ec-checkout-grid {
        grid-template-columns: 1fr;
    }

    .ec-checkout-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .ec-checkout-fields {
        grid-template-columns: 1fr;
    }

    .ec-cart-list__item {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* 0.1.71 mobile header menu */
@media (max-width: 920px) {
    body.ec-mobile-menu-lock {
        overflow: hidden;
    }

    .ec-header {
        z-index: 90;
    }

    .ec-header__inner,
    .single-eclass_course .ec-header__inner {
        min-height: 64px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 44px !important;
        gap: 12px !important;
        align-items: center !important;
    }

    .ec-logo {
        min-width: 0;
    }

    .ec-logo__image {
        max-width: 170px;
        max-height: 42px;
    }

    .ec-header .ec-category-menu,
    .ec-header .ec-nav,
    .ec-header .ec-search,
    .ec-header .ec-header-actions {
        display: none !important;
    }

    .ec-mobile-menu-toggle {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        justify-self: end;
        border: 1px solid #d8deea;
        border-radius: 8px;
        background: #fff;
        color: #111827;
        cursor: pointer;
    }

    .ec-mobile-menu-toggle svg {
        width: 23px;
        height: 23px;
    }

    .ec-mobile-menu-toggle path,
    .ec-mobile-menu__details summary path {
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .ec-mobile-menu-toggle__close {
        display: none;
    }

    .ec-header.is-mobile-menu-open .ec-mobile-menu-toggle__open {
        display: none;
    }

    .ec-header.is-mobile-menu-open .ec-mobile-menu-toggle__close {
        display: block;
    }

    .ec-mobile-menu {
        position: absolute;
        inset: 100% 0 auto;
        display: block;
        max-height: calc(100vh - 64px);
        overflow: auto;
        border-top: 1px solid #eef2f7;
        border-bottom: 1px solid #d8deea;
        background: #fff;
        box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    }

    .ec-header.is-mobile-menu-open .ec-mobile-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .ec-mobile-menu__inner {
        padding: 16px 0 22px;
    }

    .ec-mobile-search {
        min-height: 46px;
        display: flex;
        align-items: center;
        margin-bottom: 14px;
        padding: 0 14px;
        border: 1px solid #111827;
        border-radius: 999px;
        background: #f8fafc;
    }

    .ec-mobile-search input {
        width: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        color: #111827;
        font: 500 16px/1.2 Arial, Helvetica, sans-serif;
    }

    .ec-mobile-menu__nav,
    .ec-mobile-menu__account,
    .ec-mobile-menu__auth,
    .ec-mobile-menu__categories {
        display: grid;
        gap: 8px;
    }

    .ec-mobile-menu__nav > a,
    .ec-mobile-menu__account > a,
    .ec-mobile-menu__auth > a,
    .ec-mobile-menu__details summary {
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0 14px;
        border: 1px solid #d8deea;
        border-radius: 8px;
        background: #fff;
        color: #111827;
        font: 800 15px/1.2 Arial, Helvetica, sans-serif;
        text-decoration: none;
    }

    .ec-mobile-menu__nav > a:focus,
    .ec-mobile-menu__nav > a:hover,
    .ec-mobile-menu__account > a:focus,
    .ec-mobile-menu__account > a:hover,
    .ec-mobile-menu__auth > a:focus,
    .ec-mobile-menu__auth > a:hover,
    .ec-mobile-menu__details summary:focus,
    .ec-mobile-menu__details summary:hover {
        border-color: #c4b5fd;
        color: #5624d0;
        outline: 0;
        background: #f7f2ff;
    }

    .ec-mobile-menu__nav strong {
        min-width: 23px;
        height: 23px;
        display: grid;
        place-items: center;
        border-radius: 999px;
        background: #7c3aed;
        color: #fff;
        font-size: 12px;
        line-height: 1;
    }

    .ec-mobile-menu__details {
        display: grid;
        gap: 8px;
    }

    .ec-mobile-menu__details summary {
        cursor: pointer;
        list-style: none;
    }

    .ec-mobile-menu__details summary::-webkit-details-marker {
        display: none;
    }

    .ec-mobile-menu__details summary svg {
        width: 17px;
        height: 17px;
        transition: transform .16s ease;
    }

    .ec-mobile-menu__details[open] summary svg {
        transform: rotate(180deg);
    }

    .ec-mobile-menu__categories {
        padding: 0 0 4px 12px;
    }

    .ec-mobile-menu__categories a,
    .ec-mobile-menu__categories span {
        min-height: 38px;
        display: flex;
        align-items: center;
        padding: 0 12px;
        border-left: 2px solid #e5e7eb;
        color: #344054;
        font: 750 14px/1.25 Arial, Helvetica, sans-serif;
        text-decoration: none;
    }

    .ec-mobile-menu__categories a:hover,
    .ec-mobile-menu__categories a:focus {
        border-left-color: #7c3aed;
        color: #5624d0;
        outline: 0;
    }

    .ec-mobile-menu__categories .ec-mobile-menu__child {
        padding-left: 26px;
        color: #667085;
        font-weight: 700;
    }

    .ec-mobile-menu__categories span.is-active {
        border-left-color: #0f766e;
        color: #0f766e;
        background: #ecfdf5;
    }

    .ec-mobile-menu__account,
    .ec-mobile-menu__auth {
        margin-top: 6px;
        padding-top: 10px;
        border-top: 1px solid #eef2f7;
    }

    .ec-mobile-menu__label {
        color: #667085;
        font-size: 11px;
        font-weight: 900;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .ec-mobile-menu__account small {
        display: block;
        color: #667085;
        font-size: 12px;
        font-weight: 750;
    }

    .ec-mobile-menu__auth {
        grid-template-columns: 1fr 1fr;
    }

    .ec-mobile-menu__auth .ec-mobile-menu__primary {
        justify-content: center;
        border-color: #7c3aed;
        background: #7c3aed;
        color: #fff;
    }
}

/* 0.1.68 footer redesign and sticky page layout. */
html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body:not(.ec-reader-body) {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body:not(.ec-reader-body) > main {
    flex: 1 0 auto;
}

body:not(.ec-reader-body) > .ec-header {
    flex: 0 0 auto;
}

.ec-footer {
    flex: 0 0 auto;
    margin-top: auto !important;
    padding: 44px 0 24px !important;
    background: #303030 !important;
    color: #fff !important;
}

.ec-footer a {
    color: inherit;
    text-decoration: none;
}

.ec-footer__grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.7fr) repeat(4, minmax(140px, 1fr));
    gap: 34px;
}

.ec-footer__logo {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 22px;
}

.ec-footer__logo .ec-logo__image {
    max-width: 190px;
    max-height: 46px;
    object-fit: contain;
}

.ec-footer__logo .ec-logo__text {
    color: #fff;
    font-size: 32px;
    font-weight: 900;
}

.ec-footer__col h3 {
    margin: 0 0 18px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 900;
    line-height: 1.1;
}

.ec-footer__col h3 {
    font-size: 21px;
}

.ec-footer__contact {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ec-footer__contact li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    color: #a8adb4;
    font-size: 15px;
    line-height: 1.45;
}

.ec-footer__icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #fff;
}

.ec-footer__icon svg,
.ec-footer__top svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ec-footer__col {
    display: grid;
    align-content: start;
    gap: 14px;
}

.ec-footer__col a {
    color: #a8adb4;
    font-size: 15px;
    line-height: 1.3;
    transition: color .18s ease;
}

.ec-footer__col a:hover,
.ec-footer__contact a:hover,
.ec-footer__links a:hover {
    color: #fff;
}

.ec-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.18);
    color: #a8adb4;
}

.ec-footer__bottom p {
    margin: 0;
    font-size: 15px;
}

.ec-footer__links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.ec-footer__links a {
    color: #a8adb4;
    font-size: 15px;
}

.ec-footer__top {
    --ec-scroll-progress: 0;
    display: grid !important;
    place-items: center;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 95;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: transparent !important;
    color: #6d28d9 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .14);
    isolation: isolate;
    transition: transform .18s ease, box-shadow .18s ease;
}

.ec-footer__top::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: conic-gradient(#6d28d9 calc(var(--ec-scroll-progress) * 1%), #d9d9df 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    pointer-events: none;
}

.ec-footer__top svg {
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
    stroke-width: 3;
}

.ec-footer__top:hover {
    color: #6d28d9 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .2);
}

@media (max-width: 1180px) {
    .ec-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;
    }

    .ec-footer__brand {
        grid-column: span 2;
    }
}

@media (max-width: 760px) {
    .ec-footer {
        padding: 38px 0 24px !important;
    }

    .ec-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ec-footer__brand {
        grid-column: auto;
    }

    .ec-footer__bottom,
    .ec-footer__links {
        align-items: flex-start;
        flex-direction: column;
    }

    .ec-footer__links {
        gap: 18px;
    }

    .ec-footer__top {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
    }
}

/* 0.1.70 calmer site gutters. */
@media (max-width: 900px) {
    .ec-container {
        width: min(100% - 36px, 1280px);
    }
}

.ec-course-single .ec-container {
    width: min(1208px, calc(100% - 80px)) !important;
}

@media (max-width: 980px) {
    .ec-course-single .ec-container {
        width: min(100% - 36px, 1208px) !important;
    }
}

/* 0.1.19 final end-of-file Udemy match overrides. */
@media (min-width: 981px) {
    .ec-course-single .ec-container {
        width: min(1700px, calc(100% - 200px)) !important;
    }

    .ec-course-single .ec-course-hero {
        min-height: 518px !important;
        background: #17171f !important;
    }

    .ec-course-single .ec-course-hero__inner {
        padding: 52px 0 0 !important;
    }

    .ec-course-single .ec-course-hero__copy {
        width: 760px !important;
        max-width: 760px !important;
        padding-right: 0 !important;
    }

    .ec-course-single .ec-course-page-grid {
        grid-template-columns: 760px 488px !important;
        gap: 88px !important;
    }

    .ec-course-single .ec-course-sidebar {
        width: 488px !important;
        margin-top: -540px !important;
        top: 88px !important;
        z-index: 8 !important;
    }

    .ec-course-single.is-course-scrolled .ec-course-sidebar {
        width: 488px !important;
        margin-top: 0 !important;
        top: 86px !important;
    }
}

.ec-course-path {
    margin: 0 0 30px !important;
    color: #b494ff !important;
    font: 900 14px/1.2 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-hero h1 {
    margin: 0 0 24px !important;
    max-width: 760px !important;
    color: #fff !important;
    font: 900 40px/1.12 Arial, Helvetica, sans-serif !important;
    letter-spacing: 0 !important;
}

.ec-course-single .ec-course-lead {
    margin: 0 0 26px !important;
    max-width: 760px !important;
    color: #fff !important;
    font: 400 21px/1.48 Arial, Helvetica, sans-serif !important;
}

.ec-course-badge-line {
    margin: 0 0 22px !important;
}

.ec-course-badge-line span {
    display: inline-flex !important;
    min-height: 30px !important;
    align-items: center !important;
    padding: 0 10px !important;
    border-radius: 4px !important;
    color: #164e63 !important;
    background: #a7f3f0 !important;
    font: 900 14px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-author {
    margin: 0 0 28px !important;
    color: #fff !important;
    font: 700 16px/1.35 Arial, Helvetica, sans-serif !important;
}

.ec-course-author img {
    display: none !important;
}

.ec-course-author strong {
    color: #c7a9ff !important;
    text-decoration: underline !important;
}

.ec-course-author em {
    display: block !important;
    margin-top: 3px !important;
    color: #d1d5db !important;
    font: 700 12px/1.35 Arial, Helvetica, sans-serif !important;
}

.ec-course-author em a {
    color: #c7a9ff !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

.ec-course-single .ec-course-meta {
    display: flex !important;
    gap: 22px !important;
    margin: 0 0 30px !important;
    color: #f8fafc !important;
    font: 500 14px/1.4 Arial, Helvetica, sans-serif !important;
}

.ec-course-hero-stats {
    display: grid !important;
    grid-template-columns: 136px minmax(0, 1fr) 170px 170px !important;
    width: 760px !important;
    max-width: 760px !important;
    min-height: 86px !important;
    margin: 0 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 7px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
}

.ec-course-hero-stats div {
    min-height: 86px !important;
    display: grid !important;
    align-content: center !important;
    padding: 16px 22px !important;
    border-right: 1px solid #d1d5db !important;
    background: #fff !important;
}

.ec-course-hero-stats div:last-child {
    border-right: 0 !important;
}

.ec-course-hero-stats__premium {
    justify-items: center !important;
    background: #5b21d6 !important;
}

.ec-course-hero-stats__premium strong {
    color: #fff !important;
    font: 900 20px/1.15 Arial, Helvetica, sans-serif !important;
}

.ec-course-hero-stats__plan span {
    color: #1f2937 !important;
    font: 400 16px/1.45 Arial, Helvetica, sans-serif !important;
}

.ec-course-hero-stats div:not(.ec-course-hero-stats__premium):not(.ec-course-hero-stats__plan) {
    justify-items: center !important;
    text-align: center !important;
}

.ec-course-hero-stats div:not(.ec-course-hero-stats__premium):not(.ec-course-hero-stats__plan) strong {
    color: #111827 !important;
    font: 900 30px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-hero-stats div:not(.ec-course-hero-stats__premium):not(.ec-course-hero-stats__plan) span {
    color: #4b5563 !important;
    font: 400 14px/1.35 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-enroll-card {
    border: 1px solid #d1d5db !important;
    border-radius: 0 !important;
    box-shadow: 0 14px 36px rgba(0,0,0,.18) !important;
}

.ec-course-single .ec-course-enroll-card__body {
    padding: 28px 32px !important;
    gap: 18px !important;
}

.ec-course-sidebar-price strong {
    font: 900 32px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-enroll-card .ec-button {
    min-height: 64px !important;
    border-radius: 7px !important;
    background: #6d28d9 !important;
    border-color: #6d28d9 !important;
    font: 900 20px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-buy-now {
    min-height: 64px !important;
    border: 2px solid #6d28d9 !important;
    border-radius: 7px !important;
    color: #6d28d9 !important;
    font: 900 20px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-main {
    padding-top: 110px !important;
}

@media (max-width: 980px) {
    .ec-course-single .ec-container {
        width: min(100% - 28px, 1208px) !important;
    }

    .ec-course-single .ec-course-hero__copy {
        width: auto !important;
        max-width: none !important;
    }

    .ec-course-hero-stats {
        width: 100% !important;
        max-width: none !important;
        grid-template-columns: 1fr !important;
    }

    .ec-course-single .ec-course-page-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .ec-course-single .ec-course-sidebar {
        width: auto !important;
        margin-top: 0 !important;
    }

    .ec-course-single .ec-course-main {
        padding-top: 32px !important;
    }
}

/* 0.1.19 final Udemy-style course page match. Keep at file end. */
@media (min-width: 981px) {
    .ec-course-single .ec-container {
        width: min(1700px, calc(100% - 200px)) !important;
    }

    .ec-course-breadcrumb {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .ec-course-single .ec-course-hero {
        min-height: 518px !important;
        background: #17171f !important;
    }

    .ec-course-single .ec-course-hero__inner {
        padding: 52px 0 0 !important;
    }

    .ec-course-single .ec-course-hero__copy {
        width: 760px !important;
        max-width: 760px !important;
        padding-right: 0 !important;
    }

    .ec-course-single .ec-course-page-grid {
        grid-template-columns: 760px 488px !important;
        gap: 88px !important;
    }

    .ec-course-single .ec-course-sidebar {
        width: 488px !important;
        margin-top: -540px !important;
        top: 88px !important;
        z-index: 8 !important;
    }

    .ec-course-single.is-course-scrolled .ec-course-sidebar {
        width: 488px !important;
        margin-top: 0 !important;
        top: 86px !important;
    }
}

.ec-course-path {
    margin: 0 0 30px !important;
    color: #b494ff !important;
    font: 900 14px/1.2 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-hero h1 {
    margin: 0 0 24px !important;
    max-width: 760px !important;
    color: #fff !important;
    font: 900 40px/1.12 Arial, Helvetica, sans-serif !important;
    letter-spacing: 0 !important;
}

.ec-course-single .ec-course-lead {
    margin: 0 0 26px !important;
    max-width: 760px !important;
    color: #fff !important;
    font: 400 21px/1.48 Arial, Helvetica, sans-serif !important;
}

.ec-course-badge-line {
    margin: 0 0 22px !important;
}

.ec-course-badge-line span {
    display: inline-flex !important;
    min-height: 30px !important;
    align-items: center !important;
    padding: 0 10px !important;
    border-radius: 4px !important;
    color: #164e63 !important;
    background: #a7f3f0 !important;
    font: 900 14px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-author {
    margin: 0 0 28px !important;
    color: #fff !important;
    font: 700 16px/1.35 Arial, Helvetica, sans-serif !important;
}

.ec-course-author img {
    display: none !important;
}

.ec-course-author strong {
    color: #c7a9ff !important;
    text-decoration: underline !important;
}

.ec-course-single .ec-course-meta {
    display: flex !important;
    gap: 22px !important;
    margin: 0 0 30px !important;
    color: #f8fafc !important;
    font: 500 14px/1.4 Arial, Helvetica, sans-serif !important;
}

.ec-course-hero-stats {
    display: grid !important;
    grid-template-columns: 136px minmax(0, 1fr) 170px 170px !important;
    width: 760px !important;
    max-width: 760px !important;
    min-height: 86px !important;
    margin: 0 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 7px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
}

.ec-course-hero-stats div {
    min-height: 86px !important;
    display: grid !important;
    align-content: center !important;
    padding: 16px 22px !important;
    border-right: 1px solid #d1d5db !important;
    background: #fff !important;
}

.ec-course-hero-stats div:last-child {
    border-right: 0 !important;
}

.ec-course-hero-stats__premium {
    justify-items: center !important;
    background: #5b21d6 !important;
}

.ec-course-hero-stats__premium strong {
    color: #fff !important;
    font: 900 20px/1.15 Arial, Helvetica, sans-serif !important;
}

.ec-course-hero-stats__plan span {
    color: #1f2937 !important;
    font: 400 16px/1.45 Arial, Helvetica, sans-serif !important;
}

.ec-course-hero-stats div:not(.ec-course-hero-stats__premium):not(.ec-course-hero-stats__plan) {
    justify-items: center !important;
    text-align: center !important;
}

.ec-course-hero-stats div:not(.ec-course-hero-stats__premium):not(.ec-course-hero-stats__plan) strong {
    color: #111827 !important;
    font: 900 30px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-hero-stats div:not(.ec-course-hero-stats__premium):not(.ec-course-hero-stats__plan) span {
    color: #4b5563 !important;
    font: 400 14px/1.35 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-enroll-card {
    border: 1px solid #d1d5db !important;
    border-radius: 0 !important;
    box-shadow: 0 14px 36px rgba(0,0,0,.18) !important;
}

.ec-course-single .ec-course-enroll-card__body {
    padding: 28px 32px !important;
    gap: 18px !important;
}

.ec-course-sidebar-price strong {
    font: 900 32px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-enroll-card .ec-button {
    min-height: 64px !important;
    border-radius: 7px !important;
    background: #6d28d9 !important;
    border-color: #6d28d9 !important;
    font: 900 20px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-buy-now {
    min-height: 64px !important;
    border: 2px solid #6d28d9 !important;
    border-radius: 7px !important;
    color: #6d28d9 !important;
    font: 900 20px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-main {
    padding-top: 110px !important;
}

.ec-course-panel__tab,
.ec-course-panel__body,
.ec-course-content-panel {
    font-family: Arial, Helvetica, sans-serif !important;
}

@media (max-width: 980px) {
    .ec-course-single .ec-container {
        width: min(100% - 28px, 1208px) !important;
    }

    .ec-course-single .ec-course-hero__copy {
        width: auto !important;
        max-width: none !important;
    }

    .ec-course-hero-stats {
        width: 100% !important;
        max-width: none !important;
        grid-template-columns: 1fr !important;
    }

    .ec-course-single .ec-course-page-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .ec-course-single .ec-course-sidebar {
        width: auto !important;
        margin-top: 0 !important;
    }

    .ec-course-single .ec-course-main {
        padding-top: 32px !important;
    }
}

/* 0.1.16 course page corporate polish. */
.single-eclass_course .ec-header {
    border-bottom: 1px solid #e3e7ef !important;
    box-shadow: 0 1px 0 rgba(15, 23, 42, .04) !important;
}

.single-eclass_course .ec-header__inner {
    min-height: 64px !important;
}

.single-eclass_course .ec-logo {
    color: #0f766e !important;
    font: 900 22px/1 Arial, Helvetica, sans-serif !important;
}

.single-eclass_course .ec-logo__image {
    max-height: 40px !important;
}

.single-eclass_course .ec-nav,
.single-eclass_course .ec-header-link,
.single-eclass_course .ec-button {
    font-family: Arial, Helvetica, sans-serif !important;
}

.single-eclass_course .ec-search {
    min-height: 40px !important;
    border-color: #d8deea !important;
    background: #f8fafc !important;
}

.ec-course-single {
    color: #172033 !important;
    background: #f7f9fc !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.ec-course-single a {
    transition: color .14s ease, border-color .14s ease, background-color .14s ease, box-shadow .14s ease !important;
}

.ec-course-single .ec-container {
    width: min(1180px, calc(100% - 40px)) !important;
}

.ec-course-breadcrumb {
    min-height: 42px !important;
    color: #647084 !important;
    font: 700 12px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-breadcrumb a {
    color: #334155 !important;
}

.ec-course-breadcrumb a:hover {
    color: #0f766e !important;
}

.ec-course-single .ec-course-hero {
    min-height: 326px !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    background: #111827 !important;
}

.ec-course-single .ec-course-hero__inner {
    padding: 28px 0 104px !important;
}

.ec-course-single .ec-course-hero__copy {
    max-width: 750px !important;
    padding-right: 372px !important;
}

.ec-course-path {
    margin: 0 0 14px !important;
    color: #93c5fd !important;
    font: 800 12px/1.2 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-hero h1 {
    max-width: 740px !important;
    margin-bottom: 10px !important;
    color: #fff !important;
    font: 900 31px/1.18 Arial, Helvetica, sans-serif !important;
    letter-spacing: 0 !important;
}

.ec-course-single .ec-course-lead {
    max-width: 720px !important;
    color: #dbe3ef !important;
    font: 500 15px/1.6 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-meta {
    gap: 10px 16px !important;
    margin-top: 14px !important;
    color: #cbd5e1 !important;
    font: 700 12px/1.2 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-meta span:first-child {
    color: #f59e0b !important;
}

.ec-course-author {
    margin-top: 16px !important;
    color: #e5e7eb !important;
    font-size: 12px !important;
}

.ec-course-author img {
    width: 38px !important;
    height: 38px !important;
    border: 2px solid rgba(255,255,255,.28) !important;
}

.ec-course-hero-stats {
    max-width: 720px !important;
    margin-top: 20px !important;
    border: 1px solid #dce2ec !important;
    border-radius: 6px !important;
    box-shadow: 0 16px 28px rgba(15, 23, 42, .14) !important;
}

.ec-course-hero-stats div {
    min-height: 60px !important;
    padding: 11px 16px !important;
}

.ec-course-hero-stats strong {
    color: #0f766e !important;
    font-size: 13px !important;
}

.ec-course-hero-stats span {
    color: #475569 !important;
    font-size: 11px !important;
}

.ec-course-sticky-title {
    min-height: 68px !important;
    background: #111827 !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

.ec-course-sticky-title__inner {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
}

.ec-course-sticky-title strong {
    font-size: 18px !important;
}

.ec-course-sticky-title span {
    color: #f59e0b !important;
}

.ec-course-sticky-title a,
.ec-course-single .ec-course-enroll-card .ec-button {
    border-radius: 6px !important;
    background: #0f766e !important;
    border-color: #0f766e !important;
    color: #fff !important;
}

.ec-course-sticky-title a:hover,
.ec-course-single .ec-course-enroll-card .ec-button:hover {
    background: #115e59 !important;
    border-color: #115e59 !important;
}

.ec-course-single .ec-course-main {
    padding: 30px 0 64px !important;
}

.ec-course-single .ec-course-page-grid {
    grid-template-columns: minmax(0, 1fr) 332px !important;
    gap: 32px !important;
}

.ec-course-primary {
    gap: 24px !important;
}

.ec-course-panel,
.ec-course-content-panel {
    border: 1px solid #dfe5ef !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
    overflow: hidden !important;
}

.ec-course-panel__tab {
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-bottom: 1px solid #dfe5ef !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font: 900 12px/1 Arial, Helvetica, sans-serif !important;
    letter-spacing: 0 !important;
}

.ec-course-panel__body {
    padding: 24px !important;
    color: #334155 !important;
    font: 500 14px/1.7 Arial, Helvetica, sans-serif !important;
}

.ec-course-panel__body h2,
.ec-course-content-head h2,
.ec-course-related h2 {
    color: #111827 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    letter-spacing: 0 !important;
}

.ec-course-panel__body h2 {
    margin: 24px 0 10px !important;
    padding-top: 18px !important;
    border-top: 1px solid #e6ebf2 !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
}

.ec-course-panel__body h2:first-child {
    margin-top: 0 !important;
}

.ec-course-panel__body p,
.ec-course-panel__body li,
.ec-course-description {
    color: #334155 !important;
}

.ec-course-panel__body ul {
    display: grid !important;
    gap: 8px !important;
    margin: 0 0 12px 20px !important;
}

.ec-course-feature-table {
    max-width: 100% !important;
    grid-template-columns: 180px minmax(0, 1fr) !important;
    padding: 14px 0 !important;
    border-color: #e6ebf2 !important;
}

.ec-course-content-panel {
    padding: 24px !important;
}

.ec-course-content-head {
    margin-bottom: 6px !important;
}

.ec-course-content-head h2 {
    font-size: 22px !important;
    line-height: 1.25 !important;
}

.ec-course-content-head a,
.ec-course-more-sections,
.ec-course-accordion__lessons em {
    color: #0f766e !important;
}

.ec-course-content-meta {
    margin-bottom: 14px !important;
    color: #64748b !important;
    font-size: 12px !important;
}

.ec-course-accordion {
    border-color: #dfe5ef !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

.ec-course-accordion summary {
    min-height: 50px !important;
    padding: 14px 18px !important;
    background: #f8fafc !important;
    color: #172033 !important;
    font-size: 14px !important;
}

.ec-course-accordion summary:hover {
    background: #f1f5f9 !important;
}

.ec-course-accordion summary em {
    color: #64748b !important;
}

.ec-course-accordion__lessons a {
    min-height: 44px !important;
    padding: 9px 18px !important;
    border-top-color: #edf1f6 !important;
}

.ec-course-accordion__lessons a:hover {
    background: #fbfdff !important;
}

.ec-course-accordion__lessons strong {
    color: #263244 !important;
    font-weight: 700 !important;
}

.ec-course-sidebar {
    top: 86px !important;
}

.ec-course-single .ec-course-sidebar {
    margin-top: -318px !important;
}

.ec-course-single.is-course-scrolled .ec-course-sidebar {
    margin-top: 0 !important;
    top: 84px !important;
}

.ec-course-single .ec-course-enroll-card {
    border: 1px solid #dbe2ec !important;
    border-radius: 6px !important;
    background: #fff !important;
    box-shadow: 0 18px 34px rgba(15, 23, 42, .16) !important;
    overflow: hidden !important;
}

.ec-course-single .ec-course-enroll-card__image {
    aspect-ratio: 16 / 9 !important;
}

.ec-course-enroll-card__body {
    gap: 14px !important;
    padding: 20px !important;
}

.ec-course-sidebar-price strong {
    color: #111827 !important;
    font-size: 26px !important;
}

.ec-course-sidebar-price span {
    color: #64748b !important;
}

.ec-course-buy-now,
.ec-course-wishlist {
    border-radius: 6px !important;
    border-color: #0f766e !important;
    color: #0f766e !important;
}

.ec-course-buy-now:hover,
.ec-course-wishlist:hover {
    background: #ecfdf5 !important;
}

.ec-course-enroll-card h2 {
    padding-top: 4px !important;
    font-size: 16px !important;
}

.ec-course-feature-list {
    gap: 0 !important;
    border-top: 1px solid #edf1f6 !important;
}

.ec-course-feature-list li {
    min-height: 34px !important;
    align-items: center !important;
    padding: 8px 0 !important;
    color: #475569 !important;
    font-size: 12px !important;
}

.ec-course-feature-list strong {
    color: #172033 !important;
}

.ec-course-share {
    justify-content: flex-start !important;
}

.ec-course-review-score strong {
    color: #0f766e !important;
}

.ec-course-review-bars i {
    border-radius: 999px !important;
    background: #e6ebf2 !important;
}

.ec-course-related {
    padding-top: 4px !important;
}

.ec-course-related h2 {
    margin-bottom: 18px !important;
    font-size: 18px !important;
    text-transform: none !important;
}

.ec-course-related .ec-course-grid {
    gap: 18px !important;
}

@media (max-width: 980px) {
    .ec-course-single .ec-container {
        width: min(100% - 28px, 1180px) !important;
    }

    .ec-course-single .ec-course-hero {
        min-height: 0 !important;
    }

    .ec-course-single .ec-course-hero__inner {
        padding: 28px 0 !important;
    }

    .ec-course-single .ec-course-hero__copy {
        padding-right: 0 !important;
    }

    .ec-course-single .ec-course-page-grid {
        grid-template-columns: 1fr !important;
    }

    .ec-course-sidebar,
    .ec-course-single .ec-course-sidebar,
    .ec-course-single.is-course-scrolled .ec-course-sidebar {
        position: static !important;
        margin-top: 0 !important;
    }

    .ec-course-single.is-course-scrolled .ec-course-enroll-card__image {
        display: block !important;
    }
}

@media (max-width: 640px) {
    .ec-course-single .ec-course-hero h1 {
        font-size: 24px !important;
    }

    .ec-course-hero-stats {
        grid-template-columns: 1fr !important;
    }

    .ec-course-sticky-title {
        min-height: 60px !important;
    }

    .ec-course-content-panel,
    .ec-course-panel__body {
        padding: 18px !important;
    }

    .ec-course-content-head {
        align-items: start !important;
        flex-direction: column !important;
    }

    .ec-course-accordion__lessons a {
        grid-template-columns: minmax(0, 1fr) auto !important;
    }
}

/* 0.1.17 course page Udemy geometry and typography alignment. */
.single-eclass_course .ec-header__inner {
    min-height: 58px !important;
}

.single-eclass_course .ec-search {
    max-width: 520px !important;
    min-height: 38px !important;
}

.ec-course-single .ec-container {
    width: min(1208px, calc(100% - 48px)) !important;
}

.ec-course-breadcrumb {
    background: #fff !important;
}

.ec-course-single .ec-course-hero {
    min-height: 418px !important;
    background: #17151d !important;
}

.ec-course-single .ec-course-hero__inner {
    padding: 38px 0 96px !important;
}

.ec-course-single .ec-course-hero__copy {
    max-width: 760px !important;
    padding-right: 410px !important;
}

.ec-course-path {
    margin-bottom: 28px !important;
    color: #b794ff !important;
    font: 900 14px/1.2 Arial, Helvetica, sans-serif !important;
}

.ec-course-path span {
    color: #9ca3af !important;
}

.ec-course-single .ec-course-hero h1 {
    max-width: 760px !important;
    margin-bottom: 22px !important;
    color: #fff !important;
    font: 900 40px/1.12 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-lead {
    max-width: 760px !important;
    margin-bottom: 28px !important;
    color: #fff !important;
    font: 400 21px/1.5 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-meta {
    margin-top: 18px !important;
    color: #e5e7eb !important;
    font: 600 14px/1.3 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-meta span:first-child {
    color: #f4b400 !important;
    font-weight: 900 !important;
}

.ec-course-author {
    margin-top: 22px !important;
    color: #fff !important;
    font: 700 15px/1.3 Arial, Helvetica, sans-serif !important;
}

.ec-course-author img {
    display: none !important;
}

.ec-course-author strong {
    color: #c6a7ff !important;
    text-decoration: underline !important;
}

.ec-course-hero-stats {
    grid-template-columns: 136px minmax(0, 1fr) 150px 150px !important;
    max-width: 760px !important;
    min-height: 86px !important;
    margin-top: 30px !important;
    border-color: #d1d5db !important;
    border-radius: 7px !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.ec-course-hero-stats div {
    min-height: 86px !important;
    padding: 16px 20px !important;
    background: #fff !important;
}

.ec-course-hero-stats div:first-child {
    background: #5b21d6 !important;
    color: #fff !important;
}

.ec-course-hero-stats div:first-child strong,
.ec-course-hero-stats div:first-child span {
    color: #fff !important;
}

.ec-course-hero-stats strong {
    color: #111827 !important;
    font: 900 26px/1.05 Arial, Helvetica, sans-serif !important;
}

.ec-course-hero-stats span {
    color: #4b5563 !important;
    font: 500 14px/1.45 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-main {
    padding-top: 42px !important;
}

.ec-course-single .ec-course-page-grid {
    grid-template-columns: minmax(0, 760px) 360px !important;
    gap: 56px !important;
    justify-content: start !important;
}

.ec-course-single .ec-course-sidebar {
    width: 360px !important;
    margin-top: -462px !important;
    top: 82px !important;
}

.ec-course-single.is-course-scrolled .ec-course-sidebar {
    margin-top: 0 !important;
    top: 86px !important;
}

.ec-course-single .ec-course-enroll-card {
    border-color: #d1d5db !important;
    border-radius: 0 !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.18) !important;
}

.ec-course-single .ec-course-enroll-card__image {
    aspect-ratio: 16 / 9 !important;
}

.ec-course-single .ec-course-enroll-card__image::after {
    width: 66px !important;
    height: 66px !important;
}

.ec-course-single .ec-course-enroll-card__body {
    padding: 28px !important;
    gap: 18px !important;
}

.ec-course-sidebar-price strong {
    font-size: 31px !important;
}

.ec-course-single .ec-course-enroll-card .ec-button {
    min-height: 52px !important;
    border-radius: 7px !important;
    background: #6d28d9 !important;
    border-color: #6d28d9 !important;
    font: 900 18px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-buy-now {
    min-height: 50px !important;
    border-color: #6d28d9 !important;
    border-radius: 7px !important;
    color: #6d28d9 !important;
    font: 900 17px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-enroll-card h2 {
    margin-top: 6px !important;
    font-size: 17px !important;
}

.ec-course-feature-list li {
    min-height: 38px !important;
    font-size: 13px !important;
}

.ec-course-panel,
.ec-course-content-panel {
    border-color: #d1d5db !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ec-course-panel__tab {
    min-height: 50px !important;
    padding: 0 28px !important;
    background: #fff !important;
    font-size: 13px !important;
}

.ec-course-panel__body {
    padding: 28px !important;
    font-size: 15px !important;
    line-height: 1.72 !important;
}

.ec-course-panel__body h2 {
    font-size: 17px !important;
}

.ec-course-content-panel {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.ec-course-content-head,
.ec-course-content-meta {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ec-course-content-head h2 {
    font-size: 23px !important;
}

.ec-course-accordion {
    border-color: #cfd6e1 !important;
    border-radius: 0 !important;
}

.ec-course-accordion summary {
    min-height: 52px !important;
    padding: 15px 18px !important;
    background: #f7f9fc !important;
    font-size: 14px !important;
}

.ec-course-accordion__lessons a {
    min-height: 46px !important;
    grid-template-columns: 42px minmax(0, 1fr) 72px 54px !important;
}

.ec-course-sticky-title {
    min-height: 70px !important;
    background: #17151d !important;
}

.ec-course-sticky-title strong {
    font-size: 20px !important;
}

.ec-course-sticky-title span {
    color: #f4b400 !important;
}

.ec-course-sticky-title a {
    background: #6d28d9 !important;
    border-color: #6d28d9 !important;
}

@media (max-width: 1100px) {
    .ec-course-single .ec-course-page-grid {
        grid-template-columns: minmax(0, 1fr) 330px !important;
        gap: 28px !important;
    }

    .ec-course-single .ec-course-sidebar {
        width: auto !important;
    }

    .ec-course-single .ec-course-hero__copy {
        padding-right: 350px !important;
    }
}

@media (max-width: 980px) {
    .ec-course-single .ec-container {
        width: min(100% - 28px, 1208px) !important;
    }

    .ec-course-single .ec-course-hero__copy {
        padding-right: 0 !important;
    }

    .ec-course-single .ec-course-page-grid {
        grid-template-columns: 1fr !important;
    }

    .ec-course-single .ec-course-sidebar {
        width: auto !important;
        margin-top: 0 !important;
    }

    .ec-course-hero-stats {
        grid-template-columns: 1fr !important;
        max-width: none !important;
    }
}

@media (max-width: 640px) {
    .ec-course-single .ec-course-hero h1 {
        font-size: 28px !important;
    }

    .ec-course-single .ec-course-lead {
        font-size: 17px !important;
    }
}

/* 0.1.18 align course sidebar to Udemy-style hero position. */
@media (min-width: 981px) {
    .ec-course-single .ec-course-hero {
        min-height: 536px !important;
    }

    .ec-course-single .ec-course-hero__inner {
        padding-top: 44px !important;
        padding-bottom: 90px !important;
    }

    .ec-course-single .ec-course-hero__copy {
        padding-right: 430px !important;
    }

    .ec-course-single .ec-course-page-grid {
        grid-template-columns: minmax(0, 760px) 488px !important;
        gap: 40px !important;
    }

    .ec-course-single .ec-course-sidebar {
        width: 488px !important;
        margin-top: -560px !important;
        top: 82px !important;
        z-index: 8 !important;
    }

    .ec-course-single.is-course-scrolled .ec-course-sidebar {
        width: 488px !important;
        margin-top: 0 !important;
        top: 84px !important;
    }

    .ec-course-single .ec-course-enroll-card__body {
        padding: 30px !important;
    }
}

/* 0.1.15 course scroll state: sticky title and compact sticky sidebar. */
.ec-course-sticky-title {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 120 !important;
    min-height: 74px !important;
    display: flex !important;
    align-items: center !important;
    background: #111018 !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.22) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-100%) !important;
    transition: opacity .16s ease, transform .16s ease !important;
}

.admin-bar .ec-course-sticky-title {
    top: 32px !important;
}

.ec-course-single.is-course-scrolled .ec-course-sticky-title {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.ec-course-sticky-title__inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    gap: 18px !important;
    align-items: center !important;
}

.ec-course-sticky-title strong {
    overflow: hidden !important;
    color: #fff !important;
    font: 900 20px/1.25 Arial, Helvetica, sans-serif !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

.ec-course-sticky-title span {
    color: #f6c65b !important;
    font: 900 14px/1 Arial, Helvetica, sans-serif !important;
    white-space: nowrap !important;
}

.ec-course-sticky-title a {
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 18px !important;
    border-radius: 4px !important;
    background: #6d28d9 !important;
    color: #fff !important;
    font: 900 14px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-single.is-course-scrolled .ec-course-sidebar {
    margin-top: 0 !important;
    top: 92px !important;
}

.ec-course-single.is-course-scrolled .ec-course-enroll-card__image {
    display: none !important;
}

.ec-course-single.is-course-scrolled .ec-course-enroll-card {
    box-shadow: 0 14px 30px rgba(15, 23, 42, .14) !important;
}

@media (max-width: 782px) {
    .admin-bar .ec-course-sticky-title {
        top: 46px !important;
    }
}

@media (max-width: 640px) {
    .ec-course-sticky-title__inner {
        grid-template-columns: minmax(0, 1fr) auto !important;
    }

    .ec-course-sticky-title span {
        display: none !important;
    }
}

/* 0.1.14 course page hero/sidebar and curriculum matched to reference. */
.ec-course-single {
    background: #fff !important;
}

.ec-course-single .ec-course-hero {
    min-height: 344px !important;
    background: #111018 !important;
}

.ec-course-single .ec-course-hero__inner {
    padding: 26px 0 118px !important;
}

.ec-course-single .ec-course-hero__copy {
    max-width: 760px !important;
    padding-right: 370px !important;
}

.ec-course-path {
    margin: 0 0 18px !important;
    color: #c8b5ff !important;
    font: 800 12px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-path span {
    margin: 0 8px !important;
    color: rgba(255,255,255,.55) !important;
}

.ec-course-single .ec-course-hero h1 {
    max-width: 720px !important;
    font: 900 32px/1.16 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-lead {
    max-width: 720px !important;
    color: #f4f2fb !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

.ec-course-single .ec-course-meta {
    gap: 12px !important;
    margin-top: 14px !important;
}

.ec-course-single .ec-course-meta span:first-child {
    color: #f6c65b !important;
}

.ec-course-hero-stats {
    display: grid !important;
    grid-template-columns: 1.5fr .8fr .8fr !important;
    max-width: 720px !important;
    margin-top: 22px !important;
    border: 1px solid #d6d8e2 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    background: #fff !important;
    color: #232536 !important;
}

.ec-course-hero-stats div {
    min-height: 58px !important;
    display: grid !important;
    align-content: center !important;
    gap: 4px !important;
    padding: 9px 14px !important;
    border-right: 1px solid #e5e7ef !important;
}

.ec-course-hero-stats div:last-child {
    border-right: 0 !important;
}

.ec-course-hero-stats strong {
    color: #5f22d9 !important;
    font: 900 14px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-hero-stats span {
    color: #596174 !important;
    font: 600 11px/1.3 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-main {
    padding-top: 24px !important;
}

.ec-course-single .ec-course-sidebar {
    margin-top: -337px !important;
    top: 84px !important;
    z-index: 6 !important;
}

.ec-course-single .ec-course-enroll-card {
    border: 1px solid #cfd4df !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
}

.ec-course-single .ec-course-enroll-card__image {
    position: relative !important;
    aspect-ratio: 16 / 9 !important;
    background: #15151f !important;
}

.ec-course-single .ec-course-enroll-card__image::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,.68)) !important;
    z-index: 1 !important;
}

.ec-course-single .ec-course-enroll-card__image::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: #fff !important;
    transform: translate(-50%, -50%) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.28) !important;
    z-index: 2 !important;
}

.ec-course-single .ec-course-enroll-card__image span {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 12px !important;
    z-index: 3 !important;
    color: #fff !important;
    text-align: center !important;
    font: 800 12px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-sidebar-price {
    display: grid !important;
    gap: 3px !important;
}

.ec-course-sidebar-price strong {
    color: #111827 !important;
    font: 900 24px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-sidebar-price span {
    color: #6b7280 !important;
    font: 600 12px/1.35 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-enroll-card .ec-button {
    min-height: 44px !important;
    border-radius: 4px !important;
    background: #6d28d9 !important;
    border-color: #6d28d9 !important;
    color: #fff !important;
    font-size: 14px !important;
    text-transform: none !important;
}

.ec-course-buy-now {
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #6d28d9 !important;
    border-radius: 4px !important;
    color: #6d28d9 !important;
    background: #fff !important;
    font: 900 13px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-content-panel {
    background: #fff !important;
}

.ec-course-content-head {
    display: flex !important;
    align-items: end !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin-bottom: 4px !important;
}

.ec-course-content-head h2 {
    margin: 0 !important;
    color: #111827 !important;
    font: 900 22px/1.2 Arial, Helvetica, sans-serif !important;
}

.ec-course-content-head a {
    color: #5624d0 !important;
    font: 800 12px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-content-meta {
    margin: 0 0 10px !important;
    color: #4b5563 !important;
    font: 600 12px/1.4 Arial, Helvetica, sans-serif !important;
}

.ec-course-accordion {
    border: 1px solid #cfd4df !important;
    background: #fff !important;
}

.ec-course-accordion details {
    border-bottom: 1px solid #cfd4df !important;
}

.ec-course-accordion details:last-of-type {
    border-bottom: 0 !important;
}

.ec-course-accordion summary {
    min-height: 48px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 14px !important;
    align-items: center !important;
    padding: 13px 16px !important;
    cursor: pointer !important;
    background: #f6f7fb !important;
    color: #1f2937 !important;
    font: 900 14px/1.3 Arial, Helvetica, sans-serif !important;
}

.ec-course-accordion summary::marker {
    color: #1f2937 !important;
}

.ec-course-accordion summary em {
    color: #4b5563 !important;
    font: 700 12px/1 Arial, Helvetica, sans-serif !important;
    font-style: normal !important;
    white-space: nowrap !important;
}

.ec-course-accordion__lessons {
    background: #fff !important;
}

.ec-course-accordion__lessons a {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) auto 44px !important;
    gap: 12px !important;
    align-items: center !important;
    min-height: 42px !important;
    padding: 8px 16px !important;
    border-top: 1px solid #eef1f5 !important;
    color: #1f2937 !important;
    font: 600 13px/1.35 Arial, Helvetica, sans-serif !important;
}

.ec-course-accordion__lessons span {
    color: #6b7280 !important;
    font-size: 12px !important;
}

.ec-course-accordion__lessons strong {
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

.ec-course-accordion__lessons em {
    color: #5624d0 !important;
    font-size: 12px !important;
    font-style: normal !important;
}

.ec-course-accordion__lessons b {
    color: #6b7280 !important;
    font-size: 12px !important;
    text-align: right !important;
}

.ec-course-more-sections {
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-top: 1px solid #cfd4df !important;
    color: #5624d0 !important;
    font: 900 13px/1 Arial, Helvetica, sans-serif !important;
}

@media (max-width: 980px) {
    .ec-course-single .ec-course-hero {
        min-height: 0 !important;
    }

    .ec-course-single .ec-course-hero__inner {
        padding-bottom: 34px !important;
    }

    .ec-course-single .ec-course-hero__copy {
        padding-right: 0 !important;
    }

    .ec-course-single .ec-course-sidebar {
        margin-top: 0 !important;
        top: auto !important;
    }

    .ec-course-hero-stats {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .ec-course-accordion summary {
        grid-template-columns: 1fr !important;
    }

    .ec-course-accordion__lessons a {
        grid-template-columns: minmax(0, 1fr) auto !important;
    }

    .ec-course-accordion__lessons span,
    .ec-course-accordion__lessons b {
        display: none !important;
    }
}

.ec-course-card .ec-course-popover {
    cursor: pointer !important;
}

.ec-course-card .ec-course-popover a,
.ec-course-card .ec-course-popover button {
    cursor: pointer !important;
}

/* 0.1.12 course detail page refresh. */
.ec-course-single {
    background: #f7f8fb !important;
}

.ec-course-breadcrumb {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    min-height: 38px !important;
    color: #5f6470 !important;
    font: 600 12px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-breadcrumb a {
    color: #374151 !important;
}

.ec-course-breadcrumb span {
    color: #8a909c !important;
}

.ec-course-single .ec-course-hero {
    background: #2d2d2d !important;
    color: #fff !important;
    padding: 0 !important;
}

.ec-course-single .ec-course-hero__inner {
    display: block !important;
    padding: 34px 0 38px !important;
}

.ec-course-hero__copy {
    max-width: 850px !important;
}

.ec-course-single .ec-course-hero h1 {
    max-width: none !important;
    margin: 0 0 10px !important;
    color: #fff !important;
    font: 800 28px/1.2 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-lead {
    max-width: 820px !important;
    margin: 0 !important;
    color: #f0f0f0 !important;
    font: 500 14px/1.65 Arial, Helvetica, sans-serif !important;
}

.ec-course-single .ec-course-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px 18px !important;
    margin-top: 16px !important;
    color: #fff !important;
    font: 700 12px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-author {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 18px !important;
    color: #fff !important;
    font: 600 12px/1.3 Arial, Helvetica, sans-serif !important;
}

.ec-course-author img,
.ec-course-instructor__row img {
    border-radius: 999px !important;
    background: #e5e7eb !important;
}

.ec-course-main {
    padding: 28px 0 54px !important;
}

.ec-course-single .ec-course-page-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 310px !important;
    gap: 28px !important;
    align-items: start !important;
}

.ec-course-primary {
    display: grid !important;
    gap: 22px !important;
    min-width: 0 !important;
}

.ec-course-panel {
    border: 1px solid #d9dde6 !important;
    background: #fff !important;
}

.ec-course-panel__tab {
    display: inline-flex !important;
    min-height: 42px !important;
    align-items: center !important;
    margin: -1px 0 0 -1px !important;
    padding: 0 18px !important;
    border: 1px solid #d9dde6 !important;
    border-bottom-color: #fff !important;
    color: #111827 !important;
    background: #fff !important;
    font: 800 12px/1 Arial, Helvetica, sans-serif !important;
    text-transform: uppercase !important;
}

.ec-course-panel__body {
    padding: 22px !important;
    color: #242936 !important;
    font: 500 14px/1.65 Arial, Helvetica, sans-serif !important;
}

.ec-course-panel__body h2 {
    margin: 18px 0 8px !important;
    padding-top: 14px !important;
    border-top: 1px solid #d9dde6 !important;
    color: #111827 !important;
    font: 800 14px/1.25 Arial, Helvetica, sans-serif !important;
    text-transform: uppercase !important;
}

.ec-course-panel__body h2:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

.ec-course-panel__body p {
    margin: 0 0 12px !important;
}

.ec-course-panel__body ul {
    margin: 0 0 10px 18px !important;
    padding: 0 !important;
}

.ec-course-description > :first-child {
    margin-top: 0 !important;
}

.ec-course-feature-table {
    display: grid !important;
    grid-template-columns: 160px minmax(0, 1fr) !important;
    gap: 12px !important;
    max-width: 480px !important;
    padding: 12px 0 !important;
    border-top: 1px solid #eceff4 !important;
    border-bottom: 1px solid #eceff4 !important;
}

.ec-course-feature-table span {
    color: #6b7280 !important;
}

.ec-course-lesson-list {
    display: grid !important;
    border: 1px solid #e3e6ee !important;
}

.ec-course-lesson-list a {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: center !important;
    min-height: 48px !important;
    padding: 10px 14px !important;
    border-bottom: 1px solid #e3e6ee !important;
    color: #1f2937 !important;
    background: #fff !important;
}

.ec-course-lesson-list a:last-child {
    border-bottom: 0 !important;
}

.ec-course-lesson-list span,
.ec-course-lesson-list em {
    color: #6b7280 !important;
    font: 700 12px/1 Arial, Helvetica, sans-serif !important;
    font-style: normal !important;
}

.ec-course-instructor__row {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
}

.ec-course-review-score {
    display: inline-grid !important;
    margin-right: 26px !important;
    vertical-align: top !important;
}

.ec-course-review-score strong {
    color: #111827 !important;
    font: 800 52px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-review-score span {
    color: #6b7280 !important;
    font-size: 12px !important;
}

.ec-course-review-bars {
    display: inline-grid !important;
    gap: 6px !important;
    width: min(420px, 65%) !important;
    margin-bottom: 18px !important;
}

.ec-course-review-bars div {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) 18px !important;
    gap: 8px !important;
    align-items: center !important;
    color: #6b7280 !important;
    font-size: 12px !important;
}

.ec-course-review-bars i {
    height: 8px !important;
    background: #eceff4 !important;
}

.ec-course-sidebar {
    position: sticky !important;
    top: 92px !important;
}

.ec-course-enroll-card {
    border: 1px solid #d9dde6 !important;
    background: #fff !important;
}

.ec-course-enroll-card__image {
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    background: #eef2f7 !important;
}

.ec-course-enroll-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.ec-course-enroll-card__image--empty {
    display: grid !important;
    place-items: center !important;
    color: #0f918b !important;
    font: 800 20px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-enroll-card__body {
    display: grid !important;
    gap: 14px !important;
    padding: 16px !important;
}

.ec-course-enroll-card .ec-button {
    width: 100% !important;
    min-height: 36px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
}

.ec-course-enroll-card h2 {
    margin: 0 !important;
    color: #111827 !important;
    font: 800 17px/1.2 Arial, Helvetica, sans-serif !important;
}

.ec-course-feature-list {
    display: grid !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ec-course-feature-list li {
    display: flex !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #eef1f5 !important;
    color: #5f6470 !important;
    font: 600 13px/1.3 Arial, Helvetica, sans-serif !important;
}

.ec-course-feature-list strong {
    color: #111827 !important;
    text-align: right !important;
}

.ec-course-wishlist {
    display: inline-flex !important;
    min-height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #d9dde6 !important;
    color: #5624d0 !important;
    font: 800 11px/1 Arial, Helvetica, sans-serif !important;
    text-transform: uppercase !important;
}

.ec-course-share {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    color: #6b7280 !important;
    font: 700 12px/1 Arial, Helvetica, sans-serif !important;
}

.ec-course-share a {
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #d9dde6 !important;
    border-radius: 50% !important;
    color: #5f6470 !important;
    background: #fff !important;
}

.ec-course-related {
    margin-top: 10px !important;
}

.ec-course-related h2 {
    margin: 0 0 16px !important;
    color: #111827 !important;
    font: 800 15px/1 Arial, Helvetica, sans-serif !important;
    text-transform: uppercase !important;
}

.ec-course-related .ec-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 980px) {
    .ec-course-single .ec-course-page-grid {
        grid-template-columns: 1fr !important;
    }

    .ec-course-sidebar {
        position: static !important;
        order: -1 !important;
    }

    .ec-course-related .ec-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .ec-course-single .ec-course-hero h1 {
        font-size: 24px !important;
    }

    .ec-course-panel__body {
        padding: 16px !important;
        font-size: 13px !important;
    }

    .ec-course-lesson-list a {
        grid-template-columns: 1fr auto !important;
    }

    .ec-course-lesson-list span {
        display: none !important;
    }

    .ec-course-review-bars {
        width: 100% !important;
    }

    .ec-course-related .ec-course-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 0.1.13 course sidebar overlaps the dark course header band. */
.ec-course-single .ec-course-hero__copy {
    padding-right: 350px !important;
}

.ec-course-single .ec-course-main {
    position: relative !important;
}

.ec-course-single .ec-course-sidebar {
    margin-top: -156px !important;
    z-index: 5 !important;
}

.ec-course-single .ec-course-enroll-card {
    box-shadow: 0 16px 34px rgba(15, 23, 42, .16) !important;
}

@media (max-width: 980px) {
    .ec-course-single .ec-course-hero__copy {
        padding-right: 0 !important;
    }

    .ec-course-single .ec-course-sidebar {
        margin-top: 0 !important;
    }
}

.ec-reader-search-panel button {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    width: 28px !important;
    height: 28px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    transform: translateY(-50%) !important;
}

.ec-reader-search-panel button::before {
    content: "" !important;
    position: absolute !important;
    left: 4px !important;
    top: 3px !important;
    width: 15px !important;
    height: 15px !important;
    border: 2.5px solid #0f918b !important;
    border-radius: 50% !important;
    background: transparent !important;
}

.ec-reader-search-panel button::after {
    content: "" !important;
    position: absolute !important;
    right: 5px !important;
    bottom: 7px !important;
    width: 11px !important;
    height: 2.5px !important;
    border-radius: 999px !important;
    background: #0f918b !important;
    transform: rotate(-45deg) !important;
}

/* 0.1.7 cache-proof corrections: popover placement, compact search icon, lesson toolbar clickability. */
.ec-course-grid .ec-course-card .ec-course-popover {
    position: fixed !important;
    right: auto !important;
    bottom: auto !important;
    width: var(--course-popover-width, 310px) !important;
    max-width: calc(100vw - 32px) !important;
    padding: 18px !important;
    z-index: 9999 !important;
}

.ec-course-card .ec-course-popover,
.ec-course-card:hover .ec-course-popover,
.ec-course-card:focus-within .ec-course-popover {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.ec-course-card.is-popover-open .ec-course-popover,
.ec-course-card.is-popover-open:hover .ec-course-popover,
.ec-course-card.is-popover-open:focus-within .ec-course-popover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(0, 0) !important;
}

.ec-reader-search-panel input {
    height: 42px !important;
    padding: 0 50px 0 22px !important;
    font: 500 18px/1.1 Arial, Helvetica, sans-serif !important;
}

.ec-reader-search-panel button {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    width: 24px !important;
    height: 24px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    transform: translateY(-50%) !important;
    font-size: 0 !important;
    color: #0f918b !important;
}

.ec-reader-search-panel button::before {
    content: "" !important;
    position: absolute !important;
    left: 3px !important;
    top: 2px !important;
    width: 13px !important;
    height: 13px !important;
    border: 2px solid currentColor !important;
    border-radius: 50% !important;
    background: transparent !important;
}

.ec-reader-search-panel button::after {
    content: "" !important;
    position: absolute !important;
    right: 4px !important;
    bottom: 6px !important;
    width: 10px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: currentColor !important;
    transform: rotate(-45deg) !important;
}

.ec-reader-toolbar button,
.ec-reader-toolbar a,
.ec-reader-nav button,
.ec-reader-nav a {
    pointer-events: auto !important;
}

/* 0.1.8 lesson title placement: no chapter heading inside content. */
.ec-reader-content__header {
    max-width: 1160px !important;
    margin: 0 auto 22px !important;
}

.ec-reader-content__header h1 {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid rgba(15, 145, 139, .35) !important;
    color: #0f918b !important;
    font: 700 22px/1.35 Arial, Helvetica, sans-serif !important;
    text-align: left !important;
    text-decoration: none !important;
}

.ec-reader.is-dark .ec-reader-content__header h1 {
    border-bottom-color: rgba(125, 219, 213, .35) !important;
    color: #7ddbd5 !important;
}

/* 0.1.9 course card popover stability: fixed popovers cannot sit inside transformed cards. */
.ec-course-card:hover,
.ec-course-card:focus-within {
    transform: none !important;
}

.ec-course-card .ec-course-popover,
.ec-course-card:hover .ec-course-popover,
.ec-course-card:focus-within .ec-course-popover {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.ec-course-card.is-popover-open .ec-course-popover,
.ec-course-card.is-popover-open:hover .ec-course-popover,
.ec-course-card.is-popover-open:focus-within .ec-course-popover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(0, 0) !important;
}
