/* TAU Academy v257 — landing-inspired application redesign */
:root{
  --v257-purple:#352377;
  --v257-purple-deep:#211554;
  --v257-purple-ink:#17103f;
  --v257-yellow:#ffc91b;
  --v257-yellow-deep:#f2b900;
  --v257-lav:#f6f3ff;
  --v257-lav-2:#eee9ff;
  --v257-pink:#eb4a91;
  --v257-cyan:#31d5e8;
  --v257-green:#20bd8e;
  --v257-ink:#17172f;
  --v257-muted:#6d6a82;
  --v257-line:rgba(53,35,119,.10);
  --v257-shadow:0 20px 55px rgba(45,28,108,.12);
  --v257-shadow-sm:0 10px 30px rgba(45,28,108,.09);
}

body.lmsDashboardPage,
body.courseLearningPage,
body.adminDashboardPage,
body.adminCourseEditorPage{
  --blue:var(--v257-purple);
  --blue-2:var(--v257-purple-deep);
  --navy:var(--v257-purple);
  --orange:var(--v257-yellow);
  --orange-2:var(--v257-yellow-deep);
  --text:var(--v257-ink);
  --muted:var(--v257-muted);
  --border:var(--v257-line);
  --soft:rgba(53,35,119,.07);
  --soft2:rgba(255,201,27,.14);
  --shadow:var(--v257-shadow);
  --radius:22px;
  background:
    radial-gradient(circle at 12% 6%, rgba(235,74,145,.08), transparent 20%),
    radial-gradient(circle at 87% 10%, rgba(49,213,232,.09), transparent 20%),
    linear-gradient(180deg,#fbfaff 0%,#f7f5ff 42%,#fbfbff 100%);
  color:var(--v257-ink);
}
body.lmsDashboardPage::before,
body.courseLearningPage::before,
body.adminDashboardPage::before,
body.adminCourseEditorPage::before{display:none}
body.lmsDashboardPage::after,
body.courseLearningPage::after,
body.adminDashboardPage::after,
body.adminCourseEditorPage::after{display:none}

/* Global application chrome */
body.lmsDashboardPage .topbar,
body.courseLearningPage .topbar,
body.adminDashboardPage .topbar,
body.adminCourseEditorPage .topbar{
  background:var(--v257-purple-deep);
  border:0;
  color:#fff;
}
body.lmsDashboardPage .topbar-link,
body.courseLearningPage .topbar-link,
body.adminDashboardPage .topbar-link,
body.adminCourseEditorPage .topbar-link{color:rgba(255,255,255,.76)}
body.lmsDashboardPage .ribbon-icon,
body.courseLearningPage .ribbon-icon,
body.adminDashboardPage .ribbon-icon,
body.adminCourseEditorPage .ribbon-icon{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.15);color:#fff}
body.lmsDashboardPage .lang-btn,
body.courseLearningPage .lang-btn,
body.adminDashboardPage .lang-btn,
body.adminCourseEditorPage .lang-btn{color:#fff}
body.lmsDashboardPage .lang-btn.is-active,
body.courseLearningPage .lang-btn.is-active,
body.adminDashboardPage .lang-btn.is-active,
body.adminCourseEditorPage .lang-btn.is-active{color:var(--v257-yellow)}

body.lmsDashboardPage .header,
body.courseLearningPage .header,
body.adminDashboardPage .header,
body.adminCourseEditorPage .header{
  background:rgba(255,255,255,.95);
  border-bottom:1px solid rgba(53,35,119,.08);
  box-shadow:0 8px 28px rgba(53,35,119,.05);
}
body.lmsDashboardPage .nav-link:hover,
body.courseLearningPage .nav-link:hover,
body.adminDashboardPage .nav-link:hover,
body.adminCourseEditorPage .nav-link:hover{color:var(--v257-purple)}
body.lmsDashboardPage .nav.nav-pages .nav-pill,
body.courseLearningPage .nav.nav-pages .nav-pill,
body.adminDashboardPage .nav.nav-pages .nav-pill,
body.adminCourseEditorPage .nav.nav-pages .nav-pill{
  border-color:rgba(53,35,119,.12);
  background:var(--v257-lav);
  color:var(--v257-purple);
}

body.lmsDashboardPage .pageWrap,
body.adminDashboardPage .pageWrap,
body.adminCourseEditorPage .pageWrap{max-width:1500px;padding-top:28px;padding-bottom:64px}
body.courseLearningPage .coursePageWrap{max-width:1540px;padding-top:24px;padding-bottom:70px}

/* shared controls */
body.lmsDashboardPage .btn,
body.courseLearningPage .btn,
body.adminDashboardPage .btn,
body.adminCourseEditorPage .btn{
  min-height:42px;
  border-radius:13px;
  font-weight:800;
  letter-spacing:-.01em;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
}
body.lmsDashboardPage .btn:hover,
body.courseLearningPage .btn:hover,
body.adminDashboardPage .btn:hover,
body.adminCourseEditorPage .btn:hover{transform:translateY(-2px)}
body.lmsDashboardPage .btn-primary,
body.courseLearningPage .btn-primary,
body.adminDashboardPage .btn-primary,
body.adminCourseEditorPage .btn-primary{
  background:linear-gradient(135deg,var(--v257-yellow),#ffdc58);
  border-color:var(--v257-yellow);
  color:#2a2153;
  box-shadow:0 10px 22px rgba(255,201,27,.24);
}
body.lmsDashboardPage .btn-primary:hover,
body.courseLearningPage .btn-primary:hover,
body.adminDashboardPage .btn-primary:hover,
body.adminCourseEditorPage .btn-primary:hover{background:linear-gradient(135deg,#ffd13a,var(--v257-yellow));box-shadow:0 14px 30px rgba(255,201,27,.30)}
body.lmsDashboardPage .btn-soft,
body.courseLearningPage .btn-soft,
body.adminDashboardPage .btn-soft,
body.adminCourseEditorPage .btn-soft,
.btn-hero-soft{
  background:#fff;
  border:1px solid rgba(53,35,119,.13);
  color:var(--v257-purple);
  box-shadow:0 5px 15px rgba(53,35,119,.05);
}
.btn-hero-soft{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;text-decoration:none}

body.lmsDashboardPage .panel,
body.courseLearningPage .panel,
body.adminDashboardPage .panel,
body.adminCourseEditorPage .panel{
  background:rgba(255,255,255,.97);
  border:1px solid rgba(53,35,119,.09);
  box-shadow:var(--v257-shadow-sm);
  border-radius:22px;
}
body.adminDashboardPage input,
body.adminDashboardPage textarea,
body.adminDashboardPage select,
body.adminCourseEditorPage input,
body.adminCourseEditorPage textarea,
body.adminCourseEditorPage select,
body.courseLearningPage input,
body.courseLearningPage textarea,
body.courseLearningPage select,
body.lmsDashboardPage input,
body.lmsDashboardPage textarea,
body.lmsDashboardPage select{
  border-radius:13px!important;
  border:1px solid rgba(53,35,119,.13)!important;
  background:#fff!important;
  transition:border-color .15s ease,box-shadow .15s ease!important;
}
body.adminDashboardPage input:focus,
body.adminDashboardPage textarea:focus,
body.adminDashboardPage select:focus,
body.adminCourseEditorPage input:focus,
body.adminCourseEditorPage textarea:focus,
body.adminCourseEditorPage select:focus,
body.courseLearningPage input:focus,
body.courseLearningPage textarea:focus,
body.lmsDashboardPage input:focus,
body.lmsDashboardPage textarea:focus{
  outline:none!important;
  border-color:rgba(53,35,119,.45)!important;
  box-shadow:0 0 0 4px rgba(53,35,119,.08)!important;
}

/* App side navigation */
body.lmsDashboardPage .lmsLayout,
body.adminDashboardPage .lmsLayout{grid-template-columns:250px minmax(0,1fr);gap:26px;align-items:start}
body.lmsDashboardPage .sideNav,
body.adminDashboardPage .sideNav{
  position:sticky;top:118px;
  padding:18px 14px 16px;
  background:linear-gradient(180deg,var(--v257-purple) 0%,var(--v257-purple-deep) 100%);
  border:0;
  color:#fff;
  box-shadow:0 24px 55px rgba(35,21,86,.24);
  overflow:hidden;
}
body.lmsDashboardPage .sideNav::before,
body.adminDashboardPage .sideNav::before{
  content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-95px;top:-85px;background:rgba(235,74,145,.28);filter:blur(2px);pointer-events:none
}
body.lmsDashboardPage .sideNav::after,
body.adminDashboardPage .sideNav::after{
  content:"";position:absolute;width:150px;height:150px;border-radius:46% 54% 64% 36%;left:-88px;bottom:45px;background:rgba(49,213,232,.16);transform:rotate(28deg);pointer-events:none
}
body.lmsDashboardPage .sideTitle,
body.adminDashboardPage .sideTitle{position:relative;font-size:17px;color:#fff;margin:3px 8px 18px;font-weight:900}
body.lmsDashboardPage .appNavSection,
body.adminDashboardPage .appNavSection{position:relative;color:rgba(255,255,255,.45);font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:900;margin:17px 11px 7px}
body.lmsDashboardPage .sideLink,
body.adminDashboardPage .sideLink{
  position:relative;z-index:1;
  display:flex;align-items:center;gap:10px;
  border-radius:13px;
  color:rgba(255,255,255,.83);
  padding:10px 11px;
  margin:3px 0;
  border:1px solid transparent;
  font-weight:730;
}
body.lmsDashboardPage .sideLink:hover,
body.adminDashboardPage .sideLink:hover{background:rgba(255,255,255,.08);color:#fff}
body.lmsDashboardPage .sideLink.active,
body.adminDashboardPage .sideLink.active{
  background:var(--v257-yellow);
  color:#2b2059;
  border-color:rgba(255,255,255,.05);
  box-shadow:0 10px 22px rgba(0,0,0,.12);
}
body.lmsDashboardPage .sideIcon,
body.adminDashboardPage .sideIcon{width:27px;height:27px;border-radius:9px;background:rgba(255,255,255,.10);display:grid;place-items:center;font-size:13px;font-weight:900}
body.lmsDashboardPage .sideLink.active .sideIcon,
body.adminDashboardPage .sideLink.active .sideIcon{background:rgba(53,35,119,.11)}
body.lmsDashboardPage .sideUser,
body.adminDashboardPage .sideUser{position:relative;z-index:1;margin-top:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10);border-radius:16px;padding:14px}
body.lmsDashboardPage .sideUser .sub,
body.adminDashboardPage .sideUser .sub{color:rgba(255,255,255,.70)}
body.lmsDashboardPage .avatarCircle{background:linear-gradient(135deg,var(--v257-yellow),#fff0a2);color:var(--v257-purple);box-shadow:none}

/* Student dashboard hero */
.lmsWelcomeHero{
  min-height:264px;position:relative;overflow:hidden;
  border-radius:28px;padding:38px 40px;
  background:
    radial-gradient(circle at 78% 22%,rgba(235,74,145,.78),transparent 23%),
    radial-gradient(circle at 91% 70%,rgba(49,213,232,.36),transparent 20%),
    linear-gradient(135deg,#2f1974 0%,#4b2ca1 62%,#6335af 100%);
  color:#fff;box-shadow:0 28px 62px rgba(53,35,119,.24);
}
.lmsWelcomeCopy{position:relative;z-index:2;max-width:720px}
.landingEyebrow{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:var(--v257-yellow)}
.lmsWelcomeHero h1,.adminHeroV257 h1,.courseEditorHeroV257 h1{font-size:clamp(30px,4vw,52px);line-height:1.02;letter-spacing:-.045em;margin:12px 0 12px;color:#fff}
.lmsWelcomeHero p{max-width:620px;margin:0;color:rgba(255,255,255,.78);font-size:16px}
.lmsHeroActions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.lmsHeroActions .btn-hero-soft{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.20);color:#fff;box-shadow:none}
.lmsHeroOrbit{position:absolute;right:3%;top:50%;width:250px;height:250px;transform:translateY(-50%)}
.lmsHeroOrbit>span{position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.20);inset:0}
.lmsHeroOrbit>span:nth-child(2){inset:30px;border-color:rgba(255,201,27,.30)}
.lmsHeroOrbit>span:nth-child(3){inset:68px;background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.12)}
.heroGlyph{position:absolute;inset:83px;display:grid;place-items:center;border-radius:50%;background:var(--v257-yellow);color:var(--v257-purple);font-weight:1000;letter-spacing:-.06em;font-size:26px;box-shadow:0 15px 40px rgba(0,0,0,.16)}
.lmsMetricGrid,.adminMetricGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}
.lmsMetric,.adminMetricGrid article{background:#fff;border:1px solid var(--v257-line);border-radius:18px;padding:16px;display:flex;align-items:center;gap:13px;box-shadow:var(--v257-shadow-sm)}
.metricIcon,.adminMetricGrid article>span{width:42px;height:42px;flex:0 0 42px;border-radius:13px;display:grid;place-items:center;background:var(--v257-lav-2);color:var(--v257-purple);font-weight:1000}
.lmsMetric:nth-child(2) .metricIcon{background:#eafbf6;color:#159a74}.lmsMetric:nth-child(3) .metricIcon{background:#fff4cc;color:#a87900}.lmsMetric:nth-child(4) .metricIcon{background:#ffeaf3;color:#c63073}
.lmsMetric b,.adminMetricGrid b{display:block;font-size:24px;line-height:1;color:var(--v257-ink)}
.lmsMetric small,.adminMetricGrid small{display:block;color:var(--v257-muted);font-size:12px;margin-top:6px;font-weight:700}
.lmsViewHeader{padding:20px 22px!important;box-shadow:none!important;background:transparent!important;border:0!important}
.lmsViewHeader h2{font-size:28px!important;letter-spacing:-.03em}

/* Student course cards */
body.lmsDashboardPage #viewCourses{background:transparent;border:0;box-shadow:none;padding:0}
body.lmsDashboardPage #coursesGrid.cardsGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.lmsDashboardPage .dashboardCourseCard{padding:0!important;overflow:hidden;border-radius:22px;background:#fff;box-shadow:var(--v257-shadow-sm);border:1px solid rgba(53,35,119,.08);min-height:0!important;transition:transform .2s ease,box-shadow .2s ease}
body.lmsDashboardPage .dashboardCourseCard:hover{transform:translateY(-5px);box-shadow:0 22px 48px rgba(53,35,119,.15)}
.dashboardCourseMedia{position:relative;height:176px;overflow:hidden;background:var(--v257-purple)}
body.lmsDashboardPage .dashboardCourseMedia .courseCover{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;border:0!important;border-radius:0!important;transition:transform .35s ease}
body.lmsDashboardPage .dashboardCourseCard:hover .dashboardCourseMedia .courseCover{transform:scale(1.045)}
.dashboardCourseMediaShade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(30,18,76,.05) 28%,rgba(30,18,76,.85) 100%)}
.dashboardCourseMediaBadge{position:absolute;left:14px;top:14px}.dashboardCourseMediaBadge .badgeSmall{background:var(--v257-yellow);border:0;color:var(--v257-purple-deep);font-weight:900}
.dashboardCourseMediaProgress{position:absolute;left:15px;right:15px;bottom:13px;display:flex;align-items:center;justify-content:space-between;color:#fff;font-size:12px}.dashboardCourseMediaProgress b{font-size:16px}
body.lmsDashboardPage .dashboardCourseCard .courseTop{display:block!important;padding:18px 18px 19px}
body.lmsDashboardPage .dashboardCourseCard .courseMeta{padding:0!important;min-width:0}
body.lmsDashboardPage .dashboardCourseCard h3{font-size:18px;line-height:1.2;min-height:43px;margin:0 0 8px;color:var(--v257-ink);letter-spacing:-.025em}
body.lmsDashboardPage .dashboardCourseDescription{height:42px;overflow:hidden;color:var(--v257-muted)}
body.lmsDashboardPage .dashboardCoursePrice{margin-top:9px}.priceNow{color:var(--v257-purple);font-weight:900}
body.lmsDashboardPage .dashboardCourseStats{margin-top:14px}.dashboardCourseStats .bar{height:7px;background:#eeeaf8}.dashboardCourseStats .bar i{background:linear-gradient(90deg,var(--v257-purple),#7a4be0)}
body.lmsDashboardPage .dashboardCourseStats .barRow:nth-of-type(3)+.bar i{background:linear-gradient(90deg,#1daf86,#37d5ab)}
body.lmsDashboardPage .dashboardCourseActions{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:14px}.dashboardCourseActions .btn{min-height:40px;padding-left:13px;padding-right:13px}

/* Generic LMS view cards */
body.lmsDashboardPage #viewProgress,
body.lmsDashboardPage #viewGrades,
body.lmsDashboardPage #viewQuizzes,
body.lmsDashboardPage #viewMaterials,
body.lmsDashboardPage #viewCertificates,
body.lmsDashboardPage #viewReviews,
body.lmsDashboardPage #viewFaq,
body.lmsDashboardPage #viewProfile{padding:22px}
body.lmsDashboardPage details.acc{border-radius:16px;border-color:rgba(53,35,119,.10);overflow:hidden;background:#fff}
body.lmsDashboardPage details.acc>summary{background:linear-gradient(180deg,#fff,#fbfaff)}
body.lmsDashboardPage .reviewCard{border-radius:20px;border-color:rgba(53,35,119,.10);box-shadow:0 10px 24px rgba(53,35,119,.07)}

/* Course page */
.courseHeroV257{position:relative;min-height:310px;border-radius:30px;overflow:hidden;margin-bottom:24px;background:var(--v257-purple-deep);box-shadow:0 28px 64px rgba(53,35,119,.22)}
.courseHeroMedia{position:absolute;inset:0}.courseHeroMedia img{width:100%;height:100%;object-fit:cover;filter:saturate(.9)}
.courseHeroOverlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(29,16,75,.96) 0%,rgba(45,25,112,.88) 42%,rgba(45,25,112,.42) 72%,rgba(45,25,112,.20) 100%)}
.courseHeroContent{position:relative;z-index:2;padding:34px 40px;max-width:800px;color:#fff}
.courseBackLink{display:inline-flex;margin-bottom:26px;color:rgba(255,255,255,.76);font-size:13px;font-weight:800}.courseBackLink:hover{color:var(--v257-yellow)}
.courseHeroContent h1{font-size:clamp(32px,4.2vw,56px);line-height:1.02;letter-spacing:-.045em;margin:10px 0 12px;color:#fff}
.courseHeroContent p{font-size:15px;line-height:1.7;color:rgba(255,255,255,.78);max-width:680px;margin:0}
.courseHeroProgressRow{display:flex;align-items:center;gap:12px;margin-top:25px;max-width:480px}.courseHeroProgressTrack{height:9px;flex:1;background:rgba(255,255,255,.18);border-radius:99px;overflow:hidden}.courseHeroProgressTrack i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--v257-yellow),#ffe889);border-radius:inherit;transition:width .4s ease}.courseHeroProgressRow b{font-size:15px;color:var(--v257-yellow)}
body.courseLearningPage .courseWorkspaceV257{grid-template-columns:330px minmax(0,1fr);gap:24px;align-items:start}
body.courseLearningPage .courseNavigatorV257{position:sticky;top:118px;padding:18px;background:linear-gradient(180deg,#2d1a70,#20144f);border:0;color:#fff;box-shadow:0 20px 48px rgba(41,25,99,.22);max-height:calc(100vh - 140px);overflow:auto}
body.courseLearningPage .courseNavigatorV257 .sideTitle{color:#fff;font-size:12px;text-transform:uppercase;letter-spacing:.11em;margin-bottom:5px}
body.courseLearningPage .courseNavigatorV257 #courseName{color:#fff!important;font-size:18px;font-weight:900;line-height:1.25;margin:0 0 16px!important}
body.courseLearningPage .courseNavigatorV257 .sideHint{color:rgba(255,255,255,.54);border-top:1px solid rgba(255,255,255,.10);padding-top:14px;margin-top:14px}
body.courseLearningPage .moduleAccessCard{border:1px solid rgba(255,255,255,.10)!important;background:rgba(255,255,255,.055)!important;border-radius:14px!important;margin:8px 0!important;box-shadow:none!important}
body.courseLearningPage .moduleAccessCard>summary{background:transparent!important;color:#fff;padding:13px!important}
body.courseLearningPage .moduleAccessCard .sub{color:rgba(255,255,255,.55)!important}
body.courseLearningPage .moduleAccessState{font-size:10px!important;background:rgba(255,255,255,.10)!important;color:#fff!important;border-color:transparent!important}
body.courseLearningPage .topicItem{border-radius:12px!important;border:1px solid transparent!important;color:rgba(255,255,255,.86)!important;background:transparent!important;padding:11px 10px!important;margin:4px 0!important}
body.courseLearningPage .topicItem:hover{background:rgba(255,255,255,.08)!important}.courseLearningPage .topicItem.active{background:var(--v257-yellow)!important;color:var(--v257-purple-deep)!important;box-shadow:0 8px 20px rgba(0,0,0,.14)}
body.courseLearningPage .topicItem.active .topicLeft span{color:rgba(42,29,88,.72)!important}.courseLearningPage .topicLeft span{color:rgba(255,255,255,.52)!important}
body.courseLearningPage .topicItem.disabled{opacity:.48}
body.courseLearningPage .courseLessonContentV257{min-width:0}
body.courseLearningPage .lessonHeaderV257{padding:22px 24px!important;border:0!important;background:linear-gradient(135deg,#fff,#fbfaff)!important}
body.courseLearningPage .lessonHeaderV257 h2{font-size:30px!important;letter-spacing:-.035em;line-height:1.12}
body.courseLearningPage .courseLessonContentV257>.panel:not(.lessonHeaderV257){padding:24px!important;margin-top:18px!important}
body.courseLearningPage #videoPanel{padding:10px!important;background:#18112f!important;border-color:#18112f!important}.courseLearningPage .videoWrap{border-radius:17px!important;overflow:hidden}
body.courseLearningPage #textPanel{position:relative;overflow:hidden}.courseLearningPage #textPanel::before{content:"THEORY";display:inline-flex;margin-bottom:14px;font-size:10px;font-weight:900;letter-spacing:.12em;color:var(--v257-purple);background:var(--v257-lav-2);border-radius:99px;padding:6px 9px}
body.courseLearningPage #presentationPanel::before{content:"PRESENTATION";display:block;font-size:10px;font-weight:900;letter-spacing:.12em;color:var(--v257-purple);margin-bottom:12px}
body.courseLearningPage #homeworkPanel{border-left:5px solid var(--v257-yellow)!important}.courseLearningPage #quizPanel{border-left:5px solid var(--v257-purple)!important}.courseLearningPage #commentsPanel{border-left:5px solid var(--v257-cyan)!important}
body.courseLearningPage .quizQ{border-radius:18px!important;background:var(--v257-lav)!important;border-color:rgba(53,35,119,.08)!important}.courseLearningPage .quizOpt{border-radius:13px!important}
body.courseLearningPage .presentationStage{border-radius:18px!important;background:#f2eff9!important;overflow:hidden}
body.courseLearningPage .richText{font-size:16px;line-height:1.8;color:#353247}

/* Admin */
body.adminDashboardPage .contentCol{min-width:0}
.adminHeroV257{position:relative;overflow:hidden;min-height:218px;border-radius:28px;padding:34px 38px;background:linear-gradient(135deg,#2d196f 0%,#4a2a9f 62%,#6b3dc0 100%);color:#fff;box-shadow:0 26px 58px rgba(53,35,119,.22)}
.adminHeroCopy{position:relative;z-index:2;max-width:760px}.adminHeroV257 h1{font-size:clamp(30px,3.6vw,48px);margin-bottom:10px}.adminHeroV257 p{margin:0;max-width:650px;color:rgba(255,255,255,.76)}
.adminHeroDecor{position:absolute;right:5%;top:50%;width:210px;height:210px;transform:translateY(-50%)}.adminHeroDecor span{position:absolute;inset:0;border:1px solid rgba(255,255,255,.16);border-radius:50%}.adminHeroDecor span:nth-child(2){inset:33px;border-color:rgba(255,201,27,.32)}.adminHeroDecor b{position:absolute;inset:72px;border-radius:50%;display:grid;place-items:center;background:var(--v257-yellow);color:var(--v257-purple);font-size:21px;letter-spacing:-.05em}
.adminMetricGrid article:nth-child(1)>span{background:var(--v257-lav-2)}.adminMetricGrid article:nth-child(2)>span{background:#eafbf6;color:#159a74}.adminMetricGrid article:nth-child(3)>span{background:#fff0f5;color:#cb3b78}.adminMetricGrid article:nth-child(4)>span{background:#fff6d9;color:#a87900}
.adminOverviewV257{padding:20px 22px!important;background:transparent!important;border:0!important;box-shadow:none!important}.adminOverviewV257 h2{font-size:28px!important;letter-spacing:-.03em}
body.adminDashboardPage #viewCourses{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.adminDashboardPage .courseAdminGrid{display:block!important}.adminDashboardPage #courseEditorPanel{display:none!important}.adminDashboardPage #courseListPanel{padding:20px!important;border-radius:22px!important}
body.adminDashboardPage #coursesTable{min-width:760px!important;border-collapse:separate!important;border-spacing:0 10px!important;background:transparent!important}
body.adminDashboardPage #coursesTable thead th{border:0!important;color:#7b7690;font-size:11px;text-transform:uppercase;letter-spacing:.08em;background:transparent!important;padding:4px 13px!important}
body.adminDashboardPage #coursesTable tbody tr{background:#fff;box-shadow:0 8px 24px rgba(53,35,119,.07)}
body.adminDashboardPage #coursesTable tbody td{background:#fff!important;border-top:1px solid rgba(53,35,119,.08)!important;border-bottom:1px solid rgba(53,35,119,.08)!important;padding:13px!important;vertical-align:middle}
body.adminDashboardPage #coursesTable tbody td:first-child{border-left:1px solid rgba(53,35,119,.08)!important;border-radius:16px 0 0 16px}.adminDashboardPage #coursesTable tbody td:last-child{border-right:1px solid rgba(53,35,119,.08)!important;border-radius:0 16px 16px 0}
.adminCourseRowMain{display:flex;align-items:center;gap:13px;min-width:0}.adminCourseThumb{width:84px;height:58px;object-fit:cover;border-radius:12px;flex:0 0 84px;background:#eee}.adminCourseRowText{min-width:0}.adminCourseRowText>b{display:block;font-size:15px;color:var(--v257-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:560px}.adminCourseRowText>.sub{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:560px}.adminCourseRowMeta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#77728a;font-size:11px;margin-top:4px}.adminCourseRowMeta .priceNow{font-size:12px}
body.adminDashboardPage [id^="view"]>.panel,
body.adminDashboardPage #viewAccess,
body.adminDashboardPage #viewUsers,
body.adminDashboardPage #viewProgress,
body.adminDashboardPage #viewHomework,
body.adminDashboardPage #viewConsultations,
body.adminDashboardPage #viewComments,
body.adminDashboardPage #viewReviews,
body.adminDashboardPage #viewMaterials,
body.adminDashboardPage #viewStorage,
body.adminDashboardPage #viewReset,
body.adminDashboardPage #viewCertificates,
body.adminDashboardPage #viewSite{border-radius:22px}
body.adminDashboardPage .table{border-radius:16px;overflow:hidden}.adminDashboardPage .table th{background:#f7f4ff;color:var(--v257-purple-deep)}
body.adminDashboardPage .badgeSmall{border-radius:999px;background:var(--v257-lav-2);color:var(--v257-purple);border-color:transparent;font-weight:850}.adminDashboardPage .badgeWarn{background:#fff0f2;color:#b92e54}

/* Standalone course studio */
body.adminCourseEditorPage .pageWrap{max-width:1500px}.courseEditorHeroV257{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;border-radius:28px;padding:30px 34px;margin-bottom:18px;background:linear-gradient(135deg,#2b186b,#5230ab);color:#fff;box-shadow:0 24px 54px rgba(53,35,119,.22)}.courseEditorHeroV257 h1{font-size:38px;margin:9px 0 8px}.courseEditorHeroV257 p{margin:0;color:rgba(255,255,255,.72);max-width:720px}.courseEditorHeroV257 .btn-hero-soft{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.20);color:#fff;white-space:nowrap}
body.adminCourseEditorPage .sideNav{background:linear-gradient(180deg,var(--v257-purple),var(--v257-purple-deep));color:#fff;border:0;box-shadow:0 20px 50px rgba(53,35,119,.20)}
body.adminCourseEditorPage .sideLink{color:rgba(255,255,255,.80)}.adminCourseEditorPage .sideLink.active{background:var(--v257-yellow);color:var(--v257-purple-deep)}
body.adminCourseEditorPage .adminEditor{border-radius:24px!important;padding:24px!important}.adminCourseEditorPage .courseTeacherAccessPanel,.adminCourseEditorPage .courseCompletionCompactEditor{border-radius:18px!important;border-color:rgba(53,35,119,.10)!important;background:#fbfaff!important}.adminCourseEditorPage #modulesWrap>.panel,.adminCourseEditorPage .moduleEditor,.adminCourseEditorPage .topicEditor{border-radius:18px!important}

/* responsive */
@media (max-width:1180px){
  body.lmsDashboardPage #coursesGrid.cardsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lmsMetricGrid,.adminMetricGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lmsHeroOrbit,.adminHeroDecor{opacity:.42;transform:translateY(-50%) scale(.86)}
  body.courseLearningPage .courseWorkspaceV257{grid-template-columns:285px minmax(0,1fr)}
}
@media (max-width:900px){
  body.lmsDashboardPage .lmsLayout,body.adminDashboardPage .lmsLayout{display:block}
  body.lmsDashboardPage .sideNav,body.adminDashboardPage .sideNav{position:relative;top:auto;margin-bottom:18px;display:flex;gap:6px;overflow-x:auto;padding:10px;border-radius:18px}
  body.lmsDashboardPage .sideTitle,body.adminDashboardPage .sideTitle,.lmsDashboardPage .appNavSection,.adminDashboardPage .appNavSection,.lmsDashboardPage .sideUser,.adminDashboardPage .sideUser{display:none}
  body.lmsDashboardPage .sideLink,body.adminDashboardPage .sideLink{white-space:nowrap;flex:0 0 auto;margin:0;padding:9px 11px}.lmsDashboardPage .sideIcon,.adminDashboardPage .sideIcon{width:23px;height:23px}
  .lmsWelcomeHero,.adminHeroV257{padding:28px}.lmsHeroOrbit,.adminHeroDecor{display:none}
  body.courseLearningPage .courseWorkspaceV257{display:block}.courseLearningPage .courseNavigatorV257{position:relative;top:auto;max-height:420px;margin-bottom:20px}.courseHeroV257{min-height:280px}.courseHeroContent{padding:30px}.courseHeroOverlay{background:linear-gradient(90deg,rgba(29,16,75,.94),rgba(45,25,112,.72))}
  .courseEditorHeroV257{align-items:flex-start;flex-direction:column}
}
@media (max-width:680px){
  body.lmsDashboardPage .pageWrap,body.adminDashboardPage .pageWrap,body.courseLearningPage .coursePageWrap,body.adminCourseEditorPage .pageWrap{padding-left:12px;padding-right:12px;padding-top:14px}
  .lmsWelcomeHero,.adminHeroV257,.courseHeroV257,.courseEditorHeroV257{border-radius:22px}.lmsWelcomeHero,.adminHeroV257{padding:24px 20px}.lmsWelcomeHero h1,.adminHeroV257 h1{font-size:34px}.lmsWelcomeHero p{font-size:14px}.lmsMetricGrid,.adminMetricGrid{grid-template-columns:1fr 1fr;gap:9px}.lmsMetric,.adminMetricGrid article{padding:12px;gap:9px}.metricIcon,.adminMetricGrid article>span{width:35px;height:35px;flex-basis:35px}.lmsMetric b,.adminMetricGrid b{font-size:20px}.lmsMetric small,.adminMetricGrid small{font-size:10px}
  body.lmsDashboardPage #coursesGrid.cardsGrid{grid-template-columns:1fr}.dashboardCourseMedia{height:190px}
  .courseHeroV257{min-height:310px}.courseHeroContent{padding:24px 20px}.courseHeroContent h1{font-size:34px}.courseHeroContent p{font-size:13px}.courseHeroOverlay{background:rgba(31,18,81,.84)}
  body.courseLearningPage .courseLessonContentV257>.panel:not(.lessonHeaderV257){padding:18px!important}.courseLearningPage .lessonHeaderV257{padding:18px!important}.courseLearningPage .lessonHeaderV257 h2{font-size:24px!important}
  .adminCourseThumb{width:65px;height:48px;flex-basis:65px}.adminCourseRowText>b,.adminCourseRowText>.sub{max-width:300px}.courseEditorHeroV257{padding:22px 20px}.courseEditorHeroV257 h1{font-size:31px}
}

/* v258 — LMS course-card cover consistency and layout hardening */
body.lmsDashboardPage #coursesGrid.cardsGrid{align-items:stretch}
body.lmsDashboardPage .dashboardCourseCard{width:100%;min-width:0;display:flex;flex-direction:column}
body.lmsDashboardPage .dashboardCourseMedia{flex:0 0 176px;width:100%;min-width:0}
body.lmsDashboardPage .dashboardCourseCard .courseTop{flex:1 1 auto;min-width:0;width:100%;box-sizing:border-box}
body.lmsDashboardPage .dashboardCourseTitleRow,
body.lmsDashboardPage .dashboardCourseDescription,
body.lmsDashboardPage .dashboardCoursePrice,
body.lmsDashboardPage .dashboardCourseStats{min-width:0;max-width:100%}
body.lmsDashboardPage .dashboardCourseActions{grid-template-columns:minmax(0,1fr) auto;min-width:0}
body.lmsDashboardPage .dashboardCourseActions .btn{min-width:0;max-width:100%;white-space:normal}
@media (max-width:680px){body.lmsDashboardPage .dashboardCourseMedia{flex-basis:190px}}


/* v260 — fix LMS course price overlap + align the current six-row card structure */
body.lmsDashboardPage .dashboardCourseCard .courseMeta{
  display:grid!important;
  grid-template-rows:52px 72px 42px 108px 44px 48px!important;
  row-gap:10px!important;
  align-content:start!important;
  overflow:visible!important;
}
body.lmsDashboardPage .dashboardCourseTitleRow{
  position:static!important;
  height:52px!important;
  min-height:52px!important;
  max-height:52px!important;
  overflow:hidden!important;
}
body.lmsDashboardPage .dashboardCourseTitleRow h3{
  position:static!important;
  height:auto!important;
  min-height:0!important;
  max-height:52px!important;
  margin:0!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  line-clamp:2!important;
  overflow:hidden!important;
}
body.lmsDashboardPage .dashboardCourseCard .dashboardCourseDescription{
  position:static!important;
  height:72px!important;
  min-height:72px!important;
  max-height:72px!important;
  margin:0!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  line-clamp:3!important;
  overflow:hidden!important;
  line-height:1.5!important;
}
body.lmsDashboardPage .dashboardCoursePrice{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  z-index:auto!important;
  width:100%!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  overflow:visible!important;
}
body.lmsDashboardPage .dashboardCoursePrice .priceStack{
  position:static!important;
  transform:none!important;
  margin:0!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:baseline!important;
  gap:4px 9px!important;
  max-width:100%!important;
  line-height:1.15!important;
}
body.lmsDashboardPage .dashboardCoursePrice .priceNow{
  position:static!important;
  transform:none!important;
  font-size:22px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
body.lmsDashboardPage .dashboardCoursePrice .priceOld{
  position:static!important;
  font-size:13px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
body.lmsDashboardPage .dashboardCourseCard .bars.dashboardCourseStats{
  position:static!important;
  height:108px!important;
  min-height:108px!important;
  max-height:108px!important;
  margin:0!important;
  overflow:hidden!important;
  align-self:stretch!important;
}
body.lmsDashboardPage .dashboardCourseHint{
  position:static!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  margin:0!important;
  overflow:hidden!important;
}
body.lmsDashboardPage .dashboardCourseActions{
  position:static!important;
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  margin:0!important;
  padding:0!important;
  align-self:stretch!important;
}
body.lmsDashboardPage .dashboardCourseActions .btn{
  min-height:44px!important;
  height:44px!important;
}

/* v260 — admin course thumbnails use the same visual framing as LMS/landing covers */
body.adminDashboardPage .adminCourseThumb,
body.adminCourseEditorPage .adminCourseThumb{
  display:block!important;
  object-fit:cover!important;
  object-position:center!important;
  background:#eeeaf8!important;
}

@media (max-width:680px){
  body.lmsDashboardPage .dashboardCourseCard .courseMeta{
    grid-template-rows:52px 72px 42px 108px 44px auto!important;
  }
  body.lmsDashboardPage .dashboardCourseActions{
    height:auto!important;
    min-height:48px!important;
    max-height:none!important;
  }
}

/* v261 — independent LMS course-card content flow. Keeps price out of text regardless of legacy card CSS. */
body.lmsDashboardPage .dashboardCourseCard .dashboardCourseMetaV261{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
  min-width:0!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}
body.lmsDashboardPage .dashboardCourseTitleV261{
  min-width:0!important;
  margin:0 0 14px!important;
}
body.lmsDashboardPage .dashboardCourseTitleV261 h3{
  margin:0!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  line-clamp:2!important;
  overflow:hidden!important;
  font-size:20px!important;
  line-height:1.35!important;
  color:var(--v257-ink)!important;
}
body.lmsDashboardPage .dashboardCourseDescriptionV261{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:5!important;
  line-clamp:5!important;
  width:100%!important;
  height:auto!important;
  min-height:112px!important;
  max-height:112px!important;
  margin:0 0 16px!important;
  overflow:hidden!important;
  color:var(--v257-muted)!important;
  font-size:16px!important;
  line-height:1.45!important;
  overflow-wrap:anywhere!important;
}
body.lmsDashboardPage .dashboardCoursePriceV261{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  z-index:1!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  width:100%!important;
  min-height:58px!important;
  height:auto!important;
  margin:0 0 18px!important;
  padding:12px 14px!important;
  overflow:hidden!important;
  border:1px solid rgba(53,35,119,.10)!important;
  border-radius:14px!important;
  background:#faf8ff!important;
}
body.lmsDashboardPage .dashboardCoursePriceLabelV261{
  flex:0 0 auto!important;
  color:#746d88!important;
  font-size:13px!important;
  font-weight:800!important;
}
body.lmsDashboardPage .dashboardCoursePriceValueV261{
  position:static!important;
  min-width:0!important;
  margin-left:auto!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  text-align:right!important;
}
body.lmsDashboardPage .dashboardCoursePriceValueV261 .priceStack{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  gap:2px!important;
  margin:0!important;
  line-height:1.05!important;
}
body.lmsDashboardPage .dashboardCoursePriceValueV261 .priceNow{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  margin:0!important;
  color:var(--v257-purple)!important;
  font-size:25px!important;
  line-height:1!important;
  font-weight:950!important;
  white-space:nowrap!important;
}
body.lmsDashboardPage .dashboardCoursePriceValueV261 .priceOld{
  position:static!important;
  font-size:12px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
body.lmsDashboardPage .dashboardCourseStatsV261{
  position:static!important;
  height:auto!important;
  min-height:108px!important;
  max-height:none!important;
  margin:0 0 14px!important;
  display:grid!important;
  grid-template-rows:auto 8px auto 8px!important;
  align-content:center!important;
  gap:8px!important;
  overflow:visible!important;
}
body.lmsDashboardPage .dashboardCourseStatsV261 .barRow{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:baseline!important;
  column-gap:18px!important;
  width:100%!important;
}
body.lmsDashboardPage .dashboardCourseStatsV261 .bar{
  position:relative!important;
  width:100%!important;
  height:8px!important;
  overflow:hidden!important;
  border-radius:999px!important;
  background:#eeeaf8!important;
}
body.lmsDashboardPage .dashboardCourseStatsV261 .bar i{
  position:absolute!important;
  inset:0 auto 0 0!important;
  display:block!important;
  max-width:100%!important;
  border-radius:inherit!important;
  background:linear-gradient(90deg,var(--v257-purple),#7a4be0)!important;
}
body.lmsDashboardPage .dashboardCourseStatsV261 .barRow:nth-of-type(3)+.bar i{
  background:linear-gradient(90deg,#1daf86,#37d5ab)!important;
}
body.lmsDashboardPage .dashboardCourseHintV261{
  position:static!important;
  min-height:38px!important;
  height:auto!important;
  margin:0 0 14px!important;
  color:var(--v257-muted)!important;
  font-size:13px!important;
  line-height:1.45!important;
}
body.lmsDashboardPage .dashboardCourseActionsV261{
  position:static!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,.62fr)!important;
  gap:10px!important;
  width:100%!important;
  height:auto!important;
  min-height:50px!important;
  margin-top:auto!important;
  padding:0!important;
  overflow:visible!important;
}
body.lmsDashboardPage .dashboardCourseActionsV261 .btn{
  width:100%!important;
  min-width:0!important;
  min-height:50px!important;
  height:auto!important;
  padding:11px 12px!important;
  white-space:normal!important;
  line-height:1.2!important;
}
body.lmsDashboardPage .dashboardCourseActionsV261 .btn:only-child{grid-column:1/-1!important}
@media(max-width:700px){
  body.lmsDashboardPage .dashboardCourseCard .courseTop{padding:20px!important}
  body.lmsDashboardPage .dashboardCourseDescriptionV261{min-height:126px!important;max-height:126px!important;-webkit-line-clamp:6!important;line-clamp:6!important}
  body.lmsDashboardPage .dashboardCoursePriceV261{margin-bottom:20px!important;min-height:62px!important}
  body.lmsDashboardPage .dashboardCoursePriceValueV261 .priceNow{font-size:26px!important}
  body.lmsDashboardPage .dashboardCourseActionsV261{grid-template-columns:minmax(0,1fr) minmax(0,.58fr)!important}
}
