:root {
	--eoacs-navy: #111a2d;
	--eoacs-navy-soft: #1b2740;
	--eoacs-cream: #f7f5ef;
	--eoacs-white: #ffffff;
	--eoacs-ink: #172033;
	--eoacs-muted: #6f7787;
	--eoacs-line: #e4e6eb;
	--eoacs-gold: #c99a47;
	--eoacs-gold-dark: #aa792d;
	--eoacs-green: #2d8a63;
	--eoacs-shadow: 0 18px 50px rgba(16, 26, 45, .09);
}

* { box-sizing: border-box; }
body.eoacs-classroom { margin: 0; color: var(--eoacs-ink); background: #f4f5f7; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.eoacs-classroom.admin-bar { margin-top: 0; }
.eoacs-classroom a { color: inherit; text-decoration: none; }
.eoacs-classroom button, .eoacs-classroom input { font: inherit; }

.eoacs-classroom-header { position: sticky; z-index: 40; top: 0; height: 72px; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; background: var(--eoacs-navy); color: white; box-shadow: 0 5px 24px rgba(9, 16, 30, .18); }
.admin-bar .eoacs-classroom-header { top: 32px; }
.eoacs-header-left, .eoacs-account, .eoacs-classroom-brand { display: flex; align-items: center; }
.eoacs-classroom-brand { gap: 10px; min-width: max-content; }
.eoacs-classroom-brand > span, .eoacs-public-brand > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: var(--eoacs-gold); font: 700 23px/1 Georgia, serif; }
.eoacs-classroom-brand strong, .eoacs-public-brand strong { display: grid; letter-spacing: .12em; font: 700 18px/1.1 Georgia, serif; }
.eoacs-classroom-brand small, .eoacs-public-brand small { margin-top: 4px; letter-spacing: .15em; font: 500 8px/1 sans-serif; opacity: .65; }
.eoacs-header-left > i { width: 1px; height: 28px; margin: 0 22px; background: rgba(255,255,255,.2); }
.eoacs-header-left > b { max-width: 430px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 500; opacity: .82; }
.eoacs-account { gap: 11px; font-size: 13px; }
.eoacs-user-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--eoacs-gold); color: var(--eoacs-navy); font-weight: 800; }
.eoacs-account a { padding-left: 12px; border-left: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.7); }
.eoacs-sidebar-toggle { display: none; margin-right: 12px; padding: 4px; border: 0; background: transparent; color: white; font-size: 24px; cursor: pointer; }

.eoacs-course-layout { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 350px minmax(0, 1fr); }
.eoacs-curriculum { position: sticky; top: 72px; height: calc(100vh - 72px); overflow-y: auto; background: var(--eoacs-white); border-right: 1px solid var(--eoacs-line); }
.admin-bar .eoacs-curriculum { top: 104px; height: calc(100vh - 104px); }
.eoacs-curriculum-heading { padding: 26px 24px 22px; border-bottom: 1px solid var(--eoacs-line); }
.eoacs-curriculum-heading > a { display: inline-block; margin-bottom: 20px; color: var(--eoacs-muted); font-size: 12px; font-weight: 700; }
.eoacs-curriculum-heading h2 { margin: 0 0 16px; font: 700 23px/1.2 Georgia, serif; }
.eoacs-course-progress > span, .eoacs-progress-row > span { height: 6px; display: block; overflow: hidden; border-radius: 10px; background: #e7e9ed; }
.eoacs-course-progress i, .eoacs-progress-row i { height: 100%; display: block; border-radius: inherit; background: var(--eoacs-gold); }
.eoacs-course-progress p { margin: 9px 0 0; color: var(--eoacs-muted); font-size: 12px; }
.eoacs-course-progress strong { color: var(--eoacs-ink); }
.eoacs-module-group { border-bottom: 1px solid var(--eoacs-line); }
.eoacs-module-button { width: 100%; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 0; background: #fff; color: var(--eoacs-ink); text-align: left; cursor: pointer; }
.eoacs-module-button span { min-width: 0; flex: 1; display: grid; gap: 4px; }
.eoacs-module-cover-thumb { width: 74px; aspect-ratio: 16/9; flex: 0 0 74px; border-radius: 5px; object-fit: cover; box-shadow: 0 3px 10px rgba(17, 26, 45, .13); }
.eoacs-module-button small, .eoacs-kicker { color: var(--eoacs-gold-dark); letter-spacing: .12em; font-size: 10px; font-weight: 800; }
.eoacs-module-button strong { font-size: 14px; line-height: 1.35; }
.eoacs-module-button b { transition: transform .2s ease; }
.eoacs-module-group.is-open .eoacs-module-button b { transform: rotate(180deg); }
.eoacs-module-lessons { display: none; padding: 0 10px 12px; }
.eoacs-module-group.is-open .eoacs-module-lessons { display: block; }
.eoacs-module-lessons a { margin: 3px 0; padding: 12px; display: grid; grid-template-columns: 25px 1fr; align-items: start; gap: 9px; border-radius: 8px; color: #4e5768; }
.eoacs-module-lessons a:hover { background: #f5f6f8; }
.eoacs-module-lessons a.is-current { background: #f1eadc; color: #49391f; }
.eoacs-lesson-state { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #c8ccd3; border-radius: 50%; font-size: 8px; }
.is-complete .eoacs-lesson-state { border-color: var(--eoacs-green); background: var(--eoacs-green); color: white; font-size: 12px; }
.eoacs-module-lessons a > span:last-child { display: grid; gap: 5px; }
.eoacs-module-lessons strong { font-size: 13px; line-height: 1.35; }
.eoacs-module-lessons small { color: var(--eoacs-muted); font-size: 10px; }

.eoacs-lesson-main { min-width: 0; padding: 36px clamp(24px, 5vw, 72px) 70px; }
.eoacs-player-shell { width: min(100%, 1120px); aspect-ratio: 16/9; margin: 0 auto; display: grid; place-items: center; overflow: hidden; background: #080c14; border-radius: 13px; box-shadow: 0 24px 60px rgba(7, 14, 27, .2); }
.eoacs-player-shell iframe, .eoacs-player-shell video, .eoacs-player-shell mux-player { width: 100%; height: 100%; border: 0; object-fit: contain; }
.eoacs-player-placeholder { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 30px; color: white; text-align: center; background: radial-gradient(circle at 50% 35%, #253657 0, #111a2d 46%, #080d16 100%); }
.eoacs-player-placeholder > span { width: 76px; height: 76px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--eoacs-gold); font-size: 28px; }
.eoacs-player-placeholder strong { margin-top: 7px; font: 700 clamp(20px, 3vw, 31px)/1.2 Georgia, serif; }
.eoacs-player-placeholder small { color: rgba(255,255,255,.62); font-size: 13px; }
.eoacs-lesson-content, .eoacs-lesson-navigation { width: min(100%, 1120px); margin-right: auto; margin-left: auto; }
.eoacs-lesson-content { padding: 38px 4px 30px; }
.eoacs-lesson-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--eoacs-line); }
.eoacs-lesson-heading h1 { margin: 7px 0 0; font: 700 clamp(28px, 4vw, 42px)/1.12 Georgia, serif; }
.eoacs-complete-badge { min-width: max-content; padding: 8px 12px; border-radius: 20px; background: #e5f3ed; color: var(--eoacs-green); font-size: 12px; font-weight: 800; }
.eoacs-lesson-copy { max-width: 800px; padding: 24px 0 5px; color: #4f5868; font: 400 16px/1.75 Georgia, serif; }
.eoacs-lesson-copy p { margin: 0 0 17px; }
.eoacs-materials { margin-top: 30px; padding: 26px; display: grid; grid-template-columns: minmax(180px, .5fr) 1fr; gap: 30px; border: 1px solid var(--eoacs-line); border-radius: 12px; background: white; }
.eoacs-materials h2 { margin: 7px 0 0; font: 700 21px/1.25 Georgia, serif; }
.eoacs-material-list { display: grid; gap: 9px; }
.eoacs-material-list a { padding: 13px 14px; display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 10px; border-radius: 8px; background: #f5f6f8; }
.eoacs-material-list a > span:first-child { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--eoacs-gold-dark); font-weight: 800; }
.eoacs-material-list a > span:last-child { display: grid; gap: 3px; }
.eoacs-material-list strong { font-size: 13px; }
.eoacs-material-list small { color: var(--eoacs-muted); font-size: 11px; }
.eoacs-lesson-navigation { padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--eoacs-line); }
.eoacs-lesson-navigation > div { max-width: 47%; }
.eoacs-next-actions { display: flex; align-items: center; justify-content: flex-end; gap: 15px; }
.eoacs-nav-lesson { display: grid; gap: 5px; }
.eoacs-nav-lesson small { color: var(--eoacs-gold-dark); letter-spacing: .1em; font-size: 9px; font-weight: 800; }
.eoacs-nav-lesson strong { font: 700 15px/1.25 Georgia, serif; }
.eoacs-nav-next { text-align: right; }
.eoacs-secondary-button { min-width: max-content; padding: 11px 16px; border: 1px solid var(--eoacs-gold); border-radius: 6px; background: transparent; color: var(--eoacs-gold-dark); font-size: 12px; font-weight: 800; cursor: pointer; }
.eoacs-no-lessons { min-height: calc(100vh - 180px); display: grid; place-content: center; justify-items: center; text-align: center; }
.eoacs-no-lessons span { font-size: 45px; color: var(--eoacs-gold); }
.eoacs-no-lessons h1 { margin: 15px 0 7px; font: 700 35px/1.2 Georgia, serif; }
.eoacs-no-lessons p { color: var(--eoacs-muted); }

.eoacs-library-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 80px; }
.eoacs-library-intro { padding-bottom: 35px; display: flex; align-items: end; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--eoacs-line); }
.eoacs-library-intro h1 { margin: 8px 0 12px; font: 700 clamp(38px, 6vw, 59px)/1.05 Georgia, serif; }
.eoacs-library-intro p { max-width: 650px; margin: 0; color: var(--eoacs-muted); line-height: 1.6; }
.eoacs-library-stat { display: grid; min-width: 180px; padding: 22px; border-radius: 10px; background: white; box-shadow: var(--eoacs-shadow); }
.eoacs-library-stat strong { font: 700 35px/1 Georgia, serif; color: var(--eoacs-gold-dark); }
.eoacs-library-stat span { margin-top: 7px; color: var(--eoacs-muted); font-size: 12px; }
.eoacs-library-grid { padding-top: 38px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.eoacs-library-card { overflow: hidden; border-radius: 13px; background: white; box-shadow: var(--eoacs-shadow); }
.eoacs-library-cover { min-height: 205px; display: grid; place-items: center; position: relative; background: linear-gradient(135deg, #16223a, #293a5c); background-position: center; background-size: cover; color: rgba(255,255,255,.8); font: 700 27px/1 Georgia, serif; letter-spacing: .15em; }
.eoacs-library-cover:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,17,29,.32), transparent 60%); }
.eoacs-library-cover em { position: absolute; z-index: 1; left: 14px; bottom: 13px; padding: 6px 8px; border-radius: 4px; background: rgba(13,20,34,.83); font: 700 9px/1 sans-serif; letter-spacing: .08em; }
.eoacs-library-card-body { padding: 24px; }
.eoacs-library-card-body > p { margin: 0 0 8px; color: var(--eoacs-gold-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.eoacs-library-card-body h2 { min-height: 52px; margin: 0 0 19px; font: 700 21px/1.25 Georgia, serif; }
.eoacs-progress-row { margin-bottom: 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.eoacs-progress-row b { font-size: 11px; }
.eoacs-primary-button { padding: 13px 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--eoacs-gold); color: #141a25 !important; font-size: 12px; font-weight: 900; }
.eoacs-library-card .eoacs-primary-button { width: 100%; }
.eoacs-library-empty { margin-top: 40px; padding: 75px 30px; display: grid; place-content: center; justify-items: center; border: 1px dashed #ccd0d8; border-radius: 12px; background: white; text-align: center; }
.eoacs-library-empty span { color: var(--eoacs-gold); font-size: 42px; }
.eoacs-library-empty h2 { margin: 14px 0 6px; font: 700 28px/1.2 Georgia, serif; }
.eoacs-library-empty p { max-width: 510px; margin: 0; color: var(--eoacs-muted); line-height: 1.55; }

.eoacs-access-shell { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: radial-gradient(circle at 20% 20%, #2b3c60 0, #111a2d 42%, #080e19 100%); }
.eoacs-access-card { width: min(100%, 460px); padding: 50px; border-radius: 16px; background: white; box-shadow: 0 30px 80px rgba(0,0,0,.28); text-align: center; }
.eoacs-public-brand { margin-bottom: 35px; display: inline-flex; align-items: center; gap: 11px; color: var(--eoacs-navy); text-align: left; }
.eoacs-public-brand > span { border-color: #c9cdd5; }
.eoacs-public-brand small { color: var(--eoacs-muted); }
.eoacs-access-card h1 { margin: 10px 0 13px; font: 700 38px/1.08 Georgia, serif; }
.eoacs-access-card > p:not(.eoacs-kicker) { margin: 0 auto 27px; color: var(--eoacs-muted); line-height: 1.6; }
.eoacs-access-card .eoacs-primary-button { width: 100%; }
.eoacs-text-link { margin-top: 18px; display: inline-block; color: var(--eoacs-muted) !important; font-size: 12px; font-weight: 700; }
.eoacs-sidebar-backdrop { display: none; }

@media (max-width: 1050px) {
	.eoacs-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eoacs-course-layout { grid-template-columns: 305px minmax(0, 1fr); }
	.eoacs-lesson-main { padding-right: 28px; padding-left: 28px; }
	.eoacs-account-name { display: none; }
}

@media (max-width: 782px) {
	.admin-bar .eoacs-classroom-header { top: 46px; }
	.eoacs-classroom-header { height: 64px; padding: 0 16px; }
	.eoacs-header-left > i, .eoacs-header-left > b, .eoacs-account a { display: none; }
	.eoacs-sidebar-toggle { display: block; }
	.eoacs-classroom-brand strong { font-size: 15px; }
	.eoacs-classroom-brand > span { width: 34px; height: 34px; font-size: 20px; }
	.eoacs-module-cover-thumb { width: 68px; flex-basis: 68px; }
	.eoacs-course-layout { min-height: calc(100vh - 64px); display: block; }
	.eoacs-curriculum { position: fixed; z-index: 45; top: 64px; bottom: 0; left: 0; width: min(88vw, 350px); height: auto; transform: translateX(-103%); transition: transform .24s ease; box-shadow: 15px 0 40px rgba(0,0,0,.2); }
	.admin-bar .eoacs-curriculum { top: 110px; height: auto; }
	.eoacs-sidebar-open .eoacs-curriculum { transform: translateX(0); }
	.eoacs-sidebar-backdrop { position: fixed; z-index: 42; inset: 64px 0 0; background: rgba(5,10,19,.6); }
	.admin-bar .eoacs-sidebar-backdrop { top: 110px; }
	.eoacs-sidebar-open .eoacs-sidebar-backdrop { display: block; }
	.eoacs-lesson-main { padding: 18px 14px 55px; }
	.eoacs-player-shell { border-radius: 8px; }
	.eoacs-player-placeholder { gap: 8px; padding: 17px; }
	.eoacs-player-placeholder > span { width: 50px; height: 50px; font-size: 19px; }
	.eoacs-player-placeholder strong { font-size: 18px; }
	.eoacs-player-placeholder small { font-size: 10px; }
	.eoacs-lesson-content { padding-top: 27px; }
	.eoacs-lesson-heading { display: block; }
	.eoacs-complete-badge { margin-top: 16px; display: inline-block; }
	.eoacs-materials { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
	.eoacs-lesson-navigation { display: grid; }
	.eoacs-lesson-navigation > div { max-width: none; }
	.eoacs-next-actions { align-items: stretch; flex-direction: column; }
	.eoacs-nav-next { text-align: left; }
	.eoacs-secondary-button { width: 100%; }
	.eoacs-library-shell { width: min(100% - 28px, 700px); padding-top: 36px; }
	.eoacs-library-intro { align-items: start; flex-direction: column; }
	.eoacs-library-stat { width: 100%; }
	.eoacs-library-grid { grid-template-columns: 1fr; }
	.eoacs-library-cover { min-height: 190px; }
	.eoacs-access-card { padding: 38px 24px; }
}

/* Campus EOACS: aula editorial, legible y adaptable. */
body.eoacs-classroom { background: #f5f2eb; }
.eoacs-classroom-header { background: #102139; border-bottom: 1px solid rgba(255,255,255,.11); box-shadow: 0 8px 28px rgba(16,33,57,.12); }
.eoacs-classroom-brand > span { border-color: rgba(214,178,111,.55); background: rgba(255,255,255,.05); }
.eoacs-account a:hover, .eoacs-curriculum-heading > a:hover { color: var(--eoacs-gold); }
.eoacs-course-layout { grid-template-columns: minmax(310px, 350px) minmax(0, 1fr); }
.eoacs-curriculum { background: #fcfbf8; border-right: 1px solid #e9e3d8; }
.eoacs-curriculum-heading { padding: 29px 25px 27px; background: linear-gradient(160deg, #ffffff, #f8f5ed); border-bottom-color: #e9e3d8; }
.eoacs-curriculum-heading > a { margin-bottom: 32px; color: #596777; font-size: 12px; }
.eoacs-curriculum-heading .eoacs-kicker { margin: 0 0 9px; }
.eoacs-curriculum-heading h2 { margin: 0 0 24px; font: 700 24px/1.22 Georgia, serif; color: #172940; }
.eoacs-course-progress { padding: 15px; border: 1px solid #ebe5d9; border-radius: 12px; background: white; }
.eoacs-progress-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.eoacs-progress-label strong { font-size: 12px; color: #42536a; }
.eoacs-progress-label b { color: #9c6c25; font-size: 14px; }
.eoacs-course-progress > span { height: 8px; background: #efe9df; }
.eoacs-course-progress i { background: linear-gradient(90deg, #ba883a, #e0bb76); }
.eoacs-course-progress p { margin-top: 9px; }
.eoacs-module-group { border-bottom-color: #ece7dd; }
.eoacs-module-button { padding: 20px 24px; background: #fcfbf8; transition: background .2s ease; }
.eoacs-module-button:hover, .eoacs-module-group.is-open .eoacs-module-button { background: #f5f0e7; }
.eoacs-module-button small { color: #9e7137; }
.eoacs-module-button strong { font-size: 14px; }
.eoacs-module-cover-thumb { width: 64px; flex-basis: 64px; border-radius: 8px; }
.eoacs-module-lessons { padding: 8px 12px 14px; background: #fff; }
.eoacs-module-lessons a { margin: 3px 0; padding: 14px 12px; border: 1px solid transparent; border-radius: 10px; }
.eoacs-module-lessons a.is-current { border-color: #eadbbf; background: #faf5e9; color: #20344d; }
.eoacs-lesson-state { border-color: #c8d0d8; color: #53677d; }
.eoacs-module-lessons a.is-current .eoacs-lesson-state { border-color: #bd8c43; background: #bd8c43; color: white; }
.eoacs-lesson-main { padding: 28px clamp(24px, 4vw, 68px) 80px; background: radial-gradient(circle at 85% 10%, rgba(217,195,155,.17), transparent 32%), #f7f5f0; }
.eoacs-lesson-breadcrumb { width: min(100%, 1120px); margin: 0 auto 20px; display: flex; gap: 9px; align-items: center; color: #788493; font-size: 12px; }
.eoacs-lesson-breadcrumb a { color: #65768a; }
.eoacs-lesson-breadcrumb a:hover { color: #a2722e; }
.eoacs-lesson-breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eoacs-classroom-intro { width: min(100%, 1120px); min-height: 198px; margin: 0 auto 20px; padding: clamp(27px, 4vw, 45px); display: flex; align-items: end; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; border-radius: 18px; background: linear-gradient(110deg, #142843 0%, #1d3857 70%, #274563 100%); color: white; box-shadow: 0 20px 45px rgba(21,44,69,.13); }
.eoacs-classroom-intro:before { content: ''; position: absolute; width: 320px; height: 320px; right: -50px; top: -125px; border: 1px solid rgba(230,199,143,.15); border-radius: 50%; box-shadow: 0 0 0 42px rgba(230,199,143,.045), 0 0 0 90px rgba(230,199,143,.025); pointer-events: none; }
.eoacs-classroom-intro > div { position: relative; z-index: 1; }
.eoacs-classroom-intro .eoacs-kicker { margin: 0 0 13px; color: #e3bb74; }
.eoacs-classroom-intro h1 { max-width: 760px; margin: 0; font: 700 clamp(31px, 3.2vw, 45px)/1.12 Georgia, serif; letter-spacing: -.02em; }
.eoacs-classroom-intro p:last-child { margin: 14px 0 0; color: #c6d2dd; font-size: 14px; }
.eoacs-intro-progress { min-width: 124px; display: flex; align-items: center; gap: 12px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.22); }
.eoacs-intro-progress strong { font: 700 28px/1 Georgia, serif; color: #e4bd79; }
.eoacs-intro-progress span { color: #d5e0e8; font-size: 11px; line-height: 1.35; }
.eoacs-player-shell { border: 7px solid white; border-radius: 17px; box-shadow: 0 22px 50px rgba(16,33,57,.18); }
.eoacs-lesson-content { margin-top: 23px; padding: 34px clamp(22px, 3vw, 42px) 38px; border: 1px solid #ebe6dc; border-radius: 16px; background: #fff; box-shadow: 0 12px 28px rgba(28,45,65,.045); }
.eoacs-lesson-heading { padding-bottom: 16px; border-bottom-color: #eee8de; }
.eoacs-lesson-heading h2 { margin: 6px 0 0; font: 700 26px/1.2 Georgia, serif; color: #1b2e46; }
.eoacs-lesson-copy { padding-top: 21px; color: #526174; font: 400 15px/1.75 system-ui, sans-serif; }
.eoacs-lesson-empty-copy { margin: 20px 0 0; color: #647284; font-size: 14px; line-height: 1.65; }
.eoacs-materials { margin-top: 26px; padding: 23px; border-color: #ece6d9; border-radius: 12px; background: #faf8f3; }
.eoacs-material-list a { border: 1px solid #ece8df; background: white; transition: transform .18s ease, border-color .18s ease; }
.eoacs-material-list a:hover { transform: translateY(-2px); border-color: #d7b77d; }
.eoacs-lesson-navigation { margin-top: 20px; padding: 20px; align-items: center; border: 1px solid #e9e3d8; border-radius: 14px; background: #fff; }
.eoacs-nav-lesson strong { color: #1d304a; }
.eoacs-nav-lesson:hover strong { color: #a57231; }
.eoacs-secondary-button { border-radius: 9px; background: #f9f3e8; }
.eoacs-secondary-button:hover { background: #f0dfbf; }
.eoacs-library-shell { width: min(1240px, calc(100% - 48px)); }
.eoacs-library-intro { min-height: 255px; padding: 40px clamp(30px, 5vw, 62px); align-items: center; border: 0; border-radius: 20px; background: radial-gradient(circle at 90% 10%, rgba(214,172,101,.19), transparent 27%), linear-gradient(120deg, #142843, #254461); color: white; box-shadow: 0 22px 45px rgba(19,43,67,.14); }
.eoacs-library-intro .eoacs-kicker { color: #e4ba72; }
.eoacs-library-intro h1 { margin: 9px 0 13px; }
.eoacs-library-intro p:not(.eoacs-kicker) { color: #d2dce5; }
.eoacs-library-stat { min-width: 178px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.09); box-shadow: none; backdrop-filter: blur(8px); }
.eoacs-library-stat strong { color: #e8c386; }
.eoacs-library-stat span { color: #e0e7ec; }
.eoacs-library-grid { gap: 24px; }
.eoacs-library-card { border: 1px solid #ebe4d9; border-radius: 16px; box-shadow: 0 15px 35px rgba(25,45,67,.07); transition: transform .2s ease, box-shadow .2s ease; }
.eoacs-library-card:hover { transform: translateY(-4px); box-shadow: 0 23px 45px rgba(25,45,67,.13); }
.eoacs-library-cover { min-height: 225px; }
.eoacs-library-card-body { padding: 28px; }
.eoacs-library-card-body h2 { font-size: 24px; }
.eoacs-primary-button { border-radius: 9px; background: #c79a53; transition: background .2s ease; }
.eoacs-primary-button:hover { background: #e1b66c; }
@media (max-width: 1050px) { .eoacs-course-layout { grid-template-columns: 300px minmax(0, 1fr); } .eoacs-intro-progress { display: none; } }
@media (max-width: 782px) { .eoacs-course-layout { display: block; } .eoacs-lesson-main { padding: 20px 14px 45px; } .eoacs-lesson-breadcrumb { margin-bottom: 12px; } .eoacs-classroom-intro { min-height: 175px; padding: 25px; border-radius: 14px; } .eoacs-classroom-intro h1 { font-size: clamp(28px, 7vw, 37px); } .eoacs-player-shell { border-width: 4px; border-radius: 11px; } .eoacs-lesson-content { margin-top: 16px; padding: 24px 20px; } .eoacs-lesson-heading h2 { font-size: 23px; } .eoacs-lesson-navigation { padding: 20px; } .eoacs-library-intro { min-height: 0; padding: 32px 26px; } .eoacs-library-stat { width: 100%; } }


/* Aula de una sola vista: jerarquía sobria, superficies oscuras y acentos cálidos. */
body.eoacs-course-page { background: #0b1018; color: #edf1f5; }
.eoacs-course-page .eoacs-classroom-header { background: #0a0f17; border-bottom: 1px solid #283341; box-shadow: none; }
.eoacs-course-page .eoacs-course-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 318px); }
.eoacs-course-page .eoacs-curriculum { grid-column: 2; grid-row: 1; background: #101721; border-right: 0; border-left: 1px solid #293440; }
.eoacs-course-page .eoacs-curriculum-heading { padding: 27px 22px 25px; border-color: #293440; background: linear-gradient(160deg, #182434, #101721 75%); }
.eoacs-course-page .eoacs-curriculum-heading > a { margin-bottom: 27px; color: #aeb9c7; }
.eoacs-course-page .eoacs-curriculum-heading h2 { color: #f5f2ec; font-size: 18px; }
.eoacs-course-page .eoacs-curriculum-heading .eoacs-kicker,
.eoacs-course-page .eoacs-module-button small { color: #d4ab69; }
.eoacs-course-page .eoacs-course-progress { border-color: #344252; background: #1b2736; }
.eoacs-course-page .eoacs-progress-label strong { color: #c4cdd6; }
.eoacs-course-page .eoacs-progress-label b { color: #e7bc78; }
.eoacs-course-page .eoacs-course-progress > span { background: #35414e; }
.eoacs-course-page .eoacs-course-progress p { color: #a6b3c0; }
.eoacs-course-page .eoacs-module-group { border-color: #293440; }
.eoacs-course-page .eoacs-module-button,
.eoacs-course-page .eoacs-module-lessons { background: #101721; color: #e0e6ed; }
.eoacs-course-page .eoacs-module-button:hover,
.eoacs-course-page .eoacs-module-group.is-open .eoacs-module-button { background: #1b2735; }
.eoacs-course-page .eoacs-module-button strong { color: #edf1f5; }
.eoacs-course-page .eoacs-module-button b { color: #9aaabc; }
.eoacs-course-page .eoacs-module-cover-thumb { box-shadow: 0 5px 16px rgba(0,0,0,.35); }
.eoacs-course-page .eoacs-module-lessons a { color: #b7c3d0; }
.eoacs-course-page .eoacs-module-lessons a:hover { background: #202d3c; }
.eoacs-course-page .eoacs-module-lessons a.is-current { border-color: #755d3e; background: #2b2a28; color: #f5e5ca; }
.eoacs-course-page .eoacs-module-lessons small { color: #a7b0bc; }
.eoacs-course-page .eoacs-lesson-state { border-color: #6c7b8b; color: #c5d0da; }
.eoacs-course-page .eoacs-module-lessons a.is-current .eoacs-lesson-state { border-color: #d1a461; background: #d1a461; color: #101721; }
.eoacs-course-page .eoacs-lesson-main { grid-column: 1; grid-row: 1; padding-top: 27px; background: radial-gradient(circle at 80% 0%, rgba(51,72,98,.28), transparent 34%), #0b1018; }
.eoacs-course-page .eoacs-lesson-breadcrumb { margin-bottom: 15px; color: #9ba8b6; }
.eoacs-course-page .eoacs-lesson-breadcrumb a { color: #b8c4d1; }
.eoacs-course-page .eoacs-classroom-intro { min-height: 0; margin-bottom: 21px; padding: 10px 0 12px; align-items: center; border-radius: 0; background: transparent; box-shadow: none; }
.eoacs-course-page .eoacs-classroom-intro:before { display: none; }
.eoacs-course-page .eoacs-classroom-intro .eoacs-kicker { margin-bottom: 8px; color: #d8ac69; }
.eoacs-course-page .eoacs-classroom-intro h1 { max-width: 820px; color: #f7f6f2; font-size: clamp(30px, 3vw, 42px); }
.eoacs-course-page .eoacs-classroom-intro p:last-child { margin-top: 9px; color: #aebbc8; }
.eoacs-course-page .eoacs-intro-progress { border-color: #3b4856; }
.eoacs-course-page .eoacs-intro-progress strong { color: #e6bb7c; }
.eoacs-course-page .eoacs-intro-progress span { color: #b3beca; }
.eoacs-course-page .eoacs-player-shell { border: 1px solid #344254; border-radius: 12px; background: #030507; box-shadow: 0 22px 50px rgba(0,0,0,.35); }
.eoacs-course-page .eoacs-lesson-content { margin-top: 23px; padding: clamp(23px, 3vw, 37px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 38%); align-items: start; gap: 0 clamp(24px, 3vw, 44px); border: 1px solid #2e3a48; border-radius: 13px; background: #151e2a; box-shadow: 0 16px 40px rgba(0,0,0,.13); }
.eoacs-course-page .eoacs-lesson-heading { grid-column: 1 / -1; padding-bottom: 20px; border-color: #34404d; }
.eoacs-course-page .eoacs-lesson-heading .eoacs-kicker { color: #d7aa66; }
.eoacs-course-page .eoacs-lesson-heading h2 { color: #f3f2ed; }
.eoacs-course-page .eoacs-lesson-copy { padding: 22px 0 0; color: #c0cad5; font-size: 15px; line-height: 1.85; }
.eoacs-course-page .eoacs-lesson-copy p:last-child { margin-bottom: 0; }
.eoacs-course-page .eoacs-lesson-empty-copy { color: #bdc7d2; }
.eoacs-course-page .eoacs-materials { min-width: 0; margin-top: 22px; padding: 20px; display: block; border: 1px solid #364452; border-radius: 11px; background: #1c2937; }
.eoacs-course-page .eoacs-materials .eoacs-kicker { margin: 0; color: #d7aa66; }
.eoacs-course-page .eoacs-materials h2 { margin: 5px 0 17px; color: #f5f2ea; font-size: 19px; }
.eoacs-course-page .eoacs-material-list { gap: 8px; }
.eoacs-course-page .eoacs-material-list a { min-width: 0; padding: 13px; border: 1px solid #3b4a5b; border-radius: 8px; background: #243344; color: #edf1f5; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.eoacs-course-page .eoacs-material-list a:hover { transform: translateY(-2px); border-color: #d0a365; background: #2d4054; }
.eoacs-course-page .eoacs-material-list a > span:first-child { background: #35495d; color: #edc58b; }
.eoacs-course-page .eoacs-material-list a > span:last-child { min-width: 0; }
.eoacs-course-page .eoacs-material-list strong { overflow-wrap: anywhere; line-height: 1.35; }
.eoacs-course-page .eoacs-material-list small { color: #b9c6d2; }
.eoacs-course-page .eoacs-lesson-navigation { margin-top: 18px; padding: 18px 22px; border: 1px solid #2d3b49; border-radius: 11px; background: #141e29; }
.eoacs-course-page .eoacs-nav-lesson small { color: #dfb475; }
.eoacs-course-page .eoacs-nav-lesson strong { color: #e6eaf0; }
.eoacs-course-page .eoacs-secondary-button { border-color: #bd9157; background: #2a2c2b; color: #f0ce97; }
.eoacs-course-page .eoacs-secondary-button:hover { background: #413729; }
.eoacs-course-page .eoacs-complete-badge { background: #1b4036; color: #9fe0bf; }
.eoacs-course-page .eoacs-no-lessons p { color: #b8c5d1; }

/* La biblioteca mantiene el mismo lenguaje visual que el aula. */
body.eoacs-library-page { background: #0b1018; color: #edf1f5; }
.eoacs-library-page .eoacs-classroom-header { background: #0a0f17; border-bottom: 1px solid #283341; box-shadow: none; }
.eoacs-library-page .eoacs-library-intro { border: 1px solid #334151; background: radial-gradient(circle at 88% 12%, rgba(200,156,83,.15), transparent 28%), linear-gradient(125deg, #1a2939, #111923); box-shadow: 0 20px 50px rgba(0,0,0,.22); }
.eoacs-library-page .eoacs-library-intro p:not(.eoacs-kicker) { color: #becbd7; }
.eoacs-library-page .eoacs-library-stat { border-color: #4a5663; background: rgba(255,255,255,.06); }
.eoacs-library-page .eoacs-library-card { border-color: #344150; background: #18232f; box-shadow: 0 17px 38px rgba(0,0,0,.2); }
.eoacs-library-page .eoacs-library-card:hover { box-shadow: 0 23px 45px rgba(0,0,0,.3); }
.eoacs-library-page .eoacs-library-card-body > p { color: #dfb578; }
.eoacs-library-page .eoacs-library-card-body h2 { color: #f3f2ee; }
.eoacs-library-page .eoacs-progress-row > span { background: #3b4754; }
.eoacs-library-page .eoacs-progress-row b { color: #d4dde6; }
.eoacs-library-page .eoacs-library-empty { border-color: #435060; background: #18232f; }
.eoacs-library-page .eoacs-library-empty p { color: #bfccd7; }

@media (max-width: 1150px) {
	.eoacs-course-page .eoacs-lesson-content { grid-template-columns: 1fr; }
	.eoacs-course-page .eoacs-materials { margin-top: 10px; }
}
@media (max-width: 782px) {
	.eoacs-course-page .eoacs-course-layout { display: block; }
	.eoacs-course-page .eoacs-curriculum { border-left: 0; border-right: 1px solid #293440; box-shadow: 16px 0 44px rgba(0,0,0,.5); }
	.eoacs-course-page .eoacs-lesson-main { padding: 19px 14px 45px; }
	.eoacs-course-page .eoacs-classroom-intro { margin-bottom: 15px; padding: 6px 2px; }
	.eoacs-course-page .eoacs-classroom-intro h1 { font-size: clamp(29px, 8vw, 38px); }
	.eoacs-course-page .eoacs-player-shell { border-radius: 9px; }
	.eoacs-course-page .eoacs-lesson-content { margin-top: 16px; padding: 22px 18px; }
	.eoacs-course-page .eoacs-materials { padding: 16px; }
	.eoacs-course-page .eoacs-lesson-navigation { padding: 18px; }
}

/* Identidad de eoacs.com: carbón, blanco y rojo #e7354a. */
body.eoacs-course-page,
body.eoacs-library-page {
	--eoacs-brand-red: #e7354a;
	--eoacs-brand-red-strong: #d92d44;
	--eoacs-brand-red-hover: #cb2940;
	--eoacs-brand-font: "Avenir Next", Inter, "Helvetica Neue", Arial, sans-serif;
	background: #101113;
	color: #f7f7f7;
	font-family: var(--eoacs-brand-font);
}
.eoacs-course-page .eoacs-classroom-header,
.eoacs-library-page .eoacs-classroom-header { background: #090a0c; border-color: #303236; }
.eoacs-course-page .eoacs-classroom-brand > span,
.eoacs-library-page .eoacs-classroom-brand > span { border-color: rgba(231,53,74,.55); background: rgba(231,53,74,.09); color: var(--eoacs-brand-red); }
.eoacs-course-page .eoacs-classroom-brand strong,
.eoacs-library-page .eoacs-classroom-brand strong { font-family: var(--eoacs-brand-font); font-size: 16px; font-weight: 800; letter-spacing: .08em; }
.eoacs-course-page .eoacs-user-avatar,
.eoacs-library-page .eoacs-user-avatar { background: var(--eoacs-brand-red-strong); color: #fff; }
.eoacs-course-page .eoacs-account a:hover,
.eoacs-library-page .eoacs-account a:hover,
.eoacs-course-page .eoacs-curriculum-heading > a:hover,
.eoacs-course-page .eoacs-lesson-breadcrumb a:hover { color: #ff7180; }
.eoacs-course-page .eoacs-curriculum { border-color: #34363b; background: #181a1e; }
.eoacs-course-page .eoacs-curriculum-heading { border-color: #34363b; background: linear-gradient(155deg, #202226, #181a1e 72%); }
.eoacs-course-page .eoacs-curriculum-heading h2,
.eoacs-course-page .eoacs-classroom-intro h1,
.eoacs-course-page .eoacs-lesson-heading h2,
.eoacs-course-page .eoacs-materials h2,
.eoacs-library-page .eoacs-library-intro h1,
.eoacs-library-page .eoacs-library-card-body h2 { font-family: var(--eoacs-brand-font); font-weight: 750; letter-spacing: -.025em; }
.eoacs-course-page .eoacs-curriculum-heading .eoacs-kicker,
.eoacs-course-page .eoacs-module-button small,
.eoacs-course-page .eoacs-classroom-intro .eoacs-kicker,
.eoacs-course-page .eoacs-lesson-heading .eoacs-kicker,
.eoacs-course-page .eoacs-materials .eoacs-kicker,
.eoacs-course-page .eoacs-nav-lesson small,
.eoacs-library-page .eoacs-library-intro .eoacs-kicker,
.eoacs-library-page .eoacs-library-card-body > p { color: #ff7180; }
.eoacs-course-page .eoacs-course-progress { border-color: #41444b; background: #24272d; }
.eoacs-course-page .eoacs-progress-label b,
.eoacs-course-page .eoacs-intro-progress strong { color: #ff7180; }
.eoacs-course-page .eoacs-course-progress > span,
.eoacs-library-page .eoacs-progress-row > span { background: #41444b; }
.eoacs-course-page .eoacs-course-progress i,
.eoacs-library-page .eoacs-progress-row i { background: var(--eoacs-brand-red); }
.eoacs-course-page .eoacs-module-group { border-color: #34363b; }
.eoacs-course-page .eoacs-module-button,
.eoacs-course-page .eoacs-module-lessons { background: #181a1e; }
.eoacs-course-page .eoacs-module-button:hover,
.eoacs-course-page .eoacs-module-group.is-open .eoacs-module-button,
.eoacs-course-page .eoacs-module-lessons a:hover { background: #25282d; }
.eoacs-course-page .eoacs-module-lessons a.is-current { border-color: rgba(231,53,74,.55); background: rgba(231,53,74,.13); color: #fff; }
.eoacs-course-page .eoacs-module-lessons a.is-current .eoacs-lesson-state { border-color: var(--eoacs-brand-red-strong); background: var(--eoacs-brand-red-strong); color: #fff; }
.eoacs-course-page .is-complete .eoacs-lesson-state { border-color: var(--eoacs-brand-red-strong); background: var(--eoacs-brand-red-strong); color: #fff; }
.eoacs-course-page .eoacs-lesson-main { background: radial-gradient(circle at 77% 0%, rgba(255,255,255,.035), transparent 32%), #101113; }
.eoacs-course-page .eoacs-classroom-intro h1 { color: #fff; }
.eoacs-course-page .eoacs-player-shell { border-color: #44474c; }
.eoacs-course-page .eoacs-lesson-content { border-color: #393c42; background: #1d2024; }
.eoacs-course-page .eoacs-lesson-heading { border-color: #41444a; }
.eoacs-course-page .eoacs-lesson-copy { color: #d3d6da; }
.eoacs-course-page .eoacs-materials { border-color: #44474d; background: #25282e; }
.eoacs-course-page .eoacs-material-list a { border-color: #4b4e55; background: #30343b; }
.eoacs-course-page .eoacs-material-list a:hover { border-color: var(--eoacs-brand-red); background: #3a3e45; }
.eoacs-course-page .eoacs-material-list a > span:first-child { background: rgba(231,53,74,.16); color: #ff8590; }
.eoacs-course-page .eoacs-lesson-navigation { border-color: #393c42; background: #1d2024; }
.eoacs-course-page .eoacs-secondary-button { border-color: var(--eoacs-brand-red-strong); background: var(--eoacs-brand-red-strong); color: #fff; }
.eoacs-course-page .eoacs-secondary-button:hover { background: var(--eoacs-brand-red-hover); }
.eoacs-course-page .eoacs-nav-lesson:hover strong { color: #ff7180; }
.eoacs-course-page .eoacs-complete-badge { background: rgba(231,53,74,.16); color: #ff8994; }
.eoacs-library-page .eoacs-library-intro { border-color: #41444a; background: radial-gradient(circle at 86% 10%, rgba(231,53,74,.14), transparent 28%), linear-gradient(125deg, #25282e, #17191d); }
.eoacs-library-page .eoacs-library-card { border-color: #3d4046; background: #24272d; }
.eoacs-library-page .eoacs-library-stat { border-color: #54575d; }
.eoacs-library-page .eoacs-library-stat strong { color: #ff7180; }
.eoacs-library-page .eoacs-primary-button { background: var(--eoacs-brand-red-strong); color: #fff !important; }
.eoacs-library-page .eoacs-primary-button:hover { background: var(--eoacs-brand-red-hover); }
.eoacs-library-page .eoacs-library-empty { border-color: #41444a; background: #24272d; }
@media (max-width: 782px) {
	.eoacs-course-page .eoacs-curriculum { border-color: #34363b; }
}

/* Acciones y temario: tipografía propia, legibilidad y estados consistentes. */
.eoacs-classroom .eoacs-primary-button,
.eoacs-classroom .eoacs-secondary-button {
	min-height: 46px;
	padding: 12px 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: 10px;
	font: 750 14px/1.25 "Avenir Next", Inter, "Helvetica Neue", Arial, sans-serif !important;
	letter-spacing: .005em;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .13);
	transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.eoacs-course-page .eoacs-secondary-button,
.eoacs-library-page .eoacs-primary-button {
	border-color: #e7354a;
	background: #d92d44;
	color: #fff !important;
}
.eoacs-course-page .eoacs-secondary-button:hover,
.eoacs-library-page .eoacs-primary-button:hover {
	border-color: #f05a6c;
	background: #c62840;
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(217, 45, 68, .25);
	transform: translateY(-2px);
}
.eoacs-classroom .eoacs-primary-button:active,
.eoacs-classroom .eoacs-secondary-button:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }

.eoacs-course-page .eoacs-module-button {
	font: 650 14px/1.35 "Avenir Next", Inter, "Helvetica Neue", Arial, sans-serif !important;
	transition: background-color .18s ease;
}
.eoacs-course-page .eoacs-module-button strong { color: #f5f6f8; font-size: 15px; font-weight: 750; line-height: 1.38; }
.eoacs-course-page .eoacs-module-button small { color: #ff8c9a; font-size: 11px; font-weight: 800; }
.eoacs-course-page .eoacs-module-button b { color: #d8dce2; font-size: 15px; }
.eoacs-course-page .eoacs-module-lessons a {
	font: 650 14px/1.35 "Avenir Next", Inter, "Helvetica Neue", Arial, sans-serif !important;
	transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.eoacs-course-page .eoacs-module-lessons a:hover { border-color: #646a73; color: #fff; transform: translateX(2px); }
.eoacs-course-page .eoacs-module-lessons strong { color: #e9ecf0; font-size: 14px; font-weight: 700; line-height: 1.4; }
.eoacs-course-page .eoacs-module-lessons a.is-current strong { color: #fff; }
.eoacs-course-page .eoacs-module-lessons small { color: #cbd0d7; font-size: 12px; font-weight: 650; line-height: 1.35; }
.eoacs-course-page .eoacs-course-progress p { color: #c8ccd3; font-size: 12px; font-weight: 600; }

.eoacs-course-page .eoacs-material-list a {
	min-height: 76px;
	padding: 14px 15px;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 12px;
	border-radius: 10px;
	font: 600 14px/1.4 "Avenir Next", Inter, "Helvetica Neue", Arial, sans-serif !important;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .06);
	transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.eoacs-course-page .eoacs-material-list a:hover {
	border-color: #ee697a;
	background: #3b4048;
	box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
	transform: translateY(-2px);
}
.eoacs-course-page .eoacs-material-list a > span:first-child {
	width: 34px;
	height: 34px;
	background: rgba(231, 53, 74, .18);
	color: #ff9aa5;
	font-size: 18px;
}
.eoacs-course-page .eoacs-material-list strong { color: #f7f8fa; font-size: 14px; font-weight: 750; line-height: 1.4; }
.eoacs-course-page .eoacs-material-meta { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.eoacs-course-page .eoacs-material-meta small { color: #cbd0d7; font-size: 12px; font-weight: 600; line-height: 1.4; }
.eoacs-course-page .eoacs-material-meta em { color: #ff9aa5; font-size: 12px; font-style: normal; font-weight: 800; white-space: nowrap; }
.eoacs-course-page .eoacs-material-list a:hover .eoacs-material-meta em { color: #fff; }
.eoacs-course-page .eoacs-nav-lesson strong { font: 700 15px/1.35 "Avenir Next", Inter, "Helvetica Neue", Arial, sans-serif; }
.eoacs-course-page .eoacs-nav-lesson small { font-size: 11px; }

.eoacs-classroom :is(a, button):focus-visible {
	outline: 2px solid #ff93a0;
	outline-offset: 3px;
	box-shadow: 0 0 0 5px rgba(231, 53, 74, .22);
}
@media (prefers-reduced-motion: reduce) {
	.eoacs-classroom :is(a, button) { transition-duration: 0s !important; }
	.eoacs-course-page .eoacs-module-lessons a:hover,
	.eoacs-course-page .eoacs-material-list a:hover,
	.eoacs-classroom .eoacs-primary-button:hover,
	.eoacs-classroom .eoacs-secondary-button:hover { transform: none; }
}

/* Subtítulos y metadatos visibles sin competir con los encabezados. */
.eoacs-library-page .eoacs-library-intro p:not(.eoacs-kicker) {
	color: #e3e5ea;
	font: 500 18px/1.55 var(--eoacs-brand-font);
	letter-spacing: .004em;
}
.eoacs-library-page .eoacs-library-stat span {
	color: #e1e3e9;
	font: 650 13px/1.4 var(--eoacs-brand-font);
}
.eoacs-library-page .eoacs-library-card-body > p {
	color: #ff93a0;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.4;
}
.eoacs-library-page .eoacs-progress-row b { color: #e4e7ec; font-size: 12px; font-weight: 700; }
.eoacs-course-page .eoacs-classroom-intro p:last-child {
	margin-top: 11px;
	color: #e0e3e9;
	font: 600 16px/1.45 var(--eoacs-brand-font);
}
.eoacs-course-page .eoacs-intro-progress span {
	color: #d7dbe1;
	font: 600 12px/1.4 var(--eoacs-brand-font);
}
.eoacs-course-page .eoacs-lesson-breadcrumb,
.eoacs-course-page .eoacs-lesson-breadcrumb a {
	color: #c7cbd2;
	font: 600 12px/1.4 var(--eoacs-brand-font);
}
.eoacs-course-page .eoacs-progress-label strong { color: #e1e4e9; font-size: 13px; font-weight: 700; }
.eoacs-course-page .eoacs-curriculum-heading .eoacs-kicker,
.eoacs-course-page .eoacs-classroom-intro .eoacs-kicker,
.eoacs-course-page .eoacs-lesson-heading .eoacs-kicker,
.eoacs-course-page .eoacs-materials .eoacs-kicker,
.eoacs-library-page .eoacs-library-intro .eoacs-kicker {
	color: #ff8b99;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.4;
}
@media (max-width: 782px) {
	.eoacs-library-page .eoacs-library-intro p:not(.eoacs-kicker) { font-size: 16px; }
	.eoacs-course-page .eoacs-classroom-intro p:last-child { font-size: 15px; }
}

/* Vista pública del campus: clase muestra y programa protegido. */
.eoacs-preview-page { min-height: 100vh; background: #0d0e11 !important; color: #f7f7f7; }
.eoacs-preview-header { min-height: 74px; padding: 13px clamp(18px, 4vw, 54px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #292b30; background: #090a0c; }
.eoacs-preview-header .eoacs-classroom-brand > span { border-color: #db3449; background: #291216; color: #ff7383; }
.eoacs-preview-header .eoacs-classroom-brand strong { color: #fff; }
.eoacs-preview-header-label, .eoacs-preview-eyebrow { color: #ee6c7b; font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.eoacs-preview-header-actions, .eoacs-preview-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.eoacs-preview-header-actions > a:first-child { color: #d9dbe0; font-size: 13px; font-weight: 700; }
.eoacs-preview-page .eoacs-preview-buy-button, .eoacs-preview-page .eoacs-preview-outline-button { min-height: 43px; padding: 10px 17px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid #e2394c; border-radius: 8px; background: #d92e43; color: #fff; font-size: 13px; font-weight: 800; line-height: 1.2; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.eoacs-preview-page .eoacs-preview-buy-button:hover { border-color: #f05b6b; background: #f05b6b; color: #fff; transform: translateY(-1px); }
.eoacs-preview-page .eoacs-preview-buy-button.is-disabled { border-color: #69646a; background: #39363b; color: #ddd8dd; cursor: not-allowed; }
.eoacs-preview-page .eoacs-preview-buy-button.is-disabled:hover { border-color: #69646a; background: #39363b; transform: none; }
.eoacs-preview-buy-button small { padding-left: 2px; color: #f4b1ba; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.eoacs-preview-page .eoacs-preview-outline-button { border-color: #70747c; background: transparent; }
.eoacs-preview-page .eoacs-preview-outline-button:hover { border-color: #fff; background: #fff; color: #17191d; }
.eoacs-preview-hero { min-height: 340px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr); overflow: hidden; border-bottom: 1px solid #303139; background: radial-gradient(circle at 16% 20%, #273141, #111318 54%); }
.eoacs-preview-hero-cover { min-height: 340px; background: #eae7e0; }
.eoacs-preview-hero-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.eoacs-preview-hero > div { max-width: 790px; padding: clamp(34px, 5vw, 76px) clamp(24px, 5vw, 76px); align-self: center; }
.eoacs-preview-hero h1 { margin: 14px 0; color: #fff; font-size: clamp(30px, 3.5vw, 56px); line-height: 1.07; letter-spacing: -.04em; }
.eoacs-preview-hero p:not(.eoacs-preview-eyebrow) { max-width: 630px; margin: 0 0 26px; color: #c6c9d0; font-size: 15px; line-height: 1.6; }
.eoacs-preview-layout { width: min(100%, 1600px); margin: 0 auto; display: grid; grid-template-columns: minmax(280px, 355px) minmax(0, 1fr); }
.eoacs-preview-curriculum { align-self: start; position: sticky; top: 0; min-height: 100vh; border-right: 1px solid #303139; background: #15161a; }
.eoacs-preview-curriculum-heading { padding: 30px 21px 22px; border-bottom: 1px solid #303139; }
.eoacs-preview-curriculum nav { max-height: calc(100vh - 150px); overflow-y: auto; scrollbar-color: #555860 #15161a; }
.eoacs-preview-curriculum-heading h2 { margin: 10px 0 8px; color: #fff; font-size: 21px; }
.eoacs-preview-curriculum-heading > p:last-child { margin: 0; color: #aeb3bd; font-size: 12px; line-height: 1.5; }
.eoacs-preview-module { border-bottom: 1px solid #2c2e34; }
.eoacs-preview-module-heading { padding: 15px 17px; display: flex; align-items: center; gap: 12px; }
.eoacs-preview-module-heading img { width: 76px; aspect-ratio: 16 / 9; object-fit: cover; flex: none; border-radius: 5px; }
.eoacs-preview-module-heading > span { min-width: 0; display: grid; gap: 5px; }
.eoacs-preview-module-heading small { color: #a0a5af; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.eoacs-preview-module-heading strong { color: #f0f1f4; font-size: 13px; line-height: 1.3; }
.eoacs-preview-state { width: 26px; height: 26px; margin-left: auto; flex: none; display: grid; place-items: center; border: 1px solid #4a4d55; border-radius: 50%; color: #b8bdc5; }
.eoacs-preview-state svg { width: 14px; height: 14px; }
.eoacs-preview-module.is-sample { background: #202126; }
.eoacs-preview-module.is-sample .eoacs-preview-state { border-color: #a94b58; background: #4c252d; color: #ff9aa6; }
.eoacs-preview-locked-note { margin: -5px 17px 14px 105px; display: block; color: #989da7; font-size: 11px; }
.eoacs-preview-lessons { padding: 0 12px 13px 105px; display: grid; gap: 5px; }
.eoacs-preview-lessons a { padding: 9px 10px; display: flex; gap: 8px; border: 1px solid transparent; border-radius: 6px; color: #d5d8df; font-size: 12px; }
.eoacs-preview-lessons a:hover, .eoacs-preview-lessons a.is-current { border-color: #80414a; background: #3a2228; color: #fff; }
.eoacs-preview-lessons a span { color: #f27583; }
.eoacs-preview-main { min-width: 0; max-width: 1090px; padding: clamp(25px, 4vw, 56px); }
.eoacs-preview-main > h2 { margin: 12px 0 6px; color: #fff; font-size: clamp(28px, 3vw, 42px); line-height: 1.12; }
.eoacs-preview-module-subtitle { margin: 0 0 25px; color: #b9bdc5; font-size: 14px; }
.eoacs-preview-player { overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid #3b3d43; border-radius: 12px; background: #050505; box-shadow: 0 22px 48px rgba(0,0,0,.25); }
.eoacs-preview-player mux-player, .eoacs-preview-player video, .eoacs-preview-player iframe { width: 100%; height: 100%; display: block; }
.eoacs-preview-player .eoacs-player-placeholder { height: 100%; }
.eoacs-preview-description, .eoacs-preview-materials { margin-top: 25px; padding: 25px; border: 1px solid #34363d; border-radius: 12px; background: #191b20; color: #d4d7de; line-height: 1.65; }
.eoacs-preview-description h3, .eoacs-preview-materials h3 { margin: 0 0 14px; color: #fff; font-size: 18px; }
.eoacs-preview-description p:last-child { margin-bottom: 0; }
.eoacs-preview-materials > div { display: grid; gap: 9px; }
.eoacs-preview-materials a { padding: 13px 15px; display: flex; align-items: center; gap: 11px; border: 1px solid #43464e; border-radius: 8px; background: #22252b; color: #f7f7f7; }
.eoacs-preview-materials a:hover { border-color: #ed6c7b; background: #302428; }
.eoacs-preview-materials a > span { color: #ed6c7b; font-size: 18px; }
.eoacs-preview-materials a strong { font-size: 13px; }
.eoacs-preview-materials a small { margin-left: auto; color: #bdc1c9; font-size: 11px; }
.eoacs-preview-cta { margin-top: 27px; padding: clamp(24px, 3vw, 36px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid #92424d; border-radius: 12px; background: linear-gradient(115deg, #271a1e, #1a1b20); }
.eoacs-preview-cta h2 { margin: 8px 0; color: #fff; font-size: 24px; }
.eoacs-preview-cta p:last-child { margin: 0; color: #c8cbd2; font-size: 13px; }
.eoacs-preview-empty { min-height: 340px; display: grid; align-content: center; justify-items: center; padding: 36px; border: 1px dashed #50525a; border-radius: 12px; background: #17191e; text-align: center; }
.eoacs-preview-empty > span { color: #eb596c; font-size: 54px; }
.eoacs-preview-empty h2 { margin: 9px 0; color: #fff; }
.eoacs-preview-empty > p:last-child { max-width: 470px; color: #bbc0c9; line-height: 1.6; }
@media (max-width: 900px) { .eoacs-preview-hero { grid-template-columns: 1fr; } .eoacs-preview-hero-cover { min-height: 240px; grid-row: 1; } .eoacs-preview-layout { grid-template-columns: 1fr; } .eoacs-preview-curriculum { position: static; min-height: 0; border-right: 0; border-bottom: 1px solid #303139; } .eoacs-preview-curriculum nav { max-height: 350px; overflow: auto; } }
@media (max-width: 620px) { .eoacs-preview-header { flex-wrap: wrap; } .eoacs-preview-header-label { display: none; } .eoacs-preview-header-actions { width: 100%; justify-content: space-between; } .eoacs-preview-hero-cover { min-height: 190px; } .eoacs-preview-hero > div { padding: 27px 20px 34px; } .eoacs-preview-main { padding: 27px 16px; } .eoacs-preview-cta { align-items: stretch; flex-direction: column; } .eoacs-preview-cta .eoacs-preview-buy-button { width: 100%; } }

/* La vista pública utiliza exactamente el mismo armazón del aula; solo cambia el acceso. */
body.eoacs-preview-page { background: #101113 !important; }
.eoacs-preview-page .eoacs-classroom-header { background: #090a0c; }
.eoacs-preview-header-label { color: #ff8b99; font-size: 10px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }
.eoacs-preview-account { gap: 16px; }
.eoacs-preview-account > a:not(.eoacs-preview-buy-button) { color: #e1e3e8; font-weight: 700; }
.eoacs-preview-registration-status { width: min(100%, 1120px); margin: -17px auto 23px; display: flex; align-items: center; flex-wrap: wrap; gap: 5px 14px; color: #666d75; font-size: 12px; line-height: 1.45; }
.eoacs-preview-registration-status a { color: #aa3244; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.eoacs-preview-registration-status a:hover, .eoacs-preview-registration-status a:focus-visible { color: #8f2334; }
@media (max-width: 782px) { .eoacs-preview-registration-status { margin: -10px auto 18px; font-size: 11px; } }
.eoacs-preview-page .eoacs-preview-buy-button {
	min-height: 38px; padding: 9px 13px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	border: 1px solid #d92d44; border-radius: 7px; background: #d92d44; color: #fff;
	font: 800 11px/1.2 var(--eoacs-brand-font); letter-spacing: .01em;
}
.eoacs-preview-page .eoacs-preview-buy-button:hover { border-color: #cb2940; background: #cb2940; color: #fff; transform: none; }
.eoacs-preview-page .eoacs-preview-buy-button.is-disabled,
.eoacs-preview-page .eoacs-preview-buy-button.is-disabled:hover { border-color: #666a72; background: #383b42; color: #f1f1f2; cursor: default; }
.eoacs-preview-page .eoacs-preview-buy-button small { color: #ffc1c9; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.eoacs-preview-access-card { padding: 14px; }
.eoacs-preview-access-card .eoacs-progress-label { display: flex; justify-content: space-between; gap: 8px; }
.eoacs-preview-access-card .eoacs-progress-label b { color: #ff8b99; font-size: 11px; white-space: nowrap; }
.eoacs-preview-access-card p { margin: 9px 0 14px; color: #cbd0d8; line-height: 1.5; }
.eoacs-preview-access-card .eoacs-preview-buy-button { width: 100%; }
.eoacs-preview-page .eoacs-module-button > .eoacs-preview-lock { width: 22px; min-width: 22px; height: 22px; flex: 0 0 22px; }
.eoacs-preview-lock { position: relative; display: inline-block !important; color: #c4c7ce; }
.eoacs-preview-lock::before { content: ''; position: absolute; top: 1px; left: 7px; width: 8px; height: 8px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; }
.eoacs-preview-lock::after { content: ''; position: absolute; top: 8px; left: 5px; width: 12px; height: 10px; border: 1.5px solid currentColor; border-radius: 2px; }
.eoacs-preview-page .eoacs-module-group.is-locked .eoacs-module-button strong { color: #d4d6db; }
.eoacs-preview-page .eoacs-module-group.is-locked .eoacs-module-button:hover { background: #25282d; }
.eoacs-preview-locked-lesson { margin: 3px 0; padding: 12px; display: grid; grid-template-columns: 25px 1fr; align-items: start; gap: 9px; border-radius: 8px; color: #adb1ba; }
.eoacs-preview-locked-lesson > span:last-child { display: grid; gap: 5px; }
.eoacs-preview-locked-lesson strong { font-size: 13px; line-height: 1.35; }
.eoacs-preview-locked-lesson small { color: #aeb2ba; font-size: 10px; }
.eoacs-preview-locked-lesson .eoacs-preview-lock { border-color: #737780; }
.eoacs-preview-locked-lesson .eoacs-preview-lock::before { left: 6px; top: 2px; }
.eoacs-preview-locked-lesson .eoacs-preview-lock::after { left: 4px; top: 9px; }
.eoacs-preview-page .eoacs-intro-progress strong { font-size: 14px; letter-spacing: .08em; }
.eoacs-preview-page .eoacs-preview-badge { background: rgba(231,53,74,.16); color: #ff9da8; }
.eoacs-preview-page .eoacs-lesson-navigation .eoacs-preview-buy-button { order: 1; }
.eoacs-preview-page .eoacs-lesson-navigation .eoacs-nav-next { order: 2; }
@media (max-width: 782px) {
	.eoacs-preview-page .eoacs-preview-account { gap: 10px; }
	.eoacs-preview-page .eoacs-preview-account > a:not(.eoacs-preview-buy-button),
	.eoacs-preview-page .eoacs-preview-header-label { display: none; }
	.eoacs-preview-page .eoacs-preview-account .eoacs-preview-buy-button { display: inline-flex; min-height: 34px; padding: 7px 6px; gap: 4px; font-size: 9px; white-space: nowrap; }
	.eoacs-preview-page .eoacs-preview-account .eoacs-preview-buy-button small { font-size: 8px; }
}

/* Recursos ordenados por introducción y por módulo. */
.eoacs-course-page .eoacs-materials-intro {
	max-width: 680px;
	margin: -7px 0 18px;
	color: #d7dbe2;
	font: 500 13px/1.55 var(--eoacs-brand-font);
}
.eoacs-course-page .eoacs-material-list a > span:last-child { gap: 5px; }
.eoacs-course-page .eoacs-material-list .eoacs-material-category {
	color: #ff9ca8;
	font: 800 10px/1.3 var(--eoacs-brand-font);
	letter-spacing: .11em;
}
.eoacs-course-page .eoacs-material-list strong { font-size: 15px; }
.eoacs-course-page .eoacs-material-meta small { color: #cbd0d7; font-weight: 500; }
@media (max-width: 620px) {
	.eoacs-course-page .eoacs-materials-intro { margin-bottom: 15px; font-size: 12px; }
	.eoacs-course-page .eoacs-material-list a { min-height: 88px; }
}

/* Acceso independiente al campus: la misma identidad del aula, sin cargar el reproductor. */
body.eoacs-login-page {
	--eoacs-login-red: #d92d44;
	--eoacs-login-ink: #141518;
	--eoacs-login-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	background: #101113;
	color: var(--eoacs-login-ink);
	font-family: var(--eoacs-login-font);
	font-weight: 500;
}
.eoacs-login-layout { min-height: 100svh; display: grid; grid-template-columns: minmax(0, .96fr) minmax(460px, 1fr); }
.eoacs-login-story {
	min-height: 100svh; padding: clamp(28px, 4vw, 64px) clamp(30px, 5.3vw, 86px) 34px;
	display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
	background: radial-gradient(circle at 72% 76%, rgba(150, 33, 50, .25), transparent 30%), linear-gradient(135deg, #191b20 0%, #0d0e11 65%);
	color: #fff;
}
.eoacs-login-story::before {
	content: ""; position: absolute; inset: 0; opacity: .28; pointer-events: none;
	background: repeating-linear-gradient(173deg, transparent 0, transparent 46px, rgba(255,255,255,.11) 47px, transparent 48px, transparent 58px);
	mask-image: linear-gradient(90deg, transparent 18%, #000 95%);
}
.eoacs-login-story::after {
	content: ""; width: 490px; height: 490px; position: absolute; right: -220px; bottom: -210px;
	border: 1px solid rgba(231,53,74,.3); border-radius: 50%; pointer-events: none;
	box-shadow: 0 0 0 70px rgba(231,53,74,.035), 0 0 0 145px rgba(231,53,74,.025);
}
.eoacs-login-brand, .eoacs-login-story-content, .eoacs-login-story-footer { position: relative; z-index: 1; }
.eoacs-login-brand { width: fit-content; display: inline-flex; align-items: center; gap: 12px; color: #fff !important; }
.eoacs-login-brand img { display: block; width: 48px; height: 59px; object-fit: contain; filter: brightness(0) invert(1); }
.eoacs-login-brand-name { display: grid; gap: 3px; font-family: "Avenir Next", Avenir, var(--eoacs-login-font); line-height: 1; }
.eoacs-login-brand-name strong { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: .06em; }
.eoacs-login-brand-name sup { margin-left: 2px; font-size: 9px; vertical-align: super; }
.eoacs-login-brand-name small { color: #e0e1e5; font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.eoacs-login-story-content { max-width: 720px; padding: 45px 0; }
.eoacs-login-eyebrow, .eoacs-login-panel-eyebrow { margin: 0; font-size: 11px; font-weight: 850; letter-spacing: .19em; }
.eoacs-login-eyebrow { display: flex; align-items: center; gap: 12px; color: #ff8b99; }
.eoacs-login-eyebrow span { width: 23px; height: 1px; background: #ff8b99; }
.eoacs-login-story h1 { margin: 22px 0 25px; font-size: clamp(52px, 5.7vw, 90px); font-weight: 850; line-height: 1.02; letter-spacing: -.065em; }
.eoacs-login-story h1 em { color: #f56b7b; font-style: normal; }
.eoacs-login-story-content > p:not(.eoacs-login-eyebrow) { max-width: 490px; margin: 0; color: #e3e4e8; font-size: 17px; font-weight: 500; line-height: 1.65; }
.eoacs-login-feature { width: fit-content; max-width: 530px; margin-top: 45px; padding: 17px 22px; display: flex; align-items: center; gap: 17px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: rgba(255,255,255,.055); backdrop-filter: blur(10px); }
.eoacs-login-feature > span { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 9px; background: rgba(231,53,74,.18); color: #ff8795; font-size: 25px; }
.eoacs-login-feature > div { display: grid; gap: 4px; }
.eoacs-login-feature strong { color: #f7f7f8; font-size: 14px; }
.eoacs-login-feature small { color: #e0e1e5; font-size: 13px; line-height: 1.45; }
.eoacs-login-story-footer { margin: 0; color: #c8cad0; font-size: 11px; font-weight: 750; letter-spacing: .11em; }
.eoacs-login-story-footer span { padding: 0 7px; color: #e7354a; }
.eoacs-login-panel { min-height: 100svh; padding: 40px clamp(28px, 5vw, 86px); display: grid; place-items: center; background: #faf9f7; }
.eoacs-login-form-wrap { width: min(100%, 454px); }
.eoacs-login-panel-eyebrow { color: #c52c43; }
.eoacs-login-panel h2 { margin: 17px 0 10px; color: #191a1e; font-size: clamp(32px, 3vw, 45px); font-weight: 850; line-height: 1.15; letter-spacing: -.045em; }
.eoacs-login-panel h2 span { color: #d92d44; }
.eoacs-login-intro { margin: 0 0 32px; color: #454951; font-size: 16px; line-height: 1.5; }
.eoacs-login-alert { margin: 0 0 20px; padding: 13px 15px; border: 1px solid #eec4ca; border-radius: 9px; background: #fff0f2; color: #a01e33; font-size: 13px; line-height: 1.45; }
.eoacs-login-form { display: grid; }
.eoacs-login-form > label:not(.eoacs-login-remember), .eoacs-login-password-label label { margin-bottom: 9px; color: #282b30; font-size: 14px; font-weight: 750; }
.eoacs-login-form > input:is([type="text"], [type="email"], [type="password"]), .eoacs-login-password-field input { box-sizing: border-box; min-width: 0; width: 100%; height: 56px; padding: 0 16px; border: 1.5px solid #b7bac1; border-radius: 9px; outline: 0; background: #fff; color: #191a1e; font-family: var(--eoacs-login-font); font-size: 16px; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.eoacs-login-form > label:not(.eoacs-login-remember):not(:first-of-type) { margin-top: 20px; }
.eoacs-login-form > input:is([type="email"], [type="password"]) + .eoacs-login-submit { margin-top: 24px; }
.eoacs-login-form input::placeholder { color: #676b73; opacity: 1; }
.eoacs-login-form input:is(:hover, :focus) { border-color: #aaacb2; }
.eoacs-login-form input:focus { border-color: #d92d44; box-shadow: 0 0 0 4px rgba(217,45,68,.12); }
.eoacs-login-password-label { margin-top: 22px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.eoacs-login-password-label a { color: #a82035; font-size: 13px; font-weight: 750; }
.eoacs-login-password-label a:hover, .eoacs-login-help a:hover { color: #e7354a; text-decoration: underline; text-underline-offset: 3px; }
.eoacs-login-password-field { position: relative; }
.eoacs-login-password-field input { padding-right: 94px; }
.eoacs-login-show-password { position: absolute; top: 7px; right: 7px; min-width: 78px; height: 42px; padding: 0 8px; border: 1px solid #e1e1e4; border-radius: 7px; background: #f6f6f7; color: #34373d; font-family: var(--eoacs-login-font); font-size: 13px !important; font-weight: 750 !important; cursor: pointer; }
.eoacs-login-show-password:hover { background: #e9eaed; border-color: #b7bac1; color: #1f2125; }
.eoacs-login-remember { width: fit-content; margin: 19px 0 25px; display: flex; align-items: center; gap: 10px; color: #454951; font-size: 14px; cursor: pointer; }
.eoacs-login-remember input { width: 17px; height: 17px; margin: 0; accent-color: #d92d44; }
.eoacs-login-submit { width: 100%; min-height: 56px; padding: 12px 19px; display: flex; align-items: center; justify-content: center; gap: 13px; border: 1px solid #bd263c; border-radius: 9px; background: #bd263c; color: #fff; font-family: var(--eoacs-login-font); font-size: 16px !important; font-weight: 800 !important; cursor: pointer; box-shadow: 0 10px 23px rgba(189,38,60,.22); transition: background .2s, transform .2s, box-shadow .2s; }
.eoacs-login-submit span { font-size: 20px; line-height: 1; }
.eoacs-login-submit:hover { background: #991d30; border-color: #991d30; color: #fff; box-shadow: 0 14px 28px rgba(153,29,48,.3); transform: translateY(-1px); }
.eoacs-login-page a.eoacs-login-submit,
.eoacs-login-page a.eoacs-login-submit:hover { color: #fff; text-decoration: none; }
.eoacs-login-submit:active { transform: translateY(0); }
.eoacs-login-divider { margin: 28px 0 21px; display: flex; align-items: center; gap: 15px; color: #5e626a; font-size: 13px; }
.eoacs-login-divider::before, .eoacs-login-divider::after { content: ""; height: 1px; flex: 1; background: #dcdde0; }
.eoacs-login-google { width: 100%; min-height: 56px; padding: 10px 17px; display: flex; align-items: center; justify-content: center; gap: 12px; position: relative; border: 1.5px solid #b7bac1; border-radius: 9px; background: #fff; color: #282b30; font-family: var(--eoacs-login-font); font-size: 15px !important; font-weight: 750 !important; cursor: pointer; transition: border-color .2s, background .2s; }
.eoacs-login-google:not(.is-unavailable):hover { border-color: #aeb0b6; background: #f5f5f6; }
.eoacs-login-google.is-unavailable { cursor: not-allowed; background: #f5f5f6; color: #454951; }
.eoacs-login-google small { position: absolute; top: -11px; right: 10px; padding: 4px 7px; border: 1px solid #dfb9c0; border-radius: 4px; background: #fff7f8; color: #963248; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.eoacs-google-icon { width: 22px; height: 22px; display: grid; place-items: center; color: #4285f4; font: 800 20px/1 Arial, sans-serif; }
.eoacs-login-google-note { margin: 12px 0 0; color: #535760; font-size: 13px; text-align: center; }
.eoacs-login-help { margin: 31px 0 0; color: #4b4e56; font-size: 13px; text-align: center; }
.eoacs-login-help a { color: #b5283d; font-weight: 780; }
.eoacs-login-page :is(a, button, input):focus-visible { outline: 2px solid #e7354a; outline-offset: 3px; }
@media (max-width: 1000px) {
	.eoacs-login-layout { grid-template-columns: minmax(0, .8fr) minmax(420px, 1fr); }
	.eoacs-login-story { padding-left: 38px; padding-right: 38px; }
	.eoacs-login-story h1 { font-size: clamp(50px, 6vw, 68px); }
}
@media (max-width: 780px) {
	.eoacs-login-layout { display: flex; flex-direction: column; }
	.eoacs-login-story { min-height: auto; padding: 24px 25px 36px; }
	.eoacs-login-story-content { padding: 41px 0 4px; }
	.eoacs-login-story h1 { margin: 14px 0; font-size: clamp(40px, 10vw, 58px); }
	.eoacs-login-story-content > p:not(.eoacs-login-eyebrow) { max-width: 580px; font-size: 14px; }
	.eoacs-login-feature, .eoacs-login-story-footer { display: none; }
	.eoacs-login-panel { min-height: auto; flex: 1; padding: 46px 25px 60px; align-items: start; }
}
@media (max-width: 430px) {
	.eoacs-login-story { padding: 20px 20px 30px; }
	.eoacs-login-brand img { width: 43px; height: 53px; }
	.eoacs-login-brand-name strong { font-size: 19px; }
	.eoacs-login-brand-name small { font-size: 9px; }
	.eoacs-login-story-content { padding-top: 31px; }
	.eoacs-login-story h1 { font-size: 39px; }
	.eoacs-login-panel { padding: 37px 20px 54px; }
	.eoacs-login-panel h2 { font-size: 33px; }
	.eoacs-login-password-label { align-items: start; flex-direction: column; gap: 1px; }
	.eoacs-login-password-label a { margin-bottom: 7px; }
}
@media (prefers-reduced-motion: reduce) {
	.eoacs-login-page :is(button, input, a) { transition: none; }
	.eoacs-login-submit:hover { transform: none; }
}

/* Identidad y navegación del alumno. */
.eoacs-classroom-brand img,
.eoacs-public-brand img { display: block; width: 34px; height: 42px; flex: none; object-fit: contain; }
.eoacs-classroom-brand img { filter: brightness(0) invert(1); }
.eoacs-classroom-brand strong,
.eoacs-public-brand strong { gap: 4px; font-family: "Avenir Next", Avenir, var(--eoacs-brand-font, system-ui); font-weight: 800; line-height: 1; letter-spacing: .035em; }
.eoacs-classroom-brand strong > span,
.eoacs-public-brand strong > span { white-space: nowrap; }
.eoacs-classroom-brand sup,
.eoacs-public-brand sup { margin-left: 2px; font-size: 9px; }
.eoacs-classroom-brand small { margin-top: 0; color: #e9ebee; font: 750 10px/1.2 "Avenir Next", Avenir, system-ui; letter-spacing: .065em; opacity: 1; }
.eoacs-public-brand small { margin-top: 0; color: #515966; font: 750 10px/1.2 "Avenir Next", Avenir, system-ui; letter-spacing: .065em; opacity: 1; }
.eoacs-library-page .eoacs-library-card-body > .eoacs-library-subtitle { margin: -7px 0 20px; color: #e0e3e8; font: 550 14px/1.55 var(--eoacs-brand-font); letter-spacing: 0; text-transform: none; }
.eoacs-library-page .eoacs-library-intro p:not(.eoacs-kicker) { color: #f0f1f3; }
.eoacs-course-page .eoacs-classroom-intro p:last-child { color: #f0f1f3; }
.eoacs-sidebar-toggle { min-width: 42px; min-height: 42px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; line-height: 1; }
.eoacs-sidebar-toggle:hover,
.eoacs-sidebar-toggle[aria-expanded="true"] { border-color: #454951; background: #24262b; }
.eoacs-mobile-nav { display: none; }

@media (max-width: 782px) {
	body.eoacs-sidebar-open { overflow: hidden; }
	.eoacs-sidebar-toggle { display: inline-flex; margin-right: 7px; padding: 0; }
	.eoacs-classroom-brand { gap: 8px; }
	.eoacs-classroom-brand img { width: 30px; height: 36px; }
	.eoacs-classroom-brand strong { font-size: 15px; }
	.eoacs-classroom-brand small { font-size: 9px; letter-spacing: .035em; }
	.eoacs-course-page .eoacs-curriculum,
	.eoacs-preview-page .eoacs-curriculum { visibility: hidden; position: fixed; top: 64px; bottom: 0; left: 0; grid-column: auto; grid-row: auto; transform: translateX(-103%); transition: transform .24s ease, visibility .24s ease; }
	.eoacs-course-page.eoacs-sidebar-open .eoacs-curriculum,
	.eoacs-preview-page.eoacs-sidebar-open .eoacs-curriculum { visibility: visible; transform: translateX(0); }
	.admin-bar.eoacs-course-page .eoacs-curriculum,
	.admin-bar.eoacs-preview-page .eoacs-curriculum { top: 110px; }
	.eoacs-library-page .eoacs-mobile-nav { visibility: hidden; display: block; position: fixed; z-index: 45; top: 64px; bottom: 0; left: 0; width: min(88vw, 350px); padding: 20px; overflow-y: auto; border-right: 1px solid #41444a; background: #1b1d21; box-shadow: 16px 0 44px rgba(0,0,0,.5); transform: translateX(-103%); transition: transform .24s ease, visibility .24s ease; }
	.admin-bar.eoacs-library-page .eoacs-mobile-nav { top: 110px; }
	.eoacs-library-page.eoacs-sidebar-open .eoacs-mobile-nav { visibility: visible; transform: translateX(0); }
	.eoacs-mobile-nav-heading { margin-bottom: 19px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #f5f5f6; font-size: 17px; }
	.eoacs-mobile-nav-close { width: 36px; height: 36px; border: 1px solid #555a63; border-radius: 8px; background: #2d3036; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
	.eoacs-mobile-nav nav { display: grid; gap: 8px; }
	.eoacs-mobile-nav nav a { padding: 13px 14px; border: 1px solid #41444a; border-radius: 9px; background: #272a30; color: #f2f3f5; font-size: 14px; font-weight: 700; line-height: 1.4; }
	.eoacs-mobile-nav nav a:hover,
	.eoacs-mobile-nav nav a.is-current { border-color: #d92d44; background: #3b252c; color: #fff; }
}

/* Aula más ligera: un encabezado móvil que no persigue el desplazamiento y recursos legibles. */
.eoacs-account { position: relative; }
.eoacs-account-trigger { display: inline-flex; align-items: center; gap: 10px; padding: 5px 7px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #f4f4f5; cursor: pointer; }
.eoacs-account-trigger:hover, .eoacs-account-trigger[aria-expanded="true"] { border-color: #52545a; background: #24262b; }
.eoacs-account-chevron { color: #c9cbd1; font-size: 17px; }
.eoacs-account .eoacs-user-avatar { overflow: hidden; flex: none; background: #e7354a; color: white; }
.eoacs-account-menu[hidden] { display: none !important; }
.eoacs-account-menu { position: absolute; z-index: 70; top: calc(100% + 9px); right: 0; width: 224px; padding: 7px; display: grid; gap: 3px; border: 1px solid #4a4d54; border-radius: 11px; background: #24262b; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.eoacs-account .eoacs-account-menu a { display: block; padding: 11px 12px; border: 0; border-radius: 7px; color: #f0f1f3; font-size: 13px; font-weight: 700; line-height: 1.35; }
.eoacs-account .eoacs-account-menu a:hover { background: #3b2a30; color: #fff; }
.eoacs-drawer-close { display: none; }
.eoacs-course-page .eoacs-lesson-content { display: block; }
.eoacs-course-page .eoacs-lesson-copy { max-width: 78ch; padding-top: 22px; }
.eoacs-course-page .eoacs-materials { margin-top: 31px; padding: 25px; border-color: #3d4047; background: #23262b; }
.eoacs-course-page .eoacs-materials h2 { margin-bottom: 12px; }
.eoacs-course-page .eoacs-materials-intro { margin: 0 0 20px; }
.eoacs-course-page .eoacs-material-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.eoacs-course-page .eoacs-material-list a { min-height: 100px; padding: 16px; align-items: start; border-color: #464950; background: #2b2e34; box-shadow: none; }
.eoacs-course-page .eoacs-material-list a:hover { transform: none; box-shadow: none; }
.eoacs-course-page .eoacs-material-list a > span:last-child { gap: 7px; }
.eoacs-course-page .eoacs-material-meta { display: grid; gap: 8px; }
.eoacs-course-page .eoacs-material-meta em { margin-top: 2px; }
.eoacs-login-alert.is-success { border-color: #a5d6b7; background: #edfff2; color: #195a34; }

/* Perfil de alumno integrado con el usuario de WordPress. */
body.eoacs-profile-page { --eoacs-brand-font: "Avenir Next", Inter, "Helvetica Neue", Arial, sans-serif; background: #17191d; color: #f5f5f6; font-family: var(--eoacs-brand-font); }
.eoacs-profile-page .eoacs-classroom-header { background: #090a0c; border-bottom: 1px solid #303236; }
.eoacs-profile-shell { width: min(100% - 40px, 1120px); margin: 0 auto; padding: 37px 0 78px; }
.eoacs-profile-back { color: #d4d7dd !important; font-size: 13px; font-weight: 750; }
.eoacs-profile-back:hover { color: #fff !important; }
.eoacs-profile-intro { margin: 30px 0; }
.eoacs-profile-intro .eoacs-kicker { color: #ff8795; }
.eoacs-profile-intro h1 { margin: 8px 0 10px; font-size: clamp(34px, 4vw, 48px); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }
.eoacs-profile-intro > p:last-child { margin: 0; color: #e0e3e8; font-size: 15px; font-weight: 600; line-height: 1.6; }
.eoacs-profile-notice { margin: 0 0 20px; padding: 13px 16px; border: 1px solid #a84b5a; border-radius: 9px; background: #3b272e; color: #fff; font-size: 13px; }
.eoacs-profile-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; gap: 18px; }
.eoacs-profile-card { min-width: 0; padding: clamp(22px, 3vw, 32px); border: 1px solid #41444a; border-radius: 14px; background: #24272c; }
.eoacs-profile-card h2 { margin: 0 0 8px; color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.025em; }
.eoacs-profile-card > p:not(.eoacs-kicker) { margin: 0 0 24px; color: #e0e3e8; font-size: 14px; font-weight: 600; line-height: 1.55; }
.eoacs-profile-identity { margin-bottom: 25px; padding: 15px; display: flex; align-items: center; gap: 16px; border: 1px solid #50545b; border-radius: 10px; background: #2b2f35; }
.eoacs-profile-avatar { width: 70px; height: 70px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #e7354a; color: white; font-size: 30px; font-weight: 800; }
.eoacs-profile-identity > div { min-width: 0; display: grid; gap: 5px; }
.eoacs-profile-identity strong { color: #fff; font-size: 14px; font-weight: 800; line-height: 1.4; }
.eoacs-profile-identity small { color: #d5d9df; font-size: 12px; font-weight: 600; line-height: 1.45; }
.eoacs-profile-fields label { color: #f1f2f4; font-size: 13px; font-weight: 800; }
.eoacs-profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.eoacs-profile-fields label { min-width: 0; display: grid; gap: 8px; }
.eoacs-profile-fields .eoacs-profile-wide { grid-column: 1 / -1; }
.eoacs-profile-fields input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #858a94; border-radius: 8px; outline: 0; background: #17191d; color: #fff; font-family: var(--eoacs-brand-font); font-size: 15px; font-weight: 600; }
.eoacs-profile-fields input:focus { border-color: #ff7a8a; box-shadow: 0 0 0 3px rgba(231,53,74,.17); }
.eoacs-profile-submit { min-height: 46px; margin-top: 22px; padding: 10px 18px; border: 1px solid #c5293e; border-radius: 8px; background: #c5293e; color: #fff; font-family: var(--eoacs-brand-font) !important; font-size: 14px !important; font-weight: 800 !important; cursor: pointer; }
.eoacs-profile-submit:hover { background: #a91f32; }
.eoacs-profile-submit-secondary { border-color: #757981; background: #363a41; }
.eoacs-profile-submit-secondary:hover { background: #494e57; }
.eoacs-security-card > .eoacs-kicker { margin: 0 0 8px; color: #ff9daa; font-size: 11px; font-weight: 850; }
.eoacs-password-details { margin-top: 8px; }
.eoacs-password-details summary { min-height: 50px; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #b7354b; border-radius: 9px; background: #4a2830; color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; list-style: none; }
.eoacs-password-details summary::-webkit-details-marker { display: none; }
.eoacs-password-details summary:hover { background: #61303b; }
.eoacs-password-details summary span { color: #ffd5da; transition: transform .2s; }
.eoacs-password-details[open] summary span { transform: rotate(180deg); }
.eoacs-password-panel { padding: 20px 1px 2px; }
.eoacs-password-panel > p { margin: 0 0 18px; color: #e0e3e8; font-size: 13px; font-weight: 600; line-height: 1.6; }
.eoacs-password-recovery { margin-top: 17px; display: inline-block; color: #ffb3bd !important; font-size: 12px; font-weight: 750; text-decoration: underline !important; text-underline-offset: 3px; }
.eoacs-password-recovery:hover { color: #fff !important; }
.eoacs-profile-page :is(a, button, input):focus-visible { outline: 2px solid #ff8795; outline-offset: 3px; }

@media (max-width: 782px) {
	.eoacs-classroom-header, .admin-bar .eoacs-classroom-header { position: relative; top: auto; }
	.eoacs-course-page .eoacs-curriculum, .eoacs-preview-page .eoacs-curriculum { top: 0; height: 100dvh; }
	.admin-bar.eoacs-course-page .eoacs-curriculum, .admin-bar.eoacs-preview-page .eoacs-curriculum { top: 46px; height: calc(100dvh - 46px); }
	.eoacs-sidebar-backdrop { inset: 0; }
	.admin-bar .eoacs-sidebar-backdrop { top: 46px; }
	.eoacs-library-page .eoacs-mobile-nav, .eoacs-profile-page .eoacs-mobile-nav { visibility: hidden; display: block; position: fixed; z-index: 45; top: 0; bottom: 0; left: 0; width: min(88vw, 350px); padding: 20px; overflow-y: auto; border-right: 1px solid #41444a; background: #1b1d21; box-shadow: 16px 0 44px rgba(0,0,0,.5); transform: translateX(-103%); transition: transform .24s ease, visibility .24s ease; }
	.admin-bar.eoacs-library-page .eoacs-mobile-nav, .admin-bar.eoacs-profile-page .eoacs-mobile-nav { top: 46px; }
	.eoacs-library-page.eoacs-sidebar-open .eoacs-mobile-nav, .eoacs-profile-page.eoacs-sidebar-open .eoacs-mobile-nav { visibility: visible; transform: translateX(0); }
	.eoacs-drawer-close { width: 36px; height: 36px; margin: -5px -3px 10px auto; display: grid; place-items: center; border: 1px solid #555a63; border-radius: 8px; background: #2d3036; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
	.eoacs-account .eoacs-account-trigger { display: inline-flex; padding: 3px; }
	.eoacs-account .eoacs-account-menu a { display: block; }
	.eoacs-account-chevron { display: none; }
	.eoacs-course-page .eoacs-materials { margin-top: 26px; padding: 20px; }
	.eoacs-course-page .eoacs-material-list { grid-template-columns: 1fr; gap: 10px; }
	.eoacs-course-page .eoacs-material-list a { min-height: 0; }
	.eoacs-profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.eoacs-course-page .eoacs-materials { padding: 18px; }
	.eoacs-course-page .eoacs-material-list a { grid-template-columns: 32px minmax(0, 1fr); padding: 14px; }
	.eoacs-profile-shell { width: min(100% - 28px, 1120px); padding-top: 27px; }
	.eoacs-profile-fields { grid-template-columns: 1fr; }
	.eoacs-profile-identity { align-items: start; }
}

/* Sistema visual del campus 1.13: una jerarquía editorial, superficies sobrias y una sola acción roja. */
body.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) {
	--campus-bg: #141517;
	--campus-surface: #202225;
	--campus-raised: #292c30;
	--campus-line: #3a3d42;
	--campus-text: #f7f7f5;
	--campus-muted: #c4c7cd;
	--campus-red: #d73248;
	--campus-red-hover: #b9253b;
	--campus-red-soft: #ff8797;
	--campus-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: var(--campus-bg);
	color: var(--campus-text);
	font-family: var(--campus-font);
	font-weight: 450;
	-webkit-font-smoothing: antialiased;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) :is(h1, h2, h3, p, a, button, input, small) { font-family: var(--campus-font); }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) .eoacs-classroom-header {
	height: 70px; background: #101113; border-bottom: 1px solid #303237; box-shadow: none;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) .eoacs-classroom-brand strong { font-weight: 800; letter-spacing: .045em; }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) .eoacs-account-trigger { color: var(--campus-text); }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) .eoacs-account-trigger:hover,
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) .eoacs-account-trigger[aria-expanded="true"] { background: #272a2e; border-color: #565960; }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) .eoacs-user-avatar { background: var(--campus-red); }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) .eoacs-kicker { color: var(--campus-red-soft); font-size: 11px; font-weight: 750; letter-spacing: .13em; }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) :is(a, button, input):focus-visible { outline: 2px solid #ffacb7; outline-offset: 3px; box-shadow: 0 0 0 5px rgba(215,50,72,.18); }

/* Biblioteca: el contenido y la portada son protagonistas, no las cajas decorativas. */
.eoacs-library-page .eoacs-library-shell { width: min(1320px, calc(100% - 64px)); padding-top: clamp(42px, 5vw, 76px); }
.eoacs-library-page .eoacs-library-intro {
	min-height: 0; padding: 0 0 36px; border: 0; border-bottom: 1px solid var(--campus-line); border-radius: 0;
	background: transparent; box-shadow: none;
}
.eoacs-library-page .eoacs-library-intro h1 { margin: 13px 0 15px; font-size: clamp(42px, 5vw, 68px); font-weight: 760; line-height: 1.02; letter-spacing: -.055em; }
.eoacs-library-page .eoacs-library-intro p:not(.eoacs-kicker) { max-width: 55ch; color: var(--campus-muted); font-size: 16px; font-weight: 450; line-height: 1.6; }
.eoacs-library-page .eoacs-library-stat { min-width: 155px; padding: 16px 20px; border: 1px solid var(--campus-line); border-radius: 12px; background: var(--campus-surface); box-shadow: none; }
.eoacs-library-page .eoacs-library-stat strong { color: var(--campus-text); font-size: 30px; font-weight: 730; }
.eoacs-library-page .eoacs-library-stat span { color: var(--campus-muted); font-size: 12px; font-weight: 550; }
.eoacs-library-page .eoacs-library-grid { padding-top: 32px; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eoacs-library-page .eoacs-library-card { border: 1px solid var(--campus-line); border-radius: 14px; background: var(--campus-surface); box-shadow: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.eoacs-library-page .eoacs-library-card:hover { border-color: #777b82; box-shadow: 0 22px 42px rgba(0,0,0,.19); transform: translateY(-3px); }
.eoacs-library-page .eoacs-library-cover { min-height: 0; aspect-ratio: 1; background-color: #172235; background-size: contain; background-repeat: no-repeat; }
.eoacs-library-page .eoacs-library-card-body { padding: 24px; }
.eoacs-library-page .eoacs-library-card-body > p:not(.eoacs-library-subtitle) { margin-bottom: 10px; color: var(--campus-red-soft); font-size: 11px; font-weight: 750; letter-spacing: .1em; }
.eoacs-library-page .eoacs-library-card-body h2 { min-height: 0; margin-bottom: 12px; color: var(--campus-text); font-size: 23px; font-weight: 720; line-height: 1.25; letter-spacing: -.035em; }
.eoacs-library-page .eoacs-library-card-body > .eoacs-library-subtitle { margin: 0 0 22px; color: var(--campus-muted); font-size: 14px; font-weight: 450; line-height: 1.5; }
.eoacs-library-page .eoacs-progress-row { margin-bottom: 19px; }
.eoacs-library-page .eoacs-progress-row > span { background: #46494e; }
.eoacs-library-page .eoacs-progress-row i { background: var(--campus-red); }
.eoacs-library-page .eoacs-primary-button { min-height: 48px; border-color: var(--campus-red); border-radius: 8px; background: var(--campus-red); color: #fff !important; box-shadow: none; font-size: 14px !important; font-weight: 700 !important; }
.eoacs-library-page .eoacs-primary-button:hover { border-color: var(--campus-red-hover); background: var(--campus-red-hover); box-shadow: 0 9px 21px rgba(215,50,72,.19); transform: translateY(-1px); }

/* Aula y muestra: lectura tranquila, barra de progreso clara y temario secundario. */
.eoacs-course-page .eoacs-course-layout, .eoacs-preview-page .eoacs-course-layout { grid-template-columns: minmax(0, 1fr) 332px; }
.eoacs-course-page .eoacs-lesson-main, .eoacs-preview-page .eoacs-lesson-main { padding: 32px clamp(24px, 4vw, 72px) 76px; background: var(--campus-bg); }
.eoacs-course-page .eoacs-lesson-breadcrumb, .eoacs-preview-page .eoacs-lesson-breadcrumb { margin-bottom: 30px; color: #c0c3c9; font-size: 12px; font-weight: 550; }
.eoacs-course-page .eoacs-lesson-breadcrumb a, .eoacs-preview-page .eoacs-lesson-breadcrumb a { color: #e2e3e5; }
.eoacs-course-page .eoacs-lesson-breadcrumb a:hover, .eoacs-preview-page .eoacs-lesson-breadcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.eoacs-course-page .eoacs-classroom-intro, .eoacs-preview-page .eoacs-classroom-intro { min-height: 0; margin-bottom: 27px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.eoacs-course-page .eoacs-classroom-intro::before, .eoacs-preview-page .eoacs-classroom-intro::before { display: none; }
.eoacs-course-page .eoacs-classroom-intro h1, .eoacs-preview-page .eoacs-classroom-intro h1 { max-width: 26ch; font-size: clamp(36px, 3.7vw, 58px); font-weight: 760; line-height: 1.08; letter-spacing: -.05em; }
.eoacs-course-page .eoacs-classroom-intro p:last-child:not(.eoacs-kicker), .eoacs-preview-page .eoacs-classroom-intro p:last-child:not(.eoacs-kicker) { margin-top: 10px; color: var(--campus-muted); font-size: 15px; font-weight: 500; }
.eoacs-course-page .eoacs-classroom-intro p.eoacs-kicker:last-child, .eoacs-preview-page .eoacs-classroom-intro p.eoacs-kicker:last-child { color: var(--campus-red-soft); font-size: 11px; font-weight: 750; }
.eoacs-course-page .eoacs-intro-progress, .eoacs-preview-page .eoacs-intro-progress { border-left-color: var(--campus-line); }
.eoacs-course-page .eoacs-intro-progress strong, .eoacs-preview-page .eoacs-intro-progress strong { color: var(--campus-red-soft); font-size: 27px; font-weight: 720; }
.eoacs-course-page .eoacs-intro-progress span, .eoacs-preview-page .eoacs-intro-progress span { color: var(--campus-muted); font-size: 12px; font-weight: 500; }
.eoacs-course-page .eoacs-player-shell, .eoacs-preview-page .eoacs-player-shell { border: 1px solid #46494e; border-radius: 12px; box-shadow: 0 16px 35px rgba(0,0,0,.18); }
.eoacs-course-page .eoacs-player-placeholder, .eoacs-preview-page .eoacs-player-placeholder { background: radial-gradient(circle at 50% 45%, #33363c, #1b1d21 60%, #111214); }
.eoacs-course-page .eoacs-player-placeholder > span, .eoacs-preview-page .eoacs-player-placeholder > span { border-color: #666970; color: #ff9ca9; }
.eoacs-course-page .eoacs-player-placeholder strong, .eoacs-preview-page .eoacs-player-placeholder strong { font-family: var(--campus-font); font-size: clamp(19px, 2.4vw, 29px); font-weight: 700; }
.eoacs-course-page .eoacs-player-placeholder small, .eoacs-preview-page .eoacs-player-placeholder small { color: #c4c7cd; font-size: 13px; }
.eoacs-course-page .eoacs-lesson-content, .eoacs-preview-page .eoacs-lesson-content { margin-top: 27px; padding: clamp(25px, 3vw, 38px); border: 1px solid var(--campus-line); border-radius: 13px; background: var(--campus-surface); box-shadow: none; }
.eoacs-course-page .eoacs-lesson-heading, .eoacs-preview-page .eoacs-lesson-heading { padding-bottom: 18px; border-color: var(--campus-line); }
.eoacs-course-page .eoacs-lesson-heading h2, .eoacs-preview-page .eoacs-lesson-heading h2 { color: var(--campus-text); font-size: 23px; font-weight: 700; letter-spacing: -.035em; }
.eoacs-course-page .eoacs-lesson-copy, .eoacs-preview-page .eoacs-lesson-copy { max-width: 74ch; color: #e0e1e4; font-size: 15px; font-weight: 450; line-height: 1.75; }
.eoacs-course-page .eoacs-materials, .eoacs-preview-page .eoacs-materials { margin-top: 30px; padding: 26px 0 0; border: 0; border-top: 1px solid var(--campus-line); border-radius: 0; background: transparent; }
.eoacs-course-page .eoacs-materials h2, .eoacs-preview-page .eoacs-materials h2 { color: var(--campus-text); font-size: 21px; font-weight: 700; }
.eoacs-course-page .eoacs-materials-intro, .eoacs-preview-page .eoacs-materials-intro { max-width: 65ch; color: var(--campus-muted); font-size: 13px; font-weight: 450; }
.eoacs-course-page .eoacs-material-list a, .eoacs-preview-page .eoacs-material-list a { min-height: 96px; padding: 17px; border: 1px solid #494c52; border-radius: 9px; background: var(--campus-raised); box-shadow: none; }
.eoacs-course-page .eoacs-material-list a:hover, .eoacs-preview-page .eoacs-material-list a:hover { border-color: #ff8d9b; background: #33363b; transform: none; }
.eoacs-course-page .eoacs-material-list strong, .eoacs-preview-page .eoacs-material-list strong { color: var(--campus-text); font-size: 14px; font-weight: 650; }
.eoacs-course-page .eoacs-material-meta small, .eoacs-preview-page .eoacs-material-meta small { color: var(--campus-muted); font-size: 12px; font-weight: 450; }
.eoacs-course-page .eoacs-material-meta em, .eoacs-preview-page .eoacs-material-meta em { color: #ff9ca9; font-size: 12px; font-weight: 700; }
.eoacs-course-page .eoacs-lesson-navigation, .eoacs-preview-page .eoacs-lesson-navigation { margin-top: 22px; border-color: var(--campus-line); background: var(--campus-surface); }
.eoacs-course-page .eoacs-secondary-button, .eoacs-preview-page .eoacs-secondary-button { min-height: 44px; border-color: var(--campus-red); border-radius: 8px; background: var(--campus-red); color: #fff !important; box-shadow: none; font-size: 13px !important; font-weight: 700 !important; }
.eoacs-course-page .eoacs-secondary-button:hover, .eoacs-preview-page .eoacs-secondary-button:hover { border-color: var(--campus-red-hover); background: var(--campus-red-hover); transform: translateY(-1px); }
.eoacs-course-page .eoacs-curriculum, .eoacs-preview-page .eoacs-curriculum { border-left: 1px solid var(--campus-line); border-right: 0; background: #1b1d20; }
.eoacs-course-page .eoacs-curriculum-heading, .eoacs-preview-page .eoacs-curriculum-heading { padding: 27px 21px; border-bottom-color: var(--campus-line); background: #222428; }
.eoacs-course-page .eoacs-curriculum-heading h2, .eoacs-preview-page .eoacs-curriculum-heading h2 { color: var(--campus-text); font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.eoacs-course-page .eoacs-course-progress, .eoacs-preview-page .eoacs-course-progress { border-color: #494c52; border-radius: 9px; background: #2b2e32; }
.eoacs-course-page .eoacs-module-group, .eoacs-preview-page .eoacs-module-group { border-color: var(--campus-line); }
.eoacs-course-page .eoacs-module-button, .eoacs-preview-page .eoacs-module-button { min-height: 86px; padding: 15px 18px; background: #1b1d20; }
.eoacs-course-page .eoacs-module-button:hover, .eoacs-preview-page .eoacs-module-button:hover,
.eoacs-course-page .eoacs-module-group.is-open .eoacs-module-button, .eoacs-preview-page .eoacs-module-group.is-open .eoacs-module-button { background: #292c30; }
.eoacs-course-page .eoacs-module-button strong, .eoacs-preview-page .eoacs-module-button strong { color: var(--campus-text); font-size: 13px; font-weight: 680; line-height: 1.38; }
.eoacs-course-page .eoacs-module-button small, .eoacs-preview-page .eoacs-module-button small { color: #ff9ca9; font-size: 10px; font-weight: 750; }
.eoacs-course-page .eoacs-module-lessons, .eoacs-preview-page .eoacs-module-lessons { padding: 7px 10px 13px; background: #222428; }
.eoacs-course-page .eoacs-module-lessons a, .eoacs-preview-page .eoacs-module-lessons a { border-radius: 7px; }
.eoacs-course-page .eoacs-module-lessons a.is-current, .eoacs-preview-page .eoacs-module-lessons a.is-current { border-color: #ba5060; background: #40252d; }

/* El perfil sigue el mismo lenguaje, con campos y acciones calmados. */
.eoacs-profile-page .eoacs-profile-shell { width: min(100% - 48px, 1160px); padding-top: 46px; }
.eoacs-profile-page .eoacs-profile-intro h1 { font-size: clamp(38px, 4vw, 55px); font-weight: 760; }
.eoacs-profile-page .eoacs-profile-intro > p:last-child { color: var(--campus-muted); font-size: 15px; font-weight: 450; }
.eoacs-profile-page .eoacs-profile-card { border-color: var(--campus-line); background: var(--campus-surface); }
.eoacs-profile-page .eoacs-profile-card h2 { font-size: 22px; font-weight: 700; }
.eoacs-profile-page .eoacs-profile-card > p:not(.eoacs-kicker) { color: var(--campus-muted); font-weight: 450; }
.eoacs-profile-page .eoacs-profile-identity { border-color: #45484e; background: var(--campus-raised); }
.eoacs-profile-page .eoacs-profile-fields input { border-color: #848991; background: #17191c; }
.eoacs-profile-page .eoacs-profile-submit { border-color: var(--campus-red); background: var(--campus-red); }
.eoacs-profile-page .eoacs-profile-submit:hover { border-color: var(--campus-red-hover); background: var(--campus-red-hover); }
.eoacs-profile-page .eoacs-profile-submit-secondary { border-color: #747880; background: #383b40; }
.eoacs-profile-page .eoacs-profile-submit-secondary:hover { background: #4b4f55; }
.eoacs-profile-page .eoacs-password-details summary { border-color: #a94857; background: #3a272d; }
.eoacs-profile-page .eoacs-password-details summary:hover { background: #4b2c34; }

/* Menús, paneles flotantes y estados interactivos comparten el mismo acabado. */
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) .eoacs-account-menu {
	width: 236px; padding: 8px; border: 1px solid #555960; border-radius: 11px;
	background: #26292d; box-shadow: 0 20px 45px rgba(0,0,0,.34);
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) .eoacs-account-menu a {
	padding: 11px 12px; border-radius: 7px; color: var(--campus-text); font-size: 13px; font-weight: 600;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) .eoacs-account-menu a:hover { background: #3b3f45; color: #fff; }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) .eoacs-sidebar-toggle:hover,
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) .eoacs-sidebar-toggle[aria-expanded="true"] { border-color: #5d6169; background: #303338; }
.eoacs-preview-page .eoacs-preview-buy-button:not(.is-disabled) { border-color: var(--campus-red); background: var(--campus-red); box-shadow: none; }
.eoacs-preview-page .eoacs-preview-buy-button:not(.is-disabled):hover { border-color: var(--campus-red-hover); background: var(--campus-red-hover); }
.eoacs-preview-page .eoacs-preview-buy-button.is-disabled { border-color: #696d74; background: #36393e; color: #f2f2f3; }
.eoacs-preview-page .eoacs-preview-buy-button.is-disabled small { color: #e4d9db; }

@media (max-width: 1050px) {
	.eoacs-library-page .eoacs-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eoacs-course-page .eoacs-course-layout, .eoacs-preview-page .eoacs-course-layout { grid-template-columns: minmax(0, 1fr) 305px; }
}
@media (max-width: 782px) {
	.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) .eoacs-classroom-header { height: 64px; }
	.eoacs-course-page .eoacs-course-layout, .eoacs-preview-page .eoacs-course-layout { display: block; }
	.eoacs-course-page .eoacs-lesson-main, .eoacs-preview-page .eoacs-lesson-main { padding: 24px 16px 54px; }
	.eoacs-course-page .eoacs-lesson-breadcrumb, .eoacs-preview-page .eoacs-lesson-breadcrumb { margin-bottom: 22px; }
	.eoacs-course-page .eoacs-classroom-intro, .eoacs-preview-page .eoacs-classroom-intro { gap: 14px; margin-bottom: 22px; }
	.eoacs-course-page .eoacs-classroom-intro h1, .eoacs-preview-page .eoacs-classroom-intro h1 { font-size: clamp(32px, 8vw, 42px); }
	.eoacs-course-page .eoacs-curriculum, .eoacs-preview-page .eoacs-curriculum { border-left: 0; border-right: 1px solid var(--campus-line); }
	.eoacs-library-page .eoacs-library-shell { width: min(100% - 32px, 700px); padding-top: 42px; }
	.eoacs-library-page .eoacs-library-intro { align-items: flex-start; gap: 24px; }
	.eoacs-library-page .eoacs-library-stat { width: auto; min-width: 150px; }
	.eoacs-library-page .eoacs-library-grid { grid-template-columns: 1fr; }
	.eoacs-profile-page .eoacs-profile-shell { width: min(100% - 32px, 700px); padding-top: 30px; }
	.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) .eoacs-drawer-close,
	.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page, .eoacs-profile-page) .eoacs-mobile-nav-close { border-color: #696d75; background: #303338; color: #fff; }
	.eoacs-classroom:is(.eoacs-library-page, .eoacs-profile-page) .eoacs-mobile-nav { border-color: var(--campus-line); background: #202225; }
	.eoacs-classroom:is(.eoacs-library-page, .eoacs-profile-page) .eoacs-mobile-nav nav a { border-color: #4b4f55; background: #292c30; color: #f4f4f5; font-weight: 600; }
	.eoacs-classroom:is(.eoacs-library-page, .eoacs-profile-page) .eoacs-mobile-nav nav a:hover,
	.eoacs-classroom:is(.eoacs-library-page, .eoacs-profile-page) .eoacs-mobile-nav nav a.is-current { border-color: #dc6877; background: #3a292f; }
}
@media (max-width: 520px) {
	.eoacs-course-page .eoacs-classroom-intro, .eoacs-preview-page .eoacs-classroom-intro { align-items: flex-start; flex-direction: column; }
	.eoacs-course-page .eoacs-intro-progress, .eoacs-preview-page .eoacs-intro-progress { padding-left: 0; border-left: 0; }
	.eoacs-course-page .eoacs-lesson-content, .eoacs-preview-page .eoacs-lesson-content { padding: 21px 18px; }
	.eoacs-course-page .eoacs-materials, .eoacs-preview-page .eoacs-materials { padding-top: 22px; }
	.eoacs-library-page .eoacs-library-intro h1 { font-size: 43px; }
}

/* Aula clara: lectura sobre superficies luminosas, navegación y reproductor oscuros. */
body.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page) {
	--campus-bg: #f8f7f4;
	--campus-surface: #fff;
	--campus-raised: #f7f7f5;
	--campus-line: #e5e3df;
	--campus-text: #242528;
	--campus-muted: #61656b;
	--campus-red-soft: #aa3445;
	background: var(--campus-bg) !important;
	color: var(--campus-text);
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page) .eoacs-account-trigger,
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page, .eoacs-library-page) .eoacs-account-menu a { color: #f4f4f5; }
.eoacs-library-page .eoacs-library-intro h1,
.eoacs-library-page .eoacs-library-empty h2 { color: #242528; }
.eoacs-library-page .eoacs-library-intro p:not(.eoacs-kicker),
.eoacs-library-page .eoacs-library-stat span,
.eoacs-library-page .eoacs-library-card-body > .eoacs-library-subtitle,
.eoacs-library-page .eoacs-library-empty p { color: #61656b; }
.eoacs-library-page .eoacs-library-intro .eoacs-kicker,
.eoacs-library-page .eoacs-library-card-body > p:not(.eoacs-library-subtitle) { color: #a93747; }
.eoacs-library-page .eoacs-library-stat,
.eoacs-library-page .eoacs-library-card,
.eoacs-library-page .eoacs-library-empty { border-color: #e5e3df; background: #fff; box-shadow: 0 12px 32px rgba(31,33,39,.05); }
.eoacs-library-page .eoacs-library-card:hover { border-color: #c9c6c0; box-shadow: 0 18px 36px rgba(31,33,39,.1); }
.eoacs-library-page .eoacs-library-stat strong,
.eoacs-library-page .eoacs-library-card-body h2,
.eoacs-library-page .eoacs-progress-row b { color: #242528; }
.eoacs-library-page .eoacs-progress-row > span { background: #e7e8e5; }
.eoacs-course-page .eoacs-lesson-main,
.eoacs-preview-page .eoacs-lesson-main { background: var(--campus-bg); }
.eoacs-course-page .eoacs-lesson-breadcrumb,
.eoacs-preview-page .eoacs-lesson-breadcrumb,
.eoacs-course-page .eoacs-lesson-breadcrumb a,
.eoacs-preview-page .eoacs-lesson-breadcrumb a { color: #626870; }
.eoacs-course-page .eoacs-lesson-breadcrumb a:hover,
.eoacs-preview-page .eoacs-lesson-breadcrumb a:hover { color: #a93747; }
.eoacs-course-page .eoacs-classroom-intro h1,
.eoacs-preview-page .eoacs-classroom-intro h1 { color: #242528; }
.eoacs-course-page .eoacs-classroom-intro p:last-child:not(.eoacs-kicker),
.eoacs-preview-page .eoacs-classroom-intro p:last-child:not(.eoacs-kicker),
.eoacs-course-page .eoacs-intro-progress span,
.eoacs-preview-page .eoacs-intro-progress span { color: #61656b; }
.eoacs-course-page .eoacs-classroom-intro .eoacs-kicker,
.eoacs-preview-page .eoacs-classroom-intro .eoacs-kicker,
.eoacs-course-page .eoacs-lesson-heading .eoacs-kicker,
.eoacs-preview-page .eoacs-lesson-heading .eoacs-kicker,
.eoacs-course-page .eoacs-materials .eoacs-kicker,
.eoacs-preview-page .eoacs-materials .eoacs-kicker { color: #aa3445; }
.eoacs-course-page .eoacs-intro-progress strong,
.eoacs-preview-page .eoacs-intro-progress strong { color: #a93747; }
.eoacs-course-page .eoacs-lesson-content,
.eoacs-preview-page .eoacs-lesson-content,
.eoacs-course-page .eoacs-lesson-navigation,
.eoacs-preview-page .eoacs-lesson-navigation { border-color: #e5e3df; background: #fff; }
.eoacs-course-page .eoacs-lesson-copy,
.eoacs-preview-page .eoacs-lesson-copy,
.eoacs-course-page .eoacs-lesson-copy :is(p, li),
.eoacs-preview-page .eoacs-lesson-copy :is(p, li) { color: #404349; }
.eoacs-course-page .eoacs-lesson-empty-copy,
.eoacs-preview-page .eoacs-lesson-empty-copy { color: #61656b; }
.eoacs-course-page .eoacs-material-list a,
.eoacs-preview-page .eoacs-material-list a { border-color: #e1e2df; background: #f8f8f6; }
.eoacs-course-page .eoacs-material-list a:hover,
.eoacs-preview-page .eoacs-material-list a:hover { border-color: #b65b69; background: #fff7f8; }
.eoacs-course-page .eoacs-material-list a > span:first-child,
.eoacs-preview-page .eoacs-material-list a > span:first-child { background: #f9e8eb; color: #aa3445; }
.eoacs-course-page .eoacs-material-meta em,
.eoacs-preview-page .eoacs-material-meta em { color: #a93747; }
.eoacs-course-page .eoacs-material-list .eoacs-material-category { color: #a93747; }
.eoacs-course-page .eoacs-material-list a:hover .eoacs-material-meta em,
.eoacs-preview-page .eoacs-material-list a:hover .eoacs-material-meta em { color: #8e2939; }
.eoacs-course-page .eoacs-nav-lesson strong,
.eoacs-preview-page .eoacs-nav-lesson strong { color: #303136; }
.eoacs-course-page .eoacs-nav-lesson:hover strong,
.eoacs-preview-page .eoacs-nav-lesson:hover strong { color: #aa3445; }
.eoacs-course-page .eoacs-nav-lesson small,
.eoacs-preview-page .eoacs-nav-lesson small { color: #a93747; }
.eoacs-course-page .eoacs-complete-badge,
.eoacs-preview-page .eoacs-preview-badge { background: #f8e8eb; color: #9f3142; }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-player-shell { border-color: #303237; background: #111316; box-shadow: 0 20px 40px rgba(22,24,28,.14); }

/* El temario contiene solo el regreso y los módulos; cada lección lleva su miniatura. */
.eoacs-course-page .eoacs-curriculum-heading,
.eoacs-preview-page .eoacs-curriculum-heading { padding: 16px 19px; background: #202225; }
.eoacs-course-page .eoacs-curriculum-heading > a,
.eoacs-preview-page .eoacs-curriculum-heading > a { margin: 0; color: #f0f0f1; font-size: 13px; font-weight: 650; }
.eoacs-course-page .eoacs-curriculum-heading > a:hover,
.eoacs-preview-page .eoacs-curriculum-heading > a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.eoacs-course-page .eoacs-module-button strong,
.eoacs-preview-page .eoacs-module-button strong { color: #f0f1f3; }
.eoacs-course-page .eoacs-module-group,
.eoacs-preview-page .eoacs-module-group { border-color: #36393e; }
.eoacs-course-page .eoacs-module-lessons a,
.eoacs-preview-page .eoacs-module-lessons a,
.eoacs-preview-page .eoacs-preview-locked-lesson { grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 11px; padding: 9px; }
.eoacs-lesson-thumbnail { position: relative; width: 88px; height: 50px; flex: none; display: block !important; overflow: hidden; border: 1px solid #555960; border-radius: 6px; background: linear-gradient(135deg, #353b45, #11151b); }
.eoacs-lesson-thumbnail img { width: 100%; height: 100%; display: block; object-fit: cover; }
.eoacs-lesson-thumbnail-icon { position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; display: grid; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(12,13,16,.78); color: #fff; font-size: 9px; line-height: 1; box-shadow: 0 1px 6px rgba(0,0,0,.3); }
.eoacs-lesson-thumbnail.is-placeholder::before { content: 'EOACS'; position: absolute; inset: 0; display: grid; place-items: center; color: #b6bdc8; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.eoacs-lesson-thumbnail.is-placeholder .eoacs-lesson-thumbnail-icon { display: none; }
.eoacs-module-lessons .eoacs-lesson-details,
.eoacs-preview-locked-lesson .eoacs-lesson-details { min-width: 0; display: grid; gap: 5px; }
.eoacs-course-page .eoacs-module-lessons a.is-complete .eoacs-lesson-thumbnail::after { content: '✓'; position: absolute; right: 3px; bottom: 3px; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: #2e8b67; color: white; font-size: 11px; font-weight: 800; }
.eoacs-preview-page .eoacs-preview-locked-lesson { color: #d0d2d7; }
.eoacs-preview-page .eoacs-preview-locked-lesson strong { color: #e7e8eb; }
.eoacs-preview-page .eoacs-preview-locked-lesson small { color: #b6bac2; font-size: 11px; }
.eoacs-preview-page .eoacs-preview-locked-lesson .eoacs-lesson-thumbnail img { filter: brightness(.55); }
.eoacs-preview-page .eoacs-preview-locked-lesson .eoacs-lesson-thumbnail-icon { background: #1d2025; }

@media (max-width: 782px) {
	.eoacs-course-page .eoacs-curriculum-heading,
	.eoacs-preview-page .eoacs-curriculum-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
	.eoacs-course-page .eoacs-curriculum-heading > a,
	.eoacs-preview-page .eoacs-curriculum-heading > a { order: -1; }
}

/* Aula 1.15: temario claro, pestañas y consulta de PDF en una ventana propia. */
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-curriculum {
	border-color: #e7e6e3; background: #fbfbfa;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-curriculum-heading {
	border-bottom-color: #e7e6e3; background: #fff;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-curriculum-heading > a {
	color: #34363a; font-weight: 650; text-decoration: none;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-curriculum-heading > a:hover {
	color: #a93747; text-decoration: none;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-module-group { border-color: #e7e6e3; }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-module-button {
	background: transparent; color: #27292d;
	transition: background-color .18s ease, box-shadow .18s ease;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-module-button:hover {
	background: #f2f2f0; box-shadow: none;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-module-group.is-open .eoacs-module-button {
	background: #f7f4f2; box-shadow: inset 2px 0 0 #aa3445;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-module-button strong,
.eoacs-preview-page .eoacs-module-group.is-locked .eoacs-module-button strong { color: #27292d; }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-module-button small { color: #9f3445; }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-module-button b { color: #6c7076; }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-module-lessons {
	background: #fff; border-top: 1px solid #e7e6e3;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-module-lessons a,
.eoacs-preview-page .eoacs-preview-locked-lesson {
	color: #3c3f44; border: 1px solid transparent; transition: background-color .18s ease;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-module-lessons a:hover {
	background: #f3f3f1; border-color: transparent; color: #242528; transform: none;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-module-lessons a.is-current {
	background: #f8f4f3; border-color: transparent; box-shadow: inset 2px 0 0 #aa3445;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-module-lessons strong,
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-module-lessons a.is-current strong,
.eoacs-preview-page .eoacs-preview-locked-lesson strong { color: #27292d; }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-module-lessons small,
.eoacs-preview-page .eoacs-preview-locked-lesson small { color: #676b71; }
.eoacs-preview-page .eoacs-module-group.is-locked .eoacs-module-button:hover { background: #f2f2f0; }
.eoacs-preview-page .eoacs-preview-locked-lesson { color: #676b71; }
.eoacs-preview-page .eoacs-preview-lock { color: #777c83; }

.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-lesson-tabbed {
	display: block; padding: 0 25px 24px; background: #fff;
}
.eoacs-lesson-tabs { display: flex; gap: 28px; border-bottom: 1px solid #e7e6e3; }
.eoacs-classroom .eoacs-lesson-tab {
	position: relative; min-height: 58px; padding: 16px 0; border: 0; border-radius: 0;
	background: none; color: #64686e; text-align: left; font-size: 14px; font-weight: 650;
	cursor: pointer; transition: color .18s ease;
}
.eoacs-classroom .eoacs-lesson-tab:hover,
.eoacs-classroom .eoacs-lesson-tab.is-active { color: #242528; background: none; }
.eoacs-classroom .eoacs-lesson-tab.is-active::after {
	content: ''; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #aa3445;
}
.eoacs-classroom .eoacs-lesson-tab span { color: #8b8e93; }
.eoacs-lesson-panel[hidden] { display: none !important; }
.eoacs-lesson-panel { padding-top: 22px; }
.eoacs-lesson-panel-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-lesson-tabbed .eoacs-lesson-copy { max-width: 78ch; padding-top: 5px; }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-lesson-tabbed .eoacs-materials {
	margin: 0; padding: 0; border: 0; background: transparent;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-lesson-tabbed .eoacs-materials-intro {
	margin: 0 0 17px; color: #60646a; font-size: 13px;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-lesson-tabbed .eoacs-material-list {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-material-card {
	width: 100%; min-height: 106px; padding: 15px; display: grid; grid-template-columns: 54px minmax(0, 1fr);
	align-items: center; gap: 15px; border: 1px solid #e8e4e1; border-radius: 12px;
	background: #fff; color: #27292d; box-shadow: 0 3px 12px rgba(23, 31, 42, .035); text-align: left; text-decoration: none;
	font: inherit; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-material-card:hover {
	transform: none; border-color: #d9adb4; background: #fff; color: #27292d;
	box-shadow: 0 7px 22px rgba(23, 31, 42, .075);
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-material-card:active { background: #fcf8f8; }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-material-card:focus-visible {
	outline: 2px solid #a93747; outline-offset: 3px;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-material-card .eoacs-material-card-icon {
	width: 54px; height: 74px; display: grid; place-items: center; border-radius: 5px;
	background: #f8e8eb; color: #a93747; font-size: 17px;
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-material-card-cover {
	width: 54px; height: 74px; display: block; object-fit: contain; border-radius: 3px;
	background: #fff; box-shadow: 0 3px 9px rgba(24, 29, 38, .13);
}
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-material-card-copy { min-width: 0; display: grid; justify-items: start; gap: 4px; }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-material-card .eoacs-material-category { color: #a93747; font-size: 10px; font-weight: 800; letter-spacing: .12em; line-height: 1.3; }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-material-card strong { color: #27292d; font-size: 14px; font-weight: 720; line-height: 1.3; }
.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-material-card .eoacs-material-description { color: #6b6e73; font-size: 12px; font-weight: 450; line-height: 1.4; }

@media (max-width: 782px) {
	.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-lesson-tabbed { padding: 0 18px 20px; }
	.eoacs-classroom:is(.eoacs-course-page, .eoacs-preview-page) .eoacs-lesson-tabbed .eoacs-material-list { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
	.eoacs-lesson-tabs { gap: 18px; }
	.eoacs-classroom .eoacs-lesson-tab { font-size: 12px; }
}

/* Preferencia del alumno: claro por defecto, oscuro a petición. */
.eoacs-profile-page .eoacs-profile-grid { grid-template-areas: "details security" "details appearance"; }
.eoacs-profile-page .eoacs-profile-grid > .eoacs-profile-card:first-child { grid-area: details; }
.eoacs-profile-page .eoacs-security-card { grid-area: security; }
.eoacs-profile-page .eoacs-appearance-card { grid-area: appearance; }
.eoacs-appearance-options { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.eoacs-appearance-options legend { margin-bottom: 12px; color: var(--campus-muted); font-size: 12px; font-weight: 700; }
.eoacs-appearance-option { display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--campus-line); border-radius: 9px; background: var(--campus-raised); cursor: pointer; transition: border-color .18s ease, background-color .18s ease; }
.eoacs-appearance-option:has(input:checked) { border-color: #aa3445; background: #fdf3f4; }
.eoacs-appearance-option input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: #aa3445; }
.eoacs-appearance-option span { display: grid; gap: 3px; }
.eoacs-appearance-option strong { color: var(--campus-text); font-size: 14px; font-weight: 700; }
.eoacs-appearance-option small { color: var(--campus-muted); font-size: 12px; line-height: 1.4; }

body.eoacs-classroom.eoacs-profile-page.eoacs-theme-light {
	--campus-bg: #f8f7f4; --campus-surface: #fff; --campus-raised: #f7f7f5;
	--campus-line: #e5e3df; --campus-text: #242528; --campus-muted: #61656b;
	--campus-red-soft: #aa3445; background: var(--campus-bg); color: var(--campus-text);
}
.eoacs-profile-page.eoacs-theme-light .eoacs-profile-back { color: #555b62 !important; }
.eoacs-profile-page.eoacs-theme-light .eoacs-profile-back:hover { color: #a93747 !important; }
.eoacs-profile-page.eoacs-theme-light .eoacs-profile-card { border-color: var(--campus-line); background: var(--campus-surface); box-shadow: 0 12px 32px rgba(31,33,39,.04); }
.eoacs-profile-page.eoacs-theme-light .eoacs-profile-card h2,
.eoacs-profile-page.eoacs-theme-light .eoacs-profile-identity strong { color: var(--campus-text); }
.eoacs-profile-page.eoacs-theme-light .eoacs-profile-identity { border-color: var(--campus-line); background: var(--campus-raised); }
.eoacs-profile-page.eoacs-theme-light .eoacs-profile-identity small,
.eoacs-profile-page.eoacs-theme-light .eoacs-password-panel > p { color: var(--campus-muted); }
.eoacs-profile-page.eoacs-theme-light .eoacs-profile-fields label { color: #36393e; }
.eoacs-profile-page.eoacs-theme-light .eoacs-profile-fields input { border-color: #c6c8c8; background: #fff; color: #242528; }
.eoacs-profile-page.eoacs-theme-light .eoacs-profile-fields input:focus { border-color: #aa3445; }
.eoacs-profile-page.eoacs-theme-light .eoacs-profile-submit-secondary { border-color: #d0d2d3; background: #f5f5f3; color: #303238; }
.eoacs-profile-page.eoacs-theme-light .eoacs-profile-submit-secondary:hover { background: #e9e9e6; }
.eoacs-profile-page.eoacs-theme-light .eoacs-password-details summary { border-color: #e6d5d8; background: #fbf2f3; color: #8f2b3c; }
.eoacs-profile-page.eoacs-theme-light .eoacs-password-details summary:hover { background: #f7e8eb; }
.eoacs-profile-page.eoacs-theme-light .eoacs-password-details summary span { color: #a93747; }
.eoacs-profile-page.eoacs-theme-light .eoacs-password-recovery { color: #9d2e3f !important; }
.eoacs-profile-page.eoacs-theme-light .eoacs-profile-notice { border-color: #e9c4cb; background: #fdf0f2; color: #752437; }
.eoacs-profile-page.eoacs-theme-light .eoacs-security-card > .eoacs-kicker { color: #aa3445; }
.eoacs-classroom.eoacs-profile-page.eoacs-theme-light .eoacs-account-trigger,
.eoacs-classroom.eoacs-profile-page.eoacs-theme-light .eoacs-account-menu a { color: #f4f4f5; }
.eoacs-profile-page.eoacs-theme-light .eoacs-appearance-option:has(input:checked) { background: #fdf3f4; }

body.eoacs-classroom.eoacs-theme-dark:is(.eoacs-course-page, .eoacs-library-page, .eoacs-profile-page) {
	--campus-bg: #181a1e; --campus-surface: #24272b; --campus-raised: #2c3035;
	--campus-line: #41454b; --campus-text: #f3f4f5; --campus-muted: #bfc3ca;
	--campus-red-soft: #ff9aa8; background: var(--campus-bg) !important; color: var(--campus-text);
}
.eoacs-theme-dark.eoacs-library-page .eoacs-library-intro h1,
.eoacs-theme-dark.eoacs-library-page .eoacs-library-empty h2,
.eoacs-theme-dark.eoacs-library-page .eoacs-library-stat strong,
.eoacs-theme-dark.eoacs-library-page .eoacs-library-card-body h2,
.eoacs-theme-dark.eoacs-library-page .eoacs-progress-row b { color: var(--campus-text); }
.eoacs-theme-dark.eoacs-library-page .eoacs-library-intro p:not(.eoacs-kicker),
.eoacs-theme-dark.eoacs-library-page .eoacs-library-stat span,
.eoacs-theme-dark.eoacs-library-page .eoacs-library-card-body > .eoacs-library-subtitle,
.eoacs-theme-dark.eoacs-library-page .eoacs-library-empty p { color: var(--campus-muted); }
.eoacs-theme-dark.eoacs-library-page .eoacs-library-stat,
.eoacs-theme-dark.eoacs-library-page .eoacs-library-card,
.eoacs-theme-dark.eoacs-library-page .eoacs-library-empty { border-color: var(--campus-line); background: var(--campus-surface); }
.eoacs-theme-dark.eoacs-library-page .eoacs-progress-row > span { background: #474b51; }
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-main { background: var(--campus-bg); }
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-breadcrumb,
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-breadcrumb a { color: #c2c6cd; }
.eoacs-theme-dark.eoacs-course-page .eoacs-classroom-intro h1 { color: var(--campus-text); }
.eoacs-theme-dark.eoacs-course-page .eoacs-classroom-intro p:last-child:not(.eoacs-kicker),
.eoacs-theme-dark.eoacs-course-page .eoacs-intro-progress span { color: var(--campus-muted); }
.eoacs-theme-dark.eoacs-course-page .eoacs-intro-progress strong,
.eoacs-theme-dark.eoacs-course-page .eoacs-classroom-intro .eoacs-kicker { color: var(--campus-red-soft); }
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-content,
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-navigation { border-color: var(--campus-line); background: var(--campus-surface); }
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-copy,
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-copy :is(p, li) { color: #e0e2e5; }
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-heading h2,
.eoacs-theme-dark.eoacs-course-page .eoacs-materials h2,
.eoacs-theme-dark.eoacs-course-page .eoacs-nav-lesson strong { color: var(--campus-text); }
.eoacs-theme-dark.eoacs-course-page .eoacs-nav-lesson small { color: var(--campus-red-soft); }
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-empty-copy,
.eoacs-theme-dark.eoacs-course-page .eoacs-materials-intro { color: var(--campus-muted); }
.eoacs-theme-dark.eoacs-course-page .eoacs-complete-badge { background: #41282f; color: #ffc1ca; }

.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-curriculum { border-color: var(--campus-line); background: #202327; }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-curriculum-heading { border-color: var(--campus-line); background: #292c31; }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-curriculum-heading > a { color: #e2e4e7; }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-module-group { border-color: var(--campus-line); }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-module-button { background: #202327; color: var(--campus-text); }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-module-button:hover { background: #2d3035; }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-module-group.is-open .eoacs-module-button { background: #303036; box-shadow: inset 2px 0 0 #eb697d; }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-module-button strong,
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-module-lessons strong,
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-module-lessons a.is-current strong { color: var(--campus-text); }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-module-button small { color: var(--campus-red-soft); }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-module-button b,
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-module-lessons small { color: #bbc0c7; }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-module-lessons { border-color: var(--campus-line); background: #26292e; }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-module-lessons a { color: #e6e7e9; }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-module-lessons a:hover { background: #34383e; color: #fff; }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-module-lessons a.is-current { background: #3d2a31; box-shadow: inset 2px 0 0 #eb697d; }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-tabbed { background: var(--campus-surface); }
.eoacs-theme-dark .eoacs-lesson-tabs { border-color: var(--campus-line); }
.eoacs-theme-dark .eoacs-lesson-tab { color: #bcc0c7; }
.eoacs-theme-dark .eoacs-lesson-tab:hover,
.eoacs-theme-dark .eoacs-lesson-tab.is-active { color: #fff; }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-tabbed .eoacs-materials-intro { color: var(--campus-muted); }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-material-card { border-color: #4b5057; background: #2e3237; color: var(--campus-text); }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-material-card:hover { border-color: #81868d; background: #363a40; color: #fff; }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-material-card strong { color: var(--campus-text); }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-material-card .eoacs-material-description { color: var(--campus-muted); }
.eoacs-classroom.eoacs-theme-dark.eoacs-course-page .eoacs-material-card .eoacs-material-category { color: #ff9ca9; }
.eoacs-theme-dark.eoacs-profile-page .eoacs-appearance-option:has(input:checked) { background: #3c2a31; border-color: #e26c7d; }
@media (max-width: 782px) {
	.eoacs-profile-page .eoacs-profile-grid { grid-template-areas: "details" "appearance" "security"; }
}

/* Ubicación dentro de cada módulo y navegación compacta entre clases. */
.eoacs-lesson-navigation .eoacs-nav-title {
	display: block; max-width: 34ch; overflow: hidden; color: var(--campus-muted);
	font: 500 12px/1.4 var(--campus-font); text-overflow: ellipsis; white-space: nowrap;
}
.eoacs-nav-next .eoacs-nav-title { margin-left: auto; }
.eoacs-course-page .eoacs-lesson-navigation {
	padding: 0; gap: 12px; border: 0; background: transparent;
}
.eoacs-course-page .eoacs-lesson-navigation > div { width: min(50%, 340px); max-width: none; min-width: 0; }
.eoacs-course-page .eoacs-lesson-navigation .eoacs-next-actions { display: flex; }
.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson {
	width: 100%; min-width: 0; min-height: 88px; padding: 16px 18px;
	border: 1px solid var(--campus-line); border-radius: 10px;
	background: var(--campus-surface); text-decoration: none;
	transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson:hover {
	border-color: #cd9aa3; background: var(--campus-raised); transform: translateY(-2px);
}
.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson:focus-visible {
	outline: 2px solid var(--campus-red); outline-offset: 3px;
}
.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson strong {
	font: 700 14px/1.3 var(--campus-font); letter-spacing: -.015em;
}
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-navigation { background: transparent; }
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson:hover { border-color: #a85b68; }
@media (max-width: 600px) {
	.eoacs-course-page .eoacs-lesson-navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
	.eoacs-course-page .eoacs-lesson-navigation > div { width: 100%; }
	.eoacs-course-page .eoacs-lesson-navigation .eoacs-next-actions { display: block; }
	.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson { min-height: 72px; padding: 12px; gap: 7px; }
	.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson small { font-size: 10px; letter-spacing: .06em; }
	.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson strong { font-size: 12px; line-height: 1.3; }
	.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-title { display: none; }
	.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-next { text-align: right; }
}

/* Navegación de clases: siguiente como acción principal, anterior como opción secundaria. */
.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson {
	border-color: #d9a0aa; border-radius: 12px; background: #fff6f7;
	box-shadow: 0 3px 12px rgba(102, 29, 42, .05); color: #882637;
	transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson small,
.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson strong,
.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson .eoacs-nav-title { color: #882637; }
.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson:hover {
	border-color: #b94d60; background: #fcebed;
	box-shadow: 0 9px 22px rgba(102, 29, 42, .12); transform: translateY(-2px);
}
.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-next {
	border-color: #a9283e; background: #a9283e;
	box-shadow: 0 7px 18px rgba(169, 40, 62, .18); color: #fff;
}
.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-next small,
.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-next strong,
.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-next .eoacs-nav-title { color: #fff; }
.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-next:hover {
	border-color: #8d2033; background: #8d2033;
	box-shadow: 0 12px 26px rgba(141, 32, 51, .25);
}
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson:not(.eoacs-nav-next) {
	border-color: #a55a68; background: #302328;
}
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson:not(.eoacs-nav-next) :is(small, strong, .eoacs-nav-title) { color: #ffe0e5; }
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson:not(.eoacs-nav-next):hover {
	border-color: #d78997; background: #452a33;
}
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-next {
	border-color: #b52e45; background: #b52e45;
}
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-next :is(small, strong, .eoacs-nav-title) { color: #fff; }
.eoacs-theme-dark.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-next:hover {
	border-color: #d34b63; background: #9c2339;
}
@media (prefers-reduced-motion: reduce) {
	.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson,
	.eoacs-course-page .eoacs-lesson-navigation .eoacs-nav-lesson:hover { transition: none; transform: none; }
}

/* Portada del curso: entre Mis cursos y el aula, inspirada en la exploración por módulos. */
body.eoacs-classroom.eoacs-overview-page {
	--campus-bg: #f8f7f4; --campus-surface: #fff; --campus-raised: #f7f7f5;
	--campus-line: #e5e3df; --campus-text: #242528; --campus-muted: #61656b;
	--campus-red: #d73248; --campus-red-hover: #b9253b;
	--campus-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 0; background: var(--campus-bg); color: var(--campus-text);
	font-family: var(--campus-font); -webkit-font-smoothing: antialiased;
}
.eoacs-overview-page .eoacs-classroom-header { height: 70px; background: #101113; border-bottom: 1px solid #303237; box-shadow: none; }
.eoacs-overview-page .eoacs-classroom-brand strong { font-family: var(--campus-font); font-weight: 800; letter-spacing: .045em; }
.eoacs-overview-page .eoacs-account-trigger, .eoacs-overview-page .eoacs-account-menu a { color: #f4f4f5; }
.eoacs-overview-page :is(a, button, input):focus-visible { outline: 2px solid #e46376; outline-offset: 3px; }
.eoacs-overview-shell { width: min(1430px, calc(100% - 64px)); margin: 0 auto; padding: 0 0 95px; }
.eoacs-overview-back { display: inline-flex; align-items: center; min-height: 36px; margin-bottom: 20px; color: #e1e2e4; font-size: 13px; font-weight: 650; transition: color .2s ease; }
.eoacs-overview-back:hover { color: #fff; }
.eoacs-overview-hero { position: relative; isolation: isolate; min-height: 500px; overflow: hidden; background: #17191d; color: #fff; }
.eoacs-overview-hero-art { position: absolute; z-index: -2; inset: 0; overflow: hidden; }
.eoacs-overview-hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 38%; opacity: .52; filter: saturate(.7); }
.eoacs-overview-hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,16,21,.99) 0%, rgba(13,16,21,.94) 37%, rgba(13,16,21,.72) 69%, rgba(13,16,21,.48) 100%); }
.eoacs-overview-hero-inner { width: min(1430px, calc(100% - 64px)); min-height: 500px; margin: 0 auto; padding: 25px 0 44px; display: flex; flex-direction: column; }
.eoacs-overview-hero-layout { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 410px); align-items: center; gap: clamp(42px, 7vw, 120px); }
.eoacs-overview-hero-copy { max-width: 760px; padding: 14px 0 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eoacs-overview-hero .eoacs-kicker { margin: 0 0 16px; color: #ff9aa8; font-size: 11px; font-weight: 750; letter-spacing: .15em; }
.eoacs-overview-hero h1 { max-width: 730px; margin: 0; color: #fff; font: 760 clamp(38px, 4vw, 62px)/1.06 var(--campus-font); letter-spacing: -.045em; }
.eoacs-overview-description { max-width: 62ch; margin: 19px 0 0; color: #e0e1e4; font-size: 15px; line-height: 1.65; }
.eoacs-overview-metrics { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 21px; color: #e3e4e7; font-size: 12px; font-weight: 650; }
.eoacs-overview-metrics span + span::before { content: '·'; margin-right: 18px; color: #ff9aa8; }
.eoacs-overview-hero-progress { width: min(460px, 100%); margin-top: 26px; }
.eoacs-overview-hero-progress > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #f3f3f4; font-size: 12px; }
.eoacs-overview-hero-progress strong { font-weight: 700; }
.eoacs-overview-hero-progress > div span { color: #ff9aa8; font-weight: 800; }
.eoacs-overview-hero-track { height: 5px; display: block; overflow: hidden; margin-top: 10px; border-radius: 99px; background: rgba(255,255,255,.33); }
.eoacs-overview-hero-track i { height: 100%; display: block; border-radius: inherit; background: #e45b6d; }
.eoacs-overview-resume { min-height: 46px; margin-top: 24px; padding: 0 20px; display: inline-flex; align-items: center; gap: 18px; border-radius: 7px; background: #d73248; color: #fff !important; font-size: 13px; font-weight: 750; transition: background .2s ease, transform .2s ease; }
.eoacs-overview-resume:hover { background: #b9253b; transform: translateY(-2px); }
.eoacs-overview-poster { width: 100%; padding: 7px; justify-self: end; border: 1px solid rgba(255,255,255,.32); border-radius: 14px; background: rgba(255,255,255,.09); box-shadow: 0 24px 55px rgba(0,0,0,.4); backdrop-filter: blur(10px); }
.eoacs-overview-poster img { width: 100%; height: auto; aspect-ratio: 16/9; display: block; object-fit: cover; border-radius: 8px; }
.eoacs-overview-curriculum { padding-top: 47px; }
.eoacs-overview-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 22px; margin-bottom: 25px; }
.eoacs-overview-heading .eoacs-kicker { margin: 0 0 8px; color: #a93747; font-size: 11px; font-weight: 750; letter-spacing: .13em; }
.eoacs-overview-heading h2 { margin: 0; font: 760 clamp(28px, 3vw, 39px)/1.15 var(--campus-font); letter-spacing: -.04em; }
.eoacs-overview-heading p:not(.eoacs-kicker) { margin: 9px 0 0; color: var(--campus-muted); font-size: 14px; }
.eoacs-overview-tools { display: flex; align-items: center; gap: 10px; }
.eoacs-overview-search { width: min(260px, 52vw); height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--campus-line); border-radius: 7px; background: var(--campus-surface); color: var(--campus-muted); }
.eoacs-overview-search:focus-within { border-color: #bd6370; }
.eoacs-overview-search input { min-width: 0; width: 100%; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--campus-text); font-size: 13px; }
.eoacs-overview-search input:focus-visible { outline: 0; }
.eoacs-overview-search input::placeholder { color: var(--campus-muted); }
.eoacs-overview-search > span:last-child { font-size: 22px; line-height: 1; }
.eoacs-overview-search .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.eoacs-overview-view-switch { height: 42px; padding: 3px; display: flex; gap: 3px; border: 1px solid var(--campus-line); border-radius: 7px; background: var(--campus-surface); }
.eoacs-overview-view-switch button { width: 36px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--campus-muted); cursor: pointer; font-size: 18px; transition: background .18s ease, color .18s ease; }
.eoacs-overview-view-switch button:hover { background: var(--campus-raised); color: var(--campus-text); }
.eoacs-overview-view-switch button.is-active { background: #292b30; color: #fff; }
.eoacs-overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.eoacs-overview-card { position: relative; min-width: 0; }
.eoacs-overview-card[hidden], .eoacs-overview-no-results[hidden] { display: none !important; }
.eoacs-overview-card-link { height: 100%; display: block; overflow: hidden; border: 1px solid var(--campus-line); border-radius: 11px; background: var(--campus-surface); box-shadow: 0 8px 24px rgba(27,29,34,.05); color: var(--campus-text); transition: transform .24s cubic-bezier(.2,.8,.2,1), box-shadow .24s ease, border-color .24s ease; }
.eoacs-overview-card-link:not(.is-unavailable):hover, .eoacs-overview-card-link:not(.is-unavailable):focus-visible { position: relative; z-index: 2; transform: translateY(-5px) scale(1.015); border-color: #c98b96; box-shadow: 0 21px 46px rgba(24,26,31,.17); }
.eoacs-overview-card-cover { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #202a3b; }
.eoacs-overview-card-cover img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.eoacs-overview-card-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 20px; font-weight: 800; letter-spacing: .15em; }
.eoacs-overview-cover-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,14,18,.75), rgba(12,14,18,.08) 70%); opacity: 0; transition: opacity .25s ease; }
.eoacs-overview-cover-reveal { position: absolute; right: 15px; bottom: 14px; left: 15px; display: flex; justify-content: space-between; align-items: end; gap: 8px; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .24s ease, transform .24s ease; }
.eoacs-overview-cover-reveal small { padding: 6px 8px; border: 1px solid rgba(255,255,255,.58); border-radius: 4px; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.eoacs-overview-cover-reveal strong { font-size: 12px; white-space: nowrap; }
.eoacs-overview-card-link:not(.is-unavailable):is(:hover, :focus-visible) .eoacs-overview-card-cover img { transform: scale(1.045); }
.eoacs-overview-card-link:not(.is-unavailable):is(:hover, :focus-visible) .eoacs-overview-cover-scrim,
.eoacs-overview-card-link:not(.is-unavailable):is(:hover, :focus-visible) .eoacs-overview-cover-reveal { opacity: 1; }
.eoacs-overview-card-link:not(.is-unavailable):is(:hover, :focus-visible) .eoacs-overview-cover-reveal { transform: none; }
.eoacs-overview-card-detail { padding: 18px; }
.eoacs-overview-card-meta { display: flex; justify-content: space-between; gap: 6px; color: #a93747; font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.eoacs-overview-card-meta small { color: var(--campus-muted); font-size: 10px; font-weight: 650; letter-spacing: 0; white-space: nowrap; }
.eoacs-overview-card h3 { min-height: 51px; margin: 11px 0 15px; color: var(--campus-text); font: 720 17px/1.36 var(--campus-font); letter-spacing: -.02em; }
.eoacs-overview-card-progress { display: flex; align-items: center; gap: 9px; }
.eoacs-overview-card-progress > span { height: 4px; flex: 1; overflow: hidden; border-radius: 9px; background: #e7e8e5; }
.eoacs-overview-card-progress i { height: 100%; display: block; border-radius: inherit; background: #c84658; }
.eoacs-overview-card-progress b { color: var(--campus-muted); font-size: 11px; font-weight: 700; }
.eoacs-overview-card-action { min-height: 36px; margin-top: 15px; padding: 0 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--campus-line); border-radius: 6px; color: var(--campus-text); font-size: 12px; font-weight: 750; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.eoacs-overview-card-link:not(.is-unavailable):is(:hover, :focus-visible) .eoacs-overview-card-action { border-color: #b83245; background: #b83245; color: #fff; }
.eoacs-overview-card-link.is-unavailable { opacity: .7; }
.eoacs-overview-empty, .eoacs-overview-no-results { padding: 44px 25px; border: 1px dashed var(--campus-line); border-radius: 9px; background: var(--campus-surface); color: var(--campus-muted); text-align: center; }
.eoacs-overview-empty h3 { margin: 0 0 8px; color: var(--campus-text); }
.eoacs-overview-empty p, .eoacs-overview-no-results { font-size: 14px; }
.eoacs-overview-grid.is-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.eoacs-overview-grid.is-list .eoacs-overview-card-link { display: grid; grid-template-columns: 170px minmax(0, 1fr); }
.eoacs-overview-grid.is-list .eoacs-overview-card-cover { height: 100%; min-height: 156px; aspect-ratio: auto; }
.eoacs-overview-grid.is-list .eoacs-overview-card h3 { min-height: 0; margin-bottom: 13px; }
.eoacs-overview-grid.is-list .eoacs-overview-card-action { margin-top: 12px; }
body.eoacs-classroom.eoacs-overview-page.eoacs-theme-dark { --campus-bg: #181a1e; --campus-surface: #24272b; --campus-raised: #2c3035; --campus-line: #41454b; --campus-text: #f3f4f5; --campus-muted: #bfc3ca; background: var(--campus-bg); color: var(--campus-text); }
.eoacs-overview-page.eoacs-theme-dark .eoacs-overview-card-progress > span { background: #474b51; }
.eoacs-overview-page.eoacs-theme-dark .eoacs-overview-view-switch button.is-active { background: #555a61; }
@media (max-width: 1100px) { .eoacs-overview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .eoacs-overview-grid.is-list { grid-template-columns: 1fr; } }
@media (max-width: 782px) {
	.eoacs-overview-shell { width: min(100% - 32px, 700px); padding-top: 22px; }
	.eoacs-overview-hero, .eoacs-overview-hero-inner { min-height: 0; }
	.eoacs-overview-hero-inner { width: min(100% - 32px, 700px); padding: 19px 0 38px; }
	.eoacs-overview-hero-layout { grid-template-columns: 1fr; gap: 28px; }
	.eoacs-overview-hero-copy { padding: 0; }
	.eoacs-overview-poster { max-width: 500px; justify-self: start; }
	.eoacs-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.eoacs-overview-page .eoacs-mobile-nav { visibility: hidden; display: block; position: fixed; z-index: 45; top: 0; bottom: 0; left: 0; width: min(88vw, 350px); padding: 20px; overflow-y: auto; border-right: 1px solid var(--campus-line); background: #202225; box-shadow: 16px 0 44px rgba(0,0,0,.5); transform: translateX(-103%); transition: transform .24s ease, visibility .24s ease; }
	.admin-bar.eoacs-overview-page .eoacs-mobile-nav { top: 46px; }
	.eoacs-overview-page.eoacs-sidebar-open .eoacs-mobile-nav { visibility: visible; transform: translateX(0); }
	.eoacs-overview-page .eoacs-mobile-nav nav a { border-color: #4b4f55; background: #292c30; color: #f4f4f5; font-weight: 600; }
	.eoacs-overview-page .eoacs-mobile-nav-close { border-color: #696d75; background: #303338; color: #fff; }
}
@media (max-width: 560px) {
	.eoacs-overview-hero h1 { font-size: clamp(32px, 9vw, 43px); }
	.eoacs-overview-hero-art img { object-position: 58% center; }
	.eoacs-overview-hero-art::after { background: linear-gradient(90deg, rgba(13,16,21,.94), rgba(13,16,21,.74)); }
	.eoacs-overview-metrics { gap: 8px 15px; }
	.eoacs-overview-metrics span + span::before { margin-right: 15px; }
	.eoacs-overview-heading { align-items: stretch; }
	.eoacs-overview-tools { width: 100%; }
	.eoacs-overview-search { flex: 1; width: auto; }
	.eoacs-overview-grid, .eoacs-overview-grid.is-list { grid-template-columns: 1fr; }
	.eoacs-overview-grid.is-list .eoacs-overview-card-link { grid-template-columns: 35% minmax(0, 1fr); }
	.eoacs-overview-grid.is-list .eoacs-overview-card-cover { min-height: 180px; }
}
@media (hover: none) {
	.eoacs-overview-cover-scrim { opacity: .45; }
	.eoacs-overview-cover-reveal { opacity: 1; transform: none; }
	.eoacs-overview-card-link:not(.is-unavailable):hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.eoacs-overview-card-link, .eoacs-overview-card-cover img, .eoacs-overview-cover-scrim, .eoacs-overview-cover-reveal, .eoacs-overview-resume { transition: none; }
	.eoacs-overview-card-link:not(.is-unavailable):is(:hover, :focus-visible), .eoacs-overview-resume:hover { transform: none; }
}

/* Public course overview keeps the same visual language as the enrolled campus. */
.eoacs-preview-overview-page .eoacs-classroom-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 max(32px, calc((100vw - 1430px)/2)); }
.eoacs-preview-overview-nav { display: flex; align-items: center; gap: 12px; }
.eoacs-preview-overview-nav > a:first-child { color: #e5e5e8; font-size: 12px; font-weight: 700; text-decoration: none; }
.eoacs-preview-overview-nav > a:first-child:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.eoacs-preview-overview-page .eoacs-preview-buy-button { min-height: 46px; padding: 11px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; border: 1px solid #d73248; border-radius: 7px; background: #d73248; color: #fff; font-size: 13px; font-weight: 800; line-height: 1.2; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.eoacs-preview-overview-page .eoacs-preview-buy-button:hover { background: #b9253b; border-color: #b9253b; color: #fff; transform: translateY(-1px); }
.eoacs-preview-overview-page .eoacs-preview-buy-button.is-disabled { border-color: #777b82; background: #42454a; color: #f2f2f3; cursor: not-allowed; }
.eoacs-preview-overview-page .eoacs-preview-buy-button.is-disabled small { color: #f0c4ca; }
.eoacs-preview-overview-page .eoacs-overview-hero-inner { min-height: 545px; }
.eoacs-preview-overview-price { margin: 20px 0 0; color: #dadde1; font-size: 13px; }
.eoacs-preview-overview-price strong { display: inline-block; margin-left: 8px; color: #fff; font-size: 18px; font-weight: 800; }
.eoacs-preview-overview-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.eoacs-preview-account-notice { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 650px; margin-top: 22px; padding: 17px 18px; border: 1px solid rgba(255,255,255,.3); border-left: 3px solid #e34458; border-radius: 8px; background: rgba(12,18,25,.82); box-shadow: 0 12px 32px rgba(0,0,0,.14); }
.eoacs-preview-account-notice strong { display: block; color: #fff; font-size: 15px; font-weight: 780; }
.eoacs-preview-account-notice p { margin: 5px 0 0; color: #e2e5e7; font-size: 12px; line-height: 1.55; }
.eoacs-preview-account-notice a { flex: 0 0 auto; padding: 10px 12px; border: 1px solid rgba(255,255,255,.58); border-radius: 6px; color: #fff; font-size: 12px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.eoacs-preview-account-notice a:hover, .eoacs-preview-account-notice a:focus-visible { border-color: #fff; background: #fff; color: #19212a; }
@media (max-width: 650px) { .eoacs-preview-account-notice { align-items: stretch; flex-direction: column; } .eoacs-preview-account-notice a { align-self: flex-start; } }
.eoacs-preview-overview-sample { min-height: 46px; padding: 11px 18px; display: inline-flex; align-items: center; gap: 14px; border: 1px solid rgba(255,255,255,.58); border-radius: 7px; color: #fff; font-size: 13px; font-weight: 750; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.eoacs-preview-overview-sample:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.eoacs-preview-overview-page .eoacs-overview-card.is-locked .eoacs-overview-card-cover img { filter: saturate(.75); }
.eoacs-preview-overview-page .eoacs-overview-card.is-locked .eoacs-overview-cover-scrim { opacity: .22; }
.eoacs-preview-overview-page .eoacs-overview-card.is-locked .eoacs-overview-card-meta small { color: #777b82; font-weight: 800; letter-spacing: .08em; }
.eoacs-preview-overview-page .eoacs-overview-card.is-sample .eoacs-overview-card-meta small { color: #a93747; font-weight: 800; letter-spacing: .08em; }
.eoacs-preview-overview-lock { position: absolute; top: 13px; right: 13px; width: 31px; height: 31px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(15,17,21,.72); backdrop-filter: blur(6px); }
.eoacs-preview-overview-lock::before { content: ''; position: absolute; top: 6px; left: 50%; width: 11px; height: 9px; box-sizing: border-box; transform: translateX(-50%); border: 2px solid #fff; border-bottom: 0; border-radius: 6px 6px 0 0; }
.eoacs-preview-overview-lock::after { content: ''; position: absolute; top: 13px; left: 50%; width: 13px; height: 9px; transform: translateX(-50%); border-radius: 2px; background: #fff; }
.eoacs-preview-overview-cta { margin-top: 52px; padding: 34px 38px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid #e5e3e1; border-radius: 13px; background: #fff; }
.eoacs-preview-overview-cta > div { max-width: 660px; }
.eoacs-preview-overview-cta .eoacs-kicker { margin: 0 0 7px; color: #a93747; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.eoacs-preview-overview-cta h2 { margin: 0 0 8px; color: #25272c; font: 760 clamp(24px, 2.8vw, 34px)/1.15 var(--campus-font); letter-spacing: -.035em; }
.eoacs-preview-overview-cta p:last-child { margin: 0; color: #686d73; font-size: 14px; line-height: 1.6; }
.eoacs-preview-overview-page .eoacs-preview-course-card { margin: 42px 0 0; }
.eoacs-preview-course-card { display: flex; align-items: center; gap: 18px; padding: 12px 14px; border: 1px solid #e5e5e2; border-radius: 12px; background: #fff; }
.eoacs-preview-course-card-cover { width: 96px; height: 68px; flex: 0 0 96px; overflow: hidden; border-radius: 7px; background: #edeae6; }
.eoacs-preview-course-card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.eoacs-preview-course-card-copy { min-width: 0; flex: 1; }
.eoacs-preview-course-card-copy .eoacs-kicker { margin: 0 0 3px; color: #a93649; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.eoacs-preview-course-card-copy h2 { margin: 0 0 2px; color: #242a2e; font: 750 16px/1.3 var(--campus-font); letter-spacing: -.025em; }
.eoacs-preview-course-card-copy > p:not(.eoacs-kicker) { margin: 0; color: #687077; font-size: 12px; line-height: 1.4; }
.eoacs-preview-course-card-buy, .eoacs-preview-invite-buy { min-height: 42px; padding: 10px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; border: 1px solid #137e60; border-radius: 7px; background: #168566; color: #fff !important; font: 750 13px/1.2 var(--campus-font); text-decoration: none; white-space: nowrap; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.eoacs-preview-course-card-buy:hover, .eoacs-preview-invite-buy:hover { border-color: #0d654b; background: #0d6f53; color: #fff !important; transform: translateY(-1px); }
.eoacs-preview-course-card-buy:focus-visible, .eoacs-preview-invite-buy:focus-visible { outline: 3px solid #9de2c6; outline-offset: 3px; }
.eoacs-preview-invite[hidden] { display: none !important; }
.eoacs-preview-invite { position: fixed; z-index: 90; right: 22px; bottom: 22px; width: min(292px, calc(100vw - 28px)); overflow: hidden; border: 1px solid #e1e3e1; border-radius: 13px; background: #fff; color: #242a2e; box-shadow: 0 18px 48px rgba(18,25,31,.18); opacity: 0; transform: translateY(16px); transition: opacity .28s ease, transform .28s ease; }
.eoacs-preview-invite.is-visible { opacity: 1; transform: translateY(0); }
.eoacs-preview-invite::before { content: ''; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 3px; background: #d73248; }
.eoacs-preview-invite-cover { display: block; width: 100%; height: 128px; object-fit: cover; background: #e8e7e3; }
.eoacs-preview-invite-close { position: absolute; z-index: 2; top: 11px; right: 11px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(16,22,27,.76); color: #fff; font: 20px/1 var(--campus-font); cursor: pointer; }
.eoacs-preview-invite-close:hover { background: #252a2f; color: #fff; }
.eoacs-preview-invite-copy { padding: 16px 17px 17px; }
.eoacs-preview-invite-eyebrow { display: block; margin-bottom: 5px; color: #ae3045; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.eoacs-preview-invite-copy strong { display: block; color: #22282e; font: 760 19px/1.2 var(--campus-font); letter-spacing: -.03em; }
.eoacs-preview-invite-copy p { margin: 5px 0 15px; color: #697179; font-size: 12px; line-height: 1.45; }
.eoacs-preview-invite-buy { width: 100%; }
@media (max-width: 650px) { .eoacs-preview-course-card { flex-wrap: wrap; gap: 11px; } .eoacs-preview-course-card-cover { width: 68px; height: 55px; flex-basis: 68px; } .eoacs-preview-course-card-copy h2 { font-size: 14px; } .eoacs-preview-course-card-buy { width: 100%; } .eoacs-preview-invite { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: min(290px, calc(100vw - 24px)); } .eoacs-preview-invite-cover { height: 105px; } }
@media (prefers-reduced-motion: reduce) { .eoacs-preview-invite, .eoacs-preview-course-card-buy, .eoacs-preview-invite-buy { transition: none; } }
.eoacs-sample-gate { position: fixed; z-index: 250; inset: 0; display: grid; place-items: center; padding: 18px; overflow-y: auto; background: rgba(10, 17, 24, .72); backdrop-filter: blur(8px); }
.eoacs-sample-gate-card { position: relative; width: min(100%, 520px); margin: auto; padding: clamp(27px, 5vw, 43px); border: 1px solid #e6e5e2; border-radius: 18px; background: #fff; box-shadow: 0 28px 90px rgba(5, 10, 17, .32); color: #252b31; }
.eoacs-sample-gate-close { position: absolute; top: 16px; right: 17px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #f1f1ef; color: #47505a; font-size: 23px; line-height: 1; text-decoration: none; }
.eoacs-sample-gate-close:hover { background: #e9e9e6; color: #1e2730; }
.eoacs-sample-gate-card h2 { max-width: 415px; margin: 8px 0 11px; color: #16212a; font-size: clamp(27px, 4vw, 35px); font-weight: 780; line-height: 1.14; letter-spacing: -.045em; }
.eoacs-sample-gate-card h2 span { color: #d73248; }
.eoacs-sample-gate-card > p:not(.eoacs-kicker) { margin: 0 0 25px; color: #65707a; font-size: 14px; line-height: 1.6; }
.eoacs-sample-gate-card form { display: grid; gap: 13px; }
.eoacs-sample-gate-card form > label:not(.eoacs-sample-check) { display: grid; gap: 6px; color: #26313b; font-size: 12px; font-weight: 700; }
.eoacs-sample-gate-card form > label small { color: #75808a; font-weight: 500; }
.eoacs-sample-gate-card input[type="text"]:not(.eoacs-sample-honeypot), .eoacs-sample-gate-card input[type="email"], .eoacs-sample-gate-card input[type="tel"] { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #d8dcdd; border-radius: 8px; background: #fff; color: #1e2730; font: 500 14px/1.4 var(--campus-font); outline: none; }
.eoacs-sample-gate-card input:focus-visible { border-color: #c12d42; box-shadow: 0 0 0 3px rgba(215,50,72,.13); }
.eoacs-sample-gate-card .eoacs-sample-check { display: flex; align-items: flex-start; gap: 9px; color: #5a6570; font-size: 11px; font-weight: 500; line-height: 1.48; }
.eoacs-sample-check input { flex: 0 0 16px; width: 16px; height: 16px; margin: 0; accent-color: #d73248; }
.eoacs-sample-check a { color: #a92539; text-decoration: underline; text-underline-offset: 2px; }
.eoacs-sample-gate-card button[type="submit"] { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 49px; margin-top: 4px; border: 0; border-radius: 8px; background: #d73248; color: #fff; font: 740 14px/1 var(--campus-font); cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.eoacs-sample-gate-card button[type="submit"]:hover { background: #b62d40; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(180,40,60,.23); }
.eoacs-sample-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.eoacs-library-password-note { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 26px; padding: 19px 22px; border: 1px solid #e9cdd1; border-radius: 11px; background: #fff7f7; }
.eoacs-library-password-note strong { color: #222c34; font-size: 16px; }
.eoacs-library-password-note p { margin: 5px 0 0; color: #5f6871; font-size: 13px; line-height: 1.5; }
.eoacs-library-password-note a { flex: 0 0 auto; padding: 11px 14px; border-radius: 7px; background: #d73248; color: #fff; text-decoration: none; font-size: 12px; font-weight: 750; }
.eoacs-library-password-note a:hover { background: #b52a3e; color: #fff; }
.eoacs-library-discover { margin-top: 54px; padding-top: 30px; border-top: 1px solid #dadde0; }
.eoacs-library-discover-heading h2 { margin: 7px 0; color: var(--campus-text); font: 750 clamp(27px,4vw,38px)/1.13 var(--eoacs-brand-font); }
.eoacs-library-discover-heading > p:last-child { margin: 0; color: var(--campus-muted); font-size: 14px; }
.eoacs-library-discover .eoacs-library-grid { padding-top: 25px; }
.eoacs-library-offer .eoacs-library-cover { filter: saturate(.78); }
.eoacs-library-offer .eoacs-library-cover:after { background: linear-gradient(0deg,rgba(10,17,29,.52),rgba(10,17,29,.13)); }
.eoacs-offer-lock { position: absolute; z-index: 2; top: 13px; right: 13px; display: block; width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(12,23,37,.76); }
.eoacs-offer-lock:before { content: ''; position: absolute; top: 7px; left: 11px; width: 11px; height: 12px; border: 2px solid #fff; border-bottom: 0; border-radius: 7px 7px 0 0; }
.eoacs-offer-lock:after { content: ''; position: absolute; top: 17px; left: 9px; width: 17px; height: 12px; border-radius: 3px; background: #fff; }
.eoacs-offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-height: 66px; margin: 0 0 14px; }
.eoacs-offer-price del { color: var(--campus-muted); font-size: 13px; }
.eoacs-offer-price strong { color: var(--campus-text); font-size: 23px; }
.eoacs-offer-price small { width: 100%; color: #ad2639; font-size: 11px; font-weight: 750; }
.eoacs-offer-pending { margin: 0 0 16px !important; color: var(--campus-muted) !important; font-size: 12px !important; }
.eoacs-offer-actions { display: grid; gap: 9px; }
.eoacs-offer-actions .eoacs-primary-button { text-align: center; }
.eoacs-offer-preview { display: block; padding: 11px 13px; border: 1px solid #d5d8dc; border-radius: 7px; color: #a72539 !important; font-size: 13px; font-weight: 750; text-align: center; text-decoration: none; }
.eoacs-offer-preview:hover { border-color: #bd3044; background: #fff6f7; }
@media (max-width: 650px) { .eoacs-library-password-note { align-items: stretch; flex-direction: column; } .eoacs-library-password-note a { text-align: center; } }
@media (max-width: 650px) { .eoacs-sample-gate { padding: 12px; } .eoacs-sample-gate-card { border-radius: 13px; } }
@media (max-width: 782px) {
	.eoacs-preview-overview-page .eoacs-classroom-header { min-height: 70px; height: auto; padding: 10px 16px; }
	.eoacs-preview-overview-page .eoacs-classroom-brand strong { font-size: 17px; }
	.eoacs-preview-overview-page .eoacs-classroom-brand small { font-size: 7px; }
	.eoacs-preview-overview-nav { gap: 8px; }
	.eoacs-preview-overview-nav .eoacs-preview-buy-button { min-height: 39px; padding: 9px 11px; font-size: 11px; }
	.eoacs-preview-overview-cta { padding: 26px 22px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 490px) {
	.eoacs-preview-overview-nav > a:first-child { display: none; }
	.eoacs-preview-overview-actions { align-items: stretch; flex-direction: column; width: 100%; }
	.eoacs-preview-overview-actions > * { width: 100%; }
	.eoacs-preview-overview-actions > a { position: relative; justify-content: center; text-align: center; padding-right: 42px; padding-left: 42px; }
	.eoacs-preview-overview-actions > a > span[aria-hidden="true"] { position: absolute; right: 17px; }
	.eoacs-preview-overview-price strong { display: block; margin: 3px 0 0; }
}
.eoacs-lesson-top-nav{width:min(100%,1120px);min-height:50px;margin:0 auto 11px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:#626970;font-size:12px;font-weight:650}.eoacs-lesson-top-nav a{display:inline-flex;align-items:center;gap:13px;padding:9px 13px;border:1px solid #e2d8d7;border-radius:8px;background:#fff;color:#a92338!important;font-weight:750;text-decoration:none;transition:background .18s,border-color .18s,transform .18s}.eoacs-lesson-top-nav a:hover{border-color:#d73248;background:#fff5f6;transform:translateX(2px)}.eoacs-preview-page .eoacs-lesson-top-nav{color:#d1d4da}.eoacs-preview-page .eoacs-lesson-top-nav a{border-color:#654047;background:#241b20;color:#fff!important}.eoacs-preview-page .eoacs-lesson-top-nav a:hover{background:#4a222c;border-color:#f07382}
.eoacs-sample-spotlight{margin:22px 0 27px;padding:18px 22px;display:flex;align-items:center;gap:17px;border:1px solid #e6b4bd;border-radius:13px;background:linear-gradient(115deg,#fff8f8,#fff);box-shadow:0 10px 28px rgba(156,30,52,.08);color:#222a30!important;text-decoration:none;transition:border-color .2s,transform .2s,box-shadow .2s}.eoacs-sample-spotlight:hover{border-color:#c72d42;transform:translateY(-2px);box-shadow:0 16px 34px rgba(156,30,52,.13)}.eoacs-sample-spotlight-icon{width:47px;height:47px;flex:none;display:grid;place-items:center;border-radius:50%;background:#d73248;color:#fff;font-size:17px;box-shadow:0 8px 18px rgba(215,50,72,.2)}.eoacs-sample-spotlight span:nth-child(2){display:grid;gap:3px}.eoacs-sample-spotlight small{color:#aa263a;font-size:10px;font-weight:800;letter-spacing:.12em}.eoacs-sample-spotlight strong{font-size:17px;line-height:1.25}.eoacs-sample-spotlight em{color:#69727a;font-size:12px;font-style:normal}.eoacs-sample-spotlight b{margin-left:auto;color:#bd2b40;font-size:22px}.eoacs-preview-overview-page .eoacs-overview-card.is-sample{border:2px solid #d73248;border-radius:12px;box-shadow:0 12px 27px rgba(172,35,56,.13)}.eoacs-preview-overview-page .eoacs-overview-card.is-sample .eoacs-overview-card-detail{background:#fffafa}.eoacs-preview-overview-page .eoacs-overview-card.is-sample .eoacs-overview-card-action{color:#b5253b;font-weight:850}.eoacs-sample-cover-label{position:absolute;z-index:3;top:13px;left:13px;padding:8px 11px;border-radius:6px;background:#d73248;color:#fff;font-size:10px;font-weight:850;letter-spacing:.08em;box-shadow:0 6px 15px rgba(0,0,0,.16)}

/* Purchase invitation and sample-card contrast refinements. */
.eoacs-purchase-dialog-open { overflow: hidden; }
.eoacs-preview-overview-page .eoacs-overview-card.is-sample .eoacs-overview-card-link:is(:hover, :focus-visible) .eoacs-overview-card-action { border-color: #b83245; background: #b83245; color: #fff; }
.eoacs-preview-overview-page .eoacs-overview-card.is-sample .eoacs-overview-card-link:is(:hover, :focus-visible) .eoacs-overview-card-meta small { color: #963145; }
.eoacs-preview-course-card { padding: 18px 20px; border-color: #172b42; background: linear-gradient(115deg, #111d2e, #183351); box-shadow: 0 18px 36px rgba(12, 31, 52, .16); }
.eoacs-preview-course-card .eoacs-preview-course-card-copy .eoacs-kicker { color: #f5aab5; }
.eoacs-preview-course-card .eoacs-preview-course-card-copy h2 { color: #fff; }
.eoacs-preview-course-card .eoacs-preview-course-card-copy > p:not(.eoacs-kicker) { color: #d9e2eb; }
.eoacs-preview-course-card-cover { border: 1px solid rgba(255,255,255,.22); }
.eoacs-preview-course-card-buy { border-color: #fff; background: #fff; color: #11243a !important; }
.eoacs-preview-course-card-buy:hover, .eoacs-preview-course-card-buy:focus-visible { border-color: #f2dfe2; background: #f2dfe2; color: #11243a !important; }
.eoacs-sample-phone{display:grid;grid-template-columns:minmax(138px,43%) minmax(0,1fr);gap:8px}.eoacs-sample-gate-card .eoacs-sample-phone select{width:100%;min-height:46px;padding:9px 7px;border:1px solid #d8dcdd;border-radius:8px;background:#fff;color:#1e2730;font:600 12px/1.3 var(--campus-font)}.eoacs-sample-gate-card .eoacs-sample-phone input[type="tel"]{min-width:0}.eoacs-sample-gate-card .eoacs-sample-phone :is(select,input):focus-visible{border-color:#c12d42;outline:3px solid rgba(215,50,72,.13)}
.eoacs-preview-strip[hidden],.eoacs-preview-invite[hidden]{display:none!important}.eoacs-preview-strip{position:fixed;z-index:80;left:50%;bottom:18px;width:min(800px,calc(100vw - 32px));padding:11px 13px 11px 20px;display:flex;align-items:center;gap:18px;border:1px solid #e6d8da;border-radius:11px;background:#fff;color:#252c31;box-shadow:0 14px 48px rgba(12,18,25,.22);opacity:0;transform:translate(-50%,14px);transition:opacity .26s,transform .26s}.eoacs-preview-strip.is-visible{opacity:1;transform:translate(-50%,0)}.eoacs-preview-strip>span{min-width:0;display:grid;gap:3px}.eoacs-preview-strip strong{font-size:14px}.eoacs-preview-strip small{color:#69727b;font-size:11px}.eoacs-preview-strip>a{margin-left:auto;white-space:nowrap;padding:10px 13px;border-radius:7px;background:#d73248;color:#fff!important;font-size:12px;font-weight:800;text-decoration:none}.eoacs-preview-strip>a:hover{background:#b7273c}.eoacs-preview-strip>button{border:0;background:transparent;color:#67717a;font-size:21px;cursor:pointer}
.eoacs-preview-invite{position:fixed;z-index:210;inset:0;width:auto;display:grid;place-items:center;padding:18px;overflow-y:auto;border:0;border-radius:0;background:rgba(9,14,20,.73);backdrop-filter:blur(7px);box-shadow:none;opacity:0;transform:none;transition:opacity .3s}.eoacs-preview-invite.is-visible{opacity:1;transform:none}.eoacs-preview-invite::before{display:none}.eoacs-preview-invite-card{position:relative;width:min(790px,100%);display:grid;grid-template-columns:46% 54%;overflow:hidden;border:1px solid #e5e4e1;border-radius:16px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.32);transform:translateY(18px) scale(.985);transition:transform .32s}.eoacs-preview-invite.is-visible .eoacs-preview-invite-card{transform:translateY(0) scale(1)}.eoacs-preview-invite-media{min-height:340px;background:#e7e7e3}.eoacs-preview-invite-cover{width:100%;height:100%;min-height:340px;object-fit:cover}.eoacs-preview-invite-copy{padding:clamp(27px,4vw,48px);display:flex;flex-direction:column;justify-content:center}.eoacs-preview-invite-copy strong{font-size:clamp(27px,3vw,38px);line-height:1.1}.eoacs-preview-invite-copy p{margin:13px 0 25px;font-size:14px;line-height:1.6}.eoacs-preview-invite-copy .eoacs-preview-invite-buy{min-height:50px;font-size:14px}.eoacs-preview-invite-copy>small{margin-top:10px;color:#69727a;font-size:11px;text-align:center}.eoacs-preview-invite-close{z-index:4;top:15px;right:15px;border-color:#e3e4e2;background:#fff;color:#28303a}.eoacs-preview-invite-close:hover{background:#f1f1ef;color:#111}
@media(max-width:650px){.eoacs-lesson-top-nav{font-size:11px}.eoacs-lesson-top-nav a{padding:8px 10px}.eoacs-sample-spotlight{padding:15px;gap:12px}.eoacs-sample-spotlight-icon{width:40px;height:40px}.eoacs-sample-spotlight strong{font-size:14px}.eoacs-sample-spotlight em{display:none}.eoacs-sample-phone{grid-template-columns:1fr}.eoacs-preview-strip{bottom:max(10px,env(safe-area-inset-bottom));padding:12px;gap:8px;flex-wrap:wrap}.eoacs-preview-strip>span{flex:1}.eoacs-preview-strip small{display:none}.eoacs-preview-strip>a{width:100%;order:3;text-align:center}.eoacs-preview-strip>button{order:2}.eoacs-preview-invite-card{grid-template-columns:1fr;width:min(440px,100%)}.eoacs-preview-invite-media,.eoacs-preview-invite-cover{min-height:0;height:145px}.eoacs-preview-invite-copy{padding:25px}.eoacs-preview-invite-copy strong{font-size:27px}.eoacs-preview-invite-copy p{margin:9px 0 17px}.eoacs-preview-invite-close{top:9px;right:9px}}
@media(prefers-reduced-motion:reduce){.eoacs-lesson-top-nav a,.eoacs-sample-spotlight,.eoacs-preview-strip,.eoacs-preview-invite,.eoacs-preview-invite-card{transition:none}}

/* Student contact and instant appearance preferences. */
.eoacs-appearance-status { min-height: 19px; margin: 10px 0 0; color: var(--campus-muted); font-size: 12px; }
.eoacs-profile-page.eoacs-theme-dark .eoacs-appearance-option:has(input:checked) { border-color: #d5687a; background: #3b272e; }
.eoacs-profile-identity { justify-content: flex-start; }
.eoacs-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.eoacs-contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.eoacs-contact-icon { width: 48px; height: 48px; margin-bottom: 24px; display: grid; place-items: center; border: 1px solid var(--campus-line); border-radius: 13px; background: var(--campus-raised); color: var(--campus-red-soft); font-size: 23px; font-weight: 750; }
.eoacs-contact-card .eoacs-kicker { margin-bottom: 8px; }
.eoacs-contact-card h2 { margin-bottom: 11px; }
.eoacs-contact-card > p:not(.eoacs-kicker) { min-height: 46px; margin-bottom: 25px; }
.eoacs-contact-button { width: 100%; min-height: 48px; margin-top: auto; padding: 11px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #be2f44; border-radius: 9px; background: #be2f44; color: #fff !important; font-size: 14px; font-weight: 750; text-decoration: none !important; transition: background .2s, transform .2s, border-color .2s; }
.eoacs-contact-button:hover, .eoacs-contact-button:focus-visible { border-color: #a62135; background: #a62135; color: #fff !important; transform: translateY(-2px); }
.eoacs-contact-button-secondary { border-color: var(--campus-line); background: var(--campus-raised); color: var(--campus-text) !important; }
.eoacs-contact-button-secondary:hover, .eoacs-contact-button-secondary:focus-visible { border-color: #ba3a50; background: var(--campus-raised); color: var(--campus-text) !important; }
.eoacs-library-discover { scroll-margin-top: 84px; }

/* Give square artwork an edge-to-edge square frame; never letterbox it. */
.eoacs-preview-invite { box-sizing: border-box; padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); }
.eoacs-preview-invite-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); max-height: calc(100dvh - 32px); border: 0; }
.eoacs-preview-invite-copy { padding: clamp(24px, 3.2vw, 36px); }
.eoacs-preview-invite-media { min-width: 0; min-height: 0; aspect-ratio: 1; overflow: hidden; background: #13253c; }
.eoacs-preview-invite-cover { display: block; width: 100%; height: 100%; max-height: none; min-height: 0; object-fit: cover; background: transparent; }
.eoacs-preview-invite-card:has(.eoacs-preview-invite-media.is-wide) { width: min(600px, 100%); grid-template-columns: 1fr; }
.eoacs-preview-invite-media.is-wide { aspect-ratio: auto; }
.eoacs-preview-invite-media.is-wide .eoacs-preview-invite-cover { height: auto; object-fit: contain; }
@media (max-width: 650px) {
	.eoacs-contact-grid { grid-template-columns: 1fr; }
	.eoacs-contact-card > p:not(.eoacs-kicker) { min-height: 0; }
	.eoacs-preview-invite-card { width: min(360px, 100%); max-height: calc(100dvh - 32px); grid-template-columns: 1fr; overflow-y: auto; }
	.eoacs-preview-invite-media { width: 100%; height: auto; aspect-ratio: 1; }
	.eoacs-preview-invite-cover { width: 100%; height: 100%; max-height: none; object-fit: cover; }
	.eoacs-preview-invite-media.is-wide { aspect-ratio: auto; }
	.eoacs-preview-invite-media.is-wide .eoacs-preview-invite-cover { height: auto; object-fit: contain; }
	.eoacs-preview-invite-close { top: 10px; right: auto; left: 10px; }
}
@media (hover: none) {
	.eoacs-overview-card-link:not(.is-unavailable):hover .eoacs-overview-card-action,
	.eoacs-preview-overview-page .eoacs-overview-card.is-sample .eoacs-overview-card-link:hover .eoacs-overview-card-action { border-color: var(--campus-line); background: var(--campus-raised); color: var(--campus-text); }
	.eoacs-preview-overview-page .eoacs-overview-card.is-sample .eoacs-overview-card-action { border-color: #ad3548; background: #fff; color: #a4273b; }
}

/* Compact curriculum cards keep each module's complete horizontal artwork visible. */
.eoacs-overview-grid.is-list { gap: 12px; }
.eoacs-overview-grid.is-list .eoacs-overview-card-link {
	min-height: 128px;
	padding: 11px;
	display: grid;
	grid-template-columns: 158px minmax(0, 1fr);
	align-items: center;
}
.eoacs-overview-grid.is-list .eoacs-overview-card-cover {
	width: 100%;
	height: auto;
	min-height: 0;
	aspect-ratio: 16 / 9;
	align-self: center;
	border-radius: 7px;
	background: #f1f2f0;
}
.eoacs-overview-grid.is-list .eoacs-overview-card-cover img { width: 100%; height: 100%; object-fit: contain; transform: none; }
.eoacs-overview-grid.is-list .eoacs-overview-cover-scrim,
.eoacs-overview-grid.is-list .eoacs-overview-cover-reveal,
.eoacs-overview-grid.is-list .eoacs-sample-cover-label,
.eoacs-overview-grid.is-list .eoacs-preview-overview-lock { display: none; }
.eoacs-overview-grid.is-list .eoacs-overview-card-detail { min-width: 0; padding: 4px 5px 4px 15px; }
.eoacs-overview-grid.is-list .eoacs-overview-card-meta { align-items: baseline; gap: 8px; }
.eoacs-overview-grid.is-list .eoacs-overview-card h3 { min-height: 0; margin: 7px 0 0; font-size: 16px; line-height: 1.28; }
.eoacs-overview-grid.is-list .eoacs-overview-card-progress { margin-top: 10px; }
.eoacs-overview-grid.is-list .eoacs-overview-card-action {
	min-height: 0;
	margin-top: 10px;
	padding: 0;
	justify-content: flex-start;
	gap: 12px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #a62b3e;
	font-size: 12px;
}
.eoacs-overview-grid.is-list .eoacs-overview-card-link:not(.is-unavailable):is(:hover, :focus-visible) { transform: none; box-shadow: 0 12px 28px rgba(27,29,34,.11); }
.eoacs-overview-grid.is-list .eoacs-overview-card-link:not(.is-unavailable):is(:hover, :focus-visible) .eoacs-overview-card-cover img { transform: none; }
.eoacs-overview-grid.is-list .eoacs-overview-card-link:not(.is-unavailable):is(:hover, :focus-visible) .eoacs-overview-card-action,
.eoacs-preview-overview-page .eoacs-overview-grid.is-list .eoacs-overview-card.is-sample .eoacs-overview-card-link:is(:hover, :focus-visible) .eoacs-overview-card-action { border: 0; background: transparent; color: #922237; }
.eoacs-preview-overview-page .eoacs-overview-grid.is-list .eoacs-overview-card.is-sample { border: 1px solid #e3a7b0; border-left: 4px solid #d73248; border-radius: 11px; box-shadow: 0 8px 20px rgba(172,35,56,.08); }
.eoacs-preview-overview-page .eoacs-overview-grid.is-list .eoacs-overview-card.is-sample .eoacs-overview-card-link { border: 0; }
@media (max-width: 560px) {
	.eoacs-overview-grid.is-list .eoacs-overview-card-link { min-height: 116px; padding: 9px; grid-template-columns: minmax(98px, 32%) minmax(0, 1fr); }
	.eoacs-overview-grid.is-list .eoacs-overview-card-cover { min-height: 0; }
	.eoacs-overview-grid.is-list .eoacs-overview-card-detail { padding: 3px 2px 3px 11px; }
	.eoacs-overview-grid.is-list .eoacs-overview-card h3 { font-size: 15px; }
	.eoacs-overview-grid.is-list .eoacs-overview-card-action { margin-top: 8px; }
}
@media (max-width: 380px) {
	.eoacs-overview-grid.is-list .eoacs-overview-card-link { grid-template-columns: 92px minmax(0, 1fr); }
	.eoacs-overview-grid.is-list .eoacs-overview-card-meta, .eoacs-overview-grid.is-list .eoacs-overview-card-meta small { font-size: 9px; }
}

/* A short course summary and one quiet navigation cue replace repeated red actions in list view. */
.eoacs-overview-card-summary {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin: -7px 0 15px;
	color: var(--campus-muted);
	font-size: 12px;
	line-height: 1.48;
}
.eoacs-overview-list-cue { display: none; }
.eoacs-overview-grid.is-list .eoacs-overview-card-link { min-height: 140px; }
.eoacs-overview-grid.is-list .eoacs-overview-card-detail { position: relative; padding-right: 32px; }
.eoacs-overview-grid.is-list .eoacs-overview-card h3 { margin: 5px 0 0; }
.eoacs-overview-grid.is-list .eoacs-overview-card-summary {
	margin: 5px 0 0;
	font-size: 11px;
	line-height: 1.38;
}
.eoacs-overview-grid.is-list .eoacs-overview-card-action { display: none; }
.eoacs-overview-grid.is-list .eoacs-overview-card:not(.has-progress) .eoacs-overview-card-progress { display: none; }
.eoacs-overview-grid.is-list .eoacs-overview-list-cue { display: flex; align-items: center; }
.eoacs-overview-grid.is-list .eoacs-overview-card:not(.has-progress):not(.is-sample) .eoacs-overview-list-cue {
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
}
.eoacs-overview-list-arrow { color: #747b84; font-size: 20px; line-height: 1; }
.eoacs-overview-list-lock { position: relative; width: 19px; height: 19px; display: block; flex: none; color: #87909a; }
.eoacs-overview-list-lock::before { content: ''; position: absolute; top: 1px; left: 50%; width: 11px; height: 10px; box-sizing: border-box; transform: translateX(-50%); border: 1.7px solid currentColor; border-bottom: 0; border-radius: 7px 7px 0 0; }
.eoacs-overview-list-lock::after { content: ''; position: absolute; bottom: 1px; left: 50%; width: 14px; height: 9px; transform: translateX(-50%); border-radius: 2px; background: currentColor; }
.eoacs-preview-overview-page .eoacs-overview-grid.is-list .eoacs-overview-card.is-locked .eoacs-overview-card-meta small { display: none; }
.eoacs-preview-overview-page .eoacs-overview-grid.is-list .eoacs-overview-card.is-sample .eoacs-overview-card-meta small { display: none; }
.eoacs-overview-grid.is-list .eoacs-overview-card.is-sample .eoacs-overview-card-link { min-height: 165px; }
.eoacs-overview-grid.is-list .eoacs-overview-card.is-sample .eoacs-overview-list-cue { margin-top: 10px; }
.eoacs-overview-list-sample {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 7px 11px;
	border-radius: 6px;
	background: #b52d43;
	color: #fff;
	font-size: 11px;
	font-weight: 780;
	white-space: nowrap;
}
.eoacs-overview-grid.is-list .eoacs-overview-card.is-sample .eoacs-overview-card-link:is(:hover, :focus-visible) .eoacs-overview-list-sample { background: #8f2033; }
.eoacs-overview-grid.is-list .eoacs-overview-card.has-progress .eoacs-overview-list-cue { margin-top: 7px; }
.eoacs-overview-list-continue, .eoacs-overview-list-unavailable { color: var(--campus-muted); font-size: 11px; font-weight: 680; }
.eoacs-overview-list-continue span { margin-left: 4px; font-size: 14px; }
@media (max-width: 560px) {
	.eoacs-overview-grid.is-list .eoacs-overview-card-link { min-height: 138px; }
	.eoacs-overview-grid.is-list .eoacs-overview-card.is-sample .eoacs-overview-card-link { min-height: 165px; }
	.eoacs-overview-grid.is-list .eoacs-overview-card-detail { padding-right: 23px; }
	.eoacs-overview-grid.is-list .eoacs-overview-card-summary { -webkit-line-clamp: 2; font-size: 10.5px; }
	.eoacs-overview-grid.is-list .eoacs-overview-card.has-progress .eoacs-overview-card-progress { margin-top: 6px; }
}
