/* StatX Core: StatX-specific parts on top of the Edusy design system (edusy-base.css + edusy-pages.css). */

body.statx-site { background: #fff !important; }
.statx-site .stx-main { display: block; overflow-x: clip; }

/* ---------- Header ---------- */
.statx-site .ed-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); }
/* Floating dark pill header (old StatX shape: 70px, round ends, 2px red border, 61% black, 15px from top) */
.ed-header.stx-header { position: fixed; top: calc(var(--wp-admin--admin-bar--height, 0px) + 15px); left: 0; right: 0; z-index: 100; padding: 0 24px; background: transparent; border: 0; box-shadow: none; pointer-events: none; }
.stx-header .ed-drawer { pointer-events: auto; }
.stx-header .ed-header__row { pointer-events: auto; box-sizing: border-box; max-width: 1200px; height: 70px; margin: 0 auto; padding: 0 18px 0 30px; background: rgba(0,0,0,.85); border: 2px solid #FF0000; border-radius: 35px; box-shadow: none; transition: background .3s ease; }
.stx-header.is-scrolled { background: transparent; border: 0; box-shadow: none; }
.stx-header.is-scrolled .ed-header__row { background: rgba(0,0,0,.85); }
.stx-header .ed-header__brand { background: none; padding: 0; }
.stx-header .ed-header__brand .stx-logo { height: 33px; max-width: none; border-radius: 4px; }
.stx-header .stx-nav { background: transparent; border: 0; box-shadow: none; }
.stx-header .stx-nav > a, .stx-header .stx-navdd__btn { color: #ECECED; background: transparent; }
.stx-header .stx-nav > a:hover, .stx-header .stx-navdd__btn:hover, .stx-header .stx-navdd.is-open .stx-navdd__btn { background: rgba(255,255,255,.1); color: #fff; }
.stx-header .stx-nav > a[aria-current] { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.stx-header .stx-nav > a[aria-current] svg { color: #FF3B3B; }
.stx-header .ed-iconbtn { background: transparent; border-color: rgba(255,255,255,.22); color: #fff; }
.stx-header .ed-iconbtn:hover { background: rgba(255,255,255,.1); }
@media (max-width: 768px) {
	.ed-header.stx-header { top: calc(var(--wp-admin--admin-bar--height, 0px) + 10px); padding: 0 12px; }
	.stx-header .ed-header__row { height: 60px; padding: 0 10px 0 20px; border-radius: 30px; }
	.stx-header .ed-header__brand .stx-logo { height: 28px; }
}
.stx-logo { width: auto; height: 46px; max-width: 150px; object-fit: contain; display: block; }
.ed-footer .stx-logo { height: 52px; max-width: 170px; }

.stx-nav { position: relative; }
.stx-navdd { position: relative; }
.stx-navdd__btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px 9px 16px; border: 0; border-radius: 999px; background: transparent; font: 600 14.5px var(--ed-font); color: #3F3F46; cursor: pointer; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.stx-navdd__btn .ed-ico { color: #9A9AA3; transition: color .2s ease; }
.stx-navdd__chev { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.stx-navdd:hover .stx-navdd__btn, .stx-navdd.is-open .stx-navdd__btn { background: #fff; color: var(--ed-ink); }
.stx-navdd:hover .stx-navdd__btn .ed-ico, .stx-navdd.is-open .stx-navdd__btn .ed-ico { color: var(--ed-red); }
.stx-navdd.is-open .stx-navdd__chev { transform: rotate(180deg); }
.stx-navdd.is-current .stx-navdd__btn { background: #fff; color: var(--ed-red); box-shadow: 0 1px 2px rgba(17,17,20,.06), 0 4px 12px rgba(17,17,20,.06); }
.stx-navdd.is-current .stx-navdd__btn .ed-ico { color: var(--ed-red); }
.stx-navdd__menu { position: absolute; left: 50%; top: calc(100% + 12px); width: 280px; padding: 8px; background: #fff; border: 1px solid var(--ed-line); border-radius: 20px; box-shadow: 0 24px 50px -12px rgba(17,17,20,.22); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), visibility .25s; z-index: 120; }
.stx-navdd__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.stx-navdd.is-open .stx-navdd__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.ed-nav .stx-navdd__item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; color: var(--ed-ink); background: transparent; box-shadow: none; }
.ed-nav .stx-navdd__item:hover, .ed-nav .stx-navdd__item[aria-current="page"] { background: #FFF5F5; box-shadow: none; color: var(--ed-ink); }
.stx-navdd__ic { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; display: grid; place-items: center; background: var(--t); transition: background .25s ease, color .25s ease; }
.ed-nav .stx-navdd__ic .ed-ico { color: var(--c); }
.stx-navdd__item:hover .stx-navdd__ic { background: var(--ed-red); }
.ed-nav .stx-navdd__item:hover .stx-navdd__ic .ed-ico { color: #fff; }
.stx-navdd__tx { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.stx-navdd__tx b { font-size: 14.5px; font-weight: 700; }
.stx-navdd__tx small { font-size: 12.5px; font-weight: 500; color: var(--ed-muted); }
.stx-drawer__group { margin: 12px 4px 4px; font: 700 11.5px var(--ed-font); letter-spacing: .08em; text-transform: uppercase; color: var(--ed-muted); }

/* ---------- Hero ---------- */
.stx-hero .ed-hero__title { font-size: clamp(34px, 3.9vw, 50px); }
.stx-hero .ed-hero__grid { padding-top: 112px; padding-bottom: 56px; align-items: flex-start; }
@media (max-width: 768px) { .stx-hero .ed-hero__grid { padding-top: 96px; } }
.stx-hero .ed-hero__text { padding-top: 64px; }
@media (max-width: 900px) { .stx-hero .ed-hero__text { padding-top: 8px; } }
.stx-hero__after { display: inline-block; margin-top: 6px; font-size: .72em; line-height: 1.12; color: var(--ed-ink); }
.stx-type { white-space: nowrap; }
.stx-type.is-typing::after { content: ''; display: inline-block; width: 3px; height: .85em; margin-left: 4px; vertical-align: -.06em; background: var(--ed-red); border-radius: 2px; animation: stxCaret .9s steps(1) infinite; }
@keyframes stxCaret { 50% { opacity: 0; } }
.stx-hero .ed-hero__lead { font-size: 17px; }

.stx-follow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stx-follow > span { font-size: 13px; font-weight: 600; color: var(--ed-muted); margin-right: 4px; }
.stx-follow a { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: #fff; border: 1px solid var(--ed-line); color: var(--ed-ink); text-decoration: none; transition: transform .3s cubic-bezier(.2,.8,.2,1), background .25s ease, color .25s ease, border-color .25s ease, box-shadow .3s ease; }
.stx-follow a svg { width: 20px; height: 20px; fill: currentColor; position: relative; z-index: 1; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.stx-follow a::after { content: ''; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); }
.stx-follow a:hover { background: var(--ed-red); border-color: var(--ed-red); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(255,0,0,.55); }
.stx-follow a:hover svg { transform: scale(1.12) rotate(-6deg); }
.stx-follow a:hover::after { left: 130%; transition: left .8s ease; }
.stx-follow a:active { transform: scale(.97); transition-duration: .12s; }
.stx-hero--photo .stx-follow a { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.stx-hero--photo .stx-follow a:hover { background: var(--ed-red); border-color: var(--ed-red); }

/* Analysis mockup */
.stx-lab { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(400px, 88%); background: #fff; border: 1px solid #EDEDF1; border-radius: 24px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(17,17,20,.28); z-index: 1; font-family: var(--ed-font); }
.stx-lab__bar { display: flex; align-items: center; gap: 10px; padding: 2px 4px 12px; }
.stx-lab__dots { display: inline-flex; gap: 5px; }
.stx-lab__dots i { width: 10px; height: 10px; border-radius: 999px; background: #FF5F57; }
.stx-lab__dots i:nth-child(2) { background: #FEBC2E; }
.stx-lab__dots i:nth-child(3) { background: #28C840; }
.stx-lab__file { flex: 1; font: 600 12.5px 'JetBrains Mono', ui-monospace, monospace; color: var(--ed-muted); background: var(--ed-soft); border-radius: 8px; padding: 5px 10px; }
.stx-lab__code { background: #111114; border-radius: 14px; padding: 12px 14px; font: 500 12px/1.75 'JetBrains Mono', ui-monospace, monospace; color: #E7E7EC; }
.stx-lab__code p { margin: 0; white-space: nowrap; overflow: hidden; display: flex; align-items: center; }
.stx-lab__code i { font-style: normal; color: #55555F; width: 18px; flex: 0 0 18px; }
.stx-lab__code .c-k { color: #FF6B6B; }
.stx-lab__code .c-s { color: #86EFAC; }
.stx-lab__code .ed-caret { display: inline-block; width: 2px; height: 14px; background: #FF6B6B; margin-left: 2px; }
.stx-lab__chart { position: relative; margin-top: 12px; background: #FFFBFB; border: 1px solid #FFE0E0; border-radius: 14px; padding: 8px 8px 2px; }
.stx-lab__chart svg { display: block; width: 100%; height: auto; }
.stx-chart__grid { stroke: #F3E3E3; stroke-width: 1; fill: none; }
.stx-chart__axis { stroke: #C9C9D1; stroke-width: 1.4; fill: none; }
.stx-chart__pts circle { fill: #111114; opacity: 0; animation: stxPt 6s cubic-bezier(.2,.8,.2,1) infinite; }
.stx-chart__pts circle:nth-child(2n) { fill: #55555F; }
.stx-chart__fit { stroke: var(--ed-red); stroke-width: 3; stroke-linecap: round; fill: none; stroke-dasharray: 260; stroke-dashoffset: 260; animation: stxFit 6s cubic-bezier(.2,.8,.2,1) infinite; }
.stx-chart__lbl { font: 600 9px var(--ed-font); fill: #8A8A94; }
.stx-lab__r2 { position: absolute; right: 14px; top: 12px; font: 800 12px var(--ed-head); color: #fff; background: var(--ed-red); padding: 5px 10px; border-radius: 999px; animation: stxPop 6s cubic-bezier(.2,.8,.2,1) infinite; }
@keyframes stxPt { 0% { opacity: 0; transform: translateY(6px); } 12%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes stxFit { 0%, 30% { stroke-dashoffset: 260; } 55%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 260; } }
@keyframes stxPop { 0%, 52% { opacity: 0; transform: scale(.8); } 60%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.stx-chart__pts circle:nth-child(1) { animation-delay: 0s; } .stx-chart__pts circle:nth-child(2) { animation-delay: .08s; } .stx-chart__pts circle:nth-child(3) { animation-delay: .16s; } .stx-chart__pts circle:nth-child(4) { animation-delay: .24s; } .stx-chart__pts circle:nth-child(5) { animation-delay: .32s; } .stx-chart__pts circle:nth-child(6) { animation-delay: .4s; } .stx-chart__pts circle:nth-child(7) { animation-delay: .48s; } .stx-chart__pts circle:nth-child(8) { animation-delay: .56s; } .stx-chart__pts circle:nth-child(9) { animation-delay: .64s; } .stx-chart__pts circle:nth-child(10) { animation-delay: .72s; } .stx-chart__pts circle:nth-child(11) { animation-delay: .8s; } .stx-chart__pts circle:nth-child(12) { animation-delay: .88s; } .stx-chart__pts circle:nth-child(13) { animation-delay: .96s; } .stx-chart__pts circle:nth-child(14) { animation-delay: 1.04s; }
.stx-lab__out { display: flex; gap: 8px; margin-top: 10px; }
.stx-lab__out span { flex: 1; text-align: center; font: 700 12.5px var(--ed-head); color: var(--ed-ink); background: var(--ed-soft); border-radius: 10px; padding: 8px 4px; }
.stx-lab__out b { color: var(--ed-red); font-style: italic; }
.stx-lab__tools { display: flex; gap: 6px; margin-top: 10px; }
.stx-lab__tools span { flex: 1; text-align: center; font: 700 12px var(--ed-font); color: var(--ed-muted); border: 1px solid var(--ed-line); border-radius: 999px; padding: 7px 4px; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.stx-lab__tools span.is-on { background: #FFE8E8; border-color: #FFCCCC; color: var(--ed-red-t); }

.stx-hero .stx-hero__visual { height: 660px; }
.stx-lab { top: 42%; }
.stx-lab__code { font-variant-ligatures: none; }
.stx-float--learners { left: -34px; bottom: 88px; z-index: 3; }
.stx-float__icon--red { background: #FFE8E8; color: var(--ed-red); }
.stx-spark { flex: 0 0 auto; width: 64px; height: 28px; }
.stx-spark__area { fill: rgba(255,0,0,.12); }
.stx-spark__line { fill: none; stroke: var(--ed-red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: stxSpark 5s cubic-bezier(.2,.8,.2,1) infinite; }
@keyframes stxSpark { 0%, 10% { stroke-dashoffset: 80; } 45%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 80; } }

/* Hero on offline photos (dark, glass mockup) */
.stx-hero--photo { position: relative; isolation: isolate; background: #111114; }
.stx-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.stx-hero__bg span { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.04); transition: opacity 1.4s ease, transform 7s linear; }
.stx-hero__bg span.is-on { opacity: 1; transform: scale(1.12); }
.stx-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,20,.92) 0%, rgba(17,17,20,.8) 42%, rgba(17,17,20,.35) 100%); }
.stx-hero--photo .ed-hero__grid { position: relative; z-index: 1; }
.stx-hero--photo .ed-hero__title, .stx-hero--photo .stx-hero__after { color: #fff; }
.stx-hero--photo .ed-hero__lead { color: rgba(255,255,255,.82); }
.stx-hero--photo .ed-pill { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.stx-hero--photo .ed-mark { box-shadow: inset 0 -.26em 0 rgba(255,255,255,.18); }
.stx-hero--photo .ed-btn.ed-btn--outline { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.stx-hero--photo .ed-btn.ed-btn--outline:hover { background: var(--ed-red); border-color: var(--ed-red); color: #fff; }
.stx-hero--photo .stx-follow > span { color: #fff; }
.stx-hero--photo .ed-hero__circle { display: none; }
.stx-hero--photo .ed-hero__ring { border-color: rgba(255,255,255,.16); }
.stx-hero--photo .stx-lab, .stx-hero--photo .ed-float { background: rgba(17,17,20,.58); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 34px 80px -24px rgba(0,0,0,.7); }
.stx-hero--photo .ed-float { box-shadow: 0 20px 44px -18px rgba(0,0,0,.6); }
.stx-hero--photo .stx-lab__file { background: rgba(255,255,255,.08); color: #fff; }
.stx-hero--photo .stx-lab__code { background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.08); }
.stx-hero--photo .stx-lab__chart { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.stx-hero--photo .stx-chart__grid { stroke: rgba(255,255,255,.08); }
.stx-hero--photo .stx-chart__axis { stroke: rgba(255,255,255,.4); }
.stx-hero--photo .stx-chart__pts circle { fill: #fff; }
.stx-hero--photo .stx-chart__pts circle:nth-child(2n) { fill: rgba(255,255,255,.7); }
.stx-hero--photo .stx-chart__lbl { fill: rgba(255,255,255,.6); }
.stx-hero--photo .stx-lab__out span { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; }
.stx-hero--photo .stx-lab__tools span { border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.75); }
.stx-hero--photo .stx-lab__tools span.is-on { background: var(--ed-red); border-color: var(--ed-red); color: #fff; }
.stx-hero--photo .ed-float__text b { color: #fff; }
.stx-hero--photo .ed-float__text small { color: rgba(255,255,255,.65); }
.stx-hero--photo .ed-float__icon--green { background: rgba(22,163,74,.2); color: #4ADE80; }
.stx-hero--photo .stx-float__icon--red { background: rgba(255,0,0,.18); color: #FF6B6B; }
.stx-hero--photo .stx-spark__area { fill: rgba(255,90,90,.18); }
.stx-hero--photo .stx-spark__line { stroke: #FF5A5A; }
@media (max-width: 900px) {
	.stx-hero__bg::after { background: linear-gradient(180deg, rgba(17,17,20,.88) 0%, rgba(17,17,20,.72) 100%); }
}
@media (prefers-reduced-motion: reduce) {
	.stx-hero__bg span { transition: none; transform: none; }
	.stx-spark__line { animation: none; stroke-dashoffset: 0; }
}
.stx-float--cert { right: -14px; top: 0; z-index: 3; }
.stx-float--batch { right: -14px; bottom: 56px; z-index: 3; max-width: 240px; }
.stx-float__new { flex: 0 0 auto; font: 800 10.5px var(--ed-font); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--ed-red); border-radius: 10px; padding: 8px 9px; }
.stx-hero .ed-float__text b { font-size: 13.5px; line-height: 1.25; }

/* ---------- Courses ---------- */
.stx-courses__grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stx-course .ed-course__price s { margin-left: 6px; font-size: 13px; font-weight: 500; color: #9A9AA3; }
.stx-course__tags { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stx-tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 9px; font-size: 12px; font-weight: 700; line-height: 1.4; }
.stx-tag--level { background: var(--ed-chip); color: var(--ed-muted); }
.stx-tag--cat { background: var(--t); color: var(--c); }
.stx-tag--off { background: #FFF0F0; color: var(--ed-red-t); }
.stx-course .ed-course__price { margin-left: auto; }
.stx-course .ed-course__title, .stx-course .ed-course__title a { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; max-height: none; }
.stx-empty { position: relative; margin: 0; padding: 40px 10px; text-align: center; color: var(--ed-muted); }
.stx-more { margin-top: 18px; }
.stx-more .stx-more__ic { background: #FEF3C7; color: #B45309; }

/* ---------- Video ---------- */
.stx-video__frame { position: relative; max-width: 960px; margin: 0 auto; }
.stx-video__btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 28px; overflow: hidden; cursor: pointer; background: #111114; box-shadow: 0 30px 60px -28px rgba(17,17,20,.45); }
.stx-video__btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .4s ease; }
.stx-video__btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,20,0) 50%, rgba(17,17,20,.45)); }
.stx-video__btn:hover img { transform: scale(1.03); }
.stx-video__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 999px; background: var(--ed-red); color: #fff; display: grid; place-items: center; z-index: 2; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.stx-video__play .ed-ico { fill: #fff; stroke: none; margin-left: 4px; }
.stx-video__pulse { position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(255,255,255,.8); animation: stxRing 2.2s cubic-bezier(.2,.8,.2,1) infinite; }
@keyframes stxRing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.stx-video__btn:hover .stx-video__play { transform: scale(1.08); box-shadow: 0 16px 34px -6px rgba(255,0,0,.6); }
.stx-video__tag { position: absolute; left: 20px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; color: #fff; font: 700 14px var(--ed-font); }
.stx-video__frame.is-playing { aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #111114; }
.stx-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 28px; }
.stx-video__frame.is-playing .stx-video__chip { display: none; }
.stx-video__chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 14px 8px 8px; font: 700 13px var(--ed-font); color: var(--ed-ink); box-shadow: 0 16px 36px rgba(17,17,20,.16); }
.stx-video__chip i { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: #FFE8E8; color: var(--ed-red); }
.stx-video__chip--1 { left: -22px; top: 40px; }
.stx-video__chip--2 { right: -22px; bottom: 60px; }
.stx-video__chip--2 i { background: #DBEAFE; color: #1D4ED8; }

/* Custom video player (YouTube with its own chrome switched off) */
.stx-player { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: #000; outline: none; user-select: none; -webkit-user-select: none; }
.stx-player__yt, .stx-player__yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* The iframe is 140px taller than the frame: the film keeps its 16:9 size in the middle and YouTube's
   title strip lands in the hidden band above it, so it never shows. */
.stx-player__yt { overflow: hidden; }
.stx-player__yt iframe { pointer-events: none; top: -70px; height: calc(100% + 140px); border-radius: 0; }
.stx-player__hit { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.stx-player__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.stx-player.is-cover .stx-player__poster, .stx-player.is-paused .stx-player__poster { opacity: 1; }
.stx-player__spin { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 999px; border: 3px solid rgba(255,255,255,.18); border-top-color: #fff; opacity: 0; animation: stxSpin .9s linear infinite; transition: opacity .25s ease; pointer-events: none; }
.stx-player.is-loading .stx-player__spin { opacity: 1; }
@keyframes stxSpin { to { transform: rotate(360deg); } }
.stx-player__big { position: absolute; left: 50%; top: 50%; z-index: 3; width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 0; border: 0; border-radius: 999px; background: var(--ed-red); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s ease, box-shadow .3s ease, background .25s ease; }
.stx-player__big svg { width: 30px; height: 30px; fill: currentColor; }
.stx-player__big:hover { transform: scale(1.08); box-shadow: 0 16px 34px -6px rgba(255,0,0,.6); }
.stx-player:not(.is-paused) .stx-player__big { background: rgba(17,17,20,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: scale(.9); }
.stx-player:not(.is-paused):not(.is-idle):hover .stx-player__big { opacity: 1; transform: none; }
.stx-player.is-loading .stx-player__big { opacity: 0; pointer-events: none; }
.stx-player__top { position: absolute; top: 14px; right: 14px; z-index: 3; display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: rgba(17,17,20,.5); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.stx-player__bar { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 6px 6px 6px 16px; border-radius: 14px; background: rgba(17,17,20,.5); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.stx-player__top, .stx-player__bar { transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.stx-player.is-idle .stx-player__top { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.stx-player.is-idle .stx-player__bar { opacity: 0; transform: translateY(8px); pointer-events: none; }
.stx-player.is-idle { cursor: none; }
.stx-player.is-cover:not(.is-ended) .stx-player__top, .stx-player.is-cover:not(.is-ended) .stx-player__bar { opacity: 0; pointer-events: none; }
.stx-player__btn { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .25s ease, color .25s ease; }
.stx-player__btn:hover { background: rgba(255,255,255,.14); }
.stx-player__btn.is-on { background: var(--ed-red); }
.stx-player__btn svg { width: 20px; height: 20px; fill: currentColor; }
.stx-player__btn svg .w, .stx-player__btn svg path.w { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stx-player__time { flex: none; font: 600 13px var(--ed-font); color: #fff; font-variant-numeric: tabular-nums; }
.stx-player__track { position: relative; flex: 1; height: 22px; cursor: pointer; touch-action: none; outline: none; }
.stx-player__track::before, .stx-player__buf, .stx-player__fill { content: ''; position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; }
.stx-player__track::before { right: 0; background: rgba(255,255,255,.22); }
.stx-player__buf { width: 0; background: rgba(255,255,255,.35); }
.stx-player__fill { width: 0; background: var(--ed-red); }
.stx-player__knob { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 4px rgba(255,0,0,.35); transform: scale(.7); transition: transform .2s ease; }
.stx-player__track:hover .stx-player__knob, .stx-player__track:focus-visible .stx-player__knob { transform: none; }
.stx-player__track:hover::before, .stx-player__track:hover .stx-player__buf, .stx-player__track:hover .stx-player__fill { height: 6px; margin-top: -3px; }
.stx-player__set { position: relative; }
.stx-player__menu { position: absolute; top: calc(100% + 10px); right: -5px; min-width: 140px; padding: 6px; border-radius: 14px; background: rgba(17,17,20,.92); border: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; }
.stx-player__menu[hidden] { display: none; }
.stx-player__menu b { padding: 6px 10px 4px; font: 700 11px var(--ed-font); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.stx-player__menu button { text-align: left; padding: 8px 10px; border: 0; border-radius: 9px; background: transparent; color: #fff; font: 600 13px var(--ed-font); cursor: pointer; }
.stx-player__menu button:hover { background: rgba(255,255,255,.1); }
.stx-player__menu button.is-on { background: #FFE8E8; color: var(--ed-red-t); }
.stx-player.is-native .stx-player__hit, .stx-player.is-native .stx-player__big { display: none; }
.stx-player.is-native .stx-player__yt iframe { pointer-events: auto; }
.stx-video__frame.is-fs { max-width: none; border-radius: 0; transform: none !important; }
.stx-video__frame.is-fs .stx-player { border-radius: 0; }
@media (max-width: 600px) {
	.stx-player__top { top: 8px; right: 8px; padding: 3px; gap: 2px; }
	.stx-player__bar { left: 8px; right: 8px; bottom: 8px; gap: 8px; padding: 3px 3px 3px 10px; }
	.stx-player__btn { width: 32px; height: 32px; }
	.stx-player__time { font-size: 12px; }
	.stx-player__big { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
}
@media (prefers-reduced-motion: reduce) { .stx-player__spin { animation-duration: 2.4s; } }

/* Video, cinema: when the section comes into view the film zooms up by itself and the room goes dark */
.stx-video.is-cine { transition: background-color .9s ease; }
.stx-video.is-cine .ed-h2, .stx-video.is-cine .ed-head p { transition: color .9s ease; }
.stx-video.is-cine .stx-video__frame { max-width: var(--w, 960px); transform: scale(.72); transform-origin: 50% 20%; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.stx-video.is-cine .stx-video__btn { transition: box-shadow 1.2s ease; }
.stx-video.is-cine .stx-video__chip { opacity: 0; transition: opacity .5s ease; }
.stx-video.is-cine.is-on { background: #111114; }
.stx-video.is-cine.is-on .ed-h2 { color: #fff; }
.stx-video.is-cine.is-on .ed-head p:not(.ed-eyebrow) { color: rgba(255,255,255,.7); }
.stx-video.is-cine.is-on .stx-video__frame { transform: none; }
.stx-video.is-cine.is-on .stx-video__btn { box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); }
.stx-video.is-cine.is-on .stx-video__chip { opacity: 1; transition-delay: .9s; }

/* ---------- Stats ---------- */
.stx-stats .ed-stats dd span { font: inherit; color: inherit; }
.stx-stats .ed-stats dt { padding-right: 38px; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; }

/* ---------- Steps: certificate mini ---------- */
.stx-mini-cert { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 18px 14px 14px; border: 1.5px dashed #FFCCCC; background: #FFFBFB; }
.stx-mini-cert > b { font: 700 13px var(--ed-head); color: var(--ed-ink); }
.stx-cert__ribbon { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; background: #FFE8E8; color: var(--ed-red); }
.stx-cert__lines { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; }
.stx-cert__lines i { display: block; height: 6px; border-radius: 6px; background: #EFEFF3; width: 70%; }
.stx-cert__lines i + i { width: 46%; }
.stx-cert__sign { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 2px; }
.stx-cert__sign img { height: 18px; width: auto; }
.stx-cert__sign em { font-style: normal; font: 700 11px var(--ed-font); color: var(--ed-green); background: #DCFCE7; border-radius: 999px; padding: 3px 9px; }

/* ---------- Marquee (offline photos, partner logos) ---------- */
.stx-offline__rows { display: flex; flex-direction: column; gap: 8px; }
.stx-offline .stx-mq__track { gap: 8px; }
.stx-offline .stx-mq__item { border-radius: 10px; }
.stx-mq { overflow: hidden; }
.stx-mq__track { display: flex; gap: 14px; width: max-content; animation: stxMq var(--dur, 40s) linear infinite; }
.stx-mq--right .stx-mq__track { animation-direction: reverse; }
.stx-mq:hover .stx-mq__track { animation-play-state: paused; }
@keyframes stxMq { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
.stx-mq__item { flex: 0 0 auto; display: block; width: 280px; height: 190px; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: var(--ed-soft); cursor: zoom-in; transition: transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s ease; }
.stx-mq__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
button.stx-mq__item:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -16px rgba(17,17,20,.4); }
button.stx-mq__item:hover img { transform: scale(1.06); }
button.stx-mq__item:focus-visible { outline: 3px solid var(--ed-red); outline-offset: 2px; }

.stx-partners__board { padding: 26px 0; }
.stx-mq--logos { position: relative; }
.stx-mq--logos .stx-mq__item { width: 190px; height: 104px; background: #fff; border: 1px solid #ECECF0; border-radius: 18px; padding: 14px 20px; cursor: default; box-shadow: 0 1px 2px rgba(17,17,20,.05), 0 6px 18px rgba(17,17,20,.04); }
.stx-mq--logos .stx-mq__item img { object-fit: contain; }

.stx-lightbox { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 24px; background: rgba(17,17,20,.86); }
.stx-lightbox[hidden] { display: none; }
.stx-lightbox img { max-width: min(1100px, 100%); max-height: 86vh; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.stx-lightbox__close { position: absolute; right: 20px; top: 20px; width: 46px; height: 46px; border-radius: 999px; border: 0; background: #fff; color: var(--ed-ink); display: grid; place-items: center; cursor: pointer; transition: background .25s ease, color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.stx-lightbox__close:hover { background: var(--ed-red); color: #fff; transform: rotate(90deg); }

/* ---------- CTA / footer ---------- */
.stx-cta .ed-cta2__badge { border-radius: 999px; background: #fff; object-fit: contain; }
.stx-footer { position: relative; overflow: hidden; }
.stx-footer__art { position: absolute; right: -20px; top: 30px; width: 420px; height: auto; color: var(--ed-red); opacity: .08; pointer-events: none; }
.stx-footer .ed-footer__logo { padding: 6px; border-radius: 11px; }
.stx-footer .ed-footer__logo::after { display: none; }
.stx-footer__logo { height: 34px; width: auto; display: block; }
@media (max-width: 768px) { .stx-footer__art { width: 230px; top: auto; bottom: 140px; right: -20px; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.stx-courses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stx-navdd__btn { padding: 9px 12px; }
}
@media (max-width: 768px) {
	.stx-hero .ed-hero__title { font-size: 36px; }
	.stx-hero__after { font-size: .66em; }
	.stx-hero .ed-hero__lead { font-size: 15.5px; }
	.stx-hero .stx-hero__visual { height: 540px; }
	.stx-lab { width: min(340px, 90%); padding: 12px; top: 45%; }
	.stx-lab__code { font-size: 11px; }
	.stx-float--learners { left: 0; bottom: 6px; }
	.stx-spark { display: none; }
	.stx-float--cert { right: 0; top: 0; }
	.stx-float--batch { display: none; }
	.stx-courses__grid { grid-template-columns: 1fr; }
	.stx-video__chip { display: none; }
	.stx-video__btn, .stx-video__frame iframe, .stx-video__frame.is-playing { border-radius: 20px; }
	.stx-video__play { width: 66px; height: 66px; margin: -33px 0 0 -33px; }
	.stx-mq__item { width: 220px; height: 150px; }
	.stx-mq--logos .stx-mq__item { width: 150px; height: 88px; }
}
@media (max-width: 420px) {
	.stx-hero .ed-hero__title { font-size: 32px; }
	.stx-lab__out span { font-size: 11px; }
	.stx-lab__tools span { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
	.stx-mq__track, .stx-chart__pts circle, .stx-chart__fit, .stx-lab__r2, .stx-video__pulse, .stx-type.is-typing::after { animation: none !important; }
	.stx-chart__pts circle { opacity: 1; }
	.stx-chart__fit { stroke-dashoffset: 0; }
	.stx-lab__r2 { opacity: 1; }
	.stx-mq { overflow-x: auto; }
	.stx-navdd__menu, .stx-navdd__chev, .stx-follow a, .stx-video__btn img, .stx-mq__item, .stx-mq__item img { transition: none; }
}

/* ============ Course listing pages (Archive): Edusy courses-page layout ============ */
.statx-site .stx-phero .ed-phero__inner { padding-top: 124px; padding-bottom: 36px; }
.statx-site .stx-phero .ed-phero__art { top: 96px; }
.stx-pagerow { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 30px; }
.stx-pagerow__info { margin: 0; font-size: 14.5px; color: var(--ed-muted); }
.stx-pagerow__info b { font: 800 15px var(--ed-head); color: var(--ed-ink); }
.stx-pager { margin-top: 0; }
.stx-pager a { transition: background .25s ease, border-color .25s ease, color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.stx-pager a:hover { background: #FFF0F0; border-color: #FFCCCC; color: var(--ed-red-t); transform: translateY(-2px); }
.stx-pager a[aria-current] { background: var(--ed-red); border-color: var(--ed-red); color: #fff; }
.stx-pager a[aria-current]:hover { background: var(--ed-red); color: #fff; }
.stx-pager .stx-pager__step svg { display: block; }
@media (max-width: 768px) {
	.statx-site .stx-phero .ed-phero__inner { padding-top: 100px; padding-bottom: 28px; }
	.statx-site .stx-phero .ed-phero__art { top: 78px; }
}
@media (prefers-reduced-motion: reduce) {
	.stx-pager a { transition: none; }
}

/* Closed enrollment on a course card (Tutor Pro enrollment period over / paused): quiet, not clickable */
.ed-course .ed-course__enroll.stx-enroll--closed.stx-enroll--closed,
.ed-course:hover .ed-course__enroll.stx-enroll--closed.stx-enroll--closed { justify-content: center; gap: 8px; background: #FFF0F0; border-color: #FFCCCC; color: var(--ed-red-t); font-weight: 600; cursor: default; transform: none; box-shadow: none; }
.ed-course .stx-enroll--closed .ed-ico, .ed-course:hover .stx-enroll--closed .ed-ico { transform: none; width: 17px; height: 17px; stroke-width: 2; }

/* Page hero chart: upright, calm 7s loop (points pop in one by one, regression line grows from zero, hold, fade, repeat; the dashed curve flows slowly all the time) */
.statx-site .stx-phero .ed-phero__art { display: block; top: calc(50% + 42px); bottom: auto; right: calc(max(0px, (100% - 1200px) / 2) + 4px); width: 250px; height: auto; transform: translateY(-50%); opacity: 1; }
.stx-pchart { display: block; width: 100%; height: auto; color: var(--ed-red); opacity: .16; overflow: visible; }
.stx-pchart__curve { animation: stxPcFlow 2.6s linear infinite; }
.stx-pchart__pts circle { opacity: 0; transform-box: fill-box; transform-origin: center; animation: stxPcPop 7s cubic-bezier(.2,.8,.2,1) infinite; animation-delay: calc(var(--i) * .09s); }
.stx-pchart__fit { stroke-dasharray: 1; stroke-dashoffset: 1; animation: stxPcDraw 7s cubic-bezier(.2,.8,.2,1) infinite; }
@keyframes stxPcFlow { to { stroke-dashoffset: -38; } }
@keyframes stxPcPop {
	0% { opacity: 0; transform: scale(.2); }
	7%, 80% { opacity: 1; transform: scale(1); }
	91%, 100% { opacity: 0; transform: scale(.6); }
}
@keyframes stxPcDraw {
	0%, 20% { stroke-dashoffset: 1; opacity: 1; }
	42%, 82% { stroke-dashoffset: 0; opacity: 1; }
	92% { stroke-dashoffset: 0; opacity: 0; }
	100% { stroke-dashoffset: 1; opacity: 0; }
}
@media (max-width: 1100px) {
	.statx-site .stx-phero .ed-phero__art { width: 190px; right: 6px; }
}
@media (max-width: 768px) {
	.statx-site .stx-phero .ed-phero__art { width: 120px; right: 14px; top: 84px; transform: none; }
	.stx-pchart { opacity: .1; }
}
@media (prefers-reduced-motion: reduce) {
	.stx-pchart__curve, .stx-pchart__pts circle, .stx-pchart__fit { animation: none; opacity: 1; stroke-dashoffset: 0; }
}

/* ============ Ongoing Courses: Live / Recorded tabs (auto-switch until the visitor picks one) ============ */
.stx-tabs__bar { display: inline-flex; gap: 6px; padding: 6px; background: #fff; border: 1.5px solid var(--ed-line); border-radius: 999px; }
.stx-tabs__tab { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 18px 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ed-ink); font: 700 15px var(--ed-font); cursor: pointer; transition: background-color .3s ease, color .3s ease, box-shadow .3s ease; -webkit-tap-highlight-color: transparent; }
.stx-tabs__tab .ed-ico { color: var(--ed-muted); transition: color .3s ease; }
.stx-tabs__tab:hover { background: var(--ed-soft); }
.stx-tabs__tab:focus-visible { outline: 2px solid var(--ed-red); outline-offset: 2px; }
.stx-tabs__tab.is-active { background: #FFF0F0; color: var(--ed-red-t); box-shadow: inset 0 0 0 1.5px #FFCCCC; }
.stx-tabs__tab.is-active .ed-ico { color: var(--ed-red); }
.stx-tabs__n { min-width: 24px; height: 24px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--ed-chip); color: var(--ed-muted); font: 800 12.5px var(--ed-head); transition: background-color .3s ease, color .3s ease; }
.stx-tabs__tab.is-active .stx-tabs__n { background: var(--ed-red); color: #fff; }
.stx-tabs__prog { position: absolute; left: 20px; right: 20px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--ed-red); opacity: 0; transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.stx-tabs.is-auto.is-run .stx-tabs__tab.is-active .stx-tabs__prog { opacity: .55; animation: stxTabProg var(--stx-tab-ms, 5s) linear forwards; }
.stx-tabs.is-paused .stx-tabs__tab.is-active .stx-tabs__prog { animation-play-state: paused; }
@keyframes stxTabProg { to { transform: scaleX(1); } }
.stx-tabs__lead { margin: 14px 0 20px; font-size: 15px; color: var(--ed-muted); }
/* Panels share one grid cell, so the page does not jump when the tab changes */
.stx-tabs__panels { display: grid; }
.stx-tabs__panel { grid-area: 1 / 1; min-width: 0; }
.stx-tabs__panel[hidden] { display: none; } /* each tab takes only its own height */
.stx-tabs__panel.is-active { animation: stxTabIn .45s cubic-bezier(.2,.8,.2,1); }
.stx-tabs__panel.is-active .ed-course { animation: stxTabIn .5s cubic-bezier(.2,.8,.2,1) both; }
.stx-tabs__panel.is-active .ed-course:nth-child(2) { animation-delay: .06s; }
.stx-tabs__panel.is-active .ed-course:nth-child(3) { animation-delay: .12s; }
.stx-tabs__panel.is-active .ed-course:nth-child(4) { animation-delay: .18s; }
.stx-tabs__panel.is-active .ed-course:nth-child(5) { animation-delay: .24s; }
.stx-tabs__panel.is-active .ed-course:nth-child(n+6) { animation-delay: .3s; }
@keyframes stxTabIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
	.stx-tabs__bar { display: flex; width: 100%; }
	.stx-tabs__tab { flex: 1 1 auto; justify-content: center; gap: 7px; padding: 0 10px; font-size: 14px; white-space: nowrap; }
	.stx-tabs__prog { left: 14px; right: 14px; }
}
@media (max-width: 420px) {
	.stx-tabs__tab .ed-ico { display: none; }
	.stx-tabs__tab { gap: 6px; padding: 0 8px; font-size: 13.5px; }
	.stx-tabs__n { min-width: 22px; height: 22px; padding: 0 6px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.stx-tabs__panel.is-active, .stx-tabs__panel.is-active .ed-course { animation: none; }
	.stx-tabs__tab, .stx-tabs__n { transition: none; }
}

/* Ongoing: folder tabs — two half-width tabs attached to the course board below */
.stx-tabs--folder { --ft-line: var(--ed-line); --ft-r: 24px; }
.stx-tabs--folder .stx-tabs__bar { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; align-items: end; width: 100%; gap: 0; padding: 0; background: none; border: 0; border-radius: 0; }
.stx-tabs--folder .stx-tabs__tab { position: relative; z-index: 1; overflow: visible; width: 100%; height: 60px; justify-content: center; gap: 14px; padding: 0 24px; border: 1.5px solid transparent; border-bottom: 0; border-radius: var(--ft-r) var(--ft-r) 0 0; background: #ECECF1; color: var(--ed-muted); font: 700 18px var(--ed-head); letter-spacing: -.01em; white-space: nowrap; box-shadow: inset 0 -1.5px 0 var(--ft-line); transition: height .38s cubic-bezier(.2,.8,.2,1), background-color .3s ease, color .3s ease; }
.stx-tabs--folder .stx-tabs__tab:hover { background: #E4E4EA; color: var(--ed-ink); }
.stx-tabs--folder .stx-tabs__tab.is-active { z-index: 2; height: 74px; background: #fff; color: var(--ed-ink); border-color: var(--ft-line); box-shadow: none; }
.stx-tabs--folder .stx-tabs__tab.is-active::before { content: ""; position: absolute; bottom: 0; width: 25px; height: 25px; pointer-events: none; }
.stx-tabs--folder .stx-tabs__tab:first-child.is-active::before { right: -26.5px; background: radial-gradient(circle at 100% 0, transparent 22.6px, var(--ft-line) 23.2px, var(--ft-line) 24.4px, #fff 25px); }
.stx-tabs--folder .stx-tabs__tab:last-child.is-active::before { left: -26.5px; background: radial-gradient(circle at 0 0, transparent 22.6px, var(--ft-line) 23.2px, var(--ft-line) 24.4px, #fff 25px); }
.stx-tabs--folder .stx-tabs__ico { position: relative; flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(255,255,255,.75); color: var(--ed-muted); transition: background-color .3s ease, color .3s ease, transform .38s cubic-bezier(.2,.8,.2,1); }
.stx-tabs--folder .stx-tabs__ico .ed-ico { color: inherit; }
.stx-tabs--folder .stx-tabs__tab.is-active .stx-tabs__ico { background: var(--ed-red); color: #fff; transform: rotate(-6deg); }
.stx-tabs--folder .stx-tabs__tab.is-active .stx-tabs__ico--live::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: stxFtRing 1.8s ease-out infinite; }
@keyframes stxFtRing { from { box-shadow: 0 0 0 0 rgba(255,0,0,.4); } to { box-shadow: 0 0 0 10px rgba(255,0,0,0); } }
.stx-tabs--folder .stx-tabs__n { min-width: 28px; height: 28px; font-size: 14px; background: #fff; }
.stx-tabs--folder .stx-tabs__tab.is-active .stx-tabs__n { background: #FFF0F0; color: var(--ed-red-t); box-shadow: inset 0 0 0 1.5px #FFCCCC; }
.stx-tabs--folder .stx-tabs__prog { top: -1.5px; bottom: auto; left: var(--ft-r); right: var(--ft-r); height: 3px; border-radius: 0 0 3px 3px; }
.stx-tabs--folder .stx-tabs__tab.is-active .stx-tabs__prog { opacity: 1; }
.stx-tabs--folder.is-auto.is-run .stx-tabs__tab.is-active .stx-tabs__prog { opacity: 1; }
.stx-tabs--folder:not(.is-run) .stx-tabs__tab.is-active .stx-tabs__prog { transform: scaleX(1); }
.stx-tabs--folder .stx-tabs__panels { position: relative; z-index: 1; padding: 30px 28px 28px; background: #fff; border: 1.5px solid var(--ft-line); border-top: 0; border-radius: 0 0 28px 28px; box-shadow: none; }
.stx-tabs--folder .ed-empty { margin: 0; }

/* Card: "Enrollment closes on <date>" (Tutor Pro enrollment period end) */
.stx-closes { display: flex; align-items: center; gap: 11px; margin: 0 0 12px; padding: 9px 12px; border: 1px dashed #FFCCCC; border-radius: 12px; background: #FFF5F5; line-height: 1.25; }
.stx-closes__ico { position: relative; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ed-red); color: #fff; }
.stx-closes__ico .ed-ico { color: inherit; }
.stx-closes__ico::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: stxFtRing 2s ease-out infinite; }
.stx-closes__txt { display: flex; flex-direction: column; gap: 2px; font-size: 12px; font-weight: 600; color: var(--ed-muted); }
.stx-closes__txt time { font: 800 15px var(--ed-head); letter-spacing: -.01em; color: var(--ed-red-t); white-space: nowrap; }

@media (max-width: 760px) {
	.stx-tabs--folder { --ft-r: 18px; }
	.stx-tabs--folder .stx-tabs__tab { height: 52px; gap: 9px; padding: 0 10px; font-size: 15px; }
	.stx-tabs--folder .stx-tabs__tab.is-active { height: 62px; }
	.stx-tabs--folder .stx-tabs__ico { width: 32px; height: 32px; border-radius: 10px; }
	.stx-tabs--folder .stx-tabs__n { min-width: 24px; height: 24px; font-size: 12.5px; }
	.stx-tabs--folder .stx-tabs__panels { padding: 18px 14px 14px; border-radius: 0 0 22px 22px; }
}
@media (max-width: 420px) {
	.stx-tabs--folder .stx-tabs__ico { display: none; }
	.stx-tabs--folder .stx-tabs__tab { gap: 7px; padding: 0 6px; font-size: 14px; }
	.stx-tabs--folder .stx-tabs__n { min-width: 22px; height: 22px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.stx-tabs--folder .stx-tabs__tab, .stx-tabs--folder .stx-tabs__ico { transition: none; }
	.stx-tabs--folder .stx-tabs__ico--live::after, .stx-closes__ico::after { animation: none; }
}

/* Archive page (2083): dark hero only — ink with red glow and a faint grid; the course section below stays light */
.page-id-2083 .stx-phero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 0; background: radial-gradient(520px 300px at 82% 55%, rgba(255,0,0,.2), transparent 70%), radial-gradient(460px 240px at 8% 0%, rgba(255,0,0,.1), transparent 70%), #111114; }
.page-id-2083 .stx-phero::before, .page-id-2083 .stx-phero::after { display: none; }
.page-id-2083 .stx-phero .ed-phero__inner { position: relative; z-index: 1; }
.page-id-2083 .stx-phero .ed-phero__inner::before { content: ""; position: absolute; inset: -200px -2000px 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(50% 75% at 70% 30%, #000 20%, transparent 100%); mask-image: radial-gradient(50% 75% at 70% 30%, #000 20%, transparent 100%); }
.page-id-2083 .stx-phero .ed-phero__art { z-index: 1; }
.page-id-2083 .stx-phero .ed-crumbs, .page-id-2083 .stx-phero .ed-crumbs a { color: rgba(255,255,255,.6); }
.page-id-2083 .stx-phero .ed-crumbs a:hover { color: #fff; }
.page-id-2083 .stx-phero .ed-crumbs span:last-child { color: #fff; }
.page-id-2083 .stx-phero .ed-eyebrow { color: #FF4D4D; }
.page-id-2083 .stx-phero .ed-phero__title { color: #fff; }
.page-id-2083 .stx-phero .ed-phero__lead { color: rgba(255,255,255,.75); }
.statx-site.page-id-2083 .stx-phero .stx-pchart { color: #FF3B3B; opacity: .55; }
@media (max-width: 768px) { .statx-site.page-id-2083 .stx-phero .stx-pchart { opacity: .4; } }

/* Dark page hero extras (Archive): moving data network, big outline word, red last word in the title */
.stx-phero--net .stx-net { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.stx-phero--net .stx-phero__word { position: absolute; z-index: 0; left: calc(max(0px, (100% - 1200px) / 2) + 300px); bottom: 24px; font: 800 190px/1 var(--ed-head); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.06); white-space: nowrap; pointer-events: none; user-select: none; }
.stx-phero--net .stx-phero__red { color: var(--ed-red); }
@media (max-width: 768px) { .stx-phero--net .stx-phero__word { font-size: 84px; left: 16px; bottom: 18px; } }

/* Ongoing page: same dark hero as Archive (data network + outline word) */
.page-id-2139 .stx-phero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 0; background: radial-gradient(520px 300px at 82% 55%, rgba(255,0,0,.2), transparent 70%), radial-gradient(460px 240px at 8% 0%, rgba(255,0,0,.1), transparent 70%), #111114; }
.page-id-2139 .stx-phero::before, .page-id-2139 .stx-phero::after { display: none; }
.page-id-2139 .stx-phero .ed-phero__inner { position: relative; z-index: 1; }
.page-id-2139 .stx-phero .ed-phero__inner::before { content: ""; position: absolute; inset: -200px -2000px 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(50% 75% at 70% 30%, #000 20%, transparent 100%); mask-image: radial-gradient(50% 75% at 70% 30%, #000 20%, transparent 100%); }
.page-id-2139 .stx-phero .ed-phero__art { z-index: 1; }
.page-id-2139 .stx-phero .ed-crumbs, .page-id-2139 .stx-phero .ed-crumbs a { color: rgba(255,255,255,.6); }
.page-id-2139 .stx-phero .ed-crumbs a:hover { color: #fff; }
.page-id-2139 .stx-phero .ed-crumbs span:last-child { color: #fff; }
.page-id-2139 .stx-phero .ed-eyebrow { color: #FF4D4D; }
.page-id-2139 .stx-phero .ed-phero__title { color: #fff; }
.page-id-2139 .stx-phero .ed-phero__lead { color: rgba(255,255,255,.75); }
.statx-site.page-id-2139 .stx-phero .stx-pchart { color: #FF3B3B; opacity: .55; }
@media (max-width: 768px) { .statx-site.page-id-2139 .stx-phero .stx-pchart { opacity: .4; } }

/* ============ Nav: a current dropdown (e.g. Courses on Ongoing/Archive) looks like a current link (white glass, red icon) ============ */
.stx-header .stx-navdd.is-current .stx-navdd__btn { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.stx-header .stx-navdd.is-current .stx-navdd__btn .ed-ico { color: #FF3B3B; }
.stx-header .stx-navdd.is-current:hover .stx-navdd__btn, .stx-header .stx-navdd.is-current.is-open .stx-navdd__btn { background: rgba(255,255,255,.2); color: #fff; }

/* ============ Home: Live / Recorded tabs with a pager (6 per tab) ============ */
.stx-home-tabs { margin-top: 6px; }
.stx-pagerow--tab { margin-top: 26px; }
.stx-pager .stx-pager__next { gap: 6px; padding: 0 16px; }

/* ============ Footer: four link columns ============ */
.stx-footer .stx-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 32px 44px; justify-content: space-between; }
@media (max-width: 900px) { .stx-footer .stx-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============ Global header/footer on the other (Elementor/Tutor) pages ============ */
.stx-chrome-top { position: relative; z-index: 100; height: 100px; }
.stx-chrome .stx-header, .stx-chrome .stx-footer, .stx-chrome .ed-bottomnav { font-family: var(--ed-font); -webkit-font-smoothing: antialiased; }
.stx-chrome .stx-header *, .stx-chrome .stx-footer *, .stx-chrome .ed-bottomnav * { box-sizing: border-box; }
@media (max-width: 768px) { .stx-chrome-top { height: 80px; } }
/* Theme/WooCommerce image rules (e.g. cart) must not resize the footer logo */
.stx-chrome .stx-footer .ed-footer__logo img.stx-footer__logo { width: auto !important; height: 34px !important; max-width: none !important; }

/* ============ Footer: five link columns (Courses / Community / My Account / StatX / Legal) ============ */
.stx-footer .stx-footer__cols { grid-template-columns: repeat(5, minmax(0, auto)); gap: 32px 36px; }
@media (max-width: 1100px) { .stx-footer .stx-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .stx-footer .stx-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============ Header: the top gap closes softly once the page scrolls, and comes back at the very top ============ */
.ed-header.stx-header { transition: top .4s cubic-bezier(.2,.8,.2,1); }
.ed-header.stx-header.is-scrolled { top: var(--wp-admin--admin-bar--height, 0px); }
@media (prefers-reduced-motion: reduce) { .ed-header.stx-header { transition: none; } }

/* ============ Mobile header: menu left, logo centre, cart right (like the old Elementor header) ============ */
@media (max-width: 960px) {
	.stx-header .ed-header__row { position: relative; }
	.stx-header .ed-header__brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
	.stx-header .ed-header__mobile { flex: 1; flex-direction: row; justify-content: space-between; }
	.stx-header .ed-burger { background: transparent; border-color: rgba(255,255,255,.22); color: #fff; }
	.stx-header .ed-burger:hover { background: rgba(255,255,255,.1); }
	.stx-header .ed-burger[aria-expanded="true"] { background: #fff; border-color: #fff; color: var(--ed-ink); }
	.stx-header .ed-header__row { padding: 0 10px; }
	/* The open menu scrolls inside itself so the bottom rows (Log in, Register, Log out) can be reached */
	.stx-header .ed-drawer { max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 100px); max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 100px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 768px) {
	.stx-header .ed-drawer { max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 180px); max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 180px); }
}

/* ============ Footer on wide screens: equal space between the five columns, slightly larger text ============ */
@media (min-width: 1101px) {
	.stx-footer .stx-footer__cols { grid-template-columns: repeat(5, max-content); justify-content: space-between; }
	.stx-footer .ed-footer__col { min-width: 0; }
	.stx-footer .ed-footer__col a { white-space: nowrap; }
}

/* ============ Phone bottom bar hidden (Abdul, 2026-11-07). Markup still prints; delete this block to bring it back ============ */
.stx-chrome .ed-bottomnav, body .ed-bottomnav { display: none !important; }
@media (max-width: 768px) {
	body.edusy-site, body.stx-chrome { padding-bottom: 0; }
	.stx-chrome .ed-footer__word { padding-bottom: 24px; }
	.stx-header .ed-drawer { max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 100px); max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 100px); }
}

/* ============ Mobile header: slightly taller logo (Abdul, 2026-11-07) ============ */
@media (max-width: 768px) { .stx-header .ed-header__brand .stx-logo { height: 34px; } }

/* ============ Community pages (Admin Panel 1917, Instructors 133, Students 5115) — 2026-11-07 ============ */
/* Same dark network hero as Archive / Ongoing */
:is(.page-id-1917, .page-id-133, .page-id-5115, .page-id-129, .page-id-131, .page-id-4295, .page-id-4087, .page-id-4052, .page-id-4069, .page-id-1915, .page-id-4659, .page-id-8, .stx-dash) .stx-phero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 0; background: radial-gradient(520px 300px at 82% 55%, rgba(255,0,0,.2), transparent 70%), radial-gradient(460px 240px at 8% 0%, rgba(255,0,0,.1), transparent 70%), #111114; }
:is(.page-id-1917, .page-id-133, .page-id-5115, .page-id-129, .page-id-131, .page-id-4295, .page-id-4087, .page-id-4052, .page-id-4069, .page-id-1915, .page-id-4659, .page-id-8, .stx-dash) .stx-phero::before, :is(.page-id-1917, .page-id-133, .page-id-5115, .page-id-129, .page-id-131, .page-id-4295, .page-id-4087, .page-id-4052, .page-id-4069, .page-id-1915, .page-id-4659, .page-id-8, .stx-dash) .stx-phero::after { display: none; }
:is(.page-id-1917, .page-id-133, .page-id-5115, .page-id-129, .page-id-131, .page-id-4295, .page-id-4087, .page-id-4052, .page-id-4069, .page-id-1915, .page-id-4659, .page-id-8, .stx-dash) .stx-phero .ed-phero__inner { position: relative; z-index: 1; }
:is(.page-id-1917, .page-id-133, .page-id-5115, .page-id-129, .page-id-131, .page-id-4295, .page-id-4087, .page-id-4052, .page-id-4069, .page-id-1915, .page-id-4659, .page-id-8, .stx-dash) .stx-phero .ed-phero__inner::before { content: ""; position: absolute; inset: -200px -2000px 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(50% 75% at 70% 30%, #000 20%, transparent 100%); mask-image: radial-gradient(50% 75% at 70% 30%, #000 20%, transparent 100%); }
:is(.page-id-1917, .page-id-133, .page-id-5115, .page-id-129, .page-id-131, .page-id-4295, .page-id-4087, .page-id-4052, .page-id-4069, .page-id-1915, .page-id-4659, .page-id-8, .stx-dash) .stx-phero .ed-phero__art { z-index: 1; }
:is(.page-id-1917, .page-id-133, .page-id-5115, .page-id-129, .page-id-131, .page-id-4295, .page-id-4087, .page-id-4052, .page-id-4069, .page-id-1915, .page-id-4659, .page-id-8, .stx-dash) .stx-phero .ed-crumbs, :is(.page-id-1917, .page-id-133, .page-id-5115, .page-id-129, .page-id-131, .page-id-4295, .page-id-4087, .page-id-4052, .page-id-4069, .page-id-1915, .page-id-4659, .page-id-8, .stx-dash) .stx-phero .ed-crumbs a { color: rgba(255,255,255,.6); }
:is(.page-id-1917, .page-id-133, .page-id-5115, .page-id-129, .page-id-131, .page-id-4295, .page-id-4087, .page-id-4052, .page-id-4069, .page-id-1915, .page-id-4659, .page-id-8, .stx-dash) .stx-phero .ed-crumbs a:hover, :is(.page-id-1917, .page-id-133, .page-id-5115, .page-id-129, .page-id-131, .page-id-4295, .page-id-4087, .page-id-4052, .page-id-4069, .page-id-1915, .page-id-4659, .page-id-8, .stx-dash) .stx-phero .ed-crumbs span:last-child { color: #fff; }
:is(.page-id-1917, .page-id-133, .page-id-5115, .page-id-129, .page-id-131, .page-id-4295, .page-id-4087, .page-id-4052, .page-id-4069, .page-id-1915, .page-id-4659, .page-id-8, .stx-dash) .stx-phero .ed-eyebrow { color: #FF4D4D; }
:is(.page-id-1917, .page-id-133, .page-id-5115, .page-id-129, .page-id-131, .page-id-4295, .page-id-4087, .page-id-4052, .page-id-4069, .page-id-1915, .page-id-4659, .page-id-8, .stx-dash) .stx-phero .ed-phero__title { color: #fff; }
:is(.page-id-1917, .page-id-133, .page-id-5115, .page-id-129, .page-id-131, .page-id-4295, .page-id-4087, .page-id-4052, .page-id-4069, .page-id-1915, .page-id-4659, .page-id-8, .stx-dash) .stx-phero .ed-phero__lead { color: rgba(255,255,255,.75); }
.statx-site:is(.page-id-1917, .page-id-133, .page-id-5115, .page-id-129, .page-id-131, .page-id-4295, .page-id-4087, .page-id-4052, .page-id-4069, .page-id-1915, .page-id-4659, .page-id-8, .stx-dash) .stx-phero .stx-pchart { color: #FF3B3B; opacity: .55; }
@media (max-width: 768px) { .statx-site:is(.page-id-1917, .page-id-133, .page-id-5115, .page-id-129, .page-id-131, .page-id-4295, .page-id-4087, .page-id-4052, .page-id-4069, .page-id-1915, .page-id-4659, .page-id-8, .stx-dash) .stx-phero .stx-pchart { opacity: .4; } }

/* Section + head */
.stx-comm { background: var(--ed-soft); padding: 48px 0 var(--ed-section, 96px); }
.stx-comm__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 24px; margin-bottom: 28px; }
.stx-comm__head .ed-eyebrow { flex-basis: 100%; margin: 0; }
.stx-comm__title { margin: 0; font: 800 clamp(26px, 3.4vw, 36px)/1.15 var(--ed-head); letter-spacing: -.01em; color: var(--ed-ink); }
.stx-comm__title span { color: var(--ed-red); }
.stx-comm__count { margin: 0; font-size: 15px; color: var(--ed-muted); }
.stx-comm__count b, .stx-stu-bar__count b { font: 800 22px var(--ed-head); color: var(--ed-red); margin-right: 2px; }
@keyframes stx-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Shared: social buttons (pink tile -> red on hover) and initials avatars */
.stx-socs { display: flex; gap: 8px; }
.stx-soc { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #FFF0F0; border: 1px solid #FFCCCC; color: var(--ed-red-t); text-decoration: none; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.stx-soc:hover { background: var(--ed-red); border-color: var(--ed-red); color: #fff; transform: translateY(-2px) rotate(-6deg); box-shadow: 0 10px 22px -8px rgba(255,0,0,.55); }
.stx-soc:active { transform: scale(.94); }
.stx-ini { display: grid; place-items: center; width: 100%; height: 100%; font: 800 1em/1 var(--ed-head); letter-spacing: .02em; --c: #D90000; --t: #FFF0F0; background: radial-gradient(120% 120% at 20% 10%, #fff 0%, var(--t) 60%); color: var(--c); }
.stx-ini--blue { --c: #1D4ED8; --t: #E8EEFF; }
.stx-ini--green { --c: #15803D; --t: #E6F6EC; }
.stx-ini--amber { --c: #B45309; --t: #FFF3E0; }
.stx-ini--purple { --c: #7C3AED; --t: #F1EAFF; }
.stx-ini--teal { --c: #0F766E; --t: #E3F6F3; }

/* ---------- Admin Panel: team cards ---------- */
.stx-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stx-team { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ed-line); border-radius: 26px; overflow: hidden; transition: transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s cubic-bezier(.2,.8,.2,1), border-color .3s ease; animation: stx-rise .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(min(var(--d, 0), 8) * 70ms); }
.stx-team:hover { transform: translateY(-6px); border-color: #FFD6D6; box-shadow: 0 28px 50px -26px rgba(17,17,20,.35), 0 10px 24px -14px rgba(255,0,0,.25); }
.stx-team__media { position: relative; aspect-ratio: 1 / .9; overflow: hidden; background: radial-gradient(70% 60% at 50% 100%, #FFE0E0 0%, transparent 70%), linear-gradient(rgba(17,17,20,.04) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, rgba(17,17,20,.04) 1px, transparent 1px) 0 0 / 26px 26px, #FBFBFC; font-size: 64px; }
.stx-team__media::after { content: ""; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(to top, rgba(17,17,20,.55), transparent); opacity: 0; transition: opacity .38s ease; pointer-events: none; }
.stx-team:hover .stx-team__media::after { opacity: 1; }
.stx-team__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.stx-team:hover .stx-team__img { transform: scale(1.06); }
.stx-team__no { position: absolute; right: 16px; top: 8px; z-index: 1; font: 800 64px/1 var(--ed-head); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85); pointer-events: none; }
.stx-team__tag { position: absolute; left: 14px; top: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(17,17,20,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 700 12px var(--ed-font); letter-spacing: .02em; }
.stx-team__tag .ed-ico, .stx-team__tag svg { color: #FF4D4D; }
.stx-team--lead .stx-team__tag { background: var(--ed-red); }
.stx-team--lead .stx-team__tag svg { color: #fff; }
.stx-team__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.stx-team__body::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--ed-red); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.stx-team:hover .stx-team__body::before { transform: scaleX(1); }
.stx-team__name { margin: 0; font: 800 21px/1.25 var(--ed-head); letter-spacing: -.01em; color: var(--ed-ink); }
.stx-team__name a { color: inherit; text-decoration: none; transition: color .25s ease; }
.stx-team__name a:hover, .stx-team:hover .stx-team__name a { color: var(--ed-red); }
.stx-team__role { margin: 8px 0 0; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: #FFF0F0; color: var(--ed-red-t); font: 700 13px/1.35 var(--ed-font); }
.stx-team__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.stx-team__go { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 12px; border: 1px solid #FFCCCC; background: #FFF0F0; color: var(--ed-red-t); font: 700 14px var(--ed-font); text-decoration: none; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.stx-team__go svg { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.stx-team__go:hover { background: var(--ed-red); border-color: var(--ed-red); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(255,0,0,.55); }
.stx-team__go:hover svg { transform: translateX(3px); }

/* ---------- Instructors: big framed photo card (v2, 2026-11-07) ---------- */
.stx-tutor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stx-tutor { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ed-line); border-radius: 28px; padding: 10px; transition: transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s cubic-bezier(.2,.8,.2,1), border-color .3s ease; animation: stx-rise .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(min(var(--d, 0), 8) * 70ms); }
.stx-tutor:hover { transform: translateY(-6px); border-color: #FFD6D6; box-shadow: 0 30px 54px -28px rgba(17,17,20,.38), 0 12px 26px -16px rgba(255,0,0,.3); }
.stx-tutor__media { position: relative; display: block; aspect-ratio: 1 / 1.02; border-radius: 20px; overflow: hidden; isolation: isolate; background: radial-gradient(80% 70% at 50% 100%, #FFD9D9 0%, transparent 70%), linear-gradient(rgba(17,17,20,.04) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(17,17,20,.04) 1px, transparent 1px) 0 0 / 24px 24px, #FBFBFC; font-size: 72px; text-decoration: none; }
.stx-tutor__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(17,17,20,.62) 0%, rgba(17,17,20,0) 42%); pointer-events: none; transition: opacity .38s ease; }
.stx-tutor__img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.stx-tutor:hover .stx-tutor__img { transform: scale(1.06); }
.stx-tutor__media .stx-ini { position: absolute; inset: 0; border-radius: 0; }
.stx-tutor__rate { position: absolute; z-index: 2; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ed-ink); font-size: 13px; }
.stx-tutor__rate b { font: 800 14px var(--ed-head); }
.stx-tutor__rate small { color: var(--ed-muted); font-size: 12px; }
.stx-tutor__chip { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--ed-red); color: #fff; font: 700 12px var(--ed-font); letter-spacing: .03em; text-transform: uppercase; }
.stx-tutor__body { display: flex; flex-direction: column; flex: 1; padding: 16px 12px 10px; }
.stx-tutor__name { margin: 0; font: 800 22px/1.25 var(--ed-head); letter-spacing: -.01em; }
.stx-tutor__name a { color: var(--ed-ink); text-decoration: none; transition: color .25s ease; }
.stx-tutor:hover .stx-tutor__name a, .stx-tutor__name a:hover { color: var(--ed-red); }
.stx-tutor__job { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--ed-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.stx-tutor__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.stx-tutor__meta span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 12px; background: var(--ed-soft); color: var(--ed-muted); font-size: 13.5px; transition: background .3s ease, color .3s ease; }
.stx-tutor__meta b { font: 800 15px var(--ed-head); color: var(--ed-ink); }
.stx-tutor__meta svg { color: var(--ed-red); }
.stx-tutor:hover .stx-tutor__meta span { background: #FFF5F5; }
.stx-tutor__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; }
.stx-tutor__go { position: relative; overflow: hidden; margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 14px; border: 1px solid #FFCCCC; background: #FFF0F0; color: var(--ed-red-t); font: 700 14.5px var(--ed-font); text-decoration: none; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.stx-tutor__go svg { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.stx-tutor__go::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); pointer-events: none; }
.stx-tutor__go:hover { background: var(--ed-red); border-color: var(--ed-red); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -6px rgba(255,0,0,.6); }
.stx-tutor__go:hover::after { left: 130%; transition: left .8s ease; }
.stx-tutor__go:hover svg { transform: translateX(3px); }
.stx-tutor__go:active, .stx-team__go:active { transform: scale(.97); }
@media (max-width: 1180px) { .stx-tutor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .stx-tutor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .stx-tutor-grid { grid-template-columns: 1fr; gap: 18px; } }
@media (prefers-reduced-motion: reduce) { .stx-tutor { animation: none; transition: none; } .stx-tutor__img, .stx-tutor__go { transition: none; } }

/* ---------- Students ---------- */
.stx-stu-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 24px; }
.stx-stu-search { position: relative; display: flex; align-items: center; gap: 8px; flex: 0 1 520px; height: 56px; padding: 6px 6px 6px 46px; background: #fff; border: 1.5px solid var(--ed-line); border-radius: 16px; transition: border-color .25s ease, box-shadow .25s ease; }
.stx-stu-search:focus-within { border-color: var(--ed-red); box-shadow: 0 0 0 4px rgba(255,0,0,.08); }
.stx-stu-search > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ed-muted); }
.stx-stu-search input { flex: 1; min-width: 0; height: 100%; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent; padding: 0; font: 500 15.5px var(--ed-font); color: var(--ed-ink); }
.stx-stu-search .ed-btn.ed-btn--primary { height: 44px; padding: 0 22px; border-radius: 12px; box-shadow: none; }
.stx-stu-bar__count { margin: 0; font-size: 15px; color: var(--ed-muted); }
.stx-stu-bar__count a { color: var(--ed-red-t); font-weight: 700; }
.stx-stu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stx-stu { position: relative; display: flex; align-items: center; gap: 14px; min-height: 92px; padding: 14px 14px 14px 14px; background: #fff; border: 1px solid var(--ed-line); border-radius: 20px; text-decoration: none; color: var(--ed-ink); overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s cubic-bezier(.2,.8,.2,1), border-color .3s ease, background .3s ease; }
.stx-stu::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--ed-red); transform: scaleY(0); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.stx-stu:hover { transform: translateY(-4px); border-color: #FFD6D6; box-shadow: 0 20px 38px -22px rgba(17,17,20,.3), 0 8px 18px -12px rgba(255,0,0,.22); }
.stx-stu:hover::before { transform: scaleY(1); }
.stx-stu:active { transform: scale(.98); }
.stx-stu__ava { position: relative; flex: none; width: 60px; height: 60px; border-radius: 50%; font-size: 20px; }
.stx-stu__ava img, .stx-stu__ava .stx-ini { display: grid; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--ed-line); transition: box-shadow .3s ease; }
.stx-stu:hover .stx-stu__ava img, .stx-stu:hover .stx-stu__ava .stx-ini { box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--ed-red); }
.stx-stu__txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.stx-stu__name { font: 700 16px/1.3 var(--ed-head); color: var(--ed-ink); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .25s ease; }
.stx-stu:hover .stx-stu__name { color: var(--ed-red); }
.stx-stu__tag { align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: var(--ed-chip); color: var(--ed-muted); font: 600 11.5px var(--ed-font); }
.stx-stu__go { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--ed-soft); color: var(--ed-muted); opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.2,1), background .25s ease, color .25s ease; }
.stx-stu:hover .stx-stu__go { opacity: 1; transform: none; background: var(--ed-red); color: #fff; }
/* Best performer (gold badge from the user profile) */
.stx-stu.is-gold { background: linear-gradient(135deg, #FFFBF0 0%, #fff 55%); border-color: #F6DFA0; }
.stx-stu.is-gold .stx-stu__ava img, .stx-stu.is-gold .stx-stu__ava .stx-ini { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #F2B705; }
.stx-stu__crown { position: absolute; left: 50%; top: -15px; z-index: 1; display: grid; place-items: center; width: 30px; height: 22px; border-radius: 8px; background: linear-gradient(135deg, #FFD54A, #F2A900); color: #fff; border: 2px solid #fff; box-shadow: 0 4px 10px -3px rgba(242,169,0,.75); transform: translateX(-50%) rotate(-8deg); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.stx-stu__crown svg { width: 15px; height: 15px; }
.stx-stu:hover .stx-stu__crown { transform: translateX(-50%) translateY(-2px) scale(1.08); }
.stx-stu__tag--gold { background: #FFF3D1; color: #92600A; }
.stx-pager__gap { display: inline-flex; align-items: flex-end; justify-content: center; min-width: 22px; color: var(--ed-muted); font-weight: 700; }

/* Responsive */
@media (max-width: 1100px) { .stx-stu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .stx-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .stx-stu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.stx-comm { padding-top: 32px; }
	.stx-team-grid { grid-template-columns: 1fr; gap: 18px; }
	.stx-stu-grid { grid-template-columns: 1fr; gap: 12px; }
	.stx-stu-search { flex-basis: 100%; }
	.stx-stu-search .ed-btn.ed-btn--primary { padding: 0 16px; }
	.stx-stu__go { opacity: 1; transform: none; }
	.stx-team__no { font-size: 54px; }
}
@media (prefers-reduced-motion: reduce) {
	.stx-team { animation: none; }
	.stx-team, .stx-stu, .stx-team__img, .stx-soc, .stx-team__go { transition: none; }
}

/* ============ Public profile /profile/<user>/ (students + instructors), 2026-11-07 ============ */
.stx-prof-hero { position: relative; isolation: isolate; overflow: hidden; padding: 128px 0 40px; color: #fff; background: radial-gradient(560px 320px at 85% 40%, rgba(255,0,0,.22), transparent 70%), radial-gradient(460px 240px at 6% 0%, rgba(255,0,0,.12), transparent 70%), #111114; }
.stx-prof-hero.is-gold { background: radial-gradient(560px 320px at 85% 40%, rgba(255,0,0,.2), transparent 70%), radial-gradient(420px 260px at 10% 30%, rgba(242,183,5,.16), transparent 70%), #111114; }
.stx-prof-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(60% 80% at 65% 35%, #000 20%, transparent 100%); mask-image: radial-gradient(60% 80% at 65% 35%, #000 20%, transparent 100%); }
.stx-prof-hero .stx-net { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.stx-prof-hero__word { position: absolute; z-index: 0; right: calc(max(0px, (100% - 1200px) / 2) + 8px); bottom: 18px; font: 800 170px/1 var(--ed-head); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.06); white-space: nowrap; pointer-events: none; user-select: none; }
.stx-prof-hero__inner { position: relative; z-index: 1; }
.stx-prof-hero .ed-crumbs, .stx-prof-hero .ed-crumbs a { color: rgba(255,255,255,.6); }
.stx-prof-hero .ed-crumbs a:hover, .stx-prof-hero .ed-crumbs span:last-child { color: #fff; }
.stx-prof { display: flex; align-items: center; gap: 32px; margin-top: 22px; }
.stx-prof__ava { position: relative; flex: none; width: 172px; height: 172px; border-radius: 40px; font-size: 56px; }
.stx-prof__ava::before { content: ""; position: absolute; inset: -6px; border-radius: 46px; background: conic-gradient(from 210deg, var(--ed-red), rgba(255,0,0,.15) 35%, rgba(255,255,255,.4) 55%, var(--ed-red)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); padding: 3px; }
.stx-prof-hero.is-gold .stx-prof__ava::before { background: conic-gradient(from 210deg, #F2B705, #FFE58A 40%, #F2A900 70%, #F2B705); }
.stx-prof__img, .stx-prof__ava .stx-ini { display: grid; width: 100%; height: 100%; border-radius: 40px; object-fit: cover; object-position: center 20%; box-shadow: 0 24px 50px -20px rgba(0,0,0,.7); }
.stx-prof__crown { position: absolute; left: 50%; top: -22px; display: grid; place-items: center; width: 46px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, #FFD54A, #F2A900); color: #fff; border: 3px solid #111114; transform: translateX(-50%) rotate(-8deg); box-shadow: 0 10px 22px -8px rgba(242,169,0,.8); }
.stx-prof__info { min-width: 0; }
.stx-prof__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.stx-prof__chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: #fff; font: 700 12px var(--ed-font); letter-spacing: .04em; text-transform: uppercase; }
.stx-prof__chip svg { color: #FF4D4D; }
.stx-prof__chip--gold { background: rgba(242,183,5,.16); border-color: rgba(242,183,5,.45); color: #FFD54A; }
.stx-prof__chip--gold svg { color: #FFD54A; }
.stx-prof__name { margin: 12px 0 0; font: 800 clamp(32px, 4.6vw, 52px)/1.08 var(--ed-head); letter-spacing: -.015em; color: #fff; overflow-wrap: anywhere; }
.stx-prof__job { margin: 10px 0 0; max-width: 62ch; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.75); }
.stx-prof__rate { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; color: rgba(255,255,255,.7); font-size: 14px; }
.stx-prof__rate b { font: 800 16px var(--ed-head); color: #fff; }
.stx-prof-hero .stx-stars__bg svg { fill: rgba(255,255,255,.2); }
.stx-prof__info .stx-socs { margin-top: 16px; }
.stx-prof-hero .stx-soc { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.stx-prof-hero .stx-soc:hover { background: var(--ed-red); border-color: var(--ed-red); }
.stx-prof__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.stx-prof__stats--2 { grid-template-columns: repeat(2, minmax(0, 260px)); }
.stx-prof__stat { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px 18px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .3s ease, border-color .3s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.stx-prof__stat:hover { background: rgba(255,255,255,.1); border-color: rgba(255,0,0,.45); transform: translateY(-3px); }
.stx-prof__stat-ico { grid-row: 1 / 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,0,0,.16); color: #FF4D4D; }
.stx-prof__stat b { font: 800 26px/1.1 var(--ed-head); color: #fff; }
.stx-prof__stat > span:last-child { font-size: 13.5px; color: rgba(255,255,255,.65); }
.stx-comm--prof { padding-top: 44px; }
.stx-prof-bio { margin-bottom: 40px; padding: 26px 28px; background: #fff; border: 1px solid var(--ed-line); border-radius: 26px; }
.stx-prof-bio .ed-eyebrow { margin: 0; }
.stx-prof-bio__title { margin: 4px 0 10px; font: 800 26px/1.2 var(--ed-head); color: var(--ed-ink); }
.stx-prof-bio__text { color: var(--ed-muted); font-size: 15.5px; line-height: 1.7; }
.stx-prof-bio__text p { margin: 0 0 10px; padding: 0; }
.stx-prof-bio__text p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .stx-prof__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stx-prof__stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
	.stx-prof-hero { padding: 104px 0 28px; }
	.stx-prof { flex-direction: column; align-items: flex-start; gap: 22px; }
	.stx-prof__ava { width: 128px; height: 128px; border-radius: 32px; font-size: 42px; }
	.stx-prof__img, .stx-prof__ava .stx-ini { border-radius: 32px; }
	.stx-prof__ava::before { border-radius: 38px; }
	.stx-prof-hero__word { font-size: 80px; right: 12px; }
	.stx-prof__stats { gap: 10px; margin-top: 24px; }
	.stx-prof__stat { padding: 12px; column-gap: 10px; }
	.stx-prof__stat-ico { width: 38px; height: 38px; border-radius: 12px; }
	.stx-prof__stat b { font-size: 22px; }
	.stx-prof__stat > span:last-child { font-size: 12.5px; }
	.stx-prof-bio { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .stx-prof__stat { transition: none; } }
/* Star rating (profile hero) */
.stx-stars { position: relative; display: inline-block; line-height: 0; white-space: nowrap; }
.stx-stars svg { display: inline-block; margin-right: 1px; }
.stx-stars__bg svg { fill: #E7E7EC; }
.stx-stars__fg { position: absolute; left: 0; top: 0; overflow: hidden; }
.stx-stars__fg svg { fill: #FFB400; }
.stx-prof-hero .stx-stars__bg svg { fill: rgba(255,255,255,.2); }
/* Student cards: two-letter outline watermark in the bottom-right corner (Abdul, 2026-11-08) */
.stx-stu__wm { position: absolute; right: 8px; bottom: -16px; z-index: 0; font: 800 66px/1 var(--ed-head); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,0,0,.14); pointer-events: none; user-select: none; transition: -webkit-text-stroke-color .3s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.stx-stu:hover .stx-stu__wm { -webkit-text-stroke-color: rgba(255,0,0,.3); transform: translateY(-4px); }
.stx-stu.is-gold .stx-stu__wm { -webkit-text-stroke-color: rgba(242,169,0,.2); }
.stx-stu.is-gold:hover .stx-stu__wm { -webkit-text-stroke-color: rgba(242,169,0,.36); }
.stx-stu__txt, .stx-stu__go { position: relative; z-index: 1; }
.stx-stu__ava { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .stx-stu__wm { transition: none; } }

/* Instructors: compact card for four in a row (2026-11-08) */
@media (min-width: 1181px) {
	.stx-tutor { border-radius: 24px; padding: 8px; }
	.stx-tutor__media { aspect-ratio: 1 / 1; border-radius: 18px; }
	.stx-tutor__rate { top: 10px; right: 10px; padding: 5px 9px; font-size: 12px; }
	.stx-tutor__rate b { font-size: 13px; }
	.stx-tutor__body { padding: 14px 8px 8px; }
	.stx-tutor__name { font-size: 19px; }
	.stx-tutor__job { margin-top: 4px; font-size: 13.5px; }
	.stx-tutor__meta { gap: 6px; margin-top: 12px; }
	.stx-tutor__meta span { padding: 6px 9px; font-size: 12.5px; }
	.stx-tutor__meta b { font-size: 14px; }
	.stx-tutor__foot { gap: 8px; padding-top: 14px; }
	.stx-tutor__go { height: 38px; padding: 0 12px; font-size: 13.5px; }
}

/* Students: each card keeps the colour of that student, built like Edusy's level cards (2026-11-08). Best performers stay gold. */
.stx-stu--red { --c: #D90000; --t: #FFF0F0; }
.stx-stu--blue { --c: #1D4ED8; --t: #E8EEFF; }
.stx-stu--green { --c: #15803D; --t: #E6F6EC; }
.stx-stu--amber { --c: #B45309; --t: #FFF3E0; }
.stx-stu--purple { --c: #7C3AED; --t: #F1EAFF; }
.stx-stu--teal { --c: #0F766E; --t: #E3F6F3; }
.stx-stu.is-gold { --c: #D99A00; --t: #FFF3D1; }
.stx-stu::before { top: 50%; bottom: auto; width: 4px; height: 40px; margin-top: -20px; border-radius: 0 4px 4px 0; background: var(--c); transform: none; transition: height .3s ease, margin-top .3s ease; }
.stx-stu:hover::before { height: 64px; margin-top: -32px; }
.stx-stu:hover { transform: translateY(-6px); background: color-mix(in srgb, var(--c) 4%, #fff); border-color: color-mix(in srgb, var(--c) 30%, #fff); box-shadow: 0 18px 36px color-mix(in srgb, var(--c) 12%, transparent); }
.stx-stu:not(.is-gold):hover .stx-stu__ava img, .stx-stu:not(.is-gold):hover .stx-stu__ava .stx-ini { box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--c); }
.stx-stu:hover .stx-stu__name { color: var(--c); }
.stx-stu:hover .stx-stu__go { background: var(--c); }
.stx-stu__wm { -webkit-text-stroke-color: color-mix(in srgb, var(--c) 9%, transparent); }
.stx-stu:hover .stx-stu__wm { -webkit-text-stroke-color: color-mix(in srgb, var(--c) 20%, transparent); }
@media (prefers-reduced-motion: reduce) { .stx-stu::before { transition: none; } }

/* Instructors: "Instructor" label as a white tab cut into the photo corner (2026-11-08) */
.stx-tutor__chip { left: 0; bottom: 0; gap: 7px; padding: 8px 14px 2px 4px; border-radius: 0 16px 0 0; background: #fff; color: var(--ed-ink); font: 700 13.5px/1 var(--ed-head); letter-spacing: .01em; text-transform: none; }
.stx-tutor__chip::before, .stx-tutor__chip::after { content: ""; position: absolute; width: 16px; height: 16px; background: radial-gradient(circle at 100% 0, transparent 15.5px, #fff 16px); pointer-events: none; }
.stx-tutor__chip::before { left: 0; top: -16px; }
.stx-tutor__chip::after { right: -16px; bottom: 0; }
.stx-tutor__chip svg { box-sizing: content-box; padding: 5px; border-radius: 50%; background: #FFF0F0; color: var(--ed-red); transition: background .3s ease, color .3s ease, transform .38s cubic-bezier(.2,.8,.2,1); }
.stx-tutor:hover .stx-tutor__chip svg { background: var(--ed-red); color: #fff; transform: rotate(-10deg) scale(1.06); }
@media (prefers-reduced-motion: reduce) { .stx-tutor__chip svg { transition: none; } }

/* Students: All / Best performers filter beside the search (2026-11-08) */
.stx-stu-bar__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
.stx-stu-filter { display: inline-flex; align-items: center; gap: 4px; height: 56px; padding: 6px; background: #fff; border: 1.5px solid var(--ed-line); border-radius: 16px; }
.stx-stu-filter a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 100%; padding: 0 16px; border: 1px solid transparent; border-radius: 11px; color: var(--ed-muted); font: 700 14.5px var(--ed-font); text-decoration: none; white-space: nowrap; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.stx-stu-filter a:hover { background: #FFF5F5; color: var(--ed-red-t); }
.stx-stu-filter a:active { transform: scale(.97); }
.stx-stu-filter a[aria-current] { background: #FFF0F0; border-color: #FFCCCC; color: var(--ed-red-t); }
.stx-stu-filter svg { color: #E5A400; }
@media (max-width: 640px) {
	.stx-stu-bar__tools, .stx-stu-filter { width: 100%; box-sizing: border-box; }
	.stx-stu-filter a { flex: 1; padding: 0 8px; }
}

/* Admin Panel: top row of three centred, then rows of four (2026-11-08). Below 1181px the cards flow in one grid. */
.stx-team-row { display: contents; }
@media (min-width: 1181px) {
	.stx-team-grid { display: block; }
	.stx-team-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
	.stx-team-row--top { grid-template-columns: repeat(3, minmax(0, 305px)); justify-content: center; margin-bottom: 20px; }
	.stx-team { border-radius: 22px; }
	.stx-team__no { right: 12px; top: 6px; font-size: 50px; }
	.stx-team__tag { left: 10px; top: 10px; padding: 5px 10px; font-size: 11px; }
	.stx-team__body { padding: 14px 14px 14px; }
	.stx-team__name { font-size: 18px; }
	.stx-team__role { margin-top: 6px; padding: 4px 10px; font-size: 12px; }
	.stx-team__foot { gap: 8px; padding-top: 14px; }
	.stx-team__go { height: 34px; padding: 0 11px; font-size: 13px; }
	.stx-team-row--top .stx-team__no { font-size: 56px; }
	.stx-team-row--top .stx-team__body { padding: 16px 16px 16px; }
	.stx-team-row--top .stx-team__name { font-size: 20px; }
}

/* Private course: closed card on profile pages (2026-11-08) */
.stx-private__media { display: grid; place-content: center; justify-items: center; gap: 10px; color: #fff; background: radial-gradient(70% 90% at 50% 120%, rgba(255,0,0,.38) 0%, transparent 70%), linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 22px 22px, #111114; }
.stx-private__lock { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.stx-private__label { font: 800 20px/1 var(--ed-head); letter-spacing: .02em; }
.stx-private__note { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--ed-line); font-size: 13.5px; color: var(--ed-muted); }

/* Footer pages and Home testimonials (2026-11-08) */
.stx-about__list { list-style: none; margin: 6px 0 18px; padding: 0; display: grid; gap: 10px; }
.stx-about__list li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--ed-ink); }
.stx-about__list i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #FFF0F0; color: var(--ed-red); }
.stx-about__photo { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 28px; }
.stx-contact__photo { display: block; width: 100%; height: auto; margin-top: 4px; border-radius: 18px; }
.stx-contact-form .forminator-ui.forminator-custom-form { margin: 0 !important; }
.stx-contact-form .forminator-ui .forminator-row { margin-bottom: 14px !important; }
.stx-contact-form .forminator-ui .forminator-label { margin-bottom: 6px !important; font: 600 14px var(--ed-font) !important; color: var(--ed-ink) !important; }
.stx-contact-form .forminator-ui .forminator-required { color: var(--ed-red) !important; }
.stx-contact-form .forminator-ui .forminator-input, .stx-contact-form .forminator-ui .forminator-textarea { width: 100% !important; box-sizing: border-box !important; padding: 12px 14px !important; background: #fff !important; border: 1.5px solid var(--ed-line) !important; border-radius: 12px !important; font: 500 15px var(--ed-font) !important; color: var(--ed-ink) !important; transition: border-color .25s ease, box-shadow .25s ease !important; }
.stx-contact-form .forminator-ui .forminator-input { height: 50px !important; }
.stx-contact-form .forminator-ui .forminator-textarea { min-height: 130px !important; }
.stx-contact-form .forminator-ui .forminator-input:focus, .stx-contact-form .forminator-ui .forminator-textarea:focus { border-color: var(--ed-red) !important; box-shadow: 0 0 0 4px rgba(255,0,0,.08) !important; outline: 0 !important; }
.stx-contact-form .forminator-ui .forminator-button-submit { position: relative; overflow: hidden; height: 48px !important; padding: 0 30px !important; background: var(--ed-red) !important; border: 0 !important; border-radius: 14px !important; box-shadow: none !important; color: #fff !important; font: 700 15px var(--ed-font) !important; cursor: pointer; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s cubic-bezier(.2,.8,.2,1) !important; }
.stx-contact-form .forminator-ui .forminator-button-submit::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); pointer-events: none; }
.stx-contact-form .forminator-ui .forminator-button-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -6px rgba(255,0,0,.6) !important; }
.stx-contact-form .forminator-ui .forminator-button-submit:hover::after { left: 130%; transition: left .8s ease; }
.stx-contact-form .forminator-ui .forminator-button-submit:active { transform: scale(.97); }
.stx-lgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stx-lg { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ed-line); border-radius: 22px; padding: 10px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s cubic-bezier(.2,.8,.2,1), border-color .3s ease; }
.stx-lg:hover { transform: translateY(-4px); border-color: #FFD6D6; box-shadow: 0 18px 36px rgba(255,0,0,.1); }
.stx-lg__media { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 24px; border-radius: 15px; background: var(--ed-soft); }
.stx-lg__media img { display: block; max-width: 100%; max-height: 190px; width: auto; height: auto; object-fit: contain; }
.stx-lg__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 8px 6px; }
.stx-lg__foot b { font: 700 17px var(--ed-head); color: var(--ed-ink); }
.stx-lg__dl { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 1px solid #FFCCCC; border-radius: 12px; background: #FFF0F0; color: var(--ed-red-t); font: 700 13.5px var(--ed-font); text-decoration: none; white-space: nowrap; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.stx-lg__dl:hover { background: var(--ed-red); border-color: var(--ed-red); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(255,0,0,.55); }
.stx-lg__dl:active { transform: scale(.97); }
.ed-legal__intro p { font-size: 18px; line-height: 1.65; color: var(--ed-ink); }
.ed-legal__body ol { margin: 0 0 12px; padding-left: 22px; }
.ed-legal__body ul ul { margin: 6px 0 0; }
.ed-legal__body a { color: var(--ed-red-t); }
.stx-testi .ed-tcard2 figcaption { position: relative; }
.stx-testi .ed-tcard2__tag { position: absolute; top: 12px; right: 0; }
.stx-testi .ed-tcard2__who b { padding-right: 88px; }
.stx-testi .ed-tcard2__who small { display: block; overflow: visible; white-space: normal; text-overflow: clip; line-height: 1.35; margin-top: 3px; }
@media (max-width: 960px) { .stx-lgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .stx-lgs { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .stx-lg, .stx-lg__dl { transition: none; } }
.stx-about__btn.ed-btn { align-self: flex-start; }
.stx-testi .ed-tcard2__av.stx-ini { flex: 0 0 40px; width: 40px; height: 40px; font-size: 14px; }
.stx-testi .ed-score__faces i:nth-child(1) { background: #D90000; }
.stx-testi .ed-score__faces i:nth-child(2) { background: #1D4ED8; }
.stx-testi .ed-score__faces i:nth-child(3) { background: #15803D; }
.stx-testi .ed-score__faces i:nth-child(4) { background: #7C3AED; }
.stx-ccard { position: relative; }
.stx-ccard small a { color: inherit; text-decoration: none; }
.stx-ccard small a:hover { color: var(--ed-red-t); }
.stx-copy { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border: 1px solid #FFCCCC; border-radius: 10px; background: #FFF0F0; box-shadow: none; color: var(--ed-red-t); font: 700 12.5px var(--ed-font); cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.stx-copy:hover, .stx-copy:focus { background: var(--ed-red); border-color: var(--ed-red); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(255,0,0,.55); }
.stx-copy:active { transform: scale(.97); }
.stx-copy.is-done, .stx-copy.is-done:hover, .stx-copy.is-done:focus { background: #DCFCE7; border-color: #BBF7D0; color: #15803D; transform: none; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .stx-copy { transition: none; } }
.stx-ccard > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.stx-qa { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 12px 30px; max-width: 1040px; margin: 0 auto; }
.stx-qa__item { display: contents; }
.stx-qa .stx-qa__q { position: relative; grid-column: 1; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 12px 16px 12px 12px; background: #fff; border: 1px solid var(--ed-line); border-radius: 18px; box-shadow: none; color: var(--ed-ink); font: 700 16px/1.3 var(--ed-head); text-align: left; text-transform: none; letter-spacing: 0; white-space: normal; cursor: pointer; transition: transform .3s cubic-bezier(.2,.8,.2,1), background .25s ease, border-color .25s ease, color .25s ease; }
.stx-qa .stx-qa__q span { flex: 1; min-width: 0; }
.stx-qa .stx-qa__q i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #FFF0F0; color: var(--ed-red-t); font: 800 15px var(--ed-head); font-style: normal; transition: background .25s ease, color .25s ease; }
.stx-qa .stx-qa__q svg { flex: none; color: var(--ed-muted); transform: rotate(-90deg); transition: transform .3s cubic-bezier(.2,.8,.2,1), color .25s ease; }
.stx-qa .stx-qa__q:hover { transform: translateX(4px); background: #fff; border-color: #FFCCCC; color: var(--ed-ink); }
.stx-qa .stx-qa__q:hover i { background: var(--ed-red); color: #fff; }
.stx-qa .stx-qa__q:hover svg { color: var(--ed-red); }
.stx-qa .stx-qa__q:focus { background: #fff; color: var(--ed-ink); }
.stx-qa .stx-qa__q:focus-visible { outline: 2px solid var(--ed-red); outline-offset: 2px; }
.stx-qa .stx-qa__q.is-on, .stx-qa .stx-qa__q.is-on:hover, .stx-qa .stx-qa__q.is-on:focus { transform: none; background: var(--ed-red); border-color: var(--ed-red); color: #fff; }
.stx-qa .stx-qa__q.is-on i { background: #fff; color: var(--ed-red-t); }
.stx-qa .stx-qa__q.is-on svg { color: #fff; }
.stx-qa .stx-qa__q.is-on::after { content: ""; position: absolute; top: 50%; right: -8px; width: 16px; height: 16px; margin-top: -8px; background: var(--ed-red); border-radius: 3px; transform: rotate(45deg); }
.stx-qa__panel { position: relative; grid-column: 2; grid-row: 1 / span 5; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; overflow: hidden; padding: 36px 40px; background: #fff; border: 1px solid #FFD6D6; border-radius: 28px; animation: stxQaIn .4s cubic-bezier(.2,.8,.2,1); }
.stx-qa__panel[hidden] { display: none; }
.stx-qa__panel::before { content: ""; position: absolute; top: 0; left: 0; width: 200px; height: 150px; background-image: radial-gradient(#FFB8B8 1.2px, transparent 1.3px); background-size: 15px 15px; -webkit-mask-image: linear-gradient(135deg, #000, transparent 70%); mask-image: linear-gradient(135deg, #000, transparent 70%); opacity: .55; pointer-events: none; }
.stx-qa__mark { position: absolute; right: 16px; bottom: -34px; color: transparent; -webkit-text-stroke: 2px var(--ed-red); font: 800 190px/1 var(--ed-head); letter-spacing: -.04em; opacity: .1; pointer-events: none; }
.stx-qa__tag { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 5px; border: 1px solid #FFE0E0; border-radius: 999px; background: #FFF5F5; color: var(--ed-red-t); font: 700 13px var(--ed-font); }
.stx-qa__tag img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: #fff; }
.stx-qa__panel h3 { position: relative; margin: 18px 0 10px; font: 800 26px/1.2 var(--ed-head); letter-spacing: -.01em; color: var(--ed-ink); }
.stx-qa__panel p { position: relative; margin: 0; font-size: 16.5px; line-height: 1.75; color: var(--ed-muted); }
.stx-qa__panel a { color: var(--ed-red-t); }
@keyframes stxQaIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
	.stx-qa { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.stx-qa__item { display: block; }
	.stx-qa .stx-qa__q { min-height: 64px; font-size: 15.5px; }
	.stx-qa .stx-qa__q:hover { transform: none; }
	.stx-qa .stx-qa__q svg { transform: none; }
	.stx-qa .stx-qa__q.is-on svg { transform: rotate(180deg); }
	.stx-qa .stx-qa__q.is-on::after { top: auto; right: auto; bottom: -7px; left: 26px; margin: 0; }
	.stx-qa__panel { margin-top: 12px; padding: 22px 20px; border-radius: 20px; }
	.stx-qa__panel h3 { display: none; }
	.stx-qa__panel p { margin-top: 12px; font-size: 15.5px; }
	.stx-qa__mark { font-size: 120px; right: 10px; bottom: -22px; }
}
@media (prefers-reduced-motion: reduce) { .stx-qa .stx-qa__q, .stx-qa .stx-qa__q svg { transition: none; } .stx-qa__panel { animation: none; } }

/* Recruitment, Q&A and Register (2026-11-08) */
.stx-rec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: start; }
.stx-rec__side { position: sticky; top: 100px; display: grid; gap: 14px; }
.stx-rec__note { display: flex; gap: 12px; margin: 0; padding: 14px 16px; background: #FFF5F5; border: 1px solid #FFE0E0; border-radius: 18px; font-size: 14.5px; line-height: 1.55; color: var(--ed-ink); }
.stx-rec__note i { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--ed-red); }
.stx-rec__board { background: #fff; border: 1px solid var(--ed-line); border-radius: 24px; padding: 22px; }
.stx-rec__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.stx-rec__head h2 { margin: 0; font: 800 23px/1.2 var(--ed-head); color: var(--ed-ink); }
.stx-rec__viva.ed-btn { height: 42px; padding: 0 16px; font-size: 14px; }
.stx-rec__empty { margin: 0; color: var(--ed-muted); font-size: 15px; }
.stx-tl { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.stx-tl::before { content: ""; position: absolute; top: 28px; bottom: 28px; left: 31px; border-left: 2px dashed #FFD6D6; }
.stx-tl a { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; color: var(--ed-ink); text-decoration: none; transition: background .25s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.stx-tl a:hover { background: #FFF5F5; color: var(--ed-ink); transform: translateX(3px); }
.stx-tl i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid #FFCCCC; color: var(--ed-red-t); font: 800 14px var(--ed-head); font-style: normal; }
.stx-tl .is-latest i { background: var(--ed-red); border-color: var(--ed-red); color: #fff; animation: stxRing 2.2s ease-out infinite; }
.stx-tl__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.stx-tl__text small { font-size: 13px; font-weight: 600; color: var(--ed-muted); }
.stx-tl__text b { font: 700 16.5px/1.3 var(--ed-head); }
.stx-tl__pdf { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border: 1px solid #FFCCCC; border-radius: 10px; background: #FFF0F0; color: var(--ed-red-t); font: 700 12.5px var(--ed-font); transition: background .25s ease, color .25s ease, border-color .25s ease; }
.stx-tl a:hover .stx-tl__pdf { background: var(--ed-red); border-color: var(--ed-red); color: #fff; }
@keyframes stxRing { 0% { box-shadow: 0 0 0 0 rgba(255,0,0,.35); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255,0,0,0); } }
.stx-contact-form .forminator-ui .forminator-description { margin-top: 5px !important; font: 400 13px/1.45 var(--ed-font) !important; color: var(--ed-muted) !important; }
.stx-contact-form .forminator-ui .forminator-checkbox { margin: 0 14px 8px 0 !important; font: 500 14.5px var(--ed-font) !important; color: var(--ed-ink) !important; }
.stx-contact-form .forminator-ui .forminator-checkbox-label { font: inherit !important; color: inherit !important; }
.stx-contact-form .forminator-ui .forminator-checkbox-box { border: 1.5px solid #D5D5DD !important; border-radius: 6px !important; background: #fff !important; }
.stx-contact-form .forminator-ui .forminator-checkbox input:checked + .forminator-checkbox-box { background: var(--ed-red) !important; border-color: var(--ed-red) !important; color: #fff !important; }
.stx-contact-form .forminator-ui.forminator-custom-form.forminator-design--default .forminator-button.forminator-button-upload { height: 40px !important; padding: 0 16px !important; background: #FFF0F0 !important; border: 1px solid #FFCCCC !important; border-radius: 12px !important; box-shadow: none !important; color: var(--ed-red-t) !important; font: 700 13.5px var(--ed-font) !important; transition: background .25s ease, color .25s ease !important; }
.stx-contact-form .forminator-ui.forminator-custom-form.forminator-design--default .forminator-button.forminator-button-upload:hover { background: var(--ed-red) !important; color: #fff !important; }
.stx-vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1040px; }
.stx-vid { background: #fff; border: 1px solid var(--ed-line); border-radius: 22px; padding: 10px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s cubic-bezier(.2,.8,.2,1), border-color .3s ease; }
.stx-vid:hover { transform: translateY(-4px); border-color: #FFD6D6; box-shadow: 0 18px 36px rgba(255,0,0,.1); }
.stx-vid__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 15px; background: #111114; }
.stx-vid__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.stx-vid__media:hover img { transform: scale(1.05); }
.stx-vid__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stx-vid__play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%; background: var(--ed-red); color: #fff; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; }
.stx-vid__media:hover .stx-vid__play { transform: scale(1.1); box-shadow: 0 16px 34px -6px rgba(255,0,0,.7); }
.stx-vid__foot { display: flex; align-items: center; gap: 12px; padding: 14px 8px 6px; }
.stx-vid__foot i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #FFF0F0; color: var(--ed-red-t); font: 800 14px var(--ed-head); font-style: normal; }
.stx-vid__foot h2 { margin: 0; font: 700 19px/1.25 var(--ed-head); color: var(--ed-ink); }
.stx-auth { max-width: 720px; margin: 0 auto; padding: 8px; background: #fff; border: 1px solid var(--ed-line); border-radius: 24px; }
.stx-auth #tutor-registration-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding: 22px; }
.stx-auth #tutor-registration-form > .tutor-input-field:has(#tutor-terms-conditions), .stx-auth #tutor-registration-form > div:has(> button[type=submit]) { grid-column: 1 / -1; }
.stx-auth #tutor-registration-form > .tutor-form-row { display: none; }
.stx-auth .tutor-label { font: 600 14px var(--ed-font); color: var(--ed-ink); }
.stx-auth .tutor-input { height: 50px; padding-left: 14px; background: #fff; border: 1.5px solid var(--ed-line); border-radius: 12px; font: 500 15px var(--ed-font); color: var(--ed-ink); box-shadow: none; transition: border-color .25s ease, box-shadow .25s ease; }
.stx-auth .tutor-input:focus { border-color: var(--ed-red); box-shadow: 0 0 0 4px rgba(255,0,0,.08); outline: 0; }
.stx-auth .tutor-btn-primary { position: relative; overflow: hidden; height: 50px; background: var(--ed-red); border: 0; border-radius: 14px; box-shadow: none; color: #fff; font: 700 15.5px var(--ed-font); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s cubic-bezier(.2,.8,.2,1); }
.stx-auth .tutor-btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); pointer-events: none; }
.stx-auth .tutor-btn-primary:hover { background: var(--ed-red); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -6px rgba(255,0,0,.6); }
.stx-auth .tutor-btn-primary:hover::after { left: 130%; transition: left .8s ease; }
.stx-auth .tutor-btn-primary:active { transform: scale(.97); }
.stx-auth a { color: var(--ed-red-t); }
.stx-auth .tutor-card { max-width: none !important; margin: 0 !important; padding: 0 0 18px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.stx-auth input.tutor-input { background: #fff !important; border: 1.5px solid var(--ed-line) !important; }
.stx-auth input.tutor-input:focus { border-color: var(--ed-red) !important; }
@media (max-width: 900px) { .stx-rec { grid-template-columns: minmax(0, 1fr); } .stx-rec__side { position: static; } }
@media (max-width: 680px) { .stx-vids { grid-template-columns: minmax(0, 1fr); } .stx-auth #tutor-registration-form { grid-template-columns: minmax(0, 1fr); padding: 14px; } }
@media (prefers-reduced-motion: reduce) { .stx-tl .is-latest i { animation: none; } .stx-tl a, .stx-vid, .stx-vid__media img, .stx-vid__play { transition: none; } }

/* Tutor dashboard, profile, settings and guest login in the house style (2026-11-08) */
:is(.tutor-dashboard-layout, .tutor-account-page-wrapper), :is(.tutor-dashboard-layout, .tutor-account-page-wrapper) :is(button, input, select, textarea, label, .tutor-btn) { font-family: var(--ed-font); }
:is(.tutor-dashboard-layout, .tutor-account-page-wrapper) :is(h1, h2, h3, h4, h5, .tutor-h1, .tutor-h2, .tutor-h3, .tutor-h4, .tutor-h5, .tutor-profile-header-title) { font-family: var(--ed-head); letter-spacing: -.01em; }
.tutor-dashboard-sidebar-nav a { border-radius: 14px; transition: background .25s ease, color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.tutor-dashboard-sidebar-nav a:not(.active):hover { background: #FFF5F5; color: var(--ed-red-t); transform: translateX(3px); }
.tutor-see-all-courses { transition: color .25s ease; }
.tutor-see-all-courses:hover { color: var(--ed-red-t); }
.tutor-dashboard-welcome-card { border: 1px solid #FFE0E0; border-radius: 24px; background: radial-gradient(420px 220px at 100% 0, rgba(255,0,0,.06), transparent 70%), #FFFBFB; }
.tutor-dashboard-welcome-card h3 { font-weight: 800; }
.tutor-dashboard-quick-tips-card { border-radius: 20px; }
.tutor-dashboard-quick-tips-card > div:last-child > div:nth-child(4) { display: none; }
:is(.tutor-dashboard-layout, .tutor-account-page-wrapper) .tutor-card { border-radius: 20px; }
:is(.tutor-dashboard-layout, .tutor-account-page-wrapper, .page-id-7:not(.logged-in)) .tutor-btn { border-radius: 12px; }
:is(.tutor-dashboard-layout, .tutor-account-page-wrapper, .page-id-7:not(.logged-in)) .tutor-btn.tutor-btn-primary { position: relative; overflow: hidden; border-radius: 14px; box-shadow: none; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s cubic-bezier(.2,.8,.2,1); }
:is(.tutor-dashboard-layout, .tutor-account-page-wrapper, .page-id-7:not(.logged-in)) .tutor-btn.tutor-btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); pointer-events: none; }
:is(.tutor-dashboard-layout, .tutor-account-page-wrapper, .page-id-7:not(.logged-in)) .tutor-btn.tutor-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -6px rgba(255,0,0,.6); }
:is(.tutor-dashboard-layout, .tutor-account-page-wrapper, .page-id-7:not(.logged-in)) .tutor-btn.tutor-btn-primary:hover::after { left: 130%; transition: left .8s ease; }
:is(.tutor-dashboard-layout, .tutor-account-page-wrapper, .page-id-7:not(.logged-in)) .tutor-btn.tutor-btn-primary:active { transform: scale(.97); }
:is(.tutor-account-page-wrapper, .page-id-7:not(.logged-in)) input.tutor-input, .tutor-account-page-wrapper .tutor-select-trigger { min-height: 46px; background: #fff; border: 1.5px solid var(--ed-line); border-radius: 12px; box-shadow: none; transition: border-color .25s ease, box-shadow .25s ease; }
.tutor-account-page-wrapper textarea.tutor-input { border: 1.5px solid var(--ed-line); border-radius: 12px; }
:is(.tutor-account-page-wrapper, .page-id-7:not(.logged-in)) :is(input.tutor-input, textarea.tutor-input):focus { border-color: var(--ed-red); box-shadow: 0 0 0 4px rgba(255,0,0,.08); outline: 0; }
.tutor-account-page-wrapper .tutor-tabs-tab { border-radius: 12px; }
.page-id-7:not(.logged-in) .tutor-card { border: 1px solid var(--ed-line); border-radius: 24px; box-shadow: none; }
.page-id-7:not(.logged-in) { font-family: var(--ed-font); }
@media (prefers-reduced-motion: reduce) { .tutor-dashboard-sidebar-nav a, :is(.tutor-dashboard-layout, .tutor-account-page-wrapper, .page-id-7:not(.logged-in)) .tutor-btn.tutor-btn-primary { transition: none; } }
:is(.tutor-account-page-wrapper, .page-id-7:not(.logged-in)) .tutor-input-field input.tutor-input:placeholder-shown:not(:focus):not(:disabled) { background-color: #fff; }
.tutor-account-page-wrapper input.tutor-input:disabled { background: var(--ed-soft); color: var(--ed-muted); cursor: not-allowed; }

/* Register page when already signed in (2026-11-08) */
.stx-authin { display: flex; flex-direction: column; align-items: center; max-width: 480px; margin: 0 auto; padding: 36px 28px; background: #fff; border: 1px solid var(--ed-line); border-radius: 24px; text-align: center; }
.stx-authin__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 18px; background: #FFF0F0; color: var(--ed-red); }
.stx-authin h2 { margin: 0 0 8px; font: 800 26px/1.2 var(--ed-head); letter-spacing: -.01em; color: var(--ed-ink); }
.stx-authin p { margin: 0 0 22px; font-size: 15.5px; line-height: 1.55; color: var(--ed-muted); }
@media (max-width: 480px) { .stx-authin { padding: 30px 20px; } .stx-authin h2 { font-size: 22px; } }

/* Dashboard in the StatX theme (2026-11-08) */
body.stx-dash.stx-dash { background: var(--ed-soft); }
.stx-dash .stx-chrome-top { height: 0; }
.stx-dash .stx-phero .ed-phero__inner { padding-top: 112px; padding-bottom: 84px; }
.stx-dash .stx-phero .ed-phero__art { display: block; top: calc(50% + 12px); right: calc(max(0px, (100% - 1200px) / 2) + 4px); width: 250px; height: auto; transform: translateY(-50%); }
@media (max-width: 1100px) { .stx-dash .stx-phero .ed-phero__art { right: 6px; width: 190px; } }
.stx-dash .stx-phero .stx-pchart { color: #FF3B3B; opacity: .5; }
.stx-dexit { position: absolute; top: 112px; right: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 14px; background: rgba(255,255,255,.08); color: #fff; font: 700 14.5px var(--ed-font); text-decoration: none; transition: background .25s ease, border-color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s cubic-bezier(.2,.8,.2,1); }
.stx-dexit:hover { background: var(--ed-red); border-color: var(--ed-red); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -6px rgba(255,0,0,.6); }
.stx-dexit svg { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.stx-dexit:hover svg { transform: translateX(3px); }

/* Shell */
.stx-dash :is(.tutor-dashboard-layout, .tutor-account-page-wrapper).tutor-has-site-shell { position: relative; z-index: 2; box-sizing: border-box; width: 100%; max-width: 1240px; margin: -56px auto 0; padding: 0 20px 36px; background: transparent; }
.stx-dash .tutor-dashboard-layout.tutor-has-site-shell { gap: 20px; }
.stx-dash .tutor-account-page-wrapper.tutor-has-site-shell { display: grid; grid-template-columns: 274px minmax(0, 1fr); gap: 20px; align-items: start; }
.stx-acmain { min-width: 0; }
.stx-dash .tutor-dashboard-main { min-width: 0; background: transparent; border: 0; }
.stx-dash .tutor-dashboard-body { padding: 0; background: transparent; }
.stx-dash .tutor-dashboard-page { max-width: none; padding: 20px 0 0; }
.stx-dash .tutor-account-page-wrapper .tutor-account-container { max-width: none; margin: 0; padding: 0; }

/* Black side menu, same on dashboard and account pages */
.stx-dash :is(.tutor-dashboard-layout .tutor-dashboard-sidebar, .stx-acnav) { position: relative; top: auto; align-self: start; box-sizing: border-box; height: auto; min-height: 0; padding: 14px; background: radial-gradient(260px 200px at 100% 0, rgba(255,0,0,.24), transparent 70%), #111114; border: 2px solid var(--ed-red); border-radius: 26px; }
.stx-dash .tutor-dashboard-sidebar .tutor-dashboard-sidebar-nav { padding: 0; }
.stx-dash .tutor-dashboard-sidebar-nav ul { display: grid; gap: 4px; }
.stx-dash .tutor-dashboard-sidebar .tutor-dashboard-sidebar-nav ul li a, .stx-acnav__link { display: flex; align-items: center; box-sizing: border-box; width: 100%; gap: 12px; min-height: 48px; padding: 7px 12px 7px 7px; border-radius: 14px; background: transparent; color: #ECECED; font: 600 15.5px var(--ed-font); text-decoration: none; transition: background .25s ease, color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.stx-dash .tutor-dashboard-sidebar-nav a svg, .stx-acnav__link svg { box-sizing: content-box; flex: none; padding: 8px; border-radius: 11px; background: rgba(255,255,255,.09); color: #fff; transition: background .25s ease, color .25s ease; }
.stx-dash .tutor-dashboard-sidebar .tutor-dashboard-sidebar-nav ul li a:not(.active):hover, .stx-acnav__link:not(.is-active):hover { background: rgba(255,255,255,.1); color: #fff; transform: translateX(3px); }
.stx-dash .tutor-dashboard-sidebar-nav a:not(.active):hover svg, .stx-acnav__link:not(.is-active):hover svg { background: var(--ed-red); color: #fff; }
.stx-dash .tutor-dashboard-sidebar .tutor-dashboard-sidebar-nav ul li a.active, .stx-acnav__link.is-active { background: var(--ed-red); color: #fff; }
.stx-dash .tutor-dashboard-sidebar .tutor-dashboard-sidebar-nav ul li a.active svg, .stx-acnav__link.is-active svg { background: #fff; color: var(--ed-red); }
.stx-dash .tutor-dashboard-sidebar .tutor-see-all-courses, .stx-acnav__back { position: static; display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; width: 100%; margin-top: 14px; padding: 12px 14px; border: 1.5px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(255,255,255,.06); color: #fff; font: 700 14.5px var(--ed-font); text-decoration: none; transition: background .25s ease, border-color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s cubic-bezier(.2,.8,.2,1); }
.stx-dash .tutor-dashboard-sidebar .tutor-see-all-courses:hover, .stx-dash .tutor-dashboard-sidebar .tutor-see-all-courses:focus, .stx-acnav__back:hover { background: var(--ed-red); border-color: var(--ed-red); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -6px rgba(255,0,0,.6); }
.stx-acnav__who { display: flex; align-items: center; gap: 12px; padding: 6px 6px 16px; margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.12); }
.stx-acnav__who b { display: block; overflow: hidden; color: #fff; font: 700 16px/1.25 var(--ed-head); text-overflow: ellipsis; white-space: nowrap; }
.stx-acnav__who small { color: rgba(255,255,255,.6); font: 500 12.5px var(--ed-font); }
.stx-acnav__who > span { min-width: 0; }
.stx-acnav__list { display: grid; gap: 4px; }

/* Greeting bar */
.stx-dash .tutor-dashboard-layout .tutor-dashboard-header { position: static; height: auto; padding: 0; background: #111114; border: 1px solid #2A2A30; border-radius: 22px; }
.stx-dash .tutor-dashboard-header .tutor-dashboard-header-inner { max-width: none; margin: 0; padding: 14px 20px; }
.stx-dash .tutor-dashboard-header-left, .stx-dash .tutor-dashboard-header-left * { color: #fff; }
.stx-dash .tutor-dashboard-header-left .tutor-h5 { font: 700 19px/1.3 var(--ed-head); }
.stx-dash .tutor-dashboard-header-left .tutor-text-subdued { color: rgba(255,255,255,.65); }
.stx-dash .tutor-dashboard-header-user-avatar { border-radius: 50%; box-shadow: 0 0 0 2px var(--ed-red); }

/* Home */
.stx-dash .tutor-dashboard-welcome-card { position: relative; overflow: hidden; border: 1px solid #FFE0E0; border-radius: 28px; background: radial-gradient(480px 260px at 100% 0, rgba(255,0,0,.09), transparent 70%), radial-gradient(360px 220px at 0 100%, rgba(245,158,11,.08), transparent 70%), #FFFBFB; }
.stx-dash .tutor-dashboard-welcome-badge { background: #fff; border: 1px solid #FFD6D6; border-radius: 999px; color: var(--ed-red-t); font: 700 13px var(--ed-font); }
.stx-dash .tutor-dashboard-welcome-card h3 { font: 800 clamp(26px, 3vw, 36px)/1.15 var(--ed-head); letter-spacing: -.01em; color: var(--ed-ink); }
.stx-dash .tutor-dashboard-welcome-banner { animation: stxDashFloat 4.5s ease-in-out infinite; }
@keyframes stxDashFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.stx-dash .tutor-dashboard-quick-tips-card { display: block; padding: 22px; background: #fff; border: 1px solid var(--ed-line); border-radius: 24px; }
.stx-dash .tutor-dashboard-quick-tips-card > div:last-child { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.stx-dash .tutor-dashboard-quick-tips-card > div:last-child > div { align-items: center; padding: 14px; background: var(--ed-soft); border-radius: 16px; font-size: 14.5px; transition: background .25s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.stx-dash .tutor-dashboard-quick-tips-card > div:last-child > div:hover { background: #FFF0F0; transform: translateY(-2px); }
.stx-dash .tutor-dashboard-quick-tips-card > div:last-child > div:nth-child(4) { display: none; }

/* Stat tiles, learner and instructor: light up red on hover */
.stx-dash :is(.tutor-student-dashboard-stats .tutor-grid > *, .tutor-stat-card) { border: 1px solid var(--ed-line); border-radius: 22px; background: #fff; transition: background .3s ease, border-color .3s ease, transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s cubic-bezier(.2,.8,.2,1); }
/* Home stat cards: each card blooms in its own colour on hover (Abdul, 2026-11-08) */
.stx-dash :is(.tutor-student-dashboard-stats .tutor-grid > *, .tutor-stat-card) { --c: var(--tutor-text-brand, #FF0000); position: relative; isolation: isolate; }
.stx-dash .tutor-stat-card:is(.tutor-stat-card-active, .tutor-stat-card-exception1, .tutor-stat-card-book-2) { --c: #00ACC2; }
.stx-dash .tutor-stat-card.tutor-stat-card-completed { --c: var(--tutor-text-success, #16A34A); }
.stx-dash .tutor-stat-card:is(.tutor-stat-card-time-spent, .tutor-stat-card-exception4) { --c: #FDB022; }
.stx-dash .tutor-stat-card.tutor-stat-card-exception5 { --c: #9747FF; }
.stx-dash :is(.tutor-student-dashboard-stats .tutor-grid > *, .tutor-stat-card)::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--c) 20%, #fff), #fff 72%); opacity: 0; transition: opacity .35s ease; }
.stx-dash :is(.tutor-student-dashboard-stats .tutor-grid > *, .tutor-stat-card)::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.stx-dash :is(.tutor-student-dashboard-stats .tutor-grid > *, .tutor-stat-card):hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 38%, #fff); box-shadow: 0 20px 38px -18px color-mix(in srgb, var(--c) 60%, transparent); }
.stx-dash :is(.tutor-student-dashboard-stats .tutor-grid > *, .tutor-stat-card):hover::before { opacity: 1; }
.stx-dash :is(.tutor-student-dashboard-stats .tutor-grid > *, .tutor-stat-card):hover::after { transform: scaleX(1); }
.stx-dash .tutor-stat-card-icon, .stx-dash .tutor-stat-card-value { transition: color .25s ease, background-color .25s ease, box-shadow .25s ease, transform .38s cubic-bezier(.2,.8,.2,1); }
.stx-dash .tutor-stat-card-value { transform-origin: left bottom; }
.stx-dash .tutor-stat-card:hover .tutor-stat-card-icon { color: #fff; background: var(--c); border-radius: 6px; box-shadow: 0 0 0 7px var(--c); transform: rotate(-8deg) scale(1.04); }
.stx-dash .tutor-stat-card:hover .tutor-stat-card-value { transform: scale(1.08); }
.stx-dash .tutor-student-dashboard-stats .tutor-grid > * :is(.tutor-h3, .tutor-h4, .tutor-h2), .stx-dash .tutor-stat-card-value { font-family: var(--ed-head); font-weight: 800; }

/* Tabs as one pill group */
.stx-dash .tutor-nav { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--ed-line); border-radius: 16px; }
.stx-dash .tutor-nav .tutor-nav-item { border: 0; border-radius: 12px; font: 600 14.5px var(--ed-font); color: var(--ed-ink); transition: background .25s ease, color .25s ease; }
.stx-dash .tutor-nav .tutor-nav-item:not(.active):hover { background: #FFF5F5; color: var(--ed-red-t); }
.stx-dash .tutor-nav .tutor-nav-item.active { background: var(--ed-red); color: #fff; }
.stx-dash .tutor-nav .tutor-nav-item.active * { color: #fff; }

/* Panels dissolve into separate cards on the grey page */
.stx-dash :is(.tutor-dashboard-courses-card, .tutor-dashboard-page-card, .tutor-quiz-attempts) { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.stx-dash :is(.tutor-dashboard-courses-tab, .tutor-dashboard-page-card-header) { padding: 0 0 14px; background: transparent; border: 0; }
.stx-dash .tutor-dashboard-page-card-body, .stx-dash .tutor-dashboard-courses-list { padding: 0; background: transparent; }
.stx-dash .tutor-quiz-attempts-filter { padding: 0 0 14px; border: 0; background: transparent; }
.stx-dash .tutor-dashboard-page :is(.tutor-progress-card, .tutor-my-courses-card, .tutor-announcement-item), .stx-dash .tutor-account-page-wrapper :is(.tutor-billing-card, .tutor-review-card) { background: #fff; border: 1px solid var(--ed-line); border-radius: 20px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s cubic-bezier(.2,.8,.2,1), border-color .3s ease; }
.stx-dash .tutor-dashboard-page :is(.tutor-progress-card, .tutor-my-courses-card, .tutor-announcement-item):hover, .stx-dash .tutor-account-page-wrapper :is(.tutor-billing-card, .tutor-review-card):hover { transform: translateY(-3px); border-color: #FFD6D6; box-shadow: 0 18px 36px rgba(255,0,0,.1); }
.stx-dash .tutor-billing-card-title, .stx-dash .tutor-review-title, .stx-dash .tutor-billing-card-amount { font-family: var(--ed-head); font-weight: 700; }
.stx-dash .tutor-billing-wrapper, .stx-dash .tutor-user-reviews { display: grid; gap: 12px; }
.stx-dash .tutor-dashboard-home-card { background: #fff; border: 1px solid var(--ed-line); border-radius: 24px; }
.stx-dash .tutor-dashboard-page .tutor-card { border-color: var(--ed-line); border-radius: 22px; }
.stx-dash :is(.tutor-dashboard-page, .tutor-account-page-wrapper) .tutor-flex-center-col { padding: 44px 20px; border: 2px dashed #FFCCCC; border-radius: 24px; background: radial-gradient(circle, rgba(255,0,0,.09) 1px, transparent 1.5px) 0 0 / 18px 18px, #FFFBFB; font-family: var(--ed-font); color: var(--ed-muted); }

/* Forms: black header band over each section */
.stx-dash .tutor-tab-panel h5.tutor-h5 { margin: 0; color: var(--ed-ink); font: 700 18px/1.3 var(--ed-head); }
.stx-dash .tutor-tab-panel .tutor-card { padding: 22px; background: #fff; border: 1px solid var(--ed-line); border-radius: 22px; }
.stx-dash .tutor-tab-panel .tutor-label { font: 600 14px var(--ed-font); color: var(--ed-ink); }
.stx-dash .tutor-account-cover-photo { overflow: hidden; border-radius: 18px; }
.stx-dash .tutor-account-avatar-wrapper .tutor-avatar, .stx-dash .tutor-profile-card-header .tutor-avatar { box-shadow: 0 0 0 3px var(--ed-red); }

/* Profile */
.stx-dash .tutor-user-profile { margin: 0; }
.stx-dash .tutor-profile-card { overflow: hidden; padding: 0; background: #fff; border: 1px solid var(--ed-line); border-radius: 26px; }
.stx-dash .tutor-profile-card-header { border-radius: 0; }
.stx-dash .tutor-profile-card-body { padding: 22px; }
.stx-dash .tutor-user-profile-details li { background: #FFF0F0; border-radius: 10px; color: var(--ed-ink); }

/* Popover */
.stx-dash .tutor-popover.tutor-dashboard-header-user-popover { overflow: hidden; border: 1px solid var(--ed-line); border-radius: 20px; box-shadow: 0 24px 48px -16px rgba(17,17,20,.28); }
.stx-dash .tutor-dashboard-header-user-popover-profile { background: radial-gradient(260px 160px at 100% 0, rgba(255,0,0,.3), transparent 70%), #111114; }
.stx-dash .tutor-user-profile-meta, .stx-dash .tutor-user-profile-meta * { color: #fff; }
.stx-dash .tutor-user-profile-meta .tutor-text-medium { font-family: var(--ed-head); }
.stx-dash .tutor-dashboard-header-user-popover-menu { padding: 8px; }
.stx-dash .tutor-dashboard-header-user-popover-menu a { display: flex; align-items: center; gap: 12px; padding: 7px 10px 7px 7px; border-radius: 13px; font: 600 14.5px var(--ed-font); color: var(--ed-ink); transition: background .25s ease, color .25s ease; }
.stx-dash .tutor-dashboard-header-user-popover-menu a svg { box-sizing: content-box; flex: none; padding: 7px; border-radius: 10px; background: #FFF0F0; color: var(--ed-red); transition: background .25s ease, color .25s ease; }
.stx-dash .tutor-dashboard-header-user-popover-menu a:hover { background: #FFF5F5; color: var(--ed-red-t); }
.stx-dash .tutor-dashboard-header-user-popover-menu a:hover svg { background: var(--ed-red); color: #fff; }

@media (min-width: 769px) {
	.stx-dash .tutor-account-page-wrapper .tutor-profile-header { position: static; height: 0; min-height: 0; padding: 0; background: none; border: 0; }
	.stx-dash .tutor-profile-header :is(.tutor-profile-header-left, .tutor-profile-header-close), .stx-dash .tutor-account-page-wrapper .tutor-account-header { display: none; }
	.stx-dash .tutor-profile-header-right > div:first-child { position: fixed; left: 50%; bottom: 26px; z-index: 200; display: flex; align-items: center; gap: 12px; box-sizing: border-box; width: min(620px, calc(100vw - 48px)); padding: 12px 14px 12px 46px; background: radial-gradient(300px 120px at 100% 0, rgba(255,0,0,.28), transparent 70%), #111114; border: 2px solid var(--ed-red); border-radius: 22px; box-shadow: 0 24px 50px -14px rgba(17,17,20,.55); transform: translateX(-50%); animation: stxBarIn .38s cubic-bezier(.2,.8,.2,1); }
	.stx-dash .tutor-profile-header-right > div:first-child::before { content: "You have unsaved changes"; margin-right: auto; color: #fff; font: 700 16px var(--ed-head); }
	.stx-dash .tutor-profile-header-right > div:first-child::after { content: ""; position: absolute; top: 50%; left: 22px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--ed-red); animation: stxBarDot 1.6s ease-in-out infinite; }
	.stx-dash .tutor-profile-header-right > div:first-child .tutor-btn { height: 46px; margin: 0; padding: 0 24px; border-radius: 14px; font: 700 15px var(--ed-font); transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s cubic-bezier(.2,.8,.2,1); }
	.stx-dash .tutor-profile-header-right > div:first-child .tutor-btn-secondary { background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.3); color: #fff; }
	.stx-dash .tutor-profile-header-right > div:first-child .tutor-btn-secondary:hover { background: #fff; border-color: #fff; color: var(--ed-ink); }
	.stx-dash .tutor-profile-header-right > div:first-child .tutor-btn-primary { min-width: 132px; background: var(--ed-red); border: 1.5px solid var(--ed-red); color: #fff; }
	.stx-dash .tutor-profile-header-right > div:first-child .tutor-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -6px rgba(255,0,0,.6); }
	.stx-dash .tutor-profile-settings-section .tutor-gap-8 > .tutor-flex { flex-direction: column; gap: 16px; margin: 0; }
	.stx-dash .tutor-tabs-nav.tutor-profile-settings-tab { position: static; display: flex; flex-direction: row; gap: 4px; width: 100%; box-sizing: border-box; padding: 6px; overflow-x: auto; background: #fff; border: 1px solid var(--ed-line); border-radius: 18px; }
	.stx-dash .tutor-profile-settings-tab .tutor-tabs-tab { flex: 1 0 auto; justify-content: center; width: auto; border-radius: 13px; white-space: nowrap; }
	.stx-dash .tutor-profile-settings-tab .tutor-tabs-tab .tutor-text-tiny { display: none; }
	.stx-dash .tutor-profile-settings-tab .tutor-tabs-tab .tutor-text-small { font: 600 14.5px var(--ed-font); }
}
.stx-dash .tutor-tabs-nav.tutor-profile-settings-tab .tutor-tabs-tab:not(.tutor-tabs-tab-active):hover { background: #FFF5F5; color: var(--ed-red-t); }
.stx-dash .tutor-tabs-nav.tutor-profile-settings-tab .tutor-tabs-tab.tutor-tabs-tab-active { background-color: var(--ed-red); color: #fff; }
.stx-dash .tutor-tabs-nav.tutor-profile-settings-tab .tutor-tabs-tab.tutor-tabs-tab-active :is(svg, span, div) { color: #fff; }
@media (max-width: 1100px) {
	.stx-dash .tutor-dashboard-quick-tips-card > div:last-child { grid-template-columns: minmax(0, 1fr); }
	.stx-dash .tutor-account-page-wrapper.tutor-has-site-shell { grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 768px) {
	.stx-dash .stx-phero .ed-phero__inner { padding-top: 92px; padding-bottom: 72px; }
	.stx-dash .stx-phero .ed-phero__art { display: none; }
	.stx-dexit { top: 86px; height: 38px; padding: 0 12px; font-size: 13px; }
	.stx-dash .tutor-dashboard-layout.tutor-has-site-shell { padding: 0 12px; margin-top: -48px; }
	.stx-dash .tutor-account-page-wrapper.tutor-has-site-shell { display: block; margin-top: -48px; padding: 0 12px 24px; }
	.stx-acnav { display: none; }
	.stx-dash .tutor-has-site-shell .tutor-profile-header, .stx-dash .tutor-has-site-shell .tutor-account-header { top: 78px; background: #111114; border: 1px solid #2A2A30; border-radius: 18px; margin-bottom: 14px; }
	.stx-dash :is(.tutor-profile-header, .tutor-account-header) :is(h4, .tutor-btn-ghost) { color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .stx-dash .tutor-dashboard-welcome-banner { animation: none; } .stx-dexit, .stx-dexit svg, .stx-dash .tutor-see-all-courses { transition: none; } }
.stx-dash .tutor-dashboard-sidebar-nav ul { grid-template-columns: minmax(0, 1fr); }
.stx-dash .tutor-dashboard-header-left .tutor-tiny { display: block; color: rgba(255,255,255,.7); }
.stx-dash .tutor-dashboard-header-right > div > button, .stx-dash .tutor-dashboard-header-right > div > div > button { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.stx-dash .tutor-dashboard-header-right > div > button svg, .stx-dash .tutor-dashboard-header-right > div > div > button svg { color: #fff; }
.stx-dash .tutor-has-site-shell :is(.tutor-profile-header, .tutor-account-header) .tutor-btn-ghost svg { color: #fff; }
.stx-dash .tutor-dashboard-page .tutor-surface-l1.tutor-border.tutor-rounded-2xl { border-color: var(--ed-line); border-radius: 24px; }
.stx-dash .tutor-table thead th { background: #111114; border: 0; color: #fff; font: 700 14px var(--ed-head); }
.stx-dash .tutor-table tbody tr { transition: background .25s ease; }
.stx-dash .tutor-table tbody tr:hover { background: #FFF5F5; }
.stx-dash .tutor-pagination-item { border-radius: 10px; font-family: var(--ed-font); }
.stx-dash .tutor-pagination-item.tutor-pagination-item-active { background: var(--ed-red); border-color: var(--ed-red); color: #fff; }
.stx-dash .tutor-dashboard-notification-trigger-wrap button, .stx-dash .tutor-dashboard-notification .tutor-sm-hidden > button { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.stx-dash .tutor-dashboard-notification-trigger-wrap button svg, .stx-dash .tutor-dashboard-notification .tutor-sm-hidden > button svg { color: #fff; }
/* One left panel (2026-11-08) */
.stx-dash .tutor-dashboard-layout .tutor-dashboard-sidebar { padding: 0; background: none; border: 0; border-radius: 0; }
.stx-dash .tutor-dashboard-sidebar > :not(.stx-acnav) { display: none; }
.stx-dash .stx-acnav .stx-acnav__who { flex-direction: column; gap: 3px; padding: 8px 6px 14px; margin-bottom: 8px; text-align: center; }
.stx-acnav__who .tutor-avatar { margin-bottom: 8px; box-shadow: 0 0 0 3px var(--ed-red); }
.stx-acnav__who b { max-width: 100%; font-size: 17px; }
.stx-acnav__who small { max-width: 100%; overflow: hidden; color: rgba(255,255,255,.7); text-overflow: ellipsis; white-space: nowrap; }
.stx-acnav__switch { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 42px; margin-top: 10px; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.3); border-radius: 14px; color: #fff; font: 700 14.5px var(--ed-font); cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s cubic-bezier(.2,.8,.2,1); }
.stx-acnav__switch svg { flex: none; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.stx-acnav__switch:hover svg { transform: rotate(180deg); }
.stx-acnav__switch:hover { background: var(--ed-red); border-color: var(--ed-red); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -6px rgba(255,0,0,.6); }
.stx-acnav__switch:disabled { opacity: .6; cursor: wait; }
.stx-acnav ul.stx-acnav__list { margin: 0; padding: 0; list-style: none; }
.stx-acnav ul.stx-acnav__list--acct { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.12); }
.stx-acnav .stx-acnav__link { min-height: 40px; padding: 4px 12px 4px 5px; font-size: 15px; }
.stx-acnav .stx-acnav__link svg { padding: 6px; }
@media (min-width: 769px) {
	.stx-dash .tutor-dashboard-header-right, .stx-dash .tutor-dashboard-header-left .tutor-h5 { display: none; }
	.stx-dash .tutor-dashboard-layout .tutor-dashboard-header { display: none; }
	.stx-dash .tutor-dashboard-main .tutor-dashboard-page { padding-top: 0; }
	/* Instructor Home: the date filter takes the same white tab holder as the Learner pages (Abdul, 2026-11-08) */
	.stx-dash form[data-tutor-ajax-dashboard] > .tutor-justify-between:first-child > div:first-child { position: relative; z-index: 2; padding: 5px; background: #fff; border: 1px solid var(--ed-line); border-radius: 16px; }
	.stx-dash form[data-tutor-ajax-dashboard] > .tutor-justify-between:first-child > div:first-child > .tutor-btn { height: 40px; padding: 0 16px; background: var(--ed-red); border: 0; border-radius: 12px; font: 600 14.5px var(--ed-font); color: #fff; transition: background .25s ease; }
	.stx-dash form[data-tutor-ajax-dashboard] > .tutor-justify-between:first-child > div:first-child > .tutor-btn :is(svg, span) { color: #fff; }
	.stx-dash form[data-tutor-ajax-dashboard] > .tutor-justify-between:first-child > div:first-child > .tutor-btn:hover { background: var(--ed-red-t); }
}
/* Notifications row in the left panel (2026-11-08) */
.stx-dash :is(.tutor-dashboard-layout .tutor-dashboard-sidebar, .stx-acnav) { z-index: 20; }
.stx-acnav ul.stx-acnav__list { gap: 2px; }
.stx-dash .stx-acnav .stx-acnav__who { position: relative; }
.stx-acnav__bell { position: absolute; top: 2px; right: 2px; width: 36px; height: 36px; }
.stx-acnav__belllink svg { width: 18px; height: 18px; }
.stx-acnav__belllink { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 36px; height: 36px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .25s ease, border-color .25s ease; }
.stx-dash .stx-acnav__bell .tutor-dashboard-notification-trigger-wrap { position: absolute; inset: 0; }
.stx-dash .stx-acnav__bell .tutor-dashboard-notification-trigger-wrap button, .stx-dash .stx-acnav__bell .tutor-dashboard-notification-trigger-wrap button:hover { display: block; width: 100%; height: 100%; padding: 0; background: transparent; border-color: transparent; border-radius: 50%; color: transparent; box-shadow: none; transform: none; cursor: pointer; }
.stx-dash .stx-acnav__bell .tutor-dashboard-notification-trigger-wrap button svg { display: none; }
.stx-acnav__bell:hover .stx-acnav__belllink { background: var(--ed-red); border-color: var(--ed-red); }
.stx-dash .stx-acnav__bell :is(.stx-acnav__count, .tutor-dashboard-notification-badge) { position: absolute; top: -5px; right: -5px; left: auto; box-sizing: border-box; min-width: 20px; width: auto; height: 20px; margin: 0; padding: 0 5px; background: var(--ed-red); border: 2px solid #111114; border-radius: 999px; color: #fff; font: 700 11px/16px var(--ed-font); text-align: center; pointer-events: none; }
.stx-dash .stx-acnav__bell .tutor-popover { left: var(--stx-pop-x, 320px) !important; top: 100px !important; max-height: calc(100vh - 116px); overflow-y: auto; color: var(--ed-ink); text-align: left; }
/* Standard page length (2026-11-08) */
@media (min-width: 769px) {
	.stx-dash .tutor-dashboard-layout, .stx-dash .tutor-account-page-wrapper.tutor-has-site-shell { min-height: 800px; }
}
/* Header logo on tablets (2026-11-08) */
@media (min-width: 601px) and (max-width: 960px) { .stx-header .ed-header__brand .stx-logo { height: 40px; } }
/* Settings: rounded tabs, Display Name replaced by Full Name (2026-11-08) */
.stx-dash .tutor-profile-settings-section { background: transparent; }
.stx-dash .tutor-input-field:has(input[name="display_name"]) { display: none; }
/* Certificate that did not finish loading (2026-11-08) */
.stx-certretry { display: grid; justify-items: center; gap: 16px; padding: 110px 20px; text-align: center; }
.stx-certretry p { margin: 0; color: var(--ed-ink); font: 600 17px var(--ed-font); }
/* Left panel only once placed; page change feedback (2026-11-08) */
@media (min-width: 769px) {
	.stx-dash .stx-acnav { display: none; }
	.stx-dash :is(.tutor-dashboard-sidebar, .tutor-account-page-wrapper) > .stx-acnav { display: block; }
}
.stx-nav-loading :is(.tutor-dashboard-main, .stx-acmain) { position: relative; }
.stx-nav-loading :is(.tutor-dashboard-main, .stx-acmain) > * { opacity: .45; transition: opacity .2s ease; }
.stx-nav-loading :is(.tutor-dashboard-main, .stx-acmain)::after { content: ''; position: absolute; left: 50%; top: var(--stx-load-y, 50%); z-index: 5; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 4px solid #FFE0E0; border-top-color: var(--ed-red); border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px #fff; pointer-events: none; animation: stxLoadSpin .8s linear infinite; }
@keyframes stxLoadSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .stx-nav-loading :is(.tutor-dashboard-main, .stx-acmain)::after { animation-duration: 2.4s; } }
@keyframes stxBarIn { from { opacity: 0; transform: translate(-50%, 22px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes stxBarDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,0,0,.55); } 50% { box-shadow: 0 0 0 7px rgba(255,0,0,0); } }
@media (prefers-reduced-motion: reduce) { .stx-dash .tutor-profile-header-right > div:first-child, .stx-dash .tutor-profile-header-right > div:first-child::after { animation: none; } }

/* Settings: Account and Public Profile in one card, no black ribbon (2026-11-08) */
.stx-dash .tutor-tab-panel form:has(input[name="first_name"]) h5.tutor-h5 { display: none; }
.stx-dash .tutor-tab-panel form:has(input[name="first_name"]) .tutor-card { border: 1px solid var(--ed-line); border-radius: 22px; }

/* Certificates list (2026-11-08) */
.stx-dash .tutor-account-container .tutor-certificate-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; overflow: hidden; padding: 18px 20px 18px 24px; background: radial-gradient(260px 130px at 100% 0, rgba(255,0,0,.07), transparent 70%), #fff; border: 1.5px solid var(--ed-line); border-radius: 22px; transition: border-color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s cubic-bezier(.2,.8,.2,1); }
.stx-dash .tutor-account-container .tutor-certificate-card::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 6px; background: var(--ed-red); }
.stx-dash .tutor-account-container .tutor-certificate-card:hover { border-color: #FFCCCC; transform: translateY(-2px); box-shadow: 0 20px 40px -18px rgba(255,0,0,.35); }
.stx-dash .tutor-certificate-card .tutor-certificate-body { display: flex; flex: 1 1 auto; align-items: center; gap: 18px; min-width: 0; }
.stx-dash .tutor-certificate-card .tutor-certificate-icon { display: flex; flex: none; align-items: center; justify-content: center; width: 66px; height: 66px; background: #111114; border: 0; border-radius: 18px; color: #fff; transition: background .25s ease; }
.stx-dash .tutor-certificate-card .tutor-certificate-icon svg { width: 30px; height: 30px; color: #fff; }
.stx-dash .tutor-certificate-card:hover .tutor-certificate-icon { background: var(--ed-red); }
.stx-dash .tutor-certificate-card .tutor-certificate-type { margin-bottom: 5px; color: var(--ed-red-t); font: 700 12px var(--ed-font); letter-spacing: .08em; text-transform: uppercase; }
.stx-dash .tutor-certificate-card .tutor-certificate-title { overflow: visible !important; color: var(--ed-ink); font: 700 18px/1.35 var(--ed-head); text-overflow: clip !important; white-space: normal !important; }
.stx-dash .tutor-certificate-card .tutor-certificate-actions { display: flex; flex: none; align-items: center; gap: 10px; }
.stx-dash .tutor-certificate-card .tutor-section-separator-vertical { display: none; }
.stx-dash .tutor-user-certificates .tutor-certificate-card .tutor-certificate-actions a.tutor-certificate-actions-button { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px !important; background: #FFF0F0; border: 1px solid #FFCCCC; border-radius: 14px; color: var(--ed-red); font: 700 14.5px var(--ed-font); text-decoration: none; white-space: nowrap; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s cubic-bezier(.2,.8,.2,1); }
.stx-dash .tutor-user-certificates .tutor-certificate-card .tutor-certificate-actions a.tutor-certificate-actions-button:last-child { background: var(--ed-red); border-color: var(--ed-red); color: #fff; }
.stx-dash .tutor-user-certificates .tutor-certificate-card .tutor-certificate-actions a.tutor-certificate-actions-button:hover { background: var(--ed-red) !important; border-color: var(--ed-red) !important; color: #fff !important; transform: translateY(-2px); box-shadow: 0 16px 34px -6px rgba(255,0,0,.6) !important; }
@media (max-width: 768px) {
	.stx-dash .tutor-account-container .tutor-certificate-card { flex-direction: column; align-items: stretch; padding: 16px 16px 16px 20px; }
	.stx-dash .tutor-certificate-card .tutor-certificate-icon { width: 54px; height: 54px; border-radius: 15px; }
	.stx-dash .tutor-certificate-card .tutor-certificate-title { font-size: 16px; }
	.stx-dash .tutor-user-certificates .tutor-certificate-card .tutor-certificate-actions a.tutor-certificate-actions-button { flex: 1; }
}

/* Billing stays reachable by link but is not in the menus; My Profile edit button (2026-11-08) */
.stx-dash li:has(> a[href*="/account/billing"]) { display: none; }
/* Instructor view: earnings are not used on StatX, so hide the Withdrawals menu item and the Total Earnings card (the page stays) */
.stx-dash li:has(> a[href*="/account/withdrawals"]) { display: none; }
.stx-dash [data-section-id="current_stats"] .tutor-flex-1:has(> .tutor-stat-card-brand) { display: none; }
.stx-dash [data-section-id="top_performing_courses"] .tutor-dashboard-home-course > .tutor-flex:last-child > .tutor-flex:first-child, .stx-dash [data-section-id="top_performing_courses"] [x-data^="tutorPopover"] { display: none; }
.stx-prof-hero__inner .stx-prof__edit { top: 0; right: 0; }
@media (max-width: 768px) { .stx-prof-hero__inner .stx-prof__edit { position: static; margin-top: 14px; } }

/* Left panel follows the page again, always full height with no inner scroll (2026-11-08) */
@media (min-width: 769px) {
	.stx-dash :is(.tutor-dashboard-layout .tutor-dashboard-sidebar, .stx-acnav) { position: sticky; top: var(--stx-panel-top, 100px); max-height: none; overflow: visible; }
}

/* My Profile on the right side of the account page (2026-11-08) */
.stx-prof-hero--embed { padding: 26px; border-radius: 24px; }
.stx-prof-hero--embed .ed-wrap, .stx-prof-hero--embed + .stx-comm--prof .ed-wrap { width: auto; max-width: none; margin: 0; padding: 0; }
.stx-prof-hero--embed .stx-prof { margin-top: 0; }
.stx-prof-hero--embed .stx-prof__ava { width: 132px; height: 132px; border-radius: 32px; font-size: 42px; }
.stx-prof-hero--embed .stx-prof-hero__word { right: 18px; font-size: 96px; }
.stx-prof-hero--embed .stx-prof__stats { margin-top: 24px; }
.stx-prof-hero--embed + .stx-comm--prof { padding: 28px 0 0; background: none; }
.stx-prof-hero--embed + .stx-comm--prof .ed-courses__grid.stx-courses__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .stx-prof-hero--embed + .stx-comm--prof .ed-courses__grid.stx-courses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
	.stx-prof-hero--embed { padding: 20px; }
	.stx-prof-hero--embed + .stx-comm--prof .ed-courses__grid.stx-courses__grid { grid-template-columns: 1fr; }
}
.stx-dash .stx-prof-hero--embed .stx-prof__ava img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* Home trust strip: items light up in turn, seated below the hero (Abdul, 2026-11-08) */
.ed-trust .ed-trust__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 18px var(--ed-gutter); }
.ed-trust .ed-trust__item { position: relative; overflow: hidden; gap: 12px; padding: 16px 14px; border-radius: 16px; font-size: 14.5px; font-weight: 600; line-height: 1.3; transition: background-color .3s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.ed-trust .ed-trust__icon { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--t); color: var(--c); transition: background-color .3s ease, color .3s ease, transform .38s cubic-bezier(.2,.8,.2,1); }
.ed-trust__text { min-width: 0; }
.ed-trust .ed-trust__item::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c); transform: scaleX(0); transform-origin: left; }
.ed-trust .ed-trust__item.is-on, .ed-trust .ed-trust__item:hover { background: color-mix(in srgb, var(--t) 55%, #fff); transform: translateY(-2px); }
.ed-trust .ed-trust__item:is(.is-on, :hover) .ed-trust__icon { background: var(--c); color: #fff; transform: rotate(-6deg) scale(1.06); }
.ed-trust .ed-trust__item.is-on::after { animation: stxTrustBar 2.4s linear; }
.ed-trust .ed-trust__row:hover .ed-trust__item.is-on::after { animation: none; transform: scaleX(1); }
@keyframes stxTrustBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 1100px) {
	.ed-trust .ed-trust__row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.ed-trust .ed-trust__item { grid-column: span 2; }
	.ed-trust .ed-trust__item:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 640px) {
	.ed-trust .ed-trust__row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px var(--ed-gutter); }
	.ed-trust .ed-trust__item, .ed-trust .ed-trust__item:nth-child(n+4) { grid-column: auto; gap: 10px; padding: 12px 10px; font-size: 13.5px; }
	.ed-trust .ed-trust__item:last-child { grid-column: 1 / -1; }
	.ed-trust .ed-trust__icon { width: 38px; height: 38px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) { .ed-trust .ed-trust__item, .ed-trust .ed-trust__icon { transition: none; } }

/* The filter tab of My Courses, Announcements and Assignments stands apart from the card, like the Discussions tab (Abdul, 2026-11-08). */
.stx-dash :is(.tutor-dashboard-my-courses, .tutor-dashboard-announcements, .tutor-dashboard-assignments) > .tutor-surface-l1.tutor-border.tutor-rounded-2xl { position: relative; isolation: isolate; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.stx-dash :is(.tutor-dashboard-my-courses, .tutor-dashboard-announcements, .tutor-dashboard-assignments) > .tutor-surface-l1.tutor-border.tutor-rounded-2xl::before { content: ''; position: absolute; inset: 60px 0 0; z-index: -1; background: #fff; border: 1px solid var(--ed-line); border-radius: 24px; }
:is(.stx-dash :is(.tutor-dashboard-my-courses, .tutor-dashboard-announcements, .tutor-dashboard-assignments) > .tutor-surface-l1.tutor-border.tutor-rounded-2xl > .tutor-flex:first-child, .stx-dash :is(.tutor-dashboard-my-courses, .tutor-dashboard-announcements, .tutor-dashboard-assignments) > .tutor-surface-l1.tutor-border.tutor-rounded-2xl > .tutor-assignment-filters > .tutor-flex:first-child) { box-sizing: border-box; flex-wrap: nowrap; align-items: center; height: 60px; padding: 0 0 14px; border-bottom: 0; }
:is(.stx-dash :is(.tutor-dashboard-my-courses, .tutor-dashboard-announcements, .tutor-dashboard-assignments) > .tutor-surface-l1.tutor-border.tutor-rounded-2xl > .tutor-flex:first-child, .stx-dash :is(.tutor-dashboard-my-courses, .tutor-dashboard-announcements, .tutor-dashboard-assignments) > .tutor-surface-l1.tutor-border.tutor-rounded-2xl > .tutor-assignment-filters > .tutor-flex:first-child) .tutor-dropdown-filter { display: inline-flex; flex: 0 1 auto; min-width: 0; padding: 5px; background: #fff; border: 1px solid var(--ed-line); border-radius: 16px; }
:is(.stx-dash :is(.tutor-dashboard-my-courses, .tutor-dashboard-announcements, .tutor-dashboard-assignments) > .tutor-surface-l1.tutor-border.tutor-rounded-2xl > .tutor-flex:first-child, .stx-dash :is(.tutor-dashboard-my-courses, .tutor-dashboard-announcements, .tutor-dashboard-assignments) > .tutor-surface-l1.tutor-border.tutor-rounded-2xl > .tutor-assignment-filters > .tutor-flex:first-child) .tutor-dropdown-filter > .tutor-btn-primary-soft { background: var(--ed-red); color: #fff; font: 600 14.5px var(--ed-font); }
:is(.stx-dash :is(.tutor-dashboard-my-courses, .tutor-dashboard-announcements, .tutor-dashboard-assignments) > .tutor-surface-l1.tutor-border.tutor-rounded-2xl > .tutor-flex:first-child, .stx-dash :is(.tutor-dashboard-my-courses, .tutor-dashboard-announcements, .tutor-dashboard-assignments) > .tutor-surface-l1.tutor-border.tutor-rounded-2xl > .tutor-assignment-filters > .tutor-flex:first-child) .tutor-dropdown-filter > .tutor-btn-primary-soft:hover { background: var(--ed-red-t); color: #fff; }
:is(.stx-dash :is(.tutor-dashboard-my-courses, .tutor-dashboard-announcements, .tutor-dashboard-assignments) > .tutor-surface-l1.tutor-border.tutor-rounded-2xl > .tutor-flex:first-child, .stx-dash :is(.tutor-dashboard-my-courses, .tutor-dashboard-announcements, .tutor-dashboard-assignments) > .tutor-surface-l1.tutor-border.tutor-rounded-2xl > .tutor-assignment-filters > .tutor-flex:first-child) .tutor-dropdown-filter > .tutor-btn-primary-soft svg { color: #fff; }
@media (min-width: 769px) { .stx-acmain > .tutor-user-reviews { margin-top: 0; } }

/* Home counters: big and highlighted (Abdul, 2026-11-08). */
.stx-dash .tutor-stat-card-value { font-size: 48px; line-height: 1.05; letter-spacing: -.02em; }
.stx-dash .tutor-stat-card-value:not(:has(.tutor-skeleton)) { width: fit-content; padding: 0 8px; margin-left: -4px; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--c) 24%, #fff) 62% 92%, transparent 92%); }
.stx-dash .tutor-stat-card.tutor-stat-card-time-spent .tutor-stat-card-value { font-size: 36px; }
@media (max-width: 768px) {
	.stx-dash .tutor-stat-card-value { font-size: 38px; }
	.stx-dash .tutor-stat-card.tutor-stat-card-time-spent .tutor-stat-card-value { font-size: 28px; }
}

@media (max-width: 480px) {
	.stx-dash .tutor-stat-card-value { font-size: 32px; }
	.stx-dash .tutor-stat-card.tutor-stat-card-time-spent .tutor-stat-card-value { font-size: 26px; }
}

/* Home course section: a real button for all ongoing courses, and the old batches banner (Abdul, 2026-11-08). */
.ed-btn.stx-all-btn { flex: none; padding: 12px 18px; font-size: 14.5px; white-space: nowrap; }
.ed-more.stx-more { width: min(440px, 100%); margin-top: 26px; gap: 16px; padding: 12px 14px 12px 16px; background: #FFF5F5; border: 1.5px solid #FFCCCC; border-radius: 20px; color: var(--ed-ink); box-shadow: none; transition: transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s cubic-bezier(.2,.8,.2,1), border-color .3s ease; }
.stx-fan { position: relative; flex: none; width: 104px; height: 54px; }
.stx-fan img { position: absolute; top: 7px; left: 17px; box-sizing: border-box; width: 70px; height: 40px; object-fit: cover; border: 2px solid #fff; border-radius: 7px; box-shadow: 0 3px 8px rgba(17,17,20,.22); transition: transform .38s cubic-bezier(.2,.8,.2,1); }
.stx-fan img:nth-child(1) { left: 0; transform: rotate(-9deg); }
.stx-fan img:nth-child(2) { left: 34px; transform: rotate(9deg); }
.stx-fan img:nth-child(3) { top: 5px; }
.ed-more.stx-more .ed-more__text { flex: 1 1 auto; min-width: 0; gap: 2px; }
.ed-more.stx-more .ed-more__text b { font: 800 19px/1.25 var(--ed-head); color: var(--ed-red); }
.ed-more.stx-more .ed-more__text small { font-size: 12.5px; color: var(--ed-muted); }
.ed-more.stx-more .ed-more__go { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--ed-red); color: #fff; }
.ed-more.stx-more .ed-more__go::after { content: ''; position: absolute; inset: 0; border: 2px solid var(--ed-red); border-radius: 50%; animation: stxMoreRing 1.8s ease-out infinite; pointer-events: none; }
.ed-more.stx-more:hover { color: var(--ed-ink); border-color: #FFCCCC; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(255,0,0,.3); }
.ed-more.stx-more:hover .ed-more__go { background: var(--ed-red); color: #fff; }
.ed-more.stx-more:hover .stx-fan img:nth-child(1) { transform: translate(-6px, -2px) rotate(-14deg); }
.ed-more.stx-more:hover .stx-fan img:nth-child(2) { transform: translate(6px, -2px) rotate(14deg); }
.ed-more.stx-more:hover .stx-fan img:nth-child(3) { transform: translateY(-5px); }
.ed-more.stx-more:active { transform: scale(.98); transition-duration: .12s; }
@media (max-width: 480px) {
	.ed-more.stx-more { gap: 10px; padding: 10px 12px; }
	.stx-fan { width: 86px; height: 46px; }
	.stx-fan img { left: 13px; width: 60px; height: 34px; }
	.stx-fan img:nth-child(1) { left: 0; }
	.stx-fan img:nth-child(2) { left: 26px; }
	.ed-more.stx-more .ed-more__go { width: 36px; height: 36px; }
	.ed-more.stx-more .ed-more__text b { font-size: 17px; }
	.ed-more.stx-more .ed-more__text small { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.ed-more.stx-more, .stx-fan img { transition: none; }
	.ed-more.stx-more .ed-more__go::after { animation: none; opacity: 0; }
	.ed-more.stx-more:hover, .ed-more.stx-more:active { transform: none; }
	.ed-more.stx-more:hover .stx-fan img:nth-child(3) { transform: none; }
}

/* Phones: the course tabs and cards use nearly the full screen width (Abdul, 2026-11-08). */
@media (max-width: 640px) {
	.stx-tabs--folder { margin-inline: calc(6px - var(--ed-gutter)); }
	.stx-tabs--folder .stx-tabs__panels { padding: 14px 6px 6px; border-radius: 0 0 20px 20px; }
}

/* Assignments table head: soft pink instead of the black ribbon (Abdul, 2026-11-08). */
.stx-dash .tutor-dashboard-assignments .tutor-table thead th { background: #FFF5F5; border-bottom: 1px solid #FFE0E0; color: var(--ed-red-t); font: 700 13.5px var(--ed-head); }

/* Course card: banner badge, clear reading order, price left and button right (Abdul, 2026-11-08). */
.stx-course:not(.stx-course--private) .ed-course__body { gap: 0; }
.stx-off { position: absolute; z-index: 1; left: 12px; bottom: 12px; padding: 6px 11px; border-radius: 9px; background: var(--ed-red); color: #fff; font: 800 13px var(--ed-head); }
.stx-course__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 8px; font: 700 12px var(--ed-font); letter-spacing: .05em; text-transform: uppercase; color: var(--ed-muted); }
.stx-course__meta i { font-style: normal; color: #9A9AA3; }
.stx-course__mode { display: inline-flex; align-items: center; gap: 8px; color: var(--c); }
.stx-course__mode::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px var(--c16); }
.stx-course:not(.stx-course--private) .ed-course__title { min-height: 0; font: 700 18px/1.34 var(--ed-head); }
.stx-course .ed-course__tutor { margin: 30px 0 16px; font-size: 13.5px; }
.stx-course .ed-course__tutor .ed-course__rate { flex: none; margin-left: auto; }
.stx-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ed-line); }
.stx-buy__left { flex: 1 1 0; min-width: 0; }
.stx-course .stx-buy .ed-course__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 7px; margin: 0; }
.stx-course .stx-buy .ed-course__price b { font: 800 27px/1.05 var(--ed-head); color: var(--ed-ink); }
.stx-course .stx-buy .ed-course__price s { margin: 0; font-size: 14px; }
.stx-buy__closes { margin: 7px 0 0; font: 600 12.5px/1.3 var(--ed-font); color: var(--ed-red-t); }
.stx-buy .ed-course__enroll.ed-course__enroll { flex: 0 0 auto; min-width: 40%; box-sizing: border-box; height: 48px; padding: 0 16px; justify-content: center; gap: 6px; font-size: 14.5px; white-space: nowrap; }
.stx-buy .ed-course__enroll.stx-enroll--closed.stx-enroll--closed { flex: 1 1 100%; white-space: normal; }

/* Enroll button: the card already lifts on hover, so the button stays put with only a faint shadow (Abdul, 2026-11-08). */
.ed-course:hover .stx-buy .ed-course__enroll.ed-course__enroll:not(.stx-enroll--closed), .stx-buy .ed-course__enroll.ed-course__enroll:not(.stx-enroll--closed):focus-visible { transform: none; box-shadow: 0 6px 14px -8px rgba(255,0,0,.4); }
.ed-course:hover .stx-buy .ed-course__enroll.ed-course__enroll:not(.stx-enroll--closed):active { transform: scale(.97); }

@keyframes stxMoreRing { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
