:root {
  --ink: #13211c;
  --ink-soft: #44534d;
  --cream: #f8f5ee;
  --paper: #fffdf8;
  --green: #0d684f;
  --green-deep: #084b3a;
  --green-soft: #dcece5;
  --lime: #d6f36a;
  --gold: #efb84d;
  --line: #dfe5df;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body), Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,248,.92); border-bottom: 1px solid rgba(19,33,28,.08); backdrop-filter: blur(16px); }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display), sans-serif; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; flex-wrap: nowrap; white-space: nowrap; border-radius: 11px; background: var(--green); color: white; font-size: 17px; letter-spacing: -.12em; padding-right: 2px; box-shadow: 0 8px 20px rgba(13,104,79,.2); }
.brand-mark-letter { font-weight: 850; }
.brand-mark-letter-accent { color: var(--lime); }
.brand-name { font-size: 20px; }
.brand-name span { color: var(--green); }
.main-nav { display: flex; align-items: center; gap: 24px; margin-left: 36px; }
.main-nav > a, .login-link { font-size: 14px; font-weight: 650; color: #34433d; transition: color .2s; }
.main-nav > a:hover, .login-link:hover { color: var(--green); }
.login-icon-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.login-icon-link svg { width: 20px; height: 20px; flex: 0 0 auto; }
.header-auth { display: flex; align-items: center; gap: 14px; margin-left: 22px; }
.header-auth .login-icon-link { width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid #ccd8d1; border-radius: 50%; color: var(--green-deep); background: white; box-shadow: 0 7px 18px rgba(13,104,79,.08); transition: color .2s, border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.header-auth .login-icon-link:hover { color: white; border-color: var(--green); background: var(--green); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(13,104,79,.18); }
.header-auth .login-icon-link:focus-visible { outline: 3px solid rgba(13,104,79,.22); outline-offset: 3px; }
.header-auth .login-icon-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mobile-auth, .menu-toggle { display: none; }
.account-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green-deep); font-size: 13px; font-weight: 800; }
.account-link > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--green-deep); background: var(--lime); font-size: 9px; }
.header-signout { padding: 0; border: 0; color: #64716b; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.header-signout:hover { color: var(--green); }

.button { min-height: 50px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 10px; font-weight: 750; font-size: 15px; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: white; box-shadow: 0 10px 24px rgba(13,104,79,.18); }
.button-primary:hover { background: var(--green-deep); box-shadow: 0 14px 30px rgba(13,104,79,.24); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.button-ghost { border-color: #bdc8c1; background: transparent; color: var(--ink); }
.button-ghost:hover { border-color: var(--green); background: white; }
.button-light { background: var(--lime); color: var(--ink); }
.button-white { background: white; color: var(--green-deep); }

.hero { min-height: 710px; padding-top: 85px; padding-bottom: 88px; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 70px; overflow: hidden; }
.eyebrow, .mini-label { color: var(--green); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 2px; background: var(--green); }
.hero h1 { margin: 22px 0 23px; max-width: 620px; font-family: var(--font-display), sans-serif; font-size: clamp(48px, 5.2vw, 76px); line-height: .99; letter-spacing: -.055em; }
.hero h1 em { color: var(--green); font-style: normal; position: relative; }
.hero h1 em::after { content: ""; position: absolute; height: 8px; left: 2px; right: 0; bottom: -4px; background: var(--lime); z-index: -1; transform: rotate(-1.5deg); }
.hero-lead { max-width: 570px; margin: 0; color: var(--ink-soft); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; gap: 13px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 25px; color: #58655f; font-size: 12px; font-weight: 650; }
.trust-row b { color: var(--green); margin-right: 5px; }
.hero-reviews-link { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid #d7ded9; border-radius: 999px; color: var(--green-deep); background: white; font-weight: 800; box-shadow: 0 6px 16px rgba(13,104,79,.07); transition: color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.hero-reviews-link > span { color: var(--gold); font-size: 11px; letter-spacing: .04em; }
.hero-reviews-link:hover { color: var(--green); border-color: #9eb9ad; transform: translateY(-1px); box-shadow: 0 9px 20px rgba(13,104,79,.12); }
.hero-reviews-link:focus-visible { outline: 3px solid rgba(13,104,79,.2); outline-offset: 3px; }

.hero-product { min-height: 510px; position: relative; display: grid; place-items: center; }
.product-glow { position: absolute; width: 510px; height: 510px; border-radius: 50%; background: #e8efe9; }
.product-glow::before, .product-glow::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed rgba(13,104,79,.18); }
.product-glow::before { inset: 28px; }.product-glow::after { inset: -32px; }
.lesson-window { position: relative; z-index: 2; width: 410px; min-height: 470px; padding: 24px; border-radius: 22px; background: white; box-shadow: 0 30px 80px rgba(20,45,36,.16); border: 1px solid rgba(13,104,79,.11); transform: rotate(1deg); }
.lesson-window-top { display: flex; align-items: center; gap: 12px; }
.window-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--green); color: white; font-weight: 900; }
.window-title { display: flex; flex: 1; flex-direction: column; }.window-title span { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #78847f; }.window-title strong { margin-top: 3px; font-size: 14px; }
.level-pill { border-radius: 999px; padding: 6px 9px; background: var(--green-soft); color: var(--green); font-size: 11px; font-weight: 850; }
.lesson-progress { height: 5px; margin: 19px 0 24px; overflow: hidden; border-radius: 5px; background: #edf0ed; }.lesson-progress span { display: block; width: 38%; height: 100%; background: var(--green); }
.lesson-prompt { font-size: 11px; font-weight: 800; color: #7b8882; text-transform: uppercase; letter-spacing: .12em; }
.phrase-card { margin-top: 10px; padding: 22px 20px; border-radius: 15px; text-align: center; background: var(--cream); border: 1px solid #ece7dc; }
.phrase-card p { margin: 12px 0 6px; font-family: var(--font-display), sans-serif; font-size: 20px; line-height: 1.35; font-weight: 750; }.phrase-card > span { color: #6c7772; font-size: 13px; }
.sound-orb { width: 42px; height: 42px; margin: auto; display: flex; align-items: center; justify-content: center; gap: 3px; border-radius: 50%; background: var(--green); }
.sound-bar { display: block; width: 3px; border-radius: 3px; background: white; }.bar-one { height: 10px; }.bar-two { height: 18px; }.bar-three { height: 13px; }
.tip-card { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; padding: 12px; border-radius: 10px; background: #f1f7f4; color: #52615b; }.tip-card p { margin: 0; font-size: 11px; line-height: 1.45; }.tip-card em { color: var(--green); }.tip-icon { flex: 0 0 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: 11px; font-weight: 800; }
.lesson-next { width: 100%; height: 42px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 9px; color: white; background: var(--green); font-size: 12px; font-weight: 800; }.lesson-next span { margin-left: 8px; }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 13px; background: white; box-shadow: 0 14px 36px rgba(19,33,28,.13); font-size: 11px; }.float-card b, .float-card small { display: block; }.float-card b { margin-bottom: 2px; }.float-card small { color: #79847f; }.float-card-top { top: 68px; right: -12px; }.float-card-bottom { bottom: 62px; left: -25px; }
.float-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--green-deep); font-weight: 900; }.float-icon-warm { width: 40px; border-radius: 9px; background: #fff0ce; color: #a96800; font-size: 10px; }

.proof-strip { border-block: 1px solid var(--line); background: white; }.proof-inner { min-height: 108px; display: flex; align-items: center; justify-content: space-between; }.proof-inner > p { color: #7b8782; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.proof-list { display: flex; align-items: center; gap: 28px; color: #4d5b55; font-family: var(--font-display), sans-serif; font-size: 16px; font-weight: 750; }.proof-list i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.method-section, .scenarios-section { padding-top: 116px; padding-bottom: 120px; }
.section-heading h2 { margin: 15px 0 0; font-family: var(--font-display), sans-serif; font-size: clamp(36px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; }.section-heading p { color: var(--ink-soft); line-height: 1.65; }
.centered-heading { max-width: 740px; margin: auto; text-align: center; }.centered-heading p { max-width: 630px; margin: 20px auto 0; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.benefit-card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: white; }.benefit-number { color: #93a099; font-size: 11px; font-weight: 800; letter-spacing: .12em; }.benefit-visual { height: 130px; margin: 20px 0 27px; display: grid; place-items: center; border-radius: 13px; background: var(--cream); overflow: hidden; }.benefit-visual span { width: 62px; height: 62px; position: relative; border-radius: 50%; border: 11px solid var(--green-soft); background: var(--green); box-shadow: 0 0 0 10px white; }.benefit-visual-02 span { width: 92px; height: 55px; border-radius: 12px; border-width: 6px; }.benefit-visual-03 span { border-radius: 15px; background: var(--gold); border-color: #fae7be; }.benefit-card h3 { margin: 0 0 10px; font-family: var(--font-display), sans-serif; font-size: 20px; }.benefit-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }

.levels-section { padding: 110px 0 100px; color: white; background: var(--green-deep); overflow: hidden; }.split-heading { display: grid; grid-template-columns: 1fr .78fr; align-items: end; gap: 80px; }.split-heading h2 { max-width: 640px; }.split-heading > p { color: rgba(255,255,255,.68); margin: 0 0 8px; }.light-label { color: var(--lime); }
.levels-track { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 78px; }.level-step { position: relative; padding-right: 30px; }.level-node { position: relative; z-index: 2; width: 61px; height: 61px; padding: 5px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: var(--green-deep); }.level-node span { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.09); font-family: var(--font-display), sans-serif; font-weight: 850; }.active-level .level-node { border-color: var(--lime); }.active-level .level-node span { background: var(--lime); color: var(--green-deep); }.level-line { position: absolute; z-index: 1; top: 30px; left: 61px; right: 0; height: 1px; background: rgba(255,255,255,.22); }.level-access { display: inline-block; margin-top: 22px; color: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: .14em; }.level-step h3 { margin: 9px 0 8px; font-family: var(--font-display), sans-serif; font-size: 17px; }.level-step p { min-height: 58px; margin: 0; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.55; }.level-step small { display: block; margin-top: 15px; color: rgba(255,255,255,.42); font-size: 10px; }.levels-action { margin-top: 55px; text-align: center; }

.scenarios-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }.scenario-copy h2 { margin: 15px 0 18px; font-family: var(--font-display), sans-serif; font-size: clamp(36px, 4vw, 50px); line-height: 1.08; letter-spacing: -.045em; }.scenario-copy > p { color: var(--ink-soft); line-height: 1.65; }.scenario-list { list-style: none; padding: 0; margin: 34px 0 0; }.scenario-list li { display: flex; gap: 16px; padding: 17px 0; border-top: 1px solid var(--line); }.scenario-list li > span { padding-top: 2px; color: var(--green); font-size: 11px; font-weight: 850; }.scenario-list b, .scenario-list small { display: block; }.scenario-list b { font-size: 14px; }.scenario-list small { margin-top: 4px; color: #6d7a74; font-size: 12px; }
.conversation-panel { border-radius: 22px; overflow: hidden; background: #f4f2eb; border: 1px solid #e2ded3; box-shadow: 0 22px 58px rgba(30,48,41,.11); }.conversation-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 25px; background: white; border-bottom: 1px solid var(--line); }.conversation-header div span, .conversation-header div b { display: block; }.conversation-header div span { color: #7e8984; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.conversation-header div b { margin-top: 4px; font-size: 14px; }.live-dot { padding: 6px 9px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.chat-line { display: flex; align-items: flex-start; gap: 13px; padding: 21px 26px 0; }.chat-line > div { max-width: 78%; }.chat-line small { display: block; margin: 0 0 5px 2px; color: #7a8580; font-size: 8px; font-weight: 900; letter-spacing: .1em; }.chat-line p { margin: 0; padding: 13px 16px; border-radius: 5px 14px 14px 14px; background: white; font-size: 14px; }.avatar { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-size: 9px; font-weight: 850; }.customer-avatar { background: #dfe5e2; color: #58665f; }.learner-line { flex-direction: row-reverse; text-align: right; }.learner-line > div { display: flex; flex-direction: column; align-items: flex-end; }.learner-avatar { background: var(--green); color: white; }.learner-line p { color: white; background: var(--green); border-radius: 14px 5px 14px 14px; }.correction { margin-top: 7px; color: var(--green); font-size: 9px; font-weight: 750; }.final-line { padding-bottom: 22px; }.conversation-footer { display: flex; align-items: center; gap: 15px; padding: 15px 25px; background: white; border-top: 1px solid var(--line); }.conversation-footer > span { color: #78847f; font-size: 9px; }.conversation-footer div { flex: 1; height: 4px; overflow: hidden; border-radius: 4px; background: #e8ece9; }.conversation-footer i { display: block; width: 40%; height: 100%; background: var(--green); }

/* Reviews */
.home-reviews-section { padding: 72px 0 78px; background: #f2f4ef; border-block: 1px solid var(--line); }
.home-reviews-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; }
.home-reviews-heading h2 { max-width: 700px; margin: 15px 0 0; font-family: var(--font-display), sans-serif; font-size: clamp(35px, 4vw, 50px); line-height: 1.08; letter-spacing: -.045em; }
.home-rating-summary { display: flex; align-items: center; gap: 15px; flex: 0 0 auto; padding: 16px 19px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.home-rating-summary > strong { font-family: var(--font-display), sans-serif; font-size: 38px; line-height: 1; }
.home-rating-summary > div { display: flex; flex-direction: column; gap: 4px; }.home-rating-summary small { color: #77837d; font-size: 9px; }
.review-stars { display: inline-flex; gap: 2px; color: #d7ddd9; font-size: 16px; letter-spacing: .01em; }.review-stars .filled { color: var(--gold); }
.home-review-grid, .reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.review-card { min-width: 0; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 12px 34px rgba(28,48,40,.055); }
.review-card h3 { margin: 14px 0 0; font-family: var(--font-display), sans-serif; font-size: 18px; }
.review-card > p { flex: 1; margin: 13px 0 24px; color: #53615b; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.review-card footer { display: flex; align-items: center; gap: 11px; padding-top: 17px; border-top: 1px solid #edf0ed; }
.review-avatar { width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 37px; border-radius: 50%; color: var(--green-deep); background: var(--lime); font-size: 9px; font-weight: 900; }
.review-card footer b, .review-card footer small { display: block; }.review-card footer b { font-size: 11px; }.review-card footer small { margin-top: 3px; color: #82908a; font-size: 8px; }
.home-reviews-action { margin-top: 34px; text-align: center; }
.reviews-empty-home { display: flex; align-items: center; justify-content: center; gap: 17px; margin-top: 42px; padding: 31px; border: 1px dashed #bdc9c2; border-radius: 16px; background: rgba(255,255,255,.64); }
.reviews-empty-home > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #9a6c0d; background: #fff0ca; font-size: 21px; }.reviews-empty-home b { font-family: var(--font-display), sans-serif; font-size: 18px; }.reviews-empty-home p { margin: 5px 0 0; color: #718079; font-size: 11px; }

.reviews-page { min-height: 750px; background: #f6f5f0; }
.reviews-hero { padding: 82px 0 88px; color: white; background: var(--green-deep); }
.reviews-hero-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 70px; }
.reviews-hero h1 { max-width: 760px; margin: 16px 0 18px; font-family: var(--font-display), sans-serif; font-size: clamp(43px, 5vw, 66px); line-height: 1.02; letter-spacing: -.052em; }
.reviews-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.7; }
.reviews-score-card { min-width: 250px; display: flex; align-items: center; gap: 17px; padding: 20px 23px; border: 1px solid rgba(255,255,255,.17); border-radius: 16px; background: rgba(255,255,255,.08); }
.reviews-score-card > strong { font-family: var(--font-display), sans-serif; font-size: 47px; line-height: 1; }.reviews-score-card > div { display: flex; flex-direction: column; gap: 5px; }.reviews-score-card .review-stars { font-size: 18px; }.reviews-score-card > div > span:last-child { color: rgba(255,255,255,.62); font-size: 9px; }
.reviews-content { padding-top: 70px; padding-bottom: 110px; }
.reviews-overview { display: grid; grid-template-columns: .72fr 1.28fr; gap: 22px; align-items: stretch; }
.rating-breakdown, .review-form-card { padding: 31px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.rating-big { display: flex; align-items: center; gap: 15px; margin-top: 19px; }.rating-big > strong { font-family: var(--font-display), sans-serif; font-size: 51px; line-height: 1; }.rating-big .review-stars { font-size: 19px; }
.rating-breakdown > p { margin: 11px 0 23px; color: #7a8781; font-size: 10px; }
.rating-bars { display: flex; flex-direction: column; gap: 9px; }.rating-bars > div { display: grid; grid-template-columns: 31px 1fr 22px; gap: 10px; align-items: center; }.rating-bars span, .rating-bars small { color: #738079; font-size: 9px; }.rating-bars small { text-align: right; }.rating-bars i { height: 6px; overflow: hidden; border-radius: 6px; background: #e9edea; }.rating-bars b { display: block; height: 100%; border-radius: 6px; background: var(--gold); }
.review-form-card h2 { margin: 9px 0 22px; font-family: var(--font-display), sans-serif; font-size: 27px; }
.review-signin { padding: 21px; border-radius: 12px; background: #f3f7f4; }.review-signin p { margin: 0 0 17px; color: #65736c; font-size: 12px; line-height: 1.65; }
.review-form-card form { display: grid; gap: 16px; }.review-form-card form > label { position: relative; display: flex; flex-direction: column; gap: 7px; color: #3f4c46; font-size: 11px; font-weight: 800; }.review-form-card label > span { position: absolute; top: 2px; right: 0; color: #89948f; font-size: 8px; font-weight: 600; }
.review-form-card input, .review-form-card textarea { width: 100%; padding: 13px 14px; border: 1px solid #c9d2cd; border-radius: 9px; color: var(--ink); background: white; outline: none; resize: vertical; }.review-form-card input:focus, .review-form-card textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,104,79,.1); }.review-form-card form > small { color: #87928d; font-size: 8px; }
.star-picker { display: flex; gap: 6px; margin: 0; padding: 0; border: 0; }.star-picker legend { margin-bottom: 7px; color: #3f4c46; font-size: 11px; font-weight: 800; }.star-picker button { padding: 0; border: 0; color: #d7ddd9; background: transparent; font-size: 31px; line-height: 1; cursor: pointer; transition: color .15s, transform .15s; }.star-picker button:hover { transform: scale(1.08); }.star-picker button.active { color: var(--gold); }
.review-message { margin: 0; padding: 11px 13px; border-radius: 8px; font-size: 10px; }.review-message.success { color: #155d46; background: #e4f3ec; }.review-message.error { color: #8a342d; background: #fff0ee; }.review-form-card button:disabled { cursor: wait; opacity: .62; }
.reviews-list-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-top: 78px; }.reviews-list-heading h2 { margin: 9px 0 0; font-family: var(--font-display), sans-serif; font-size: 34px; }.reviews-list-heading > span { color: #7b8781; font-size: 10px; }
.reviews-grid { margin-top: 27px; }
.reviews-empty { margin-top: 27px; padding: 50px 25px; border: 1px dashed #c6cec9; border-radius: 16px; text-align: center; background: white; }.reviews-empty > span { color: var(--gold); font-size: 29px; }.reviews-empty h3 { margin: 12px 0 7px; font-family: var(--font-display), sans-serif; font-size: 21px; }.reviews-empty p { margin: 0; color: #74817a; font-size: 11px; }
.reviews-loading { min-height: 340px; display: grid; place-content: center; text-align: center; color: #718079; }.reviews-loading p { margin: 0; font-size: 11px; }
.reviews-activation { display: flex; align-items: center; gap: 20px; max-width: 720px; margin: 30px auto; padding: 30px; border: 1px solid #e7d7a7; border-radius: 16px; background: #fff8e5; }.reviews-activation > span { width: 55px; height: 55px; display: grid; place-items: center; flex: 0 0 55px; border-radius: 50%; color: #996a09; background: #ffe9ad; font-size: 22px; }.reviews-activation h2 { margin: 0 0 6px; font-family: var(--font-display), sans-serif; }.reviews-activation p { margin: 0; color: #746541; font-size: 11px; }

.final-cta { padding: 84px 0; text-align: center; color: white; background: var(--green); }.final-cta-inner h2 { margin: 17px auto 12px; font-family: var(--font-display), sans-serif; font-size: clamp(38px, 4.4vw, 58px); letter-spacing: -.05em; }.final-cta-inner p { margin: 0 auto 29px; color: rgba(255,255,255,.76); }

/* Professional positioning and Iris welcome */
.iris-hero-guide { position: absolute; z-index: 5; inset: 0; pointer-events: none; }
.iris-hero-guide > img { width: 225px; height: auto; position: absolute; right: -30px; bottom: -66px; object-fit: contain; filter: drop-shadow(0 22px 24px rgba(12,54,42,.22)); animation: iris-welcome-breathe 5.2s ease-in-out infinite; }
.iris-hero-bubble { width: 210px; position: absolute; z-index: 2; right: 128px; bottom: 42px; padding: 16px 17px; border: 1px solid rgba(13,104,79,.14); border-radius: 16px 16px 3px 16px; text-align: left; background: rgba(255,255,255,.96); box-shadow: 0 18px 42px rgba(20,54,42,.16); backdrop-filter: blur(10px); }
.iris-hero-bubble::after { content: ""; width: 15px; height: 15px; position: absolute; right: -8px; bottom: 18px; border-top: 1px solid rgba(13,104,79,.12); border-right: 1px solid rgba(13,104,79,.12); background: white; transform: rotate(45deg); }
.iris-hero-bubble span,.iris-hero-bubble strong { display: block; }.iris-hero-bubble span { color: var(--green); font-size: 7px; font-weight: 950; letter-spacing: .12em; }.iris-hero-bubble strong { margin-top: 6px; font-family: var(--font-display),sans-serif; font-size: 16px; }.iris-hero-bubble p { margin: 6px 0 0; color: #63716a; font-size: 9px; line-height: 1.5; }
@keyframes iris-welcome-breathe { 0%,100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-7px) rotate(.5deg); } }

.professional-paths-section { padding: 105px 0 110px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg,#eff5f0,#f8f5ee 68%); }
.professional-paths-heading { display: grid; grid-template-columns: 1fr .74fr; align-items: end; gap: 90px; }.professional-paths-heading h2 { max-width: 650px; }.professional-paths-heading > p { margin: 0 0 5px; }
.professional-paths-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin-top: 51px; }.professional-paths-grid article { min-height: 142px; display: grid; grid-template-columns: 48px 1fr; align-items: start; gap: 16px; padding: 24px; border: 1px solid rgba(13,104,79,.13); border-radius: 16px; background: rgba(255,255,255,.78); box-shadow: 0 13px 34px rgba(25,49,40,.045); transition: transform .22s,border-color .22s,box-shadow .22s; }.professional-paths-grid article:hover { transform: translateY(-4px); border-color: rgba(13,104,79,.34); box-shadow: 0 18px 42px rgba(25,49,40,.09); }.professional-paths-grid article > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: var(--green-deep); background: var(--lime); }.professional-paths-grid svg { width: 22px; height: 22px; stroke-width: 1.8; }.professional-paths-grid h3 { margin: 2px 0 8px; font-family: var(--font-display),sans-serif; font-size: 17px; }.professional-paths-grid p { margin: 0; color: #69766f; font-size: 11px; line-height: 1.55; }.professional-paths-action { margin-top: 32px; text-align: center; }

@media (max-width: 1050px) {
  .iris-hero-guide > img { width: 190px; right: -20px; bottom: -58px; }.iris-hero-bubble { width: 185px; right: 93px; bottom: 35px; }
  .professional-paths-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 800px) {
  .professional-paths-heading { grid-template-columns: 1fr; gap: 18px; text-align: center; }.professional-paths-heading > p { max-width: 620px; margin-inline: auto; }
  .iris-hero-guide > img { right: 0; }.iris-hero-bubble { right: 120px; }
}

@media (max-width: 520px) {
  .professional-paths-section { padding: 75px 0; }.professional-paths-grid { grid-template-columns: 1fr; margin-top: 35px; }.professional-paths-grid article { min-height: 0; }
  .iris-hero-guide > img { width: 185px; right: -28px; bottom: -78px; }.iris-hero-bubble { width: 175px; right: 108px; bottom: 6px; padding: 13px; }.iris-hero-bubble strong { font-size: 14px; }.iris-hero-bubble p { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) { .iris-hero-guide > img { animation: none; } }

.site-footer { padding: 75px 0 28px; background: #10251e; color: white; }.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 50px; }.site-footer .brand-mark { background: var(--lime); color: var(--green-deep); box-shadow: none; }.site-footer .brand-mark-letter-accent { color: var(--green-deep); }.site-footer .brand-name span { color: var(--lime); }.footer-about p { max-width: 270px; margin-top: 20px; color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.6; }.footer-grid h3 { margin: 6px 0 19px; color: white; font-size: 12px; }.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }.footer-grid > div:not(:first-child) a { margin: 5px 0; color: rgba(255,255,255,.58); font-size: 12px; }.footer-grid a:hover { color: var(--lime); }.site-footer a.footer-legal-muted { color: rgba(255,255,255,.5); font-size: 10px; font-weight: 500; transition: color .2s; }.site-footer a.footer-legal-muted:hover, .site-footer a.footer-legal-muted:focus-visible { color: rgba(255,255,255,.82); }.site-footer a.footer-legal-muted:focus-visible { outline: 2px solid rgba(214,243,106,.65); outline-offset: 3px; }.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.42); font-size: 10px; }.footer-bottom-copy { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding-right: 270px; text-align: right; }

@media (max-width: 650px) { .footer-bottom-copy { padding-right: 72px; } }

@media (max-width: 1050px) {
  .main-nav { gap: 20px; margin-left: 20px; }.header-auth { gap: 12px; margin-left: 12px; }
  .hero { grid-template-columns: 1fr 1fr; gap: 30px; }.product-glow { width: 430px; height: 430px; }.lesson-window { width: 370px; }
  .float-card-top { right: 0; }.float-card-bottom { left: 0; }
  .scenarios-section { gap: 50px; }
}

@media (max-width: 800px) {
  .section-shell { width: min(100% - 32px, 680px); }
  .header-auth { display: none; }.menu-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 9px; border: 0; background: transparent; }.menu-toggle span { height: 2px; width: 100%; background: var(--ink); }
  .main-nav { display: none; position: absolute; inset: 76px 0 auto; margin: 0; padding: 25px 24px 30px; flex-direction: column; align-items: stretch; gap: 19px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(19,33,28,.12); }.main-nav.nav-open { display: flex; }.mobile-auth { display: flex; flex-direction: column; gap: 13px; padding-top: 8px; }
  .hero { padding-top: 60px; grid-template-columns: 1fr; text-align: center; }.eyebrow { justify-content: center; }.hero h1, .hero-lead { margin-inline: auto; }.hero-actions, .trust-row { justify-content: center; }.hero-product { margin-top: 30px; }
  .proof-inner { padding: 25px 0; flex-direction: column; gap: 17px; }.proof-inner > p { margin: 0; }.proof-list { gap: 13px; flex-wrap: wrap; justify-content: center; }
  .benefit-grid { grid-template-columns: 1fr; }.benefit-visual { height: 150px; }
  .split-heading, .scenarios-section { grid-template-columns: 1fr; gap: 38px; }.levels-track { grid-template-columns: 1fr 1fr; row-gap: 40px; }.level-line { display: none; }.level-step p { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .brand-name { font-size: 18px; }.hero { padding-top: 46px; padding-bottom: 60px; }.hero h1 { font-size: 47px; }.hero-actions { flex-direction: column; }.button { width: 100%; }.trust-row { gap: 10px 16px; }
  .hero-product { min-height: 470px; transform: scale(.87); margin: -5px -35px -30px; }.product-glow { width: 400px; height: 400px; }.lesson-window { width: 350px; }.float-card { display: none; }
  .proof-list { font-size: 13px; }.method-section, .scenarios-section { padding-top: 80px; padding-bottom: 82px; }.benefit-grid { margin-top: 40px; }.benefit-card { padding: 22px; }
  .levels-section { padding: 80px 0; }.levels-track { grid-template-columns: 1fr; margin-top: 52px; }.level-step { display: grid; grid-template-columns: 62px 1fr; column-gap: 16px; padding: 0; }.level-node { grid-row: span 5; }.level-access, .level-step h3, .level-step p, .level-step small { grid-column: 2; }.level-access { margin-top: 2px; }.level-step h3 { margin-top: 6px; }
  .conversation-header, .chat-line, .conversation-footer { padding-left: 16px; padding-right: 16px; }.chat-line p { font-size: 12px; }.scenario-list small { line-height: 1.45; }
  .footer-grid { grid-template-columns: 1fr; }.footer-bottom { flex-direction: column; gap: 8px; }
}

/* Dictionary */
.dictionary-page, .game-page, .unit-exam-page { min-height: 100vh; background: #f6f6f1; }
.dictionary-hero { padding: 95px 0 80px; color: white; text-align: center; background: var(--green-deep); }
.dictionary-hero h1 { max-width: 820px; margin: 15px auto; font-family: var(--font-display), sans-serif; font-size: clamp(42px, 5vw, 68px); line-height: 1; letter-spacing: -.05em; }
.dictionary-hero > div > p { max-width: 640px; margin: 0 auto; color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.65; }
.dictionary-search { width: min(800px, 100%); min-height: 64px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 38px 112px; align-items: center; margin: 35px auto 0; padding: 7px 8px 7px 13px; overflow: hidden; border-radius: 14px; color: var(--green-deep); background: white; box-shadow: 0 18px 45px rgba(0,0,0,.18); }
.dictionary-search > span { grid-column: 1; color: var(--green); font-size: 28px; }
.dictionary-search input { min-width: 0; width: 100%; grid-column: 2; border: 0; outline: 0; color: var(--green-deep); background: transparent; font-size: 14px; }
.dictionary-search button { border: 0; color: #7f8b85; background: transparent; cursor: pointer; font-size: 24px; }
.dictionary-search .dictionary-search-clear { width: 38px; height: 38px; grid-column: 3; display: grid; place-items: center; padding: 0; border-radius: 50%; }
.dictionary-search .dictionary-search-clear:hover { color: var(--green-deep); background: #edf4f0; }
.dictionary-search .dictionary-search-submit { width: 112px; grid-column: 4; align-self: stretch; padding: 0 18px; border-radius: 10px; color: white; background: var(--green); font-size: 11px; font-weight: 900; }
.dictionary-search .dictionary-search-submit:disabled { cursor: not-allowed; opacity: .5; }
.dictionary-hero-features { max-width: 790px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 22px auto 0; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 11px; background: rgba(255,255,255,.13); }
.dictionary-hero-features span { padding: 12px; color: rgba(255,255,255,.63); text-align: left; background: rgba(255,255,255,.04); font-size: 8px; line-height: 1.45; }.dictionary-hero-features b { display: block; margin-bottom: 3px; color: var(--lime); font-size: 8px; letter-spacing: .04em; }
.dictionary-content { padding-top: 42px; padding-bottom: 100px; }
.dictionary-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }.dictionary-guide > div { display: grid; grid-template-columns: 33px 1fr; gap: 11px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: white; }.dictionary-guide > div > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--green-deep); background: var(--lime); font-family: var(--font-display), sans-serif; font-weight: 900; }.dictionary-guide p { margin: 0; color: #7b8781; font-size: 8px; line-height: 1.5; }.dictionary-guide b { display: block; margin-bottom: 3px; color: var(--green-deep); font-size: 9px; }
.dictionary-general-live:not(:empty) { margin-bottom: 30px; }
.dictionary-general-status, .dictionary-general-error { display: flex; align-items: center; gap: 13px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: white; }.dictionary-general-status p, .dictionary-general-error p { margin: 0; color: #75817b; font-size: 9px; line-height: 1.5; }.dictionary-general-status b, .dictionary-general-error b { display: block; color: var(--green-deep); font-size: 10px; }.dictionary-general-error { border-color: #ecd6b1; background: #fff9ed; }.dictionary-general-error > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: white; background: #bd8233; font-family: serif; font-weight: 900; }
.dictionary-loader { width: 26px; height: 26px; flex: 0 0 auto; border: 3px solid #d8e7df; border-top-color: var(--green); border-radius: 50%; animation: dictionary-spin .8s linear infinite; }@keyframes dictionary-spin { to { transform: rotate(360deg); } }
.dictionary-general-result { overflow: hidden; border: 1px solid #b7d4c5; border-radius: 18px; background: white; box-shadow: 0 18px 55px rgba(23,69,50,.09); }.dictionary-general-result + .dictionary-general-result { margin-top: 14px; }.dictionary-general-result > header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 28px; color: white; background: linear-gradient(125deg, var(--green-deep), #087055); }.dictionary-general-result > header span { color: var(--lime); font-size: 7px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }.dictionary-general-result > header h2 { margin: 5px 0 0; font-family: var(--font-display), sans-serif; font-size: 38px; line-height: 1; }.dictionary-general-result > header p { margin: 7px 0 0; color: rgba(255,255,255,.68); font-size: 11px; }.dictionary-general-result > header button { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.27); border-radius: 9px; color: var(--green-deep); background: var(--lime); cursor: pointer; font-size: 9px; font-weight: 900; }.dictionary-general-result > header button.playing { background: white; }.dictionary-general-result > header i { font-size: 16px; font-style: normal; }
.dictionary-meanings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }.dictionary-meanings > section { padding: 23px 27px; background: white; }.dictionary-meanings h3 { width: fit-content; margin: 0 0 14px; padding: 6px 9px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 8px; letter-spacing: .05em; }.dictionary-meanings ol { margin: 0; padding-left: 19px; }.dictionary-meanings li { padding-left: 3px; color: var(--green); font-size: 9px; }.dictionary-meanings li + li { margin-top: 12px; }.dictionary-meanings li p { margin: 0; color: #34443c; font-size: 10px; line-height: 1.55; }.dictionary-meanings q { display: block; margin-top: 5px; color: #819088; font-size: 9px; font-style: italic; line-height: 1.5; }.dictionary-relations { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }.dictionary-relations p { margin: 0; color: #738079; font-size: 8px; line-height: 1.5; overflow-wrap: anywhere; }.dictionary-relations b { display: block; margin-bottom: 3px; color: var(--green-deep); font-size: 7px; text-transform: uppercase; }
.dictionary-general-result > footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 25px; padding: 12px 27px; color: #86918c; background: #f8faf7; font-size: 8px; }.dictionary-general-result details { max-width: 55%; }.dictionary-general-result summary { color: var(--green); cursor: pointer; font-weight: 800; }.dictionary-general-result details p { margin: 7px 0 0; line-height: 1.5; }
.dictionary-toolbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.dictionary-filter-group { flex: 1; }.dictionary-filter-group > span, .dictionary-toolbar label { display: block; margin-bottom: 9px; color: #7d8983; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.dictionary-filter-group > div { display: flex; flex-wrap: wrap; gap: 6px; }
.dictionary-filter-group button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: #627069; background: white; cursor: pointer; font-size: 9px; font-weight: 750; }
.dictionary-filter-group button.active { color: white; border-color: var(--green); background: var(--green); }
.dictionary-toolbar select, .game-start-card select { min-width: 140px; padding: 10px 30px 10px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--green-deep); background: white; font-weight: 750; }
.dictionary-results-heading { display: flex; justify-content: space-between; align-items: center; margin: 25px 0 18px; }.dictionary-results-heading div { display: flex; align-items: baseline; gap: 8px; }.dictionary-results-heading b { font-family: var(--font-display), sans-serif; font-size: 24px; }.dictionary-results-heading span, .dictionary-results-heading p { color: #7d8983; font-size: 10px; }.dictionary-results-heading p { margin: 0; }
.dictionary-audio-message { padding: 12px 14px; border-radius: 9px; color: #805b19; background: #fff0c9; font-size: 10px; }
.dictionary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.dictionary-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 7px 24px rgba(28,48,40,.04); }
.dictionary-card-top { display: flex; justify-content: space-between; gap: 10px; }.dictionary-card-top > div { display: flex; align-items: center; gap: 6px; }.dictionary-card-top span, .dictionary-card-top small { padding: 5px 7px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }.dictionary-card-top small { color: #718078; background: #f0f1ed; }
.dictionary-card-top button { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border: 0; border-radius: 7px; color: var(--green); background: #edf5f1; cursor: pointer; font-size: 8px; font-weight: 800; }.dictionary-card-top button.playing { color: var(--green-deep); background: var(--lime); }.dictionary-card-top i { font-size: 14px; font-style: normal; }
.dictionary-card h2 { overflow-wrap: anywhere; margin: 19px 0 3px; font-family: var(--font-display), sans-serif; font-size: 24px; letter-spacing: -.025em; }.dictionary-translation { margin: 0 0 18px; color: var(--green); font-size: 11px; font-weight: 750; }
.dictionary-example { padding: 13px; border-radius: 10px; background: var(--cream); }.dictionary-example > span { color: #8c9791; font-size: 7px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }.dictionary-example p { min-height: 34px; margin: 7px 0; color: #4d5b54; font-size: 10px; line-height: 1.55; }.dictionary-example button { padding: 0; border: 0; color: var(--green); background: transparent; cursor: pointer; font-size: 8px; font-weight: 850; }
.dictionary-empty { padding: 80px 20px; text-align: center; }.dictionary-empty > span { color: #a3ada8; font-size: 45px; }.dictionary-empty h2 { margin: 12px 0 5px; font-family: var(--font-display), sans-serif; }.dictionary-empty p { color: #7b8781; font-size: 11px; }.dictionary-empty .button { margin-top: 15px; }

/* Unit exams */
.unit-exam-page { padding: 70px 20px 100px; }
.unit-exam-shell { max-width: 840px; margin: auto; }.unit-exam-heading { text-align: center; }.unit-exam-heading > a { display: inline-block; margin-bottom: 22px; color: var(--green); font-size: 9px; font-weight: 850; }.unit-exam-heading > span { display: block; color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: .12em; }.unit-exam-heading h1 { margin: 10px 0 7px; font-family: var(--font-display), sans-serif; font-size: clamp(34px, 5vw, 52px); line-height: 1; }.unit-exam-heading p { margin: 0; color: #7d8883; font-size: 10px; }
.unit-exam-progress { height: 7px; margin: 28px 0 13px; overflow: hidden; border-radius: 7px; background: #dfe4e1; }.unit-exam-progress span { display: block; height: 100%; border-radius: inherit; background: var(--lime); transition: width .25s; }
.unit-exam-card { padding: 42px 48px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 20px 55px rgba(27,48,40,.08); }.unit-exam-counter { display: flex; justify-content: space-between; color: #8b9691; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }.unit-exam-card h2 { max-width: 650px; margin: 28px 0; font-family: var(--font-display), sans-serif; font-size: 27px; line-height: 1.25; }
.unit-exam-options { display: flex; flex-direction: column; gap: 9px; }.unit-exam-options button { min-height: 60px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 13px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 11px; color: #4f5d56; text-align: left; background: #fcfcf9; cursor: pointer; font-size: 11px; font-weight: 650; }.unit-exam-options button span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #7e8a84; background: #eef0ec; font-size: 9px; font-weight: 900; }.unit-exam-options button.selected { color: var(--green-deep); border-color: var(--green); background: #edf6f1; }.unit-exam-options button.selected span { color: white; background: var(--green); }.unit-exam-next { width: 100%; margin-top: 25px; }
.unit-exam-callout { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 23px 20px 98px; padding: 15px 17px; border-radius: 11px; color: white; background: var(--green-deep); }.unit-exam-callout span, .unit-exam-callout b { display: block; }.unit-exam-callout span { color: var(--lime); font-size: 7px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }.unit-exam-callout b { margin-top: 4px; font-size: 10px; }.unit-exam-callout a { flex: 0 0 auto; padding: 9px 12px; border-radius: 8px; color: var(--green-deep); background: var(--lime); font-size: 9px; font-weight: 900; }
.exam-results-shell { text-align: center; }.exam-result-score { width: 150px; height: 150px; display: grid; place-content: center; margin: auto; border: 8px solid; border-radius: 50%; }.exam-result-score.passed { color: var(--green); border-color: #b8dac8; background: #edf7f2; }.exam-result-score.failed { color: #9a5146; border-color: #e6c0ba; background: #fff2ef; }.exam-result-score strong, .exam-result-score span { display: block; }.exam-result-score strong { font-family: var(--font-display), sans-serif; font-size: 40px; }.exam-result-score span { margin-top: 3px; font-size: 7px; font-weight: 900; letter-spacing: .1em; }.exam-results-shell > h1 { margin: 25px 0 8px; font-family: var(--font-display), sans-serif; font-size: 35px; }.exam-results-shell > p { max-width: 620px; margin: auto; color: #69766f; font-size: 12px; line-height: 1.6; }
.exam-review { display: flex; flex-direction: column; gap: 8px; margin: 35px 0 24px; text-align: left; }.exam-review article { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: white; }.exam-review article > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; font-weight: 900; }.exam-review article.correct > span { background: var(--green); }.exam-review article.wrong > span { background: #a65a4e; }.exam-review b, .exam-review small { display: block; }.exam-review b { font-size: 10px; }.exam-review small { margin-top: 4px; color: #7d8983; font-size: 8px; }.exam-review p { margin: 7px 0 0; color: #617069; font-size: 9px; line-height: 1.5; }.exam-result-actions { display: flex; justify-content: center; gap: 10px; }

/* Mini game */
.game-page { padding: 68px 20px 100px; background: radial-gradient(circle at 20% 10%, #edf6f0, transparent 35%), #f6f6f1; }.game-shell { max-width: 860px; margin: auto; }.game-intro { text-align: center; }.game-intro h1 { max-width: 760px; margin: 12px auto; font-family: var(--font-display), sans-serif; font-size: clamp(38px, 5vw, 58px); line-height: 1; letter-spacing: -.045em; }.game-intro p { color: #68756f; font-size: 12px; }
.game-start-card, .game-finish-card { max-width: 580px; margin: 35px auto 0; padding: 38px; border: 1px solid var(--line); border-radius: 20px; text-align: center; background: white; box-shadow: 0 20px 55px rgba(27,48,40,.08); }.game-icon { width: 72px; height: 72px; display: grid; place-items: center; margin: auto; border-radius: 20px; color: var(--green-deep); background: var(--lime); font-family: var(--font-display), sans-serif; font-size: 23px; font-weight: 900; transform: rotate(-4deg); }.game-start-card h2, .game-finish-card h2 { margin: 22px 0 8px; font-family: var(--font-display), sans-serif; font-size: 28px; }.game-start-card > p, .game-finish-card > p { color: #6f7b75; font-size: 11px; line-height: 1.6; }.game-start-card label { display: flex; align-items: center; justify-content: center; gap: 13px; margin: 24px 0 17px; color: #66736d; font-size: 9px; font-weight: 850; }.game-start-card > .button { width: 100%; }.game-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 21px; }.game-rules span { padding: 11px 5px; border-radius: 9px; color: #7a8680; background: var(--cream); font-size: 8px; }.game-rules b { display: block; margin-bottom: 3px; color: var(--green); font-family: var(--font-display), sans-serif; font-size: 16px; }
.game-board { margin-top: 30px; }.game-hud { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 12px 12px 0 0; background: white; }.game-hud div { padding: 12px; text-align: center; border-right: 1px solid var(--line); }.game-hud div:last-child { border-right: 0; }.game-hud span, .game-hud b { display: block; }.game-hud span { color: #8b9691; font-size: 7px; font-weight: 900; letter-spacing: .1em; }.game-hud b { margin-top: 4px; color: var(--green-deep); font-family: var(--font-display), sans-serif; font-size: 18px; }.game-hud b.danger { color: #b14d42; }.game-hud div:last-child b { color: #d49b31; letter-spacing: .1em; }
.game-timer { height: 6px; overflow: hidden; background: #dfe4e1; }.game-timer span { display: block; height: 100%; background: var(--lime); transition: width 1s linear; }
.game-question-card { padding: 42px 48px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px; background: white; box-shadow: 0 20px 55px rgba(27,48,40,.08); }.game-round-meta { display: flex; gap: 6px; }.game-round-meta span, .game-round-meta b { padding: 5px 8px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }.game-round-meta b { color: #6f7b75; background: #f0f1ed; }.game-question-card > small { display: block; margin-top: 24px; color: #8b9691; font-size: 8px; font-weight: 900; letter-spacing: .1em; }.game-question-card h2 { margin: 9px 0 5px; font-family: var(--font-display), sans-serif; font-size: 35px; }.game-question-card > p { margin: 0 0 24px; color: #7b8781; font-size: 10px; }
.game-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }.game-options button { min-height: 72px; display: grid; grid-template-columns: 29px 1fr; align-items: center; gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; color: #526059; text-align: left; background: #fcfcf9; cursor: pointer; font-size: 10px; font-weight: 750; }.game-options button > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #7e8a84; background: #edf0ec; font-size: 8px; }.game-options button.correct { border-color: #79ad91; color: var(--green-deep); background: #edf7f1; }.game-options button.correct span { color: white; background: var(--green); }.game-options button.wrong { border-color: #d28e84; color: #93483f; background: #fff1ee; }.game-options button.wrong span { color: white; background: #a65449; }.game-options button.muted { opacity: .5; }
.game-feedback { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 15px; padding: 14px 16px; border-radius: 10px; text-align: left; }.game-feedback.correct { color: var(--green-deep); background: #edf7f1; }.game-feedback.wrong { color: #884239; background: #fff1ee; }.game-feedback b { font-size: 10px; }.game-feedback p { margin: 5px 0 0; font-size: 9px; }.game-feedback button { flex: 0 0 auto; padding: 8px 10px; border: 0; border-radius: 7px; color: var(--green); background: white; cursor: pointer; font-size: 8px; font-weight: 850; }.game-next { width: 100%; margin-top: 12px; }
.game-finish-label { color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .13em; }.game-finish-card > strong { display: block; margin-top: 13px; color: var(--green-deep); font-family: var(--font-display), sans-serif; font-size: 72px; line-height: .9; }.game-finish-card > small { color: #89948f; font-size: 9px; text-transform: uppercase; }.game-finish-actions { display: flex; justify-content: center; gap: 9px; margin-top: 22px; }

@media (max-width: 900px) {
  .dictionary-grid { grid-template-columns: 1fr 1fr; }
  .dictionary-guide { grid-template-columns: 1fr; }.dictionary-meanings { grid-template-columns: 1fr; }
  .main-nav { gap: 20px; }
}

@media (max-width: 620px) {
  .dictionary-hero { padding: 70px 0 55px; }.dictionary-hero h1 { font-size: 42px; }.dictionary-search { min-height: 58px; grid-template-columns: 34px minmax(0, 1fr) 32px; overflow: visible; }.dictionary-search .dictionary-search-clear { width: 32px; height: 32px; grid-column: 3; }.dictionary-search .dictionary-search-submit { width: 100%; grid-column: 1 / -1; min-height: 42px; margin-top: 3px; }.dictionary-hero-features { grid-template-columns: 1fr; }.dictionary-hero-features span { text-align: center; }
  .dictionary-general-result > header { align-items: flex-start; flex-direction: column; padding: 23px 20px; }.dictionary-general-result > header button { width: 100%; justify-content: center; }.dictionary-general-result > header h2 { font-size: 33px; }.dictionary-meanings > section { padding: 20px; }.dictionary-general-result > footer { flex-direction: column; padding: 13px 20px; }.dictionary-general-result details { max-width: none; }.dictionary-relations { grid-template-columns: 1fr; }
  .dictionary-toolbar { flex-direction: column; }.dictionary-toolbar label { width: 100%; }.dictionary-toolbar select { width: 100%; }.dictionary-results-heading { align-items: flex-start; flex-direction: column; gap: 5px; }.dictionary-grid { grid-template-columns: 1fr; }
  .unit-exam-page { padding: 45px 12px 80px; }.unit-exam-card { padding: 28px 18px; }.unit-exam-card h2 { font-size: 23px; }.unit-exam-callout { align-items: flex-start; flex-direction: column; margin: 0 14px 16px; }.exam-result-actions, .game-finish-actions { flex-direction: column; }.exam-result-actions .button, .game-finish-card .button { width: 100%; }
  .game-page { padding: 45px 11px 80px; }.game-start-card, .game-finish-card { padding: 28px 20px; }.game-hud { grid-template-columns: 1fr 1fr; }.game-hud div:nth-child(2) { border-right: 0; }.game-hud div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.game-question-card { padding: 29px 17px; }.game-question-card h2 { font-size: 29px; }.game-options { grid-template-columns: 1fr; }.game-options button { min-height: 58px; }.game-feedback { align-items: flex-start; flex-direction: column; }
}

/* Shared A1-C1 product progression and ebook workbook promise */
.library-format-promise { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: -32px; margin-bottom: 86px; }
.library-format-promise article { min-height: 190px; display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 24px; padding: 30px; border: 1px solid #d8e2dd; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px rgba(24,48,39,.06); }
.library-format-promise article > span { width: 82px; height: 82px; display: grid; place-items: center; border-radius: 23px; color: #fff; background: var(--green); font-family: var(--font-display),sans-serif; font-size: 13px; font-weight: 950; letter-spacing: .07em; }
.library-format-promise .library-workbook-promise { border-color: #bad1c5; color: #fff; background: radial-gradient(circle at 92% 12%,rgba(214,243,106,.18),transparent 30%),var(--green-deep); }
.library-workbook-promise > span { color: var(--green-deep) !important; background: var(--lime) !important; box-shadow: 0 12px 30px rgba(214,243,106,.16); }
.library-format-promise .mini-label { margin: 0 0 8px; }
.library-workbook-promise .mini-label { color: var(--lime); }
.library-format-promise h3 { margin: 0 0 9px; font-family: var(--font-display),sans-serif; font-size: 22px; letter-spacing: -.035em; }
.library-format-promise p:not(.mini-label) { margin: 0; color: #67746e; font-size: 9px; line-height: 1.7; }
.library-workbook-promise p:not(.mini-label) { color: rgba(255,255,255,.66); }
.product-cefr-roadmap { padding-top: 58px; }
.product-cefr-heading { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 65px; margin-bottom: 24px; }
.product-cefr-heading h2 { margin: 9px 0 0; font-family: var(--font-display),sans-serif; font-size: 34px; letter-spacing: -.045em; }
.product-cefr-heading > p { margin: 0; color: #68756e; font-size: 10px; line-height: 1.7; }
.product-cefr-grid { display: grid; grid-template-columns: repeat(5,1fr); overflow: hidden; border: 1px solid #d6e0da; border-radius: 18px; background: #fff; box-shadow: 0 18px 45px rgba(24,48,39,.06); }
.product-cefr-grid > article { min-height: 190px; display: flex; flex-direction: column; align-items: flex-start; padding: 21px 18px; }
.product-cefr-grid > article + article { border-left: 1px solid #e0e6e2; }
.product-cefr-grid > article:nth-child(5) { color: #fff; background: var(--green-deep); }
.product-cefr-grid > article > span { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 19px; border-radius: 12px; color: var(--green-deep); background: var(--lime); font-family: var(--font-display),sans-serif; font-size: 14px; font-weight: 950; }
.product-cefr-grid b { font-family: var(--font-display),sans-serif; font-size: 13px; }
.product-cefr-grid p { margin: 8px 0 0; color: #6e7a74; font-size: 7.5px; line-height: 1.62; }
.product-cefr-grid small { display: block; margin-top: 12px; color: #89948e; font-size: 6.6px; line-height: 1.55; }
.product-cefr-grid > article:nth-child(5) p,.product-cefr-grid > article:nth-child(5) small { color: rgba(255,255,255,.64); }
.course-cefr-roadmap + .professional-course-layout { padding-top: 32px; }
.ebook-lock-format-note { max-width: 620px; margin: 20px auto !important; padding: 16px 18px; border-radius: 13px; color: #536159 !important; background: #f0f7f3; text-align: left; }
.ebook-lock-format-note b { color: var(--green); }
.ebook-format-explainer { padding-top: 64px; padding-bottom: 10px; }
.ebook-format-heading { max-width: 790px; margin-bottom: 25px; }
.ebook-format-heading h2 { margin: 9px 0 11px; font-family: var(--font-display),sans-serif; font-size: 38px; letter-spacing: -.045em; }
.ebook-format-heading > p:not(.mini-label) { max-width: 680px; margin: 0; color: #68756f; font-size: 10px; line-height: 1.7; }
.ebook-format-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 19px; }
.ebook-format-cards article { min-height: 145px; display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 19px; padding: 25px; border: 1px solid #d6e1db; border-radius: 17px; background: #fff; }
.ebook-format-cards article > span { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; color: #fff; background: var(--green); font-family: var(--font-display),sans-serif; font-size: 11px; font-weight: 950; }
.ebook-format-cards .workbook-card { color: #fff; border-color: var(--green-deep); background: var(--green-deep); }
.ebook-format-cards .workbook-card > span { color: var(--green-deep); background: var(--lime); }
.ebook-format-cards b { font-family: var(--font-display),sans-serif; font-size: 16px; }
.ebook-format-cards p { margin: 7px 0 0; color: #68756f; font-size: 8px; line-height: 1.65; }
.ebook-format-cards .workbook-card p { color: rgba(255,255,255,.66); }
.ebook-cefr-grid > article { min-height: 150px; }
.ebook-format-explainer + .ebook-reader-layout { padding-top: 34px; }

@media (max-width: 900px) {
  .product-cefr-grid { grid-template-columns: 1fr 1fr; }
  .product-cefr-grid > article + article { border-left: 0; border-top: 1px solid #e0e6e2; }
  .product-cefr-grid > article:nth-child(even) { border-left: 1px solid #e0e6e2; }
  .product-cefr-grid > article:nth-child(5) { grid-column: 1/-1; }
  .product-cefr-heading { grid-template-columns: 1fr; gap: 14px; }
  .library-format-promise,.ebook-format-cards { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .library-format-promise { margin-top: -18px; margin-bottom: 58px; }
  .library-format-promise article,.ebook-format-cards article { grid-template-columns: 1fr; align-items: start; padding: 23px 20px; }
  .library-format-promise article > span { width: 62px; height: 62px; border-radius: 18px; }
  .product-cefr-roadmap,.ebook-format-explainer { padding-top: 42px; }
  .product-cefr-heading h2,.ebook-format-heading h2 { font-size: 31px; }
  .product-cefr-grid { grid-template-columns: 1fr; }
  .product-cefr-grid > article { min-height: 0; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 19px; }
  .product-cefr-grid > article:nth-child(even) { border-left: 0; }
  .product-cefr-grid > article:nth-child(5) { grid-column: auto; }
  .product-cefr-grid > article > span { grid-row: 1 / span 3; margin: 0; }
  .product-cefr-grid p,.product-cefr-grid small { margin-top: 5px; }
  .ebook-format-cards article > span { width: 58px; height: 58px; }
}

/* Animated service scenes for the free A1 course */
.a1-course-scene-shell { padding-top: 38px; }
.a1-animated-scene {
  position: relative;
  isolation: isolate;
  min-height: 310px;
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.2fr);
  align-items: center;
  overflow: hidden;
  margin: 22px 0 28px;
  border: 1px solid #c9ded4;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 16%, rgba(214,243,106,.25), transparent 26%),
    linear-gradient(112deg,#073d30 0%,#0a684e 42%,#eef7f2 42.2%,#f9fcfa 100%);
  box-shadow: 0 20px 52px rgba(14,65,49,.12);
}
.a1-scene-overview { min-height: 360px; margin-top: 0; }
.a1-scene-set { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.a1-scene-set::before { content: ""; position: absolute; left: 0; bottom: 0; width: 55%; height: 28%; background: linear-gradient(180deg,#6b4a34,#3e2a20); box-shadow: inset 0 8px 0 rgba(255,255,255,.12); }
.a1-scene-counter { position: absolute; left: 5%; bottom: 20%; width: 45%; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); filter: blur(1px); }
.a1-scene-table { position: absolute; left: 4%; bottom: 5%; width: 92px; height: 15px; border-radius: 50%; background: #c49670; opacity: .8; }
.a1-scene-table::before { content: ""; position: absolute; left: 43px; top: 9px; width: 8px; height: 68px; background: #5a3b2d; }
.a1-scene-table i { position: absolute; top: -19px; width: 13px; height: 21px; border: 2px solid rgba(255,255,255,.72); border-radius: 3px 3px 7px 7px; }
.a1-scene-table i:first-child { left: 20px; }.a1-scene-table i:last-child { right: 19px; }
.a1-scene-light { position: absolute; top: -36px; width: 70px; height: 100px; border-radius: 0 0 50% 50%; background: radial-gradient(ellipse at bottom,rgba(255,236,170,.5),transparent 64%); animation: serviceLight 4s ease-in-out infinite; }
.light-one { left: 9%; }.light-two { left: 35%; animation-delay: -2s; }
.a1-scene-steam { position: absolute; z-index: 2; color: rgba(255,255,255,.55); font-size: 27px; font-style: normal; animation: serviceSteam 2.8s ease-in-out infinite; }
.steam-one { left: 12%; bottom: 25%; }.steam-two { left: 28%; bottom: 23%; animation-delay: -1.3s; }
.a1-scene-character { position: relative; z-index: 2; align-self: stretch; min-height: 310px; }
.a1-scene-character img { position: absolute; left: 50%; bottom: -4%; width: min(88%,310px); height: 108%; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 18px 22px rgba(1,28,20,.28)); transform: translateX(-50%); transform-origin: 50% 88%; animation: waitressGesture 4.5s ease-in-out infinite; }
.a1-scene-halo { position: absolute; left: 50%; top: 16%; width: 190px; height: 190px; border: 1px solid rgba(214,243,106,.24); border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 0 30px rgba(214,243,106,.035),0 0 0 60px rgba(214,243,106,.02); animation: serviceHalo 6s ease-in-out infinite; }
.a1-scene-spark { position: absolute; z-index: 3; color: var(--lime); font-size: 19px; font-style: normal; animation: coachSparkle 2.2s ease-in-out infinite; }.a1-scene-spark.spark-a { left: 17%; top: 27%; }.a1-scene-spark.spark-b { right: 15%; top: 15%; animation-delay: -.8s; }
.a1-scene-dialogue { position: relative; z-index: 3; max-width: 570px; margin: 24px 30px 24px 0; padding: 32px 34px; border: 1px solid rgba(15,96,72,.15); border-radius: 22px; color: #073d30; background: rgba(255,255,255,.94); box-shadow: 0 18px 42px rgba(8,61,46,.12); backdrop-filter: blur(12px); }
.a1-scene-dialogue::before { content: ""; position: absolute; left: -13px; top: 47%; width: 24px; height: 24px; border-left: 1px solid rgba(15,96,72,.15); border-bottom: 1px solid rgba(15,96,72,.15); background: rgba(255,255,255,.96); transform: rotate(45deg); }
.a1-scene-dialogue small { color: #087557; font-size: 7px; font-weight: 950; letter-spacing: .13em; }
.a1-scene-dialogue h2 { margin: 9px 0 13px; color: #064c39; font-family: var(--font-display),sans-serif; font-size: clamp(28px,3vw,42px); line-height: 1; letter-spacing: -.045em; }
.a1-scene-dialogue blockquote { margin: 0; padding: 15px 18px; border-left: 3px solid var(--lime); border-radius: 0 12px 12px 0; color: #124f3d; background: #edf7f1; font-size: 13px; font-weight: 800; line-height: 1.45; }
.a1-scene-dialogue p { margin: 13px 0 17px; color: #4e655b; font-size: 9px; font-weight: 620; line-height: 1.65; }
.a1-scene-dialogue .lesson-speech-button { width: fit-content; }
.scene-level-chip { display: none; }
.scene-level-a2 { --scene-accent: #3f8ca7; }.scene-level-b1 { --scene-accent: #5e6fb4; }.scene-level-b2 { --scene-accent: #7959a8; }.scene-level-c1 { --scene-accent: #a06035; }
.hospitality-animated-scene:not(.scene-level-a1) .a1-scene-dialogue blockquote { border-left-color: var(--scene-accent); background: color-mix(in srgb,var(--scene-accent) 9%,white); }
.hospitality-animated-scene:not(.scene-level-a1) .a1-scene-dialogue small { color: var(--scene-accent); }
.hospitality-animated-scene:not(.scene-level-a1) .a1-scene-status i { background: color-mix(in srgb,var(--scene-accent) 55%,var(--lime)); box-shadow: 0 0 12px color-mix(in srgb,var(--scene-accent) 55%,var(--lime)); }
.a1-scene-status { position: absolute; z-index: 4; left: 20px; top: 18px; display: flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(3,35,26,.34); backdrop-filter: blur(8px); }
.a1-scene-status span { font-size: 6px; font-weight: 950; letter-spacing: .11em; }.a1-scene-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: sceneLive 1.7s ease-in-out infinite; }
@keyframes waitressGesture { 0%,100% { transform: translateX(-50%) translateY(0) rotate(-.5deg); } 45% { transform: translateX(-50%) translateY(-7px) rotate(.8deg); } 55% { transform: translateX(-50%) translateY(-5px) rotate(1.2deg); } }
@keyframes serviceSteam { 0% { opacity: 0; transform: translateY(8px) scale(.8); } 45% { opacity: .7; } 100% { opacity: 0; transform: translateY(-25px) scale(1.15); } }
@keyframes serviceLight { 0%,100% { opacity: .5; } 50% { opacity: .9; } }
@keyframes serviceHalo { 0%,100% { opacity: .45; transform: translateX(-50%) scale(.95); } 50% { opacity: .9; transform: translateX(-50%) scale(1.04); } }
@keyframes sceneLive { 0%,100% { opacity: .45; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }
@media (max-width: 780px) {
  .a1-animated-scene { grid-template-columns: 210px minmax(0,1fr); min-height: 280px; background: radial-gradient(circle at 18% 16%,rgba(214,243,106,.25),transparent 26%),linear-gradient(110deg,#073d30 0%,#0a684e 39%,#eef7f2 39.2%,#fff 100%); }
  .a1-scene-character { min-height: 280px; }.a1-scene-character img { width: 210px; height: 101%; }.a1-scene-dialogue { margin: 18px 18px 18px 0; padding: 27px 24px; }.a1-scene-dialogue h2 { font-size: 28px; }.a1-scene-set::before { width: 44%; }
}
@media (max-width: 580px) {
  .a1-course-scene-shell { padding-top: 24px; }.a1-animated-scene { min-height: 525px; grid-template-columns: 1fr; align-items: end; background: linear-gradient(180deg,#073d30 0%,#0a684e 49%,#eef7f2 49.2%,#f9fcfa 100%); }.a1-scene-overview { min-height: 545px; }.a1-scene-character { min-height: 280px; }.a1-scene-character img { width: 245px; height: 285px; }.a1-scene-set::before { width: 100%; height: 12%; bottom: 51%; }.a1-scene-dialogue { margin: 0 14px 14px; padding: 29px 23px 25px; text-align: left; }.a1-scene-dialogue::before { left: 48%; top: -13px; transform: rotate(135deg); }.a1-scene-dialogue blockquote { font-size: 11px; }.a1-scene-dialogue .lesson-speech-button { width: 100%; justify-content: center; }
}

/* Interactive course companion */
.course-companion-sticky {
  margin-top: 12px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.course-companion {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border: 1px solid #cfe0d7;
  border-radius: 16px;
  background:
    radial-gradient(circle at 20% 19%, rgba(214,243,106,.25), transparent 26%),
    linear-gradient(145deg, #eef8f2 0%, #fff 70%);
  box-shadow: 0 15px 34px rgba(19,67,51,.09);
}
.course-companion::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background: repeating-linear-gradient(130deg, transparent 0 31px, rgba(13,104,79,.035) 32px, transparent 33px 64px);
}
.course-companion-character {
  position: relative;
  z-index: 1;
  min-height: 225px;
  overflow: visible;
}
.course-companion-character img {
  position: absolute;
  inset: 4px 10px 0;
  width: calc(100% - 20px);
  height: 218px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 16px rgba(13,65,48,.17));
  transform-origin: 50% 85%;
}
.course-companion-message {
  position: relative;
  z-index: 2;
  padding: 18px 18px 21px;
  border-top: 1px solid rgba(13,104,79,.12);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
}
.professional-course-layout aside .course-companion-message small {
  margin: 0;
  color: var(--green);
  font-size: 6px;
  font-weight: 950;
  letter-spacing: .12em;
}
.professional-course-layout aside .course-companion-message b,
.course-companion-message b {
  display: block;
  margin: 7px 0 6px;
  color: var(--ink);
  font-family: var(--font-display), sans-serif;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.course-companion-message p {
  margin: 0;
  color: #64736c;
  font-size: 8px;
  line-height: 1.6;
}
.coach-thought {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 19px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50% 50% 50% 12px;
  color: var(--green-deep);
  background: var(--lime);
  box-shadow: 0 8px 18px rgba(12,65,48,.15);
  font-size: 14px;
  font-weight: 950;
  animation: coachThought 2.4s ease-in-out infinite;
}
.coach-motion {
  position: absolute;
  z-index: 3;
  color: #a8d928;
  font-size: 17px;
  font-style: normal;
  animation: coachSparkle 2.1s ease-in-out infinite;
}
.coach-motion-one { left: 20px; top: 54px; }
.coach-motion-two { right: 38px; bottom: 30px; animation-delay: .7s; }
.coach-guide .course-companion-character img { animation: coachGuideMove 4.2s ease-in-out infinite; }
.coach-encourage {
  background: radial-gradient(circle at 18% 18%, rgba(255,194,103,.25), transparent 28%), linear-gradient(145deg,#fff6e8,#fff 72%);
}
.coach-encourage .course-companion-character img { animation: coachThinkMove 3s ease-in-out infinite; }
.coach-encourage .coach-thought { color: #754a12; background: #ffd88f; }
.coach-encourage .coach-motion { color: #efa936; }
.coach-celebrate {
  background: radial-gradient(circle at 22% 16%, rgba(214,243,106,.42), transparent 30%), linear-gradient(145deg,#e6f8ed,#fbfff5 72%);
}
.coach-celebrate .course-companion-character img { animation: coachCelebrateMove 2.3s ease-in-out infinite; }
.course-companion-compact {
  min-height: 178px;
  display: grid;
  grid-template-columns: 170px minmax(0,1fr);
  align-items: stretch;
  margin-top: 30px;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(19,67,51,.07);
}
.course-companion-compact .course-companion-character { min-height: 176px; }
.course-companion-compact .course-companion-character img {
  inset: 5px 4px;
  width: calc(100% - 8px);
  height: 166px;
}
.course-companion-compact .course-companion-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 28px;
  border-top: 0;
  border-left: 1px solid rgba(13,104,79,.12);
}
.course-companion-compact .course-companion-message small { color: var(--green); font-size: 7px; font-weight: 950; letter-spacing: .12em; }
.course-companion-compact .course-companion-message b { font-size: 24px; }
.course-companion-compact .course-companion-message p { max-width: 610px; font-size: 9px; }
.course-companion-compact .coach-thought { top: 20px; right: 9px; }
.coach-profession {
  position: absolute;
  z-index: 4;
  left: 13px;
  bottom: 11px;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px;
  color: #fff;
  background: rgba(5,70,51,.82);
  box-shadow: 0 7px 16px rgba(4,52,39,.17);
  backdrop-filter: blur(8px);
  font-size: 5.8px;
  font-weight: 950;
  letter-spacing: .09em;
}
.companion-hotel-recepcion { background: radial-gradient(circle at 20% 19%,rgba(138,193,236,.25),transparent 27%),linear-gradient(145deg,#eef6fb,#fff 70%); }
.companion-cocina-chef { background: radial-gradient(circle at 20% 19%,rgba(255,190,113,.23),transparent 27%),linear-gradient(145deg,#fff7ed,#fff 70%); }
.companion-turismo-eventos { background: radial-gradient(circle at 20% 19%,rgba(117,218,216,.23),transparent 27%),linear-gradient(145deg,#ebf9f8,#fff 70%); }
.companion-ingles-ninos { background: radial-gradient(circle at 18% 17%,rgba(214,243,106,.39),transparent 27%),linear-gradient(145deg,#f2fae8,#fff9ed 70%); }

@keyframes coachGuideMove {
  0%,100% { transform: translateY(0) rotate(-.8deg); }
  45% { transform: translateY(-7px) rotate(.8deg); }
  55% { transform: translateY(-7px) rotate(1.4deg); }
}
@keyframes coachThinkMove {
  0%,100% { transform: translateY(0) rotate(0); }
  35% { transform: translateY(-4px) rotate(-1deg); }
  52% { transform: translateY(-2px) rotate(1deg); }
}
@keyframes coachCelebrateMove {
  0%,100% { transform: translateY(0) scale(1); }
  38% { transform: translateY(-11px) scale(1.025); }
  55% { transform: translateY(-5px) rotate(1.2deg); }
}
@keyframes coachThought {
  0%,100% { transform: translateY(0) scale(.94); }
  50% { transform: translateY(-5px) scale(1.04); }
}
@keyframes coachSparkle {
  0%,100% { opacity: .28; transform: scale(.65) rotate(0); }
  50% { opacity: 1; transform: scale(1.18) rotate(42deg); }
}

@media (max-width: 850px) {
  .course-companion-sticky { grid-column: 1/-1; }
  .course-companion-sticky .course-companion {
    min-height: 210px;
    display: grid;
    grid-template-columns: 190px minmax(0,1fr);
  }
  .course-companion-sticky .course-companion-character { min-height: 208px; }
  .course-companion-sticky .course-companion-character img { height: 198px; }
  .course-companion-sticky .course-companion-message { display: flex; flex-direction: column; justify-content: center; border-top: 0; border-left: 1px solid rgba(13,104,79,.12); }
}
@media (max-width: 620px) {
  .course-companion-sticky { grid-column: auto; }
  .course-companion-sticky .course-companion,
  .course-companion-compact {
    min-height: 168px;
    grid-template-columns: 112px minmax(0,1fr);
  }
  .course-companion-sticky .course-companion-character,
  .course-companion-compact .course-companion-character { min-height: 166px; }
  .course-companion-sticky .course-companion-character img,
  .course-companion-compact .course-companion-character img { inset: 5px 2px; width: calc(100% - 4px); height: 155px; }
  .course-companion-sticky .course-companion-message,
  .course-companion-compact .course-companion-message { padding: 18px 16px; border-top: 0; border-left: 1px solid rgba(13,104,79,.12); }
  .course-companion-compact .course-companion-message b { font-size: 18px; }
  .course-companion-compact .course-companion-message p { font-size: 8px; }
  .coach-thought { top: 13px; right: 6px; width: 29px; height: 29px; font-size: 11px; }
  .coach-motion-two { right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .course-companion-character img,
  .coach-thought,
  .coach-motion,
  .a1-scene-character img,
  .a1-scene-light,
  .a1-scene-steam,
  .a1-scene-halo,
  .a1-scene-spark,
  .a1-scene-status i { animation: none !important; }
}

/* Modern student dashboard and study hub */
.dashboard-page {
  min-height: calc(100vh - 76px);
  padding: 40px 0 110px;
  background:
    radial-gradient(circle at 8% 3%, rgba(214,243,106,.18), transparent 24%),
    radial-gradient(circle at 94% 12%, rgba(87,184,146,.11), transparent 22%),
    #f4f5ef;
}
.dashboard-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(360px,.8fr);
  gap: 54px;
  align-items: center;
  min-height: 390px;
  padding: clamp(34px,5vw,66px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 30px;
  color: white;
  background:
    radial-gradient(circle at 88% 4%, rgba(214,243,106,.2), transparent 30%),
    linear-gradient(135deg, #062f28 0%, #074b3c 62%, #0c654e 100%);
  box-shadow: 0 30px 75px rgba(5,54,43,.2);
}
.dashboard-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -165px;
  bottom: -210px;
  border: 52px solid rgba(214,243,106,.09);
  border-radius: 50%;
}
.dashboard-hero-copy,.dashboard-stat-grid,.dashboard-signout { position: relative; z-index: 1; }
.dashboard-eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--lime); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.dashboard-eyebrow svg { width: 14px; height: 14px; }
.dashboard-hero h1 { max-width: 690px; margin: 16px 0 18px; font-family: var(--font-display),sans-serif; font-size: clamp(42px,5vw,68px); line-height: .98; letter-spacing: -.055em; }
.dashboard-hero h1 em { color: var(--lime); font-style: normal; }
.dashboard-hero-copy > p { max-width: 610px; margin: 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.7; }
.dashboard-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.dashboard-hero-primary { display: inline-flex; align-items: center; gap: 9px; color: var(--green-deep); background: var(--lime); box-shadow: 0 13px 30px rgba(0,0,0,.15); }
.dashboard-hero-primary svg { width: 16px; }
.dashboard-text-link { color: white; font-size: 11px; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 5px; }
.dashboard-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dashboard-stat-grid article { min-height: 118px; display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.dashboard-stat-grid article > span { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: var(--lime); background: rgba(214,243,106,.12); }
.dashboard-stat-grid svg { width: 19px; height: 19px; }
.dashboard-stat-grid strong,.dashboard-stat-grid small { display: block; }
.dashboard-stat-grid strong { font-family: var(--font-display),sans-serif; font-size: 25px; line-height: 1; }
.dashboard-stat-grid small { margin-top: 7px; color: rgba(255,255,255,.55); font-size: 9px; line-height: 1.35; }
.dashboard-signout { position: absolute; top: 23px; right: 25px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.72); background: rgba(0,0,0,.1); font-size: 9px; font-weight: 750; cursor: pointer; }
.dashboard-quick-nav { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.8); box-shadow: 0 10px 30px rgba(26,57,45,.05); scrollbar-width: none; }
.dashboard-quick-nav::-webkit-scrollbar { display: none; }
.dashboard-quick-nav a { flex: 0 0 auto; padding: 10px 14px; border-radius: 9px; color: #596760; font-size: 10px; font-weight: 800; transition: color .2s,background .2s; }
.dashboard-quick-nav a:hover { color: var(--green-deep); background: #eaf3ee; }
.dashboard-grid { grid-template-columns: minmax(0,1.35fr) minmax(310px,.65fr); gap: 20px; margin-top: 24px; }
.dashboard-full-width { grid-column: 1 / -1; scroll-margin-top: 100px; }
.continue-card,.dashboard-section { border-radius: 21px; box-shadow: 0 14px 38px rgba(25,55,43,.055); }
.continue-card { position: relative; min-height: 300px; padding: 34px; overflow: hidden; background: linear-gradient(140deg,#073f34,#0b6951); }
.continue-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -95px; top: -95px; border: 34px solid rgba(214,243,106,.1); border-radius: 50%; }
.continue-card > * { position: relative; z-index: 1; }
.continue-card h2 { max-width: 620px; margin-top: 58px; font-size: clamp(27px,3vw,38px); }
.continue-card p { font-size: 11px; }
.continue-card .button { display: inline-flex; margin-top: 2px; }
.dashboard-account-card { padding: 30px; }
.dashboard-account-heading { display: flex; align-items: center; gap: 14px; }
.dashboard-account-heading > span { width: 47px; height: 47px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px; color: var(--green); background: #e9f4ef; }
.dashboard-account-heading svg { width: 21px; }
.dashboard-account-heading h2 { margin: 4px 0 1px; font-family: var(--font-display),sans-serif; font-size: 20px; }
.dashboard-account-heading p { margin: 0; color: #7b8781; font-size: 9px; overflow-wrap: anywhere; }

.study-hub { display: grid; gap: 20px; padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: 0 18px 50px rgba(25,55,43,.07); }
.study-hub-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 4px 3px 10px; }
.study-hub-heading h2 { margin: 8px 0 7px; font-family: var(--font-display),sans-serif; font-size: clamp(27px,3vw,40px); letter-spacing: -.045em; }
.study-hub-heading p { margin: 0; color: #718079; font-size: 12px; line-height: 1.55; }
.study-hub-heading nav { display: flex; gap: 6px; padding: 5px; border-radius: 12px; background: #f1f4f0; }
.study-hub-heading nav a { padding: 9px 11px; border-radius: 8px; color: #66736d; font-size: 9px; font-weight: 850; }
.study-hub-heading nav a:hover { color: var(--green-deep); background: white; }
.study-today-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(320px,.92fr); gap: 16px; scroll-margin-top: 110px; }
.study-plan-card,.study-focus-card { min-height: 315px; padding: 27px; border-radius: 20px; }
.study-plan-card { border: 1px solid #dfe7e2; background: #fbfcfa; }
.study-card-heading { display: flex; justify-content: space-between; gap: 18px; }
.study-card-heading span,.study-focus-card > div > span,.study-section-copy > span { color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.study-card-heading h3,.study-focus-card h3,.study-section-copy h3 { margin: 7px 0 0; font-family: var(--font-display),sans-serif; font-size: 22px; }
.study-card-heading > strong { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; color: var(--green-deep); background: var(--lime); font-size: 11px; }
.study-plan-progress,.quiz-progress { height: 5px; margin: 18px 0; overflow: hidden; border-radius: 999px; background: #e6ebe7; }
.study-plan-progress span,.quiz-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--green),#65ae8f); transition: width .25s ease; }
.study-task-list { display: grid; gap: 8px; }
.study-task-list > button { width: 100%; display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 11px; border: 1px solid transparent; border-radius: 12px; color: var(--ink); text-align: left; background: white; cursor: pointer; }
.study-task-list > button:hover { border-color: #cfe0d7; }
.study-task-list > button.done { color: #65746d; background: #edf5f1; }
.study-task-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: var(--green); background: #e9f4ef; }
.study-task-icon svg { width: 17px; height: 17px; }
.study-task-list b,.study-task-list small { display: block; }
.study-task-list b { font-size: 10px; }.study-task-list small { margin-top: 3px; color: #8a9690; font-size: 8px; }
.study-task-check { color: #829089; font-size: 8px; font-weight: 800; }
.study-task-list .done .study-task-check { color: var(--green); }
.study-focus-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: white; background: linear-gradient(145deg,#0c3d33,#0c5a46); }
.study-focus-card::after { content: ""; position: absolute; width: 190px; height: 190px; right: -85px; bottom: -85px; border: 27px solid rgba(214,243,106,.11); border-radius: 50%; }
.study-focus-card > * { position: relative; z-index: 1; }
.study-focus-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; color: var(--green-deep); background: var(--lime); }
.study-focus-icon svg { width: 24px; }
.study-focus-card > div > span { color: var(--lime); }
.study-focus-card h3 { font-size: 25px; }
.study-focus-card p { margin: 10px 0 0; color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.6; }
.study-focus-card .button { width: fit-content; display: inline-flex; align-items: center; gap: 7px; color: var(--green-deep); background: var(--lime); }
.study-focus-card .button svg { width: 15px; }
.study-tools-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.study-tools-grid > a { display: grid; grid-template-columns: 42px 1fr 18px; gap: 10px; align-items: center; min-height: 94px; padding: 15px; border: 1px solid #e0e7e3; border-radius: 16px; transition: border-color .2s,transform .2s,box-shadow .2s; }
.study-tools-grid > a:hover { border-color: #add1c0; transform: translateY(-2px); box-shadow: 0 12px 25px rgba(20,74,56,.08); }
.study-tools-grid > a > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--green); background: #edf5f1; }
.study-tools-grid svg { width: 17px; height: 17px; }
.study-tools-grid b,.study-tools-grid small { display: block; }
.study-tools-grid b { font-size: 10px; }.study-tools-grid small { margin-top: 4px; color: #85918b; font-size: 8px; line-height: 1.4; }
.study-tools-grid > a > svg { color: #9ba59f; }
.study-methods,.vocabulary-quiz { display: grid; grid-template-columns: minmax(270px,.72fr) minmax(0,1.28fr); gap: 38px; padding: 32px; border-radius: 21px; scroll-margin-top: 110px; }
.study-methods { background: #f0f5f1; }
.study-section-copy h3 { max-width: 380px; font-size: 28px; letter-spacing: -.035em; }
.study-section-copy p { color: #6f7d76; font-size: 11px; line-height: 1.65; }
.study-method-list { display: grid; gap: 8px; }
.study-method-list article { overflow: hidden; border: 1px solid #dce5df; border-radius: 14px; background: white; }
.study-method-list article > button { width: 100%; display: grid; grid-template-columns: 38px 1fr 18px; gap: 12px; align-items: center; padding: 13px; border: 0; text-align: left; color: var(--ink); background: transparent; cursor: pointer; }
.study-method-list article > button > span:first-child { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--green); background: #eaf4ef; }
.study-method-list svg { width: 17px; }.study-method-list button > svg { color: #89968f; transition: transform .2s; }
.study-method-list article.open button > svg { transform: rotate(90deg); }
.study-method-list b,.study-method-list small { display: block; }
.study-method-list b { font-size: 10px; }.study-method-list small { margin-top: 3px; color: #85918b; font-size: 8px; }
.study-method-list article > div { padding: 0 15px 15px 63px; }
.study-method-list article > div p { margin: 0 0 9px; color: #69766f; font-size: 9px; line-height: 1.6; }
.study-method-list article > div strong { display: flex; gap: 6px; color: var(--green); font-size: 8px; line-height: 1.5; }
.study-method-list article > div strong svg { flex: 0 0 auto; width: 13px; }
.vocabulary-quiz { align-items: center; color: white; background: linear-gradient(135deg,#072f28,#074c3c); }
.quiz-copy > span { color: var(--lime); }.quiz-copy h3 { color: white; font-size: 31px; }.quiz-copy p { color: rgba(255,255,255,.63); }.quiz-copy > small { color: rgba(255,255,255,.4); font-size: 8px; }
.adaptive-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin: 20px 0 14px; }
.adaptive-stats > span { min-height: 67px; display: grid; grid-template-columns: 22px 1fr; grid-template-rows: auto auto; align-items: center; padding: 10px; border: 1px solid rgba(255,255,255,.11); border-radius: 11px; background: rgba(255,255,255,.06); }
.adaptive-stats svg { grid-row: 1 / 3; width: 16px; color: var(--lime); }
.adaptive-stats b { font-family: var(--font-display),sans-serif; font-size: 18px; line-height: 1; }
.adaptive-stats small { color: rgba(255,255,255,.48); font-size: 7px; }
.quiz-card { min-height: 390px; padding: 25px; border-radius: 18px; color: var(--ink); background: white; }
.quiz-ready { min-height: 340px; display: grid; place-items: center; align-content: center; text-align: center; }
.quiz-ready > span { width: 57px; height: 57px; display: grid; place-items: center; border-radius: 17px; color: var(--green-deep); background: var(--lime); }
.quiz-ready > span svg { width: 25px; }
.quiz-ready > small { margin-top: 16px; color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.quiz-ready h4 { margin: 7px 0 9px; font-size: 29px; }
.quiz-ready p { max-width: 370px; margin: 0 0 20px; color: #718079; font-size: 10px; line-height: 1.6; }
.quiz-ready .button { display: inline-flex; align-items: center; gap: 7px; border: 0; cursor: pointer; }
.quiz-ready .button svg { width: 14px; }
.quiz-progress-row { display: flex; justify-content: space-between; color: #7d8983; font-size: 8px; font-weight: 750; }
.quiz-progress-row strong { color: var(--green); }
.quiz-category { color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.quiz-card h4 { margin: 9px 0 19px; font-family: var(--font-display),sans-serif; font-size: 28px; letter-spacing: -.035em; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quiz-options button { min-height: 45px; display: flex; justify-content: space-between; align-items: center; padding: 0 13px; border: 1px solid #dce3df; border-radius: 10px; color: #425049; background: white; font-size: 10px; font-weight: 750; cursor: pointer; }
.quiz-options button:not(:disabled):hover { border-color: var(--green); background: #f1f7f4; }
.quiz-options button.correct { color: #075b43; border-color: #55b48e; background: #e6f7ef; }.quiz-options button.wrong { color: #943a31; border-color: #df9187; background: #fff0ee; }.quiz-options button.muted { opacity: .55; }
.quiz-options svg { width: 15px; }
.quiz-feedback { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-top: 14px; padding: 12px; border-radius: 11px; background: #f0f5f2; }
.quiz-feedback b { color: var(--green); font-size: 9px; }.quiz-feedback p { margin: 3px 0 0; color: #68766f; font-size: 9px; }
.quiz-feedback small { display: block; margin-top: 4px; color: #829089; font-size: 7px; }
.quiz-feedback button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border: 0; border-radius: 8px; color: white; background: var(--green); font-size: 8px; font-weight: 800; cursor: pointer; }.quiz-feedback button svg { width: 13px; }
.quiz-feedback-actions { display: flex; flex: 0 0 auto; gap: 6px; }
.quiz-feedback-actions button:last-child { color: var(--green); background: #dcebe4; }
.quiz-feedback-actions button.saved { color: #5f6d66; background: #e4e9e6; cursor: default; }
.quiz-notice { display: flex; align-items: flex-start; gap: 7px; margin: 10px 0 0; padding: 9px 10px; border-radius: 9px; color: #6e5924; background: #fff6dd; font-size: 8px; line-height: 1.45; }
.quiz-notice svg { width: 13px; flex: 0 0 auto; }
.quiz-next { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; float: right; border: 0; cursor: pointer; }.quiz-next svg { width: 14px; }
.quiz-result { min-height: 335px; display: grid; place-items: center; align-content: center; text-align: center; }
.quiz-result > span { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 50%; color: var(--green-deep); background: var(--lime); }.quiz-result > span svg { width: 25px; }
.quiz-result small { margin-top: 17px; color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .12em; }.quiz-result h4 { margin: 6px 0; font-size: 39px; }.quiz-result p { max-width: 330px; margin: 0 0 18px; color: #738079; font-size: 10px; line-height: 1.55; }.quiz-result .button { display: inline-flex; gap: 7px; border: 0; cursor: pointer; }.quiz-result .button svg { width: 14px; }
.spin { animation: dashboard-spin .8s linear infinite; }
.study-hub button:focus-visible,.study-hub a:focus-visible,.dashboard-quick-nav a:focus-visible,.dashboard-hero a:focus-visible,.dashboard-signout:focus-visible { outline: 3px solid #e4b93b; outline-offset: 3px; }

@media (max-width: 1050px) {
  .dashboard-hero { grid-template-columns: 1fr; gap: 32px; }
  .dashboard-stat-grid { grid-template-columns: repeat(4,1fr); }
  .dashboard-stat-grid article { min-height: 105px; padding: 15px; flex-direction: column; align-items: flex-start; }
  .study-tools-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .dashboard-page { padding-top: 22px; }
  .dashboard-hero { min-height: 0; padding: 38px 27px 28px; border-radius: 23px; }
  .dashboard-hero h1 { font-size: 45px; }
  .dashboard-stat-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-full-width { grid-column: auto; }
  .study-hub { padding: 23px; border-radius: 22px; }
  .study-hub-heading { align-items: flex-start; flex-direction: column; }
  .study-hub-heading nav { width: 100%; overflow-x: auto; }
  .study-today-grid,.study-methods,.vocabulary-quiz { grid-template-columns: 1fr; }
  .study-methods,.vocabulary-quiz { gap: 22px; padding: 25px; }
}
@media (max-width: 520px) {
  .dashboard-hero h1 { font-size: 38px; }
  .dashboard-hero-copy > p { font-size: 12px; }
  .dashboard-hero-actions { align-items: stretch; flex-direction: column; }
  .dashboard-hero-primary { justify-content: center; }
  .dashboard-text-link { text-align: center; }
  .dashboard-stat-grid article { min-height: 105px; }
  .dashboard-stat-grid article > span { width: 34px; height: 34px; }
  .dashboard-stat-grid strong { font-size: 20px; }
  .dashboard-signout { top: 14px; right: 14px; }
  .continue-card { min-height: 280px; padding: 25px; }
  .continue-card h2 { margin-top: 48px; }
  .study-hub { padding: 16px; }
  .study-hub-heading h2 { font-size: 29px; }
  .study-tools-grid { grid-template-columns: 1fr; }
  .study-plan-card,.study-focus-card { min-height: 0; padding: 20px; }
  .study-focus-card { gap: 27px; }
  .study-methods,.vocabulary-quiz { padding: 20px; }
  .quiz-card { min-height: 420px; padding: 18px; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-feedback { align-items: flex-start; flex-direction: column; }
  .quiz-feedback-actions { width: 100%; }
  .quiz-feedback-actions button { flex: 1; justify-content: center; }
}

/* Companion inside interactive ebooks */
.ebook-companion-sticky {
  margin-top: 8px;
}
.ebook-reader-layout > aside .ebook-companion-sticky .course-companion {
  min-height: 350px;
}
.ebook-reader-layout > aside .course-companion-message small {
  margin: 0;
  color: var(--green);
  font-size: 6px;
  font-weight: 950;
  letter-spacing: .12em;
}
.ebook-reader-layout > aside .course-companion-message b {
  display: block;
  margin: 7px 0 6px;
  color: var(--ink);
  font-family: var(--font-display), sans-serif;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.ebook-chapter > section > .course-companion-compact {
  margin-top: 34px;
}
.ebook-chapter > section > .coach-encourage {
  border-color: #ebcfaa;
}
.ebook-chapter > section > .coach-celebrate {
  border-color: #add2bc;
}

@media (max-width: 850px) {
  .ebook-companion-sticky {
    grid-column: 1/-1;
  }
  .ebook-reader-layout > aside .ebook-companion-sticky .course-companion {
    min-height: 210px;
    display: grid;
    grid-template-columns: 190px minmax(0,1fr);
  }
  .ebook-companion-sticky .course-companion-character { min-height: 208px; }
  .ebook-companion-sticky .course-companion-character img { height: 198px; }
  .ebook-companion-sticky .course-companion-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 0;
    border-left: 1px solid rgba(13,104,79,.12);
  }
}
@media (max-width: 620px) {
  .ebook-companion-sticky { grid-column: auto; }
  .ebook-reader-layout > aside .ebook-companion-sticky .course-companion {
    min-height: 168px;
    grid-template-columns: 112px minmax(0,1fr);
  }
  .ebook-companion-sticky .course-companion-character { min-height: 166px; }
  .ebook-companion-sticky .course-companion-character img {
    inset: 5px 2px;
    width: calc(100% - 4px);
    height: 155px;
  }
  .ebook-companion-sticky .course-companion-message {
    padding: 18px 16px;
  }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.single-auth-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; gap: 65px; padding: 42px 20px 70px; background: linear-gradient(145deg, #e9f1ed, var(--cream)); }
.recovery-card { padding: 38px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 25px 70px rgba(21,45,36,.12); }

/* Interior pages */
.inner-hero { padding: 96px 0 92px; text-align: center; background: linear-gradient(180deg, #f4f8f5, var(--paper)); border-bottom: 1px solid var(--line); }
.inner-hero-compact { padding-bottom: 74px; }
.inner-hero h1 { max-width: 850px; margin: 17px auto; font-family: var(--font-display), sans-serif; font-size: clamp(42px, 5vw, 66px); line-height: 1.05; letter-spacing: -.05em; }
.inner-hero p { max-width: 700px; margin: auto; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.catalog-section { padding-top: 70px; padding-bottom: 115px; }
.catalog-summary { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 58px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.catalog-summary div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 24px; border-right: 1px solid var(--line); }.catalog-summary div:last-child { border: 0; }
.catalog-summary strong { color: var(--green); font-family: var(--font-display), sans-serif; font-size: 25px; }.catalog-summary span { color: #69766f; font-size: 11px; }
.level-catalog { display: flex; flex-direction: column; gap: 15px; }
.catalog-card { display: grid; grid-template-columns: 120px 1fr 110px 48px; align-items: center; gap: 30px; min-height: 200px; padding: 28px 30px; border: 1px solid var(--line); border-radius: 18px; background: white; transition: transform .2s, box-shadow .2s; }.catalog-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(20,45,36,.09); }
.catalog-code { display: flex; flex-direction: column; align-items: center; gap: 10px; }.catalog-code span { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-family: var(--font-display), sans-serif; font-size: 25px; font-weight: 850; }.catalog-code small { color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.catalog-main > p:first-child { margin: 0 0 5px; color: var(--green); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }.catalog-main h2 { margin: 0; font-family: var(--font-display), sans-serif; font-size: 25px; }.catalog-main > p { margin: 7px 0 13px; color: #65726c; font-size: 13px; }.catalog-main ul { display: flex; flex-wrap: wrap; gap: 7px 18px; padding: 0; margin: 0; list-style: none; }.catalog-main li { color: #53615b; font-size: 11px; }.catalog-main li span { color: var(--green); margin-right: 5px; }
.catalog-meta { display: flex; flex-direction: column; text-align: center; }.catalog-meta b { font-family: var(--font-display), sans-serif; font-size: 25px; }.catalog-meta span, .catalog-meta small { color: #7a8680; font-size: 10px; }.catalog-meta small { margin-top: 7px; }.catalog-link { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 20px; font-weight: 800; }

.course-overview { display: grid; grid-template-columns: 310px 1fr; gap: 55px; padding-top: 70px; padding-bottom: 115px; align-items: start; }
.course-aside { position: sticky; top: 105px; padding: 28px; border-radius: 18px; color: white; background: var(--green-deep); }.course-badge { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--green-deep); font-weight: 900; }.course-aside h2 { margin: 18px 0 5px; font-family: var(--font-display), sans-serif; font-size: 25px; }.course-aside > p, .course-aside > small { color: rgba(255,255,255,.59); font-size: 11px; }.course-progress { height: 5px; margin: 22px 0 8px; border-radius: 5px; background: rgba(255,255,255,.15); }.course-progress span { display: block; height: 100%; background: var(--lime); }.course-aside .button { width: 100%; margin-top: 25px; color: var(--green-deep); background: var(--lime); box-shadow: none; }.course-aside ul { padding: 21px 0 0; margin: 24px 0 0; border-top: 1px solid rgba(255,255,255,.15); list-style: none; }.course-aside li { margin: 11px 0; color: rgba(255,255,255,.73); font-size: 11px; }
.course-download-panel { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); }
.course-download-panel > span { color: var(--lime); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.course-download-panel h3 { margin: 8px 0 7px; font-family: var(--font-display), sans-serif; font-size: 17px; }
.course-download-panel p { margin: 0; color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.55; }
.course-download-panel > div { display: grid; gap: 7px; margin-top: 14px; }
.course-download-panel button { min-height: 38px; padding: 8px 11px; border: 1px solid rgba(214,243,106,.45); border-radius: 8px; color: var(--green-deep); background: var(--lime); font-size: 10px; font-weight: 850; cursor: pointer; }
.course-download-panel button:disabled { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.08); cursor: not-allowed; }
.course-download-panel > small { display: block; margin-top: 10px; color: #ffd6ca; font-size: 9px; line-height: 1.45; }
.unit-heading { margin-bottom: 24px; }.unit-heading span { color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }.unit-heading p { color: #6c7872; font-size: 13px; }
.unit-list { display: flex; flex-direction: column; gap: 12px; }.unit-card { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 20px; padding: 23px; border: 1px solid var(--line); border-radius: 15px; background: white; }.unit-number { font-family: var(--font-display), sans-serif; color: #9da8a2; font-size: 20px; font-weight: 800; }.unit-info > span { color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }.unit-info h3 { margin: 4px 0 5px; font-family: var(--font-display), sans-serif; font-size: 17px; }.unit-info p { margin: 0 0 8px; color: #68756f; font-size: 12px; }.unit-info small { color: #929c97; font-size: 9px; }.unit-action { padding: 8px 10px; border-radius: 8px; color: #849089; background: #f2f3f1; font-size: 10px; font-weight: 750; }.active-unit-action { color: white; background: var(--green); }

.lesson-page { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 270px 1fr; background: #f5f4ef; }
.lesson-sidebar { padding: 30px 25px; color: white; background: var(--green-deep); }.lesson-sidebar > a { display: block; margin-bottom: 35px; color: rgba(255,255,255,.63); font-size: 11px; }.lesson-sidebar > span { color: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }.lesson-sidebar h2 { margin: 8px 0 27px; font-family: var(--font-display), sans-serif; font-size: 19px; line-height: 1.3; }.lesson-sidebar ol { padding: 0; margin: 0; list-style: none; }.lesson-sidebar li { display: flex; align-items: center; gap: 11px; margin: 7px 0; padding: 11px; border-radius: 9px; color: rgba(255,255,255,.54); font-size: 11px; }.lesson-sidebar li > span { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; font-size: 9px; }.lesson-sidebar .current { color: white; background: rgba(255,255,255,.1); }.lesson-sidebar .current span { color: var(--green-deep); background: var(--lime); border-color: var(--lime); }.lesson-sidebar .complete { color: rgba(255,255,255,.75); }.lesson-sidebar .complete span { color: var(--lime); border-color: var(--lime); }
.lesson-workspace { padding: 32px 50px 65px; }.lesson-topline { display: flex; justify-content: space-between; align-items: center; max-width: 800px; margin: 0 auto; }.lesson-topline div span, .lesson-topline div b { display: block; }.lesson-topline div span { color: #7d8983; font-size: 9px; font-weight: 800; letter-spacing: .1em; }.lesson-topline div b { margin-top: 5px; }.lesson-topline > span { color: #78847e; font-size: 11px; }.workspace-progress { max-width: 800px; height: 4px; margin: 18px auto 30px; border-radius: 4px; background: #dfe4e0; }.workspace-progress span { display: block; height: 100%; border-radius: 4px; background: var(--green); }
.exercise-card { max-width: 800px; margin: auto; padding: 42px 55px; border-radius: 20px; text-align: center; background: white; box-shadow: 0 18px 50px rgba(25,42,36,.08); border: 1px solid var(--line); }.exercise-label { color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }.exercise-card h1 { margin: 10px 0 26px; font-family: var(--font-display), sans-serif; font-size: 28px; }.large-audio { width: 100%; display: grid; grid-template-columns: 54px 1fr; column-gap: 15px; padding: 16px 20px; text-align: left; border: 1px solid #cbd8d2; border-radius: 12px; background: #f4f8f6; cursor: pointer; }.audio-wave { grid-row: span 2; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; gap: 3px; border-radius: 50%; background: var(--green); }.audio-wave i { width: 3px; height: 10px; border-radius: 3px; background: white; }.audio-wave i:nth-child(2) { height: 22px; }.audio-wave i:nth-child(3) { height: 16px; }.large-audio b { align-self: end; }.large-audio small { color: #75817b; font-size: 10px; }.audio-production-note { margin: 10px 0 0; color: #9a6b14; font-size: 10px; }
.exercise-phrase { margin: 24px 0 10px; padding: 27px 20px; border-radius: 13px; background: var(--cream); }.exercise-phrase p { margin: 0; font-family: var(--font-display), sans-serif; font-size: 24px; font-weight: 750; }.exercise-phrase span { display: block; margin-top: 9px; color: #69756f; font-size: 13px; }.reveal-button { border: 0; color: var(--green); background: transparent; font-size: 11px; font-weight: 750; cursor: pointer; }.pronunciation-note { display: flex; gap: 11px; align-items: flex-start; margin: 24px 0; padding: 15px; text-align: left; border-radius: 10px; color: #54635c; background: #edf5f1; }.pronunciation-note span { flex: 0 0 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 11px; font-weight: 800; }.pronunciation-note p { margin: 2px 0 0; font-size: 11px; line-height: 1.5; }.lesson-controls { display: flex; justify-content: space-between; gap: 15px; padding-top: 22px; border-top: 1px solid var(--line); }.lesson-controls button, .lesson-controls a { min-height: 42px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #cad2ce; border-radius: 9px; background: white; font-size: 11px; font-weight: 750; }.lesson-controls button:disabled { opacity: .45; }.lesson-controls .primary-control { margin-left: auto; color: white; background: var(--green); border-color: var(--green); }

.test-page { min-height: 720px; display: grid; place-items: center; padding: 75px 20px 95px; background: linear-gradient(145deg, #e9f1ed, var(--cream)); }.test-card { width: min(700px, 100%); padding: 38px 45px; border-radius: 21px; background: white; border: 1px solid var(--line); box-shadow: 0 25px 70px rgba(21,45,36,.13); }.test-top { display: flex; align-items: center; justify-content: space-between; }.test-top div span, .test-top div b { display: block; }.test-top div span { color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .12em; }.test-top div b { margin-top: 4px; font-size: 13px; }.test-top > strong { color: #718079; font-size: 12px; }.test-progress { height: 5px; margin: 20px 0 35px; border-radius: 5px; background: #e5e9e6; }.test-progress span { display: block; height: 100%; border-radius: 5px; background: var(--green); }.question-kicker { color: #88948e; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.test-card h1 { margin: 9px 0 25px; font-family: var(--font-display), sans-serif; font-size: 27px; line-height: 1.25; }.answer-list { display: flex; flex-direction: column; gap: 10px; }.answer-list button { display: flex; align-items: center; gap: 14px; padding: 14px; text-align: left; border: 1px solid var(--line); border-radius: 10px; color: #47544e; background: white; cursor: pointer; }.answer-list button span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; background: var(--cream); color: #68756f; font-weight: 800; }.answer-list .selected-answer { border-color: var(--green); background: #f1f7f4; }.answer-list .selected-answer span { color: white; background: var(--green); }.test-next { width: 100%; margin-top: 24px; }.test-next:disabled { opacity: .45; cursor: not-allowed; }.test-card > p:last-child { margin: 15px 0 0; text-align: center; color: #929b97; font-size: 9px; }.result-card { text-align: center; }.result-check { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; color: var(--green-deep); background: var(--lime); font-size: 25px; font-weight: 900; }.result-card h1 em { color: var(--green); font-style: normal; }.result-card > p { color: #64716b; line-height: 1.65; }.result-actions { display: flex; justify-content: center; gap: 12px; margin-top: 27px; }

.pricing-section { padding-top: 70px; padding-bottom: 110px; }.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }.price-card { position: relative; padding: 35px 30px; border: 1px solid var(--line); border-radius: 18px; background: white; }.featured-price { color: white; background: var(--green-deep); border-color: var(--green-deep); transform: translateY(-12px); box-shadow: 0 24px 60px rgba(8,75,58,.2); }.price-label { color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: .13em; }.featured-price .price-label { color: var(--lime); }.price-card h2 { margin: 10px 0 8px; font-family: var(--font-display), sans-serif; font-size: 25px; }.price-card > p { min-height: 43px; margin: 0; color: #6f7b75; font-size: 12px; line-height: 1.55; }.featured-price > p { color: rgba(255,255,255,.62); }.price { display: flex; align-items: baseline; gap: 8px; margin: 28px 0; }.price strong { font-family: var(--font-display), sans-serif; font-size: 36px; letter-spacing: -.04em; }.price span { color: #7e8a84; font-size: 10px; }.featured-price .price span { color: rgba(255,255,255,.55); }.price-card .button { width: 100%; }.price-card button.button { border: 0; cursor: pointer; }.price-card button.button:disabled { cursor: wait; opacity: .72; }.price-card ul { padding: 23px 0 0; margin: 27px 0 0; border-top: 1px solid var(--line); list-style: none; }.featured-price ul { border-color: rgba(255,255,255,.16); }.price-card li { margin: 12px 0; color: #5c6963; font-size: 11px; }.featured-price li { color: rgba(255,255,255,.72); }.popular-flag { position: absolute; top: -13px; right: 22px; padding: 7px 10px; border-radius: 999px; color: var(--green-deep); background: var(--lime); font-size: 8px; font-weight: 900; letter-spacing: .1em; }.saving { display: block; margin: -20px 0 6px; color: var(--green); font-size: 10px; }.trial-label { min-height: 19px; display: block; margin: -18px 0 18px; color: var(--green); font-size: 8px; font-weight: 800; }.featured-price .trial-label { color: var(--lime); }.saving + .trial-label { margin-top: 0; }.checkout-message { display: block; margin-top: 10px; color: #8d3f33; font-size: 8px; line-height: 1.45; }.featured-price .checkout-message { color: #ffe2a5; }.pricing-note { max-width: 720px; margin: 25px auto 0; text-align: center; color: #8b9691; font-size: 9px; line-height: 1.6; }
.payment-confidence { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 32px; }.payment-confidence > div { min-height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; background: white; }.payment-confidence span { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 5px; color: white; background: #111; font-size: 8px; font-weight: 900; }.payment-confidence b { color: #435049; font-size: 8px; }.payment-confidence p { margin: 0 0 0 8px; color: #84908a; font-size: 8px; }.checkout-cancelled { display: flex; align-items: center; justify-content: center; gap: 9px; margin: -35px 0 45px; padding: 13px 18px; border: 1px solid #e6d8a1; border-radius: 11px; color: #715a18; background: #fffbed; font-size: 9px; }.checkout-cancelled span { color: #847448; }
.premium-gate-page { min-height: calc(100vh - 76px); display: flex; align-items: center; justify-content: center; padding: 60px 20px; color: var(--ink); background: radial-gradient(circle at 50% 0, rgba(214,243,106,.18), transparent 34%), #f4f6f2; }.premium-gate-page > p { margin-left: 12px; color: #77837d; font-size: 10px; }.premium-gate-card { max-width: 610px; padding: 55px; border: 1px solid var(--line); border-radius: 25px; text-align: center; background: white; box-shadow: 0 26px 70px rgba(20,55,42,.12); }.premium-gate-card > span { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 24px; border-radius: 20px; color: var(--green-deep); background: linear-gradient(145deg, var(--lime), #fff6a9); font-size: 29px; box-shadow: 0 14px 30px rgba(173,210,56,.3); transform: rotate(-5deg); }.premium-gate-card > small { color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .13em; }.premium-gate-card h1 { margin: 10px 0 13px; font-family: var(--font-display), sans-serif; font-size: 38px; line-height: 1.05; }.premium-gate-card p { max-width: 480px; margin: 0 auto; color: #6f7c75; font-size: 11px; line-height: 1.65; }.premium-gate-card > div { display: flex; justify-content: center; gap: 10px; margin-top: 27px; }
.billing-portal-action { margin-top: 20px; }.billing-portal-action .button { width: 100%; }.billing-portal-action small { display: block; margin-top: 8px; color: #a24e43; font-size: 8px; }.payment-result-page { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 50px 20px; background: radial-gradient(circle at 50% 15%, rgba(214,243,106,.25), transparent 30%), #f3f5f0; }.payment-result-page section { max-width: 640px; padding: 58px; border: 1px solid var(--line); border-radius: 25px; text-align: center; background: white; box-shadow: 0 25px 70px rgba(21,55,43,.11); }.payment-result-page section > span { width: 65px; height: 65px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; color: white; background: var(--green); font-size: 26px; box-shadow: 0 12px 26px rgba(13,104,79,.25); }.payment-result-page small { color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .13em; }.payment-result-page h1 { margin: 10px 0 12px; font-family: var(--font-display), sans-serif; font-size: 43px; }.payment-result-page p { margin: 0; color: #6f7c75; font-size: 11px; line-height: 1.7; }.payment-result-page div { display: flex; justify-content: center; gap: 10px; margin-top: 27px; }.payment-result-page em { display: block; margin-top: 19px; color: #929c97; font-size: 8px; font-style: normal; }

.auth-page { min-height: 100vh; display: grid; grid-template-columns: .85fr 1.15fr; background: var(--paper); }.auth-side { padding: 45px 65px; display: flex; flex-direction: column; justify-content: space-between; color: white; background: var(--green-deep); }.auth-side .brand-mark { background: var(--lime); color: var(--green-deep); box-shadow: none; }.auth-side .brand-mark-letter-accent { color: var(--green-deep); }.auth-side .brand-name span { color: var(--lime); }.auth-side > div > span { color: var(--lime); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }.auth-side h2 { max-width: 520px; margin: 14px 0; font-family: var(--font-display), sans-serif; font-size: clamp(35px, 4vw, 53px); line-height: 1.05; letter-spacing: -.05em; }.auth-side p { max-width: 480px; color: rgba(255,255,255,.65); line-height: 1.65; }.auth-side ul { padding: 0; margin: 25px 0 0; list-style: none; }.auth-side li { margin: 10px 0; color: rgba(255,255,255,.74); font-size: 12px; }.auth-side > small { color: rgba(255,255,255,.35); font-size: 9px; }.auth-form-side { display: grid; place-items: center; padding: 50px 25px; }.auth-card { width: min(430px, 100%); }.auth-card h1 { margin: 8px 0; font-family: var(--font-display), sans-serif; font-size: 36px; letter-spacing: -.04em; }.auth-card > p { margin: 0 0 25px; color: #68756f; font-size: 13px; }.social-button { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: white; font-weight: 700; cursor: pointer; }.social-button span { margin-right: 11px; color: #4285f4; font-weight: 900; }.auth-divider { margin: 22px 0; display: flex; align-items: center; gap: 11px; color: #929b97; font-size: 9px; }.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }.auth-card form > label { display: flex; flex-direction: column; gap: 7px; margin: 14px 0; font-size: 11px; font-weight: 750; }.auth-card input:not([type="checkbox"]) { height: 46px; padding: 0 13px; border: 1px solid #cad2ce; border-radius: 8px; outline: none; }.auth-card input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,104,79,.1); }.check-label { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 8px !important; color: #6b7871; font-weight: 500 !important; line-height: 1.45; }.check-label input { accent-color: var(--green); }.check-label a, .forgot-row a, .auth-switch a { color: var(--green); font-weight: 750; }.forgot-row { display: flex; justify-content: space-between; align-items: center; }.forgot-row .check-label { margin: 0; }.forgot-row > a { font-size: 10px; }.auth-submit { width: 100%; margin-top: 8px; }.auth-switch { margin-top: 22px !important; text-align: center; font-size: 11px !important; }.integration-message { margin-top: 15px; padding: 12px; border-radius: 9px; color: #6c5a2a; background: #fff5dc; font-size: 10px; line-height: 1.5; }.integration-message b { display: block; }

.dashboard-page { min-height: 780px; padding: 65px 0 100px; background: #f5f4ef; }.dashboard-heading { display: flex; justify-content: space-between; align-items: center; }.dashboard-heading h1 { margin: 8px 0 4px; font-family: var(--font-display), sans-serif; font-size: 39px; letter-spacing: -.04em; }.dashboard-heading p { margin: 0; color: #6c7872; }.streak-box { display: flex; align-items: center; gap: 12px; padding: 13px 17px; border-radius: 12px; background: white; border: 1px solid var(--line); }.streak-box > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--green-deep); background: var(--lime); font-size: 18px; font-weight: 900; }.streak-box b, .streak-box small { display: block; }.streak-box b { font-size: 11px; }.streak-box small { margin-top: 3px; color: #85908b; font-size: 9px; }.dashboard-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; margin-top: 38px; }.continue-card, .week-card, .dashboard-section { padding: 27px; border: 1px solid var(--line); border-radius: 16px; background: white; }.continue-card { color: white; background: var(--green-deep); }.continue-top { display: flex; justify-content: space-between; }.continue-top span { color: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: .11em; }.continue-top strong { font-size: 11px; }.continue-card h2 { margin: 31px 0 5px; font-family: var(--font-display), sans-serif; font-size: 26px; }.continue-card p { color: rgba(255,255,255,.62); font-size: 11px; }.dashboard-progress { height: 5px; margin: 22px 0; border-radius: 5px; background: rgba(255,255,255,.15); }.dashboard-progress span { display: block; width: 18%; height: 100%; border-radius: 5px; background: var(--lime); }.continue-card .button { background: var(--lime); color: var(--green-deep); box-shadow: none; }.week-card > span, .dashboard-section-title span { color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .12em; }.week-card h2 { margin: 8px 0 25px; font-family: var(--font-display), sans-serif; font-size: 23px; }.week-bars { height: 145px; display: flex; align-items: end; justify-content: space-between; gap: 8px; }.week-bars div { height: 100%; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; }.week-bars i { width: 70%; display: block; border-radius: 5px 5px 2px 2px; background: var(--green-soft); }.week-bars div:nth-child(4) i { background: var(--green); }.week-bars small { color: #8e9893; font-size: 8px; }.dashboard-section-title { display: flex; justify-content: space-between; align-items: end; margin-bottom: 22px; }.dashboard-section-title h2 { margin: 6px 0 0; font-family: var(--font-display), sans-serif; font-size: 21px; }.dashboard-section-title a { color: var(--green); font-size: 10px; font-weight: 750; }.dashboard-levels { display: flex; flex-direction: column; gap: 8px; }.dashboard-levels article { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 11px; border-radius: 10px; background: #f5f5f1; }.dashboard-levels article > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #7f8a84; background: white; font-size: 11px; font-weight: 850; }.dashboard-levels b, .dashboard-levels small { display: block; }.dashboard-levels b { font-size: 11px; }.dashboard-levels small { margin-top: 3px; color: #8a948f; font-size: 8px; }.dashboard-levels strong { color: #7e8a84; font-size: 10px; }.dashboard-levels .dashboard-level-active { background: #edf5f1; }.dashboard-levels .dashboard-level-active > span { color: white; background: var(--green); }.dashboard-levels .dashboard-level-active strong { color: var(--green); }.skills-card { display: flex; flex-direction: column; }.skill-row { display: grid; grid-template-columns: 90px 1fr 35px; gap: 10px; align-items: center; margin: 11px 0; }.skill-row > span, .skill-row > strong { font-size: 10px; }.skill-row > strong { color: var(--green); text-align: right; }.skill-row > div { height: 6px; border-radius: 6px; background: #e7ebe8; }.skill-row i { display: block; height: 100%; border-radius: 6px; background: var(--green); }

.password-input-wrap { position: relative; display: block; }
.password-input-wrap input { width: 100%; padding-right: 72px !important; }
.password-input-wrap button { position: absolute; top: 50%; right: 10px; padding: 4px; transform: translateY(-50%); border: 0; color: var(--green); background: transparent; font-size: 9px; font-weight: 800; cursor: pointer; }
.auth-card input:not([type="checkbox"]) { width: 100%; }
.forgot-row > span { color: #84908a; font-size: 9px; }
.auth-message { margin-top: 15px; padding: 13px 14px; border-radius: 9px; font-size: 11px; line-height: 1.55; }
.auth-message.success { color: #155d46; background: #e4f3ec; border: 1px solid #c5e4d7; }
.auth-message.error { color: #8a342d; background: #fff0ee; border: 1px solid #f1cbc7; }
.auth-card button:disabled, .auth-card input:disabled { cursor: wait; opacity: .62; }
.dashboard-progress-empty span { width: 0; }
.dashboard-signout { min-height: 42px; }
.dashboard-loading { display: grid; place-items: center; text-align: center; color: #68756f; }
.dashboard-spinner { width: 34px; height: 34px; display: block; margin: 0 auto 14px; border: 3px solid #d5dfda; border-top-color: var(--green); border-radius: 50%; animation: dashboard-spin .8s linear infinite; }
.dashboard-account-card { display: flex; flex-direction: column; justify-content: space-between; }
.dashboard-account-card h2 { margin: 8px 0 4px; font-family: var(--font-display), sans-serif; font-size: 24px; }
.dashboard-account-card p { margin: 0; color: #748079; font-size: 11px; overflow-wrap: anywhere; }
.dashboard-account-card dl { margin: 22px 0 0; border-top: 1px solid var(--line); }
.dashboard-account-card dl > div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #edf0ed; font-size: 10px; }
.dashboard-account-card dt { color: #7a8680; }
.dashboard-account-card dd { margin: 0; font-weight: 800; }
.dashboard-account-card dd i { width: 7px; height: 7px; display: inline-block; margin-right: 4px; border-radius: 50%; background: #2ca36b; }
.dashboard-next-card > p { color: #68756f; font-size: 12px; line-height: 1.65; }
.dashboard-roadmap { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.dashboard-roadmap span { padding: 7px 9px; border-radius: 999px; color: #718079; background: #f0f2ef; font-size: 9px; font-weight: 800; }
.dashboard-roadmap .done { color: var(--green-deep); background: var(--lime); }
.dashboard-alert { display: flex; gap: 8px; margin-top: 25px; padding: 13px 16px; border: 1px solid #f1cbc7; border-radius: 10px; color: #8a342d; background: #fff0ee; font-size: 11px; }
.dashboard-alert span { color: #7a5652; }
.dashboard-activity-list { display: flex; flex-direction: column; gap: 9px; }
.dashboard-activity-list > div { display: grid; grid-template-columns: 66px 1fr; gap: 11px; align-items: center; padding: 10px; border-radius: 10px; background: #f4f7f4; }
.dashboard-activity-list > div > span { color: var(--green); font-size: 10px; font-weight: 900; }
.dashboard-activity-list b, .dashboard-activity-list small { display: block; }
.dashboard-activity-list b { font-size: 10px; }.dashboard-activity-list small { margin-top: 3px; color: #89948f; font-size: 8px; }
@keyframes dashboard-spin { to { transform: rotate(360deg); } }

.legal-copy { max-width: 800px; padding-top: 70px; padding-bottom: 110px; }.legal-copy h2 { margin-top: 35px; font-family: var(--font-display), sans-serif; font-size: 22px; }.legal-copy p,.legal-copy li { color: #64716a; line-height: 1.75; }.legal-copy ul { padding-left: 22px; }.legal-copy a { color: var(--green); font-weight: 750; }.legal-updated { margin: 0 0 26px; color: #8a9690 !important; font-size: 10px; font-weight: 750; }.legal-warning { margin-top: 22px; padding: 18px; border: 1px solid #f0d897; border-radius: 10px; color: #765a19; background: #fff6dc; font-size: 12px; line-height: 1.6; }.legal-identity { overflow: hidden; margin: 20px 0 28px; border: 1px solid var(--line); border-radius: 13px; background: white; }.legal-identity div { display: grid; grid-template-columns: 180px 1fr; padding: 13px 17px; border-top: 1px solid var(--line); }.legal-identity div:first-child { border-top: 0; }.legal-identity dt { color: #7c8983; font-size: 10px; font-weight: 750; }.legal-identity dd { margin: 0; color: var(--ink); font-size: 11px; font-weight: 750; overflow-wrap: anywhere; }.legal-note { margin-top: 38px; padding: 20px; border-left: 4px solid var(--green); border-radius: 0 12px 12px 0; color: #4f625a; background: #edf6f1; font-size: 11px; line-height: 1.65; }.withdrawal-template { margin: 30px 0; padding: 28px; border: 1px dashed #aabbb2; border-radius: 14px; background: white; }.withdrawal-template p { margin: 0 0 22px; }.withdrawal-template p:last-child { margin-bottom: 0; }.contact-card { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; padding-top: 70px; padding-bottom: 110px; }.contact-card form label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; font-size: 11px; font-weight: 750; }.contact-card input, .contact-card textarea { padding: 13px; border: 1px solid #cbd3cf; border-radius: 9px; background: white; resize: vertical; outline: none; }.contact-card input:focus, .contact-card textarea:focus { border-color: var(--green); }.contact-form-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 9px; color: #075641; background: #e9f7f0; font-size: 12px; font-weight: 700; line-height: 1.5; }.contact-card aside { padding: 35px; border-radius: 16px; color: white; background: var(--green-deep); }.contact-card aside > span { color: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: .12em; }.contact-card aside h2 { margin: 15px 0; font-family: var(--font-display), sans-serif; font-size: 28px; }.contact-card aside p { color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.65; }.contact-support-email { display: inline-block; margin-top: 18px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 9px; color: white; font-size: 10px; font-weight: 800; overflow-wrap: anywhere; }.contact-support-pending { display: block; margin-top: 18px; color: #ffe3a8; font-size: 9px; line-height: 1.5; }
.subscription-checkout-control { display: grid; gap: 12px; }.checkout-consent { display: grid; grid-template-columns: 18px minmax(0,1fr); align-items: start; gap: 10px; color: #596860; font-size: 9px; font-weight: 620; line-height: 1.55; }.checkout-consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--green); }.checkout-consent a { color: var(--green); font-weight: 850; text-decoration: underline; text-underline-offset: 2px; }.subscription-checkout-control .button:disabled { opacity: .48; cursor: not-allowed; }.store-consent-backdrop { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(3,30,22,.72); backdrop-filter: blur(8px); }.store-consent-dialog { width: min(100%,560px); max-height: min(90vh,760px); overflow: auto; padding: 34px; border: 1px solid rgba(255,255,255,.55); border-radius: 22px; color: var(--ink); background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.3); }.store-consent-dialog h2 { margin: 8px 0 20px; font-family: var(--font-display),sans-serif; font-size: 34px; letter-spacing: -.04em; }.store-consent-dialog > p { color: #65736c; font-size: 11px; line-height: 1.65; }.store-consent-product { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding: 16px 18px; border-radius: 12px; background: #eef6f2; }.store-consent-product b { font-size: 12px; }.store-consent-product strong { flex: 0 0 auto; color: var(--green); font-size: 18px; }.store-consent-dialog .checkout-consent { margin-top: 22px; padding: 17px; border: 1px solid #d6e2dc; border-radius: 12px; background: #fbfdfc; font-size: 10px; }.store-consent-actions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10px; margin-top: 20px; }.store-consent-actions .button { width: 100%; }.store-consent-dialog > small { display: block; margin-top: 14px; color: #8a9690; font-size: 8px; text-align: center; }

@media (max-width: 800px) {
  .catalog-summary { grid-template-columns: 1fr 1fr; }.catalog-summary div:nth-child(2) { border-right: 0; }.catalog-summary div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.catalog-card { grid-template-columns: 80px 1fr 45px; }.catalog-meta { display: none; }
  .course-overview { grid-template-columns: 1fr; }.course-aside { position: static; }.lesson-page { grid-template-columns: 1fr; }.lesson-sidebar { display: none; }.lesson-workspace { padding-inline: 20px; }
  .pricing-grid { grid-template-columns: 1fr; }.featured-price { transform: none; }.auth-page { grid-template-columns: 1fr; }.auth-side { min-height: 390px; padding: 35px; }.auth-side > small { display: none; }.dashboard-grid { grid-template-columns: 1fr; }.contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .inner-hero { padding: 70px 0 65px; }.inner-hero h1 { font-size: 40px; }.catalog-section, .pricing-section { padding-top: 45px; }.catalog-summary strong { font-size: 20px; }.catalog-summary span { text-align: center; }.catalog-card { grid-template-columns: 55px 1fr 36px; gap: 12px; padding: 18px 14px; }.catalog-code span { width: 52px; height: 52px; font-size: 17px; }.catalog-main ul { display: none; }.catalog-link { width: 34px; height: 34px; }.catalog-main h2 { font-size: 19px; }
  .unit-card { grid-template-columns: 38px 1fr; }.unit-action { grid-column: 2; justify-self: start; }.exercise-card { padding: 30px 18px; }.exercise-card h1 { font-size: 23px; }.exercise-phrase p { font-size: 20px; }.lesson-workspace { padding-inline: 12px; }.lesson-topline { padding-inline: 5px; }.test-card { padding: 28px 20px; }.test-card h1 { font-size: 23px; }.result-actions { flex-direction: column; }.result-actions .button { width: 100%; }
  .auth-side { min-height: 330px; padding: 28px 22px; }.auth-side h2 { font-size: 35px; }.auth-form-side { padding: 45px 20px; }.dashboard-heading { align-items: flex-start; flex-direction: column; gap: 20px; }.dashboard-grid { margin-top: 28px; }.contact-card aside { padding: 25px; }
}

/* Complete A1 curriculum */
.unit-details { display: block; padding: 0; overflow: hidden; }
.unit-details summary { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 20px; padding: 23px; cursor: pointer; list-style: none; }
.unit-details summary::-webkit-details-marker { display: none; }
.unit-details[open] summary { border-bottom: 1px solid var(--line); }
.unit-chevron { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--green-soft); font-size: 18px; font-weight: 800; transition: transform .2s; }
.unit-details[open] .unit-chevron { transform: rotate(180deg); }
.premium-program-label { display: inline-flex; margin-top: 18px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.lesson-outline { padding: 8px 23px 16px 98px; margin: 0; list-style: none; }
.lesson-outline li { min-height: 62px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 14px; border-bottom: 1px solid #edf0ed; }
.lesson-outline li:last-child { border-bottom: 0; }
.outline-number { color: #9aa59f; font-size: 10px; font-weight: 800; }
.lesson-outline b, .lesson-outline small { display: block; }
.lesson-outline b { font-size: 12px; }
.lesson-outline small { margin-top: 4px; color: #7b8681; font-size: 9px; line-height: 1.4; }
.lesson-outline li > a, .lesson-outline li > span:last-child { font-size: 10px; font-weight: 800; }
.lesson-outline li > a { padding: 8px 11px; border-radius: 8px; color: white; background: var(--green); }
.lesson-outline li > span:last-child { color: #9aa39f; }

/* Complete 20-minute lesson */
.deep-lesson-page { grid-template-columns: 300px minmax(0, 1fr); }
.deep-lesson-sidebar { padding: 30px 22px 42px; }
.deep-lesson-sidebar > a { margin-bottom: 30px; }
.deep-lesson-sidebar h2 { margin-bottom: 5px; font-size: 24px; }
.lesson-duration { margin: 0 0 24px; color: rgba(255,255,255,.55); font-size: 10px; }
.deep-lesson-sidebar li { display: block; margin: 5px 0; padding: 0; }
.deep-lesson-sidebar li button { width: 100%; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 11px; padding: 10px; border: 0; border-radius: 9px; color: inherit; text-align: left; background: transparent; cursor: pointer; }
.deep-lesson-sidebar li.current { background: transparent; }
.deep-lesson-sidebar li.current button { color: white; background: rgba(255,255,255,.1); }
.deep-lesson-sidebar li button > span:first-child { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; color: inherit; background: transparent; font-size: 9px; }
.deep-lesson-sidebar li.current button > span:first-child { color: var(--green-deep); background: var(--lime); border-color: var(--lime); }
.deep-lesson-sidebar li.complete button > span:first-child { color: var(--lime); background: transparent; border-color: var(--lime); }
.deep-lesson-sidebar li button > span:last-child, .deep-lesson-sidebar li.current button > span:last-child, .deep-lesson-sidebar li.complete button > span:last-child { color: inherit; background: transparent; border: 0; }
.deep-lesson-sidebar li b, .deep-lesson-sidebar li small { display: block; }
.deep-lesson-sidebar li b { font-size: 10px; font-weight: 700; }
.deep-lesson-sidebar li small { margin-top: 2px; color: rgba(255,255,255,.42); font-size: 8px; }
.deep-lesson-workspace { min-width: 0; padding: 32px 44px 70px; }
.deep-lesson-workspace .lesson-topline, .deep-lesson-workspace .workspace-progress, .lesson-content-card { max-width: 900px; }
.lesson-content-card { min-height: 650px; margin: auto; padding: 46px 58px 0; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 18px 50px rgba(25,42,36,.07); }
.lesson-section { min-height: 515px; }
.lesson-section h1 { max-width: 720px; margin: 10px 0 13px; font-family: var(--font-display), sans-serif; font-size: clamp(28px, 3vw, 36px); line-height: 1.12; letter-spacing: -.035em; }
.lesson-lead { max-width: 710px; margin: 0 0 28px; color: #627069; font-size: 14px; line-height: 1.7; }
.scenario-brief { display: grid; grid-template-columns: 100px 1fr; gap: 22px; align-items: center; padding: 21px; border-radius: 13px; color: white; background: var(--green-deep); }
.scenario-brief div { text-align: center; border-right: 1px solid rgba(255,255,255,.17); }
.scenario-brief span, .scenario-brief small { display: block; }
.scenario-brief span { color: var(--lime); font-family: var(--font-display), sans-serif; font-size: 23px; font-weight: 800; }
.scenario-brief small { color: rgba(255,255,255,.55); font-size: 8px; }
.scenario-brief p { margin: 0; color: rgba(255,255,255,.84); font-size: 13px; line-height: 1.55; }
.general-scenario-brief { grid-template-columns: minmax(0, 1fr); padding: 24px 28px; }
.general-scenario-brief p { max-width: 720px; font-size: 14px; line-height: 1.65; }
.general-scenario-brief p b { display: block; margin-bottom: 4px; color: white; }
.communication-steps { margin: 24px 0 30px; }
.communication-steps > header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.communication-steps > header span { color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.communication-steps > header h2 { margin: 0; color: #243b33; font-family: var(--font-display), sans-serif; font-size: 18px; letter-spacing: -.02em; }
.communication-steps ol { counter-reset: communication-step; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.communication-steps li { counter-increment: communication-step; min-height: 72px; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 13px; padding: 14px 16px; border: 1px solid #d9e4de; border-radius: 12px; color: #31463e; background: linear-gradient(145deg,#fbfcfa,#f2f7f4); box-shadow: 0 8px 22px rgba(23,55,45,.045); font-size: 12px; line-height: 1.5; }
.communication-steps li::before { content: counter(communication-step, decimal-leading-zero); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--green-deep); background: var(--lime); font-size: 10px; font-weight: 900; }
.communication-steps li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.communication-pronunciation,.communication-reading,.communication-check,.communication-writing { margin: 32px 0; }
.communication-block-heading { margin-bottom: 14px; }
.communication-block-heading > span { display: block; margin-bottom: 5px; color: var(--green); font-size: 8px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.communication-block-heading h2 { margin: 0; color: #243b33; font-family: var(--font-display),sans-serif; font-size: 22px; letter-spacing: -.03em; }
.communication-block-heading p { max-width: 680px; margin: 7px 0 0; color: #65736c; font-size: 11px; line-height: 1.55; }
.communication-pronunciation { overflow: hidden; padding: 25px 27px 10px; border-radius: 17px; color: white; background: radial-gradient(circle at 92% 4%,rgba(214,243,106,.17),transparent 30%),var(--green-deep); box-shadow: 0 18px 38px rgba(9,70,53,.13); }
.communication-pronunciation .communication-block-heading > span { color: var(--lime); }
.communication-pronunciation .communication-block-heading h2 { color: white; }
.communication-pronunciation .communication-block-heading p { color: rgba(255,255,255,.7); }
.communication-pronunciation .repeat-drill { margin: 0; padding: 0; border-radius: 0; background: transparent; }
.communication-pronunciation .repeat-drill-line { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 15px 0; border-bottom-color: rgba(255,255,255,.13); }
.communication-pronunciation .repeat-drill-line > span { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(214,243,106,.44); border-radius: 11px; color: var(--lime); background: rgba(255,255,255,.06); font-size: 9px; font-weight: 900; letter-spacing: 0; }
.communication-pronunciation .repeat-drill p { margin: 0 0 7px; color: white; font-family: var(--font-display),sans-serif; font-size: 16px; font-weight: 750; line-height: 1.35; }
.communication-pronunciation .repeat-drill small,.communication-pronunciation .repeat-drill small b,.communication-pronunciation .repeat-drill small span { display: block; }
.communication-pronunciation .repeat-drill small { color: rgba(255,255,255,.62); font-size: 9px; line-height: 1.45; }
.communication-pronunciation .repeat-drill small b { margin-bottom: 2px; color: var(--lime); font-weight: 850; }
.communication-pronunciation .repeat-drill .lesson-speech-button { min-width: 92px; margin: 0; }
.communication-reading article { position: relative; overflow: hidden; padding: 27px 30px 28px 76px; border: 1px solid #d8e3dd; border-radius: 16px; background: linear-gradient(135deg,#fffdf8,#f2f7f4); box-shadow: 0 12px 30px rgba(23,55,45,.055); }
.communication-reading article::before { content: "“"; position: absolute; left: 24px; top: 18px; color: #85a44d; font-family: Georgia,serif; font-size: 58px; line-height: 1; }
.communication-reading article small { color: var(--green); font-size: 8px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.communication-reading article p { margin: 11px 0 0; color: #2e453c; font-family: var(--font-display),sans-serif; font-size: 16px; line-height: 1.85; }
.communication-check { padding: 25px 27px 4px; border: 1px solid #dfe3da; border-radius: 17px; background: var(--cream); }
.communication-check .general-self-check { gap: 9px; margin: 17px 0 22px; }
.communication-check .general-self-check details { overflow: hidden; padding: 0; border: 1px solid #d6e0da; border-radius: 11px; background: white; }
.communication-check .general-self-check summary { padding: 13px 15px; list-style: none; }
.communication-check .general-self-check summary::-webkit-details-marker { display: none; }
.communication-check .general-self-check details[open] summary { border-bottom: 1px solid #e0e7e3; background: #f8faf8; }
.communication-check .general-self-check ul { padding: 0 15px; }
.communication-check .general-self-check p { margin: 0; padding: 0 15px 15px 50px; }
.communication-writing { padding-top: 30px; border-top: 1px solid #dbe4df; }
.communication-writing .writing-coach { padding: 18px; border: 1px solid #d5e0da; border-radius: 17px; background: #fbfcfa; box-shadow: 0 12px 32px rgba(23,55,45,.05); }
.communication-writing .writing-brief { background: radial-gradient(circle at 92% 7%,rgba(214,243,106,.15),transparent 28%),var(--green-deep); }
.outcome-box { margin-top: 18px; padding: 23px; border-radius: 13px; background: var(--cream); }
.outcome-box h2 { margin: 0 0 13px; font-size: 13px; }
.outcome-box ul { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 24px; padding: 0; margin: 0; list-style: none; }
.outcome-box li { color: #52605a; font-size: 11px; }
.outcome-box li span { color: var(--green); font-weight: 900; }
.vocabulary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vocabulary-card { padding: 15px 17px; border: 1px solid var(--line); border-radius: 11px; background: #fcfcf9; }
.vocabulary-card > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.vocabulary-card b { font-family: var(--font-display), sans-serif; font-size: 17px; }
.vocabulary-card span { color: var(--green); font-size: 9px; font-weight: 750; }
.vocabulary-card p { margin: 9px 0 0; color: #68756f; font-size: 11px; }
.vocabulary-card > .vocabulary-audio-actions { display: flex; justify-content: flex-start; gap: 7px; margin-top: 12px; }
.service-tip { display: grid; grid-template-columns: 110px 1fr; gap: 18px; margin-top: 18px; padding: 16px 18px; border-radius: 11px; background: #edf5f1; }
.service-tip > span { color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.service-tip p { margin: 0; color: #53625b; font-size: 10px; line-height: 1.55; }
.lesson-dialogue-audio { margin-bottom: 18px; cursor: pointer; }
.lesson-dialogue-audio:disabled { cursor: wait; opacity: .78; }
.lesson-speech-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; margin-top: 10px; padding: 6px 9px; border: 1px solid #b9cec4; border-radius: 999px; color: var(--green-deep); background: #f3f8f5; font: inherit; font-size: 8px; font-weight: 850; cursor: pointer; }
.lesson-speech-button:hover { border-color: var(--green); background: #e8f3ed; }
.lesson-speech-button:disabled { cursor: wait; opacity: .68; }
.lesson-speech-button > span { font-size: 8px; }
.dialogue-list { display: flex; flex-direction: column; gap: 8px; }
.dialogue-row { display: grid; grid-template-columns: 75px 1fr; align-items: start; gap: 13px; }
.dialogue-row > span { padding-top: 10px; color: #87928d; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.dialogue-row > div { width: fit-content; max-width: 80%; padding: 10px 13px; border-radius: 4px 11px 11px 11px; background: #f1f3f0; }
.dialogue-row b, .dialogue-row small { display: block; }
.dialogue-row b { font-size: 12px; }
.dialogue-row small { margin-top: 4px; color: #6e7b75; font-size: 9px; }
.guest-line { grid-template-columns: 1fr 75px; }
.guest-line > span { grid-column: 2; grid-row: 1; }
.guest-line > div { grid-column: 1; grid-row: 1; justify-self: end; color: white; background: var(--green); border-radius: 11px 4px 11px 11px; }
.guest-line small { color: rgba(255,255,255,.68); }
.dialogue-line-audio { margin-top: 7px; }
.guest-line .dialogue-line-audio { border-color: rgba(255,255,255,.32); color: white; background: rgba(255,255,255,.12); }
.guest-line .dialogue-line-audio:hover { background: rgba(255,255,255,.2); }
.dialogue-list + .reveal-button { margin-top: 15px; }
.pronunciation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pronunciation-grid > div { padding: 21px 18px; border: 1px solid var(--line); border-radius: 13px; background: #fcfcf9; }
.pronunciation-grid > div > span { color: var(--green); font-size: 8px; font-weight: 900; }
.pronunciation-grid h2 { margin: 10px 0 6px; font-family: var(--font-display), sans-serif; font-size: 17px; }
.pronunciation-grid b { color: var(--green); font-size: 11px; }
.pronunciation-grid p { margin: 14px 0 0; color: #66736d; font-size: 10px; line-height: 1.55; }
.pronunciation-grid .lesson-speech-button { margin-top: 14px; }
.repeat-drill { margin-top: 16px; padding: 17px 20px; border-radius: 12px; color: white; background: var(--green-deep); }
.repeat-drill > span { color: var(--lime); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.repeat-drill-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.09); }
.repeat-drill-line:last-child { border-bottom: 0; }
.repeat-drill p { margin: 7px 0; font-size: 11px; }
.repeat-drill .lesson-speech-button { flex: 0 0 auto; margin: 5px 0; border-color: rgba(255,255,255,.28); color: white; background: rgba(255,255,255,.09); }
.grammar-formula { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 21px; border-radius: 13px; background: var(--green-deep); }
.grammar-formula span { padding: 9px 13px; border-radius: 8px; color: var(--green-deep); background: var(--lime); font-family: var(--font-display), sans-serif; font-weight: 800; }
.grammar-formula b { color: white; }
.grammar-examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 13px; }
.grammar-examples > div { padding: 15px; border: 1px solid var(--line); border-radius: 10px; }
.grammar-examples span { color: var(--green); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.grammar-examples p { margin: 8px 0 0; font-size: 11px; line-height: 1.45; }
.grammar-examples .lesson-speech-button { margin-top: 12px; }
.language-note { margin-top: 13px; padding: 15px 17px; border-radius: 10px; background: var(--cream); }
.language-note h2 { margin: 0 0 7px; font-size: 11px; }
.language-note p, .error-note { margin: 0; color: #65716c; font-size: 10px; line-height: 1.55; }
.error-note { margin-top: 12px; color: #7e5b18; }
.lesson-quiz { display: flex; flex-direction: column; gap: 18px; }
.lesson-quiz fieldset { padding: 0 0 18px; margin: 0; border: 0; border-bottom: 1px solid var(--line); }
.lesson-quiz legend { width: 100%; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 11px; font-weight: 750; line-height: 1.45; }
.lesson-quiz legend span { width: 25px; height: 25px; flex: 0 0 25px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 9px; }
.lesson-answer-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.lesson-answer-list button { min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; color: #58655f; text-align: left; background: white; cursor: pointer; font-size: 9px; line-height: 1.35; }
.lesson-answer-list button > span { font-size: 14px; }
.lesson-answer-list .answer-correct, .lesson-answer-list .answer-correct-outline { border-color: #78ad92; color: var(--green-deep); background: #edf7f1; }
.lesson-answer-list .answer-wrong { border-color: #d49a91; color: #8e3f35; background: #fff3f0; }
.quiz-feedback { margin: 8px 0 0 35px; font-size: 9px; }
.correct-feedback { color: var(--green); }.wrong-feedback { color: #9b4c42; }
.quiz-score { margin-top: 16px; padding: 13px; border-radius: 9px; color: var(--green-deep); text-align: center; background: var(--green-soft); font-size: 10px; }
.challenge-card { padding: 26px; border-radius: 14px; color: white; background: var(--green-deep); }
.challenge-card > span { color: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.challenge-card p { max-width: 650px; margin: 11px 0 20px; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.6; }
.challenge-card ol { display: flex; gap: 8px; padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.challenge-card li { padding: 7px 10px; border-radius: 999px; color: rgba(255,255,255,.73); background: rgba(255,255,255,.1); font-size: 9px; }
.reveal-challenge { margin-top: 16px; }
.model-answer { margin-top: 16px; padding: 19px; border: 1px solid #b8d5c8; border-radius: 12px; background: #f2f8f5; }
.model-answer > span { color: var(--green); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.model-answer p { margin: 9px 0; font-family: var(--font-display), sans-serif; font-size: 16px; font-weight: 750; }
.model-answer small { display: block; margin-top: 11px; color: #69766f; font-size: 9px; line-height: 1.5; }
.model-answer-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.model-answer-line .lesson-speech-button { flex: 0 0 auto; margin: 0; }
.summary-section { text-align: center; }
.completion-mark { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 50%; color: var(--green-deep); background: var(--lime); font-size: 27px; font-weight: 900; }
.summary-section h1, .summary-section .lesson-lead { margin-inline: auto; }
.summary-phrases { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 23px auto; }
.summary-phrase { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; text-align: left; background: var(--cream); }
.summary-phrase > span { font-size: 11px; font-weight: 700; }
.summary-phrase .lesson-speech-button { margin: 0; }
.button-completed { color: var(--green-deep); background: var(--green-soft); border-color: #accbbb; }
.completion-note { margin: 9px 0 18px; color: #89938e; font-size: 8px; }
.next-lesson-card { max-width: 470px; display: grid; margin: auto; padding: 15px; border: 1px solid var(--line); border-radius: 11px; text-align: left; }
.next-lesson-card span { color: var(--green); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.next-lesson-card b { margin: 4px 0; font-size: 12px; }.next-lesson-card small { color: #8b9691; font-size: 8px; }
.next-exam-card { border-color: var(--green); color: white; background: var(--green-deep); box-shadow: 0 14px 30px rgba(3, 70, 54, .16); }
.next-exam-card span, .next-exam-card small { color: var(--lime); }
.next-exam-card b { font-size: 14px; }
.next-exam-step-button { width: 100%; font: inherit; cursor: pointer; }
.lesson-exam-step { text-align: center; }
.lesson-exam-step h1, .lesson-exam-step .lesson-lead { margin-inline: auto; }
.exam-step-icon { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 22px; color: var(--green-deep); background: var(--lime); font-size: 30px; font-weight: 900; box-shadow: 0 15px 35px rgba(199, 245, 82, .35); }
.exam-step-stats { max-width: 560px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 28px auto; }
.exam-step-stats div { padding: 20px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); }
.exam-step-stats b, .exam-step-stats span { display: block; }
.exam-step-stats b { color: var(--green); font-family: var(--font-display), sans-serif; font-size: 22px; }
.exam-step-stats span { margin-top: 4px; color: #718078; font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.exam-step-cta { margin-top: 10px; }
.deep-lesson-controls { margin: 30px -58px 0; padding: 20px 58px; }

/* Active-learning lesson system */
.learning-method-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-top: 18px; }
.learning-method-strip > div { min-width: 0; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 8px; padding: 11px 9px; border: 1px solid #dbe4df; border-radius: 10px; background: white; }
.learning-method-strip > div > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: var(--green-deep); background: var(--lime); font-size: 7px; font-weight: 950; }
.learning-method-strip p, .learning-method-strip b, .learning-method-strip small { display: block; min-width: 0; margin: 0; }
.learning-method-strip b { font-size: 8px; }.learning-method-strip small { margin-top: 2px; color: #86918b; font-size: 6px; }

.vocabulary-recall { overflow: hidden; border: 1px solid #cddbd4; border-radius: 16px; background: #fbfcf9; box-shadow: 0 14px 34px rgba(27,59,47,.06); }
.vocabulary-recall > header { display: grid; grid-template-columns: 1fr 190px; align-items: center; gap: 20px; padding: 16px 20px; border-bottom: 1px solid #dfe6e2; background: white; }
.vocabulary-recall > header span, .vocabulary-recall > header b { display: block; }.vocabulary-recall > header span { color: var(--green); font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }.vocabulary-recall > header b { margin-top: 4px; font-size: 10px; }
.mini-progress { height: 5px; overflow: hidden; border-radius: 999px; background: #e8eeea; }.mini-progress span { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--lime)); transition: width .25s; }
.recall-word { padding: 25px 20px 18px; text-align: center; }.recall-word .lesson-speech-button { margin: 0; }.recall-word h2 { margin: 12px 0 5px; font-family: var(--font-display), sans-serif; font-size: 29px; }.recall-word p { margin: 0; color: #7b8781; font-size: 9px; }
.recall-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 20px 20px; }.recall-options > button { min-height: 55px; display: flex; align-items: center; gap: 9px; padding: 11px 13px; border: 1px solid #d3dcd7; border-radius: 10px; color: #4f5e56; text-align: left; background: white; cursor: pointer; font: inherit; font-size: 9px; font-weight: 750; line-height: 1.35; transition: transform .15s, border-color .15s, background .15s; }.recall-options > button:not(:disabled):hover { transform: translateY(-2px); border-color: #8eb8a4; }.recall-options > button span { font-size: 14px; }.recall-options > button.correct { color: #0f6448; border-color: #79b597; background: #e9f7ef; }.recall-options > button.wrong { color: #93473e; border-color: #d69a91; background: #fff0ed; }.recall-options > button.muted { opacity: .55; }
.recall-feedback { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px; padding: 15px 20px; border-top: 1px solid #dbe4df; background: white; }.recall-feedback > b, .recall-feedback > p { grid-column: 1; }.recall-feedback > b { font-size: 10px; }.recall-feedback > p { margin: 4px 0 0; color: #67746e; font-size: 9px; }.recall-feedback > .lesson-speech-button { grid-column: 1; width: fit-content; margin: 8px 0 0; }.recall-feedback > button:last-child { grid-column: 2; grid-row: 1 / span 3; padding: 10px 13px; border: 0; border-radius: 8px; color: white; background: var(--green); cursor: pointer; font: inherit; font-size: 8px; font-weight: 850; }.recall-feedback.correct > b { color: var(--green); }.recall-feedback.wrong > b { color: #914a41; }
.active-result-card { min-height: 230px; display: grid; grid-template-columns: 65px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 27px; border: 1px solid #aed1c0; border-radius: 16px; background: linear-gradient(135deg, #f2fbf6, #fbfcf9); }.active-result-card > span { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; color: var(--green-deep); background: var(--lime); font-size: 25px; font-weight: 900; }.active-result-card small { color: var(--green); font-size: 7px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }.active-result-card h2 { margin: 6px 0; font-family: var(--font-display), sans-serif; font-size: 21px; }.active-result-card p { margin: 0; color: #68766f; font-size: 9px; line-height: 1.55; }.active-result-card button { padding: 11px 14px; border: 1px solid #a8c6b7; border-radius: 9px; color: var(--green); background: white; cursor: pointer; font: inherit; font-size: 8px; font-weight: 850; }

.listening-first { display: grid; gap: 15px; }.listening-stage-tabs { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid #d3ddd8; border-radius: 10px; background: #f0f3ef; }.listening-stage-tabs span { padding: 9px; color: #909a95; text-align: center; font-size: 7px; font-weight: 850; }.listening-stage-tabs span.active { color: var(--green-deep); background: var(--lime); }
.listen-only-panel { min-height: 290px; display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 25px; padding: 34px; border-radius: 16px; color: white; background: radial-gradient(circle at 85% 0, rgba(214,243,106,.14), transparent 35%), var(--green-deep); }.listen-icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; color: var(--green-deep); background: var(--lime); box-shadow: 0 0 0 12px rgba(214,243,106,.08); font-size: 20px; }.listen-only-panel small { color: var(--lime); font-size: 7px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }.listen-only-panel h2 { margin: 8px 0; font-family: var(--font-display), sans-serif; font-size: 25px; }.listen-only-panel p { max-width: 580px; margin: 0 0 14px; color: rgba(255,255,255,.65); font-size: 10px; line-height: 1.6; }.listen-only-panel .lesson-dialogue-audio { margin: 0 0 10px; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); }.listen-only-panel .lesson-dialogue-audio b { color: white; }.listen-only-panel > div > button:last-child { padding: 10px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; color: white; background: transparent; cursor: pointer; font: inherit; font-size: 8px; font-weight: 850; }
.listening-checklist { display: grid; grid-template-columns: auto repeat(3, 1fr); align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid #dce3de; border-radius: 10px; background: #fafbf8; }.listening-checklist > b { margin-right: 5px; font-size: 8px; }.listening-checklist label { display: flex; align-items: center; gap: 6px; color: #65736c; font-size: 7px; line-height: 1.35; }.listening-checklist input { width: 15px; height: 15px; flex: 0 0 15px; accent-color: var(--green); }

.sentence-builder { margin-top: 17px; overflow: hidden; border: 1px solid #bed2c8; border-radius: 14px; background: #f8fbf8; }.sentence-builder > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 16px; color: white; background: var(--green-deep); }.sentence-builder > header > div { display: flex; align-items: center; gap: 10px; }.sentence-builder > header > div > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--green-deep); background: var(--lime); font-size: 15px; font-weight: 900; }.sentence-builder header p, .sentence-builder header b, .sentence-builder header small { display: block; margin: 0; }.sentence-builder header b { font-size: 9px; }.sentence-builder header small { margin-top: 2px; color: rgba(255,255,255,.55); font-size: 7px; }.sentence-builder header .lesson-speech-button { margin: 0; color: white; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.09); }
.sentence-drop-zone { min-height: 65px; display: flex; align-items: center; margin: 16px; padding: 14px; border: 2px dashed #bdcbc3; border-radius: 10px; color: var(--green-deep); background: white; font-family: var(--font-display), sans-serif; font-size: 15px; font-weight: 750; line-height: 1.5; }.sentence-drop-zone > span { color: #9aa49f; font-family: inherit; font-size: 11px; font-weight: 500; }.sentence-drop-zone.correct { border-color: #67ae8b; background: #eaf8f0; }.sentence-drop-zone.wrong { color: #8f443d; border-color: #d4958d; background: #fff2ef; }
.sentence-token-bank { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 15px; }.sentence-token-bank button { padding: 8px 10px; border: 1px solid #a9c4b7; border-radius: 8px; color: var(--green-deep); background: white; cursor: pointer; font: inherit; font-size: 9px; font-weight: 800; box-shadow: 0 3px 0 #dce7e1; }.sentence-token-bank button:disabled { opacity: .25; box-shadow: none; }
.builder-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid #dde5e0; background: white; }.builder-actions button { padding: 8px 11px; border: 1px solid #bfcac4; border-radius: 8px; color: #627068; background: white; cursor: pointer; font: inherit; font-size: 8px; font-weight: 800; }.builder-actions button:last-child { color: white; border-color: var(--green); background: var(--green); }.builder-actions button:disabled { cursor: not-allowed; opacity: .4; }.builder-feedback { margin: 0; padding: 10px 16px; font-size: 8px; line-height: 1.5; }.builder-feedback.correct { color: #17674d; background: #e9f7ef; }.builder-feedback.wrong { color: #934b43; background: #fff1ee; }

.service-sprint { overflow: hidden; border: 1px solid #cfd8d3; border-radius: 18px; background: white; box-shadow: 0 18px 45px rgba(22,52,41,.08); }.service-sprint > header { min-height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; color: white; background: var(--green-deep); }.service-sprint > header > div { display: flex; align-items: center; gap: 10px; }.service-sprint > header > div:first-child > span { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; color: var(--green-deep); background: var(--lime); font-size: 18px; }.service-sprint header p, .service-sprint header b, .service-sprint header small { display: block; margin: 0; }.service-sprint header b { font-size: 11px; }.service-sprint header small { margin-top: 3px; color: rgba(255,255,255,.55); font-size: 7px; }.service-sprint > header > div:last-child { display: block; text-align: right; }.service-sprint > header > div:last-child b { color: var(--lime); font-family: var(--font-display), sans-serif; font-size: 20px; }.service-sprint > header > div:last-child small { text-transform: uppercase; }
.sprint-progress { height: 6px; background: #e9eeeb; }.sprint-progress span { height: 100%; display: block; background: linear-gradient(90deg, #71d4a7, var(--lime)); transition: width .25s; }.service-sprint > main { padding: 29px 24px; text-align: center; }.service-sprint > main > small { color: var(--green); font-size: 7px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }.service-sprint > main h2 { margin: 8px 0 23px; font-family: var(--font-display), sans-serif; font-size: 25px; }.sprint-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.sprint-grid button { min-height: 62px; display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 11px; padding: 12px; border: 0; border-radius: 12px; color: white; text-align: left; cursor: pointer; font: inherit; font-size: 10px; font-weight: 850; transition: transform .15s, opacity .15s; }.sprint-grid button:not(:disabled):hover { transform: translateY(-2px) scale(1.01); }.sprint-grid button > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.2); font-size: 9px; }.sprint-grid .color-1 { background: #147a61; }.sprint-grid .color-2 { background: #dc8a32; }.sprint-grid .color-3 { background: #5f69b8; }.sprint-grid .color-4 { background: #c75e68; }.sprint-grid button.correct { background: #16835f; }.sprint-grid button.wrong { background: #b74842; }.sprint-grid button.muted { opacity: .3; }
.service-sprint > footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; padding: 16px 20px; border-top: 1px solid #dfe6e2; }.service-sprint > footer.correct { background: #ebf8f1; }.service-sprint > footer.wrong { background: #fff2ef; }.service-sprint footer b { font-size: 10px; }.service-sprint footer p { margin: 4px 0 0; color: #69766f; font-size: 8px; }.service-sprint footer .lesson-speech-button { margin: 7px 0 0; }.service-sprint footer > button { padding: 10px 13px; border: 0; border-radius: 8px; color: white; background: var(--green); cursor: pointer; font: inherit; font-size: 8px; font-weight: 850; }
.sprint-finish { min-height: 370px; display: grid; place-content: center; justify-items: center; padding: 35px; border-radius: 18px; color: white; text-align: center; background: radial-gradient(circle at 50% 20%, rgba(214,243,106,.18), transparent 30%), var(--green-deep); }.sprint-finish > span { font-size: 42px; }.sprint-finish small { margin-top: 10px; color: var(--lime); font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }.sprint-finish h2 { margin: 7px 0; font-family: var(--font-display), sans-serif; font-size: 39px; }.sprint-finish p { max-width: 430px; margin: 0 0 20px; color: rgba(255,255,255,.63); font-size: 9px; line-height: 1.6; }.sprint-finish button { padding: 11px 17px; border: 0; border-radius: 9px; color: var(--green-deep); background: var(--lime); cursor: pointer; font: inherit; font-size: 9px; font-weight: 900; }

.writing-coach { display: grid; gap: 14px; }.writing-brief { padding: 22px; border-radius: 14px; color: white; background: var(--green-deep); }.writing-brief > span { color: var(--lime); font-size: 7px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }.writing-brief h2 { margin: 8px 0 17px; font-family: var(--font-display), sans-serif; font-size: 19px; line-height: 1.45; }.writing-brief > div { display: flex; flex-wrap: wrap; gap: 7px; }.writing-brief p { display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 9px; border-radius: 999px; color: rgba(255,255,255,.72); background: rgba(255,255,255,.09); font-size: 8px; }.writing-brief p b { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; color: var(--green-deep); background: var(--lime); font-size: 6px; }
.writing-area { display: grid; gap: 7px; }.writing-area > span { color: #3f4d46; font-size: 9px; font-weight: 850; }.writing-area textarea { width: 100%; padding: 15px; border: 1px solid #bdcbc4; border-radius: 11px; color: var(--ink); background: #fbfcfa; outline: 0; resize: vertical; font: inherit; font-size: 12px; line-height: 1.6; }.writing-area textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(13,104,79,.08); background: white; }.writing-area small { color: #919b96; text-align: right; font-size: 7px; }.writing-actions { display: flex; justify-content: flex-end; gap: 8px; }.writing-actions button, .model-toggle { padding: 9px 12px; border: 1px solid #b9c7c0; border-radius: 8px; color: #69766f; background: white; cursor: pointer; font: inherit; font-size: 8px; font-weight: 850; }.writing-actions button:last-child { color: white; border-color: var(--green); background: var(--green); }.writing-actions button:disabled, .model-toggle:disabled { cursor: not-allowed; opacity: .42; }
.writing-feedback { overflow: hidden; border: 1px solid #b7d2c4; border-radius: 12px; background: #f1f9f5; }.writing-feedback header { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 13px 15px; border-bottom: 1px solid #cee2d8; }.writing-feedback header > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--green-deep); background: var(--lime); font-weight: 900; }.writing-feedback header small { color: var(--green); font-size: 6px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }.writing-feedback h3 { margin: 3px 0 0; font-family: var(--font-display), sans-serif; font-size: 14px; }.writing-feedback header > b { color: var(--green); font-family: var(--font-display), sans-serif; font-size: 18px; }.writing-feedback > p { margin: 12px 15px; color: #66746d; font-size: 8px; }.writing-feedback ul { display: grid; gap: 6px; padding: 0 15px; margin: 0 0 12px; list-style: none; }.writing-feedback li { color: #8a938f; font-size: 8px; }.writing-feedback li::before { content: "○"; margin-right: 7px; }.writing-feedback li.done { color: #17684e; }.writing-feedback li.done::before { content: "✓"; font-weight: 900; }.writing-feedback > small { display: block; padding: 10px 15px; color: #547165; background: white; font-size: 7px; }.model-toggle { width: 100%; color: var(--green); border-color: #a7c6b7; }

@media (max-width: 1050px) {
  .deep-lesson-page { grid-template-columns: 260px minmax(0, 1fr); }
  .deep-lesson-workspace { padding-inline: 25px; }
  .lesson-content-card { padding-inline: 36px; }
  .deep-lesson-controls { margin-inline: -36px; padding-inline: 36px; }
}

@media (max-width: 800px) {
  .unit-details summary { grid-template-columns: 45px 1fr auto; }
  .lesson-outline { padding-left: 23px; }
  .deep-lesson-page { grid-template-columns: 1fr; }
  .deep-lesson-workspace { padding-inline: 20px; }
  .pronunciation-grid, .grammar-examples { grid-template-columns: 1fr; }
  .learning-method-strip { grid-template-columns: repeat(3, 1fr); }
  .listening-checklist { grid-template-columns: 1fr 1fr; }.listening-checklist > b { grid-column: 1 / -1; }
  .lesson-section { min-height: 0; }
}

@media (max-width: 520px) {
  .unit-details { display: block; }
  .unit-details summary { grid-template-columns: 38px 1fr 28px; gap: 11px; padding: 18px 14px; }
  .unit-details summary .unit-info p { display: none; }
  .lesson-outline { padding: 7px 14px 12px; }
  .lesson-outline li { grid-template-columns: 34px 1fr; gap: 8px; padding: 10px 0; }
  .lesson-outline li > a, .lesson-outline li > span:last-child { grid-column: 2; justify-self: start; }
  .deep-lesson-workspace { padding: 22px 10px 45px; }
  .deep-lesson-workspace .lesson-topline { padding-inline: 6px; }
  .lesson-topline > span { text-align: right; }
  .lesson-content-card { padding: 29px 18px 0; border-radius: 15px; }
  .lesson-section h1 { font-size: 27px; }
  .scenario-brief { grid-template-columns: 1fr; }.scenario-brief div { padding-bottom: 13px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.17); }
  .general-scenario-brief { padding: 20px; }
  .communication-steps > header { align-items: flex-start; flex-direction: column; gap: 4px; }
  .communication-steps ol { grid-template-columns: 1fr; }
  .communication-steps li:last-child:nth-child(odd) { grid-column: auto; }
  .communication-block-heading h2 { font-size: 19px; }
  .communication-pronunciation { padding: 21px 18px 8px; }
  .communication-pronunciation .repeat-drill-line { grid-template-columns: 36px minmax(0,1fr); gap: 11px; }
  .communication-pronunciation .repeat-drill-line .lesson-speech-button { grid-column: 2; min-width: 0; width: fit-content; }
  .communication-reading article { padding: 56px 20px 22px; }
  .communication-reading article::before { left: 19px; top: 12px; }
  .communication-reading article p { font-size: 14px; line-height: 1.75; }
  .communication-check { padding: 21px 17px 2px; }
  .communication-check .general-self-check p { padding-left: 15px; }
  .communication-writing .writing-coach { padding: 12px; }
  .outcome-box ul, .vocabulary-grid, .summary-phrases { grid-template-columns: 1fr; }
  .learning-method-strip { grid-template-columns: 1fr 1fr; }
  .vocabulary-recall > header { grid-template-columns: 1fr; gap: 10px; }.recall-options, .sprint-grid { grid-template-columns: 1fr; }.recall-feedback, .service-sprint > footer { grid-template-columns: 1fr; }.recall-feedback > button:last-child { grid-column: 1; grid-row: auto; }.active-result-card { grid-template-columns: 1fr; text-align: center; }.active-result-card > span { margin: auto; }
  .listen-only-panel { grid-template-columns: 1fr; padding: 27px 20px; }.listen-icon { width: 55px; height: 55px; }.listening-checklist { grid-template-columns: 1fr; }
  .sentence-builder > header { align-items: flex-start; flex-direction: column; }.sentence-drop-zone { font-size: 13px; }.builder-actions { justify-content: stretch; }.builder-actions button { flex: 1; }
  .service-sprint > main { padding-inline: 15px; }.service-sprint > footer > button { width: 100%; }.writing-brief h2 { font-size: 17px; }.writing-actions { justify-content: stretch; }.writing-actions button { flex: 1; }
  .service-tip { grid-template-columns: 1fr; gap: 7px; }
  .dialogue-row { grid-template-columns: 58px 1fr; }.guest-line { grid-template-columns: 1fr 58px; }.dialogue-row > div { max-width: 100%; }
  .grammar-formula { flex-wrap: wrap; gap: 8px; }.grammar-formula span { font-size: 12px; }
  .lesson-answer-list { grid-template-columns: 1fr; }
  .challenge-card ol { flex-wrap: wrap; }
  .exam-step-stats { grid-template-columns: 1fr; }
  .deep-lesson-controls { margin-inline: -18px; padding-inline: 18px; }
}

/* Weekly XP league */
.league-page { min-height: 100vh; background: #f4f5f0; }
.league-hero { position: relative; overflow: hidden; padding: 82px 0 76px; color: white; background: radial-gradient(circle at 78% 10%, rgba(214,243,106,.16), transparent 30%), var(--green-deep); }
.league-hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -170px; bottom: -260px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.league-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); align-items: center; gap: 80px; }
.league-demo-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.74); background: rgba(255,255,255,.06); font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.league-demo-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(239,184,77,.12); }
.league-hero-copy h1 { max-width: 720px; margin: 14px 0 20px; font-family: var(--font-display), sans-serif; font-size: clamp(48px, 5.3vw, 72px); line-height: .98; letter-spacing: -.055em; }
.league-hero-copy h1 em { color: var(--lime); font-style: normal; }
.league-hero-copy > p:not(.mini-label) { max-width: 650px; margin: 0; color: rgba(255,255,255,.69); font-size: 15px; line-height: 1.7; }
.league-hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.league-hero-actions > button { padding: 10px 0; border: 0; color: rgba(255,255,255,.76); background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.3); }
.league-hero-copy > small { display: block; max-width: 620px; margin-top: 18px; color: rgba(255,255,255,.43); font-size: 8px; line-height: 1.5; }
.league-prize-card { position: relative; padding: 33px; overflow: hidden; border: 1px solid rgba(214,243,106,.35); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.04)); box-shadow: 0 24px 60px rgba(0,0,0,.16); backdrop-filter: blur(8px); }
.league-prize-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -65px; top: -65px; border-radius: 50%; background: rgba(214,243,106,.1); }
.league-crown { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 16px; color: var(--green-deep); background: var(--lime); font-size: 27px; transform: rotate(-5deg); }
.league-prize-card small { color: var(--lime); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.league-prize-card h2 { margin: 8px 0 9px; font-family: var(--font-display), sans-serif; font-size: 36px; letter-spacing: -.03em; }
.league-prize-card p { margin: 0; color: rgba(255,255,255,.65); font-size: 11px; line-height: 1.65; }
.league-prize-value { display: block; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.52); font-size: 9px; }.league-prize-value b { color: white; }

.league-status-strip { min-height: 104px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: -1px; color: var(--ink); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px; background: white; box-shadow: 0 12px 36px rgba(25,48,39,.06); }
.league-status-strip > div:first-child { display: flex; align-items: center; gap: 14px; padding-left: 28px; }
.league-status-strip small, .league-status-strip b { display: block; }.league-status-strip small { color: #88938e; font-size: 7px; font-weight: 900; letter-spacing: .12em; }.league-status-strip b { margin-top: 5px; font-family: var(--font-display), sans-serif; font-size: 14px; }
.league-current-status { position: relative; }.league-current-status > span:last-child { position: relative; }.league-current-status em { position: absolute; left: 0; top: calc(100% + 5px); color: var(--green); font-size: 6px; font-style: normal; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.league-gem { width: 52px; height: 52px; position: relative; display: grid; place-items: center; flex: 0 0 52px; border: 2px solid rgba(255,255,255,.78); border-radius: 50%; color: white; background: var(--green); box-shadow: inset 0 2px 3px rgba(255,255,255,.55), inset 0 -7px 13px rgba(0,0,0,.14), 0 8px 18px rgba(17,55,43,.18); transform: rotate(-5deg); }
.league-gem::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; }
.league-gem .league-badge-svg { width: 27px; height: 27px; }
.league-countdown { display: flex; align-items: center; gap: 11px; padding: 0 44px; border-inline: 1px solid var(--line); }
.league-countdown span { min-width: 37px; text-align: center; }.league-countdown b { color: var(--green-deep); font-size: 22px; font-variant-numeric: tabular-nums; }.league-countdown i { color: #b2bbb6; font-style: normal; }.league-countdown small { margin-top: 3px; font-size: 6px; }
.league-reset { padding-right: 28px; text-align: right; }

.tier-bronce { --tier-a: #ffc081; --tier-b: #c45e2b; --tier-c: #71301a; --tier-glow: rgba(224,112,49,.42); }.tier-plata { --tier-a: #ffffff; --tier-b: #b6c7d5; --tier-c: #596d82; --tier-glow: rgba(126,151,176,.38); }.tier-oro { --tier-a: #fff3a8; --tier-b: #edae22; --tier-c: #9b5800; --tier-glow: rgba(242,174,31,.48); }.tier-esmeralda { --tier-a: #72ffd1; --tier-b: #11bd85; --tier-c: #045a42; --tier-glow: rgba(18,205,147,.45); }.tier-diamante { --tier-a: #dcfbff; --tier-b: #61bdf7; --tier-c: #6555e9; --tier-glow: rgba(91,142,244,.48); }.tier-unassigned { --tier-a: #9bd4c0; --tier-b: #3b856c; --tier-c: #174b3a; --tier-glow: rgba(36,93,75,.27); }
.league-gem[class*="tier-"] { background: radial-gradient(circle at 30% 22%, white 0 3%, transparent 18%), linear-gradient(145deg, var(--tier-a), var(--tier-b) 52%, var(--tier-c)); box-shadow: inset 0 2px 3px rgba(255,255,255,.65), inset 0 -8px 14px rgba(0,0,0,.14), 0 9px 24px var(--tier-glow); }
.league-badge-svg { width: 47px; height: 47px; position: relative; z-index: 4; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 3px 3px rgba(0,0,0,.2)); }.league-badge-svg .badge-icon-fill { fill: rgba(255,255,255,.16); stroke-width: 2.3; }
.league-tier-section { padding-top: 40px; }
.league-tier-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 24px; }.league-tier-heading span { color: var(--green); font-size: 7px; font-weight: 900; letter-spacing: .13em; }.league-tier-heading h2 { margin: 7px 0 0; font-family: var(--font-display), sans-serif; font-size: 26px; letter-spacing: -.025em; }.league-tier-heading p { max-width: 355px; margin: 0; color: #7a8781; font-size: 9px; line-height: 1.6; text-align: right; }
.league-tier-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.league-tier-card { min-height: 205px; position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; overflow: hidden; padding: 27px 12px 18px; border: 1px solid #e2e7e2; border-radius: 20px; background: linear-gradient(180deg, white, #f7f8f5); box-shadow: 0 10px 25px rgba(28,51,42,.055); transition: transform .25s, border-color .25s, box-shadow .25s; }
.league-tier-card::before { content: ""; position: absolute; width: 105px; height: 105px; top: -67px; border-radius: 50%; background: var(--tier-a); filter: blur(30px); opacity: .13; }.league-tier-card::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--tier-a), var(--tier-b)); opacity: .55; }
.league-tier-card:hover { border-color: color-mix(in srgb, var(--tier-b) 46%, white); box-shadow: 0 17px 40px var(--tier-glow); transform: translateY(-5px); }.league-tier-card:hover .league-tier-medal { transform: rotate(0deg) scale(1.04); }
.league-tier-card.is-passed { background: linear-gradient(180deg, #fbfcfa, #f1f4f0); opacity: .74; }
.league-tier-card.is-current { z-index: 2; border-color: var(--tier-a); background: radial-gradient(circle at 50% 15%, color-mix(in srgb, var(--tier-a) 20%, white), white 59%); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tier-a) 17%, transparent), 0 18px 40px var(--tier-glow); transform: translateY(-7px); }.league-tier-card.is-current::after { height: 5px; left: 12px; right: 12px; opacity: 1; }
.league-current-flag { position: absolute; z-index: 2; top: 9px; right: 9px; padding: 5px 7px; border-radius: 999px; color: white; background: #101a16; font-size: 6px; font-weight: 950; letter-spacing: .1em; box-shadow: 0 5px 12px rgba(0,0,0,.16); }
.league-tier-medal { width: 92px; height: 92px; position: relative; display: grid; place-items: center; margin-bottom: 15px; overflow: hidden; border: 3px solid rgba(255,255,255,.9); border-radius: 50%; color: white; background: conic-gradient(from 210deg, var(--tier-c), var(--tier-b), var(--tier-a), white, var(--tier-a), var(--tier-b), var(--tier-c)); box-shadow: inset 0 2px 4px rgba(255,255,255,.75), inset 0 -10px 20px rgba(0,0,0,.2), 0 13px 27px var(--tier-glow), 0 0 0 5px color-mix(in srgb, var(--tier-a) 16%, transparent); transform: rotate(-4deg); transition: transform .3s ease; }.league-tier-medal::before { content: ""; position: absolute; inset: 8px; z-index: 1; border: 1px solid rgba(255,255,255,.58); border-radius: 50%; background: radial-gradient(circle at 31% 23%, rgba(255,255,255,.95) 0 3%, rgba(255,255,255,.27) 14%, transparent 31%), linear-gradient(145deg, var(--tier-a), var(--tier-b) 55%, var(--tier-c)); box-shadow: inset 0 8px 15px rgba(255,255,255,.18), inset 0 -9px 17px rgba(0,0,0,.16); }.league-tier-medal::after { content: ""; position: absolute; inset: 14px; z-index: 2; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.league-medal-shine { width: 30px; height: 135%; position: absolute; z-index: 3; left: -46px; top: -18%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent); filter: blur(1px); opacity: .65; transform: rotate(22deg); }.league-tier-card.is-current .league-medal-shine { animation: league-medal-shine 3.4s ease-in-out infinite; }
.league-medal-spark { position: absolute; z-index: 5; color: white; font-style: normal; line-height: 1; text-shadow: 0 0 8px white, 0 0 14px var(--tier-a); }.sparkle-one { right: 10px; top: 12px; font-size: 13px; }.sparkle-two { left: 12px; bottom: 15px; font-size: 9px; opacity: .8; }.league-tier-card.is-current .sparkle-one { animation: league-sparkle 1.8s ease-in-out infinite; }.league-tier-card.is-current .league-tier-medal { animation: league-medal-float 3s ease-in-out infinite; }
.league-passed-check { width: 22px; height: 22px; position: absolute; z-index: 7; right: 1px; bottom: 4px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; color: white; background: var(--green); font-size: 9px; font-style: normal; font-weight: 900; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.league-tier-card strong { color: #26332e; font-family: var(--font-display), sans-serif; font-size: 13px; }.league-tier-card > small { margin-top: 4px; color: #8b9691; font-size: 7px; font-weight: 800; }.league-tier-card > em { margin-top: 10px; padding: 5px 8px; border-radius: 999px; color: var(--tier-b); background: color-mix(in srgb, var(--tier-a) 13%, white); font-size: 6px; font-style: normal; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

@keyframes league-medal-shine { 0%, 24% { left: -46px; opacity: 0; } 38% { opacity: .8; } 58%, 100% { left: 112px; opacity: 0; } }
@keyframes league-sparkle { 0%, 100% { opacity: .35; transform: scale(.72) rotate(0deg); } 50% { opacity: 1; transform: scale(1.18) rotate(45deg); } }
@keyframes league-medal-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-4px) rotate(0deg); } }

.league-content { padding-top: 58px; padding-bottom: 115px; }
.league-tabs { display: inline-flex; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.league-tabs button { min-height: 39px; padding: 0 19px; border: 0; border-radius: 8px; color: #74817b; background: transparent; cursor: pointer; font-size: 9px; font-weight: 850; }
.league-tabs button.active { color: white; background: var(--green); box-shadow: 0 7px 16px rgba(13,104,79,.16); }
.leaderboard-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; align-items: start; gap: 18px; margin-top: 20px; }
.leaderboard-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 16px 45px rgba(26,49,40,.06); }
.leaderboard-heading { display: flex; align-items: center; justify-content: space-between; padding: 23px 27px; border-bottom: 1px solid var(--line); }.leaderboard-heading > div > span, .leaderboard-league-title > div > span { color: var(--green); font-size: 7px; font-weight: 900; letter-spacing: .12em; }.leaderboard-heading h2 { margin: 4px 0 0; font-family: var(--font-display), sans-serif; font-size: 22px; }.leaderboard-heading > span { color: #87928d; font-size: 8px; font-weight: 750; }
.leaderboard-league-title { display: flex; align-items: center; gap: 17px; }
.league-heading-medal { width: 64px; height: 64px; position: relative; display: grid; place-items: center; flex: 0 0 64px; overflow: hidden; border: 3px solid rgba(255,255,255,.92); border-radius: 50%; color: white; background: conic-gradient(from 210deg, var(--tier-c), var(--tier-b), var(--tier-a), #fff4e8, var(--tier-a), var(--tier-b), var(--tier-c)); box-shadow: inset 0 2px 4px rgba(255,255,255,.78), inset 0 -9px 17px rgba(0,0,0,.2), 0 11px 24px var(--tier-glow), 0 0 0 4px color-mix(in srgb, var(--tier-a) 16%, transparent); transform: rotate(-4deg); }
.league-heading-medal::before { content: ""; position: absolute; inset: 6px; z-index: 1; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: radial-gradient(circle at 29% 21%, rgba(255,255,255,.96) 0 4%, rgba(255,255,255,.3) 15%, transparent 32%), linear-gradient(145deg, var(--tier-a), var(--tier-b) 55%, var(--tier-c)); box-shadow: inset 0 7px 12px rgba(255,255,255,.2), inset 0 -8px 14px rgba(0,0,0,.17); }
.league-heading-medal::after { content: ""; position: absolute; inset: 11px; z-index: 2; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.league-heading-medal .league-badge-svg { width: 36px; height: 36px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.28)); }
.leaderboard-heading > .leaderboard-league-title > .league-heading-medal,
.leaderboard-heading > .leaderboard-league-title > .league-heading-medal .league-badge-svg { color: #fff; stroke: #fff; }
.league-podium { min-height: 224px; display: flex; align-items: flex-end; justify-content: center; gap: 13px; padding: 31px 20px 0; background: linear-gradient(180deg, #f4faf7, #fbfcf9); }
.podium-place { width: 142px; min-height: 155px; position: relative; display: flex; align-items: center; flex-direction: column; padding: 22px 10px 16px; border: 1px solid var(--line); border-radius: 14px 14px 0 0; background: white; box-shadow: 0 10px 26px rgba(30,52,43,.06); }.podium-place.podium-1 { min-height: 190px; padding-top: 29px; border-color: #cddc9a; background: linear-gradient(180deg, #fbffe9, white); }.podium-place .league-avatar { margin-bottom: 10px; }.podium-place b { font-size: 10px; }.podium-place small { margin-top: 4px; color: var(--green); font-size: 8px; font-weight: 800; }.podium-place > i { position: absolute; bottom: 0; right: 11px; color: #dfe9e3; font-family: var(--font-display), sans-serif; font-size: 45px; font-style: normal; font-weight: 900; line-height: .75; }.podium-1 > i { color: #e6efbd; }
.podium-medal { position: absolute; top: -14px; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: white; background: #85948c; font-size: 9px; font-weight: 900; box-shadow: 0 5px 12px rgba(30,50,42,.15); }.podium-1 .podium-medal { color: var(--green-deep); background: var(--lime); font-size: 15px; }.podium-3 .podium-medal { background: #b9824d; }
.league-table-heading { display: grid; grid-template-columns: 50px 70px 50px 1fr 100px; align-items: center; padding: 12px 22px; color: #929d97; background: #f4f5f1; font-size: 6px; font-weight: 900; letter-spacing: .1em; }.league-table-heading span:nth-child(3) { grid-column: 3 / span 2; }
.league-row { min-height: 66px; display: grid; grid-template-columns: 50px 70px 50px 1fr 100px; align-items: center; padding: 0 22px; border-top: 1px solid #edf0ed; }.league-row.promotion { background: linear-gradient(90deg, rgba(214,243,106,.13), transparent 30%); }.league-row.relegation { background: linear-gradient(90deg, rgba(183,86,72,.06), transparent 30%); }
.league-rank { color: #58665f; font-family: var(--font-display), sans-serif; font-size: 14px; }.league-row.promotion .league-rank { color: var(--green); }
.league-movement { width: 54px; font-size: 8px; font-weight: 900; }.league-movement.up, .league-movement.active { color: var(--green); }.league-movement.down { color: #b05c51; }.league-movement.same, .league-movement.waiting { color: #9aa49f; }
.league-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--green-deep); background: #d9eae2; font-size: 8px; font-weight: 900; }.avatar-1 { background: #f5dfb7; color: #81571a; }.avatar-2 { background: #dce8ee; color: #3f6475; }.avatar-3 { background: #e8d8ee; color: #745584; }.avatar-4 { background: #dff0c6; color: #527326; }.avatar-5 { background: #f2dad6; color: #8d5047; }
.league-person b, .league-person small, .league-xp b, .league-xp small { display: block; }.league-person b { font-size: 10px; }.league-person small { margin-top: 3px; color: #8a9590; font-size: 7px; }.league-xp { text-align: right; }.league-xp b { color: var(--green-deep); font-family: var(--font-display), sans-serif; font-size: 14px; font-variant-numeric: tabular-nums; }.league-xp small { color: #9aa39f; font-size: 6px; font-weight: 900; }
.league-zone-divider { margin: 0; padding: 7px 22px 7px 142px; font-size: 7px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }.league-zone-divider.safe { color: #718078; background: #f8f9f6; }.league-zone-divider.risk { color: #9e5a50; background: #fff5f2; }
.league-you-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 13px; margin: 16px; padding: 15px; border: 1px dashed #a9bdb3; border-radius: 11px; background: #f3f8f5; }.league-you-row > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-family: var(--font-display), sans-serif; font-size: 17px; font-weight: 900; }.league-you-row b, .league-you-row small { display: block; }.league-you-row b { font-size: 10px; }.league-you-row small { margin-top: 4px; color: #728078; font-size: 8px; }.league-you-row a { color: var(--green); font-size: 9px; font-weight: 900; }
.league-row.you { outline: 2px solid rgba(13,104,79,.22); outline-offset: -2px; background: #f0f8f4; }
.league-state-card { min-height: 360px; display: flex; align-items: center; justify-content: center; flex-direction: column; margin-top: 20px; padding: 45px 24px; border: 1px solid var(--line); border-radius: 18px; text-align: center; background: white; box-shadow: 0 16px 45px rgba(26,49,40,.05); }.league-state-card h2 { margin: 17px 0 8px; font-family: var(--font-display), sans-serif; font-size: 28px; }.league-state-card p { max-width: 520px; margin: 0; color: #718078; font-size: 11px; line-height: 1.65; }.league-state-card .button { margin-top: 22px; }.league-state-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; color: var(--green-deep); background: var(--lime); font-size: 22px; font-weight: 900; transform: rotate(-4deg); }.league-state-icon.error { color: #8a342d; background: #ffe0dc; }
.league-sidebar { display: flex; flex-direction: column; gap: 13px; }.league-side-card { padding: 23px; border: 1px solid var(--line); border-radius: 15px; background: white; }.league-side-card > small { color: var(--green); font-size: 7px; font-weight: 900; letter-spacing: .11em; }.league-side-card h3 { margin: 7px 0 9px; font-family: var(--font-display), sans-serif; font-size: 18px; }.league-side-card p { margin: 0; color: #718078; font-size: 9px; line-height: 1.6; }.league-side-card ul { padding: 0; margin: 15px 0 0; list-style: none; }.league-side-card li { display: flex; align-items: center; gap: 8px; padding: 7px 0; color: #627069; border-top: 1px solid #edf0ed; font-size: 8px; }.league-side-card li i { width: 7px; height: 7px; border-radius: 50%; }.dot-up { background: var(--green); }.dot-stay { background: #a9b2ad; }.dot-down { background: #b96155; }
.league-side-prize { color: white; background: var(--green-deep); border-color: var(--green-deep); }.league-side-prize > span { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 11px; color: var(--green-deep); background: var(--lime); font-size: 18px; }.league-side-prize > small { color: var(--lime); }.league-side-prize p { color: rgba(255,255,255,.58); }
.league-side-prize.league-prize-locked { color: var(--ink); border-color: var(--line); background: white; }.league-side-prize.league-prize-locked > span { color: var(--green); background: var(--green-soft); }.league-side-prize.league-prize-locked > small { color: #8b9690; }.league-side-prize.league-prize-locked p { color: #718078; }
.league-progress-bar { height: 7px; overflow: hidden; margin: 12px 0; border-radius: 999px; background: #e8ede9; }.league-progress-bar span { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--lime)); }
.league-last-result.winner { border-color: #cbdc8d; background: #fbffe9; }.league-last-result.winner > small, .league-last-result.winner h3 { color: var(--green-deep); }
.podium-count-1 .podium-place { min-height: 180px; }.podium-count-2 .podium-place { min-height: 165px; }

.league-info-panel { margin-top: 20px; padding: 48px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 16px 45px rgba(26,49,40,.05); }
.league-section-heading { max-width: 690px; }.league-section-heading h2 { margin: 11px 0 10px; font-family: var(--font-display), sans-serif; font-size: clamp(34px, 4vw, 48px); line-height: 1; letter-spacing: -.04em; }.league-section-heading > p { margin: 0; color: #6e7b75; font-size: 11px; line-height: 1.65; }
.xp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 36px; }.xp-grid article { min-height: 126px; display: grid; grid-template-columns: 58px 1fr; align-items: start; gap: 16px; padding: 21px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcf9; }.xp-grid article > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px; color: var(--green-deep); background: var(--lime); font-family: var(--font-display), sans-serif; font-size: 17px; font-weight: 900; }.xp-grid small { color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .05em; }.xp-grid h3 { margin: 5px 0 6px; font-family: var(--font-display), sans-serif; font-size: 16px; }.xp-grid p { margin: 0; color: #75817b; font-size: 9px; line-height: 1.5; }
.xp-example { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 25px; padding: 24px 27px; border-radius: 13px; color: white; background: var(--green-deep); }.xp-example span { color: var(--lime); font-size: 7px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }.xp-example h3 { margin: 6px 0 0; font-family: var(--font-display), sans-serif; font-size: 17px; }.xp-example h3 b { color: var(--lime); }
.rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-top: 36px; }.rules-grid article { min-height: 185px; padding: 22px; border: 1px solid var(--line); border-radius: 13px; }.rules-grid article > span { color: var(--green); font-family: var(--font-display), sans-serif; font-size: 11px; font-weight: 900; }.rules-grid h3 { margin: 18px 0 8px; font-family: var(--font-display), sans-serif; font-size: 17px; }.rules-grid p { margin: 0; color: #718078; font-size: 9px; line-height: 1.65; }
.fair-play-note { display: grid; grid-template-columns: 38px 1fr; gap: 14px; margin-top: 18px; padding: 19px; border-radius: 12px; color: var(--green-deep); background: #edf6f1; }.fair-play-note > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-weight: 900; }.fair-play-note b { font-size: 10px; }.fair-play-note p { margin: 5px 0 0; color: #627069; font-size: 9px; line-height: 1.55; }

@media (max-width: 1000px) {
  .league-hero-grid { grid-template-columns: 1fr .7fr; gap: 38px; }
  .league-status-strip { grid-template-columns: 1fr auto; }.league-reset { display: none; }.league-countdown { border-right: 0; }
  .leaderboard-layout { grid-template-columns: minmax(0, 1fr) 240px; }
  .league-tier-track { grid-template-columns: repeat(5, 150px); overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; }.league-tier-card { scroll-snap-align: center; }
  .league-info-panel { padding: 36px; }.rules-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .league-hero { padding: 62px 0; }.league-hero-grid { grid-template-columns: 1fr; }.league-prize-card { max-width: 520px; }.league-hero-copy h1 { font-size: 50px; }
  .league-status-strip { width: 100%; grid-template-columns: 1fr; border-radius: 0; }.league-status-strip > div:first-child { justify-content: center; padding: 20px; }.league-countdown { justify-content: center; padding: 18px; border: 0; border-top: 1px solid var(--line); }
  .league-tier-section { width: 100%; padding: 34px 16px 0; }.league-tier-heading { align-items: flex-start; flex-direction: column; gap: 10px; }.league-tier-heading p { max-width: 100%; text-align: left; }.league-tier-track { margin-inline: -16px; padding-inline: 16px; }
  .leaderboard-layout { grid-template-columns: 1fr; }.league-sidebar { display: grid; grid-template-columns: 1fr 1fr; }.league-sidebar .league-side-card:last-child { grid-column: 1 / -1; }
  .league-info-panel { padding: 28px 22px; }.xp-grid { grid-template-columns: 1fr; }.xp-example { align-items: flex-start; flex-direction: column; }.rules-grid { grid-template-columns: 1fr; }.rules-grid article { min-height: 0; }
}

@media (max-width: 540px) {
  .league-hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }.league-hero-actions .button { width: 100%; }.league-prize-card { padding: 26px; }
  .league-content { width: 100%; padding-top: 34px; }.league-tabs { width: calc(100% - 24px); display: grid; grid-template-columns: repeat(3, 1fr); margin-inline: 12px; }.league-tabs button { padding: 0 7px; }
  .leaderboard-layout { margin-top: 12px; }.leaderboard-card { border-radius: 0; border-inline: 0; }.leaderboard-heading { padding: 18px 16px; }.leaderboard-heading > span { display: none; }
  .league-podium { min-height: 195px; gap: 5px; padding-inline: 8px; }.podium-place { width: 31%; min-height: 133px; padding-inline: 5px; }.podium-place.podium-1 { min-height: 162px; }.podium-place > i { font-size: 34px; }
  .league-table-heading { grid-template-columns: 34px 40px 1fr 70px; padding-inline: 12px; }.league-table-heading span:nth-child(2) { display: none; }.league-table-heading span:nth-child(3) { grid-column: 2 / span 2; }
  .league-row { grid-template-columns: 34px 40px 1fr 70px; padding-inline: 12px; }.league-row .league-movement { display: none; }.league-avatar { width: 33px; height: 33px; }.league-zone-divider { padding-left: 86px; }
  .league-you-row { grid-template-columns: 35px 1fr; margin: 12px; }.league-you-row a { grid-column: 2; }.league-sidebar { grid-template-columns: 1fr; padding: 0 12px; }.league-sidebar .league-side-card:last-child { grid-column: auto; }
  .league-info-panel { border-inline: 0; border-radius: 0; }.xp-grid article { grid-template-columns: 48px 1fr; padding: 17px; }.xp-grid article > span { width: 44px; height: 44px; }.xp-example .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .league-tier-card.is-current .league-medal-shine, .league-tier-card.is-current .sparkle-one, .league-tier-card.is-current .league-tier-medal { animation: none; }
}

/* Global support assistant */
.support-chat { position: fixed; z-index: 90; right: 24px; bottom: 22px; display: flex; align-items: flex-end; flex-direction: column; gap: 12px; }
.support-chat-trigger { min-width: 214px; height: 58px; display: flex; align-items: center; gap: 11px; padding: 7px 17px 7px 8px; border: 0; border-radius: 16px; color: white; text-align: left; background: var(--green); box-shadow: 0 15px 38px rgba(8,75,58,.28); cursor: pointer; transition: transform .2s, box-shadow .2s; }.support-chat-trigger:hover { transform: translateY(-2px); box-shadow: 0 19px 42px rgba(8,75,58,.34); }
.support-trigger-mark { width: 43px; height: 43px; position: relative; display: grid; place-items: center; flex: 0 0 43px; border-radius: 12px; color: var(--green-deep); background: var(--lime); font-family: var(--font-display), sans-serif; font-size: 12px; font-weight: 900; }.support-trigger-mark i { width: 9px; height: 9px; position: absolute; right: -2px; bottom: -2px; border: 2px solid var(--green); border-radius: 50%; background: #56c87f; }
.support-chat-trigger b, .support-chat-trigger small { display: block; }.support-chat-trigger b { font-size: 10px; }.support-chat-trigger small { margin-top: 3px; color: rgba(255,255,255,.65); font-size: 8px; }.support-chat-open .support-chat-trigger { min-width: 50px; width: 50px; padding: 0; justify-content: center; border-radius: 50%; }.support-trigger-close { font-size: 25px; font-weight: 300; }
.support-chat-panel { width: 380px; height: min(610px, calc(100vh - 105px)); display: flex; overflow: hidden; flex-direction: column; border: 1px solid rgba(13,104,79,.16); border-radius: 20px; background: white; box-shadow: 0 26px 75px rgba(16,43,33,.24); animation: support-panel-in .2s ease-out; }
@keyframes support-panel-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.support-chat-header { min-height: 76px; display: grid; grid-template-columns: 43px 1fr 32px; align-items: center; gap: 11px; padding: 14px 15px; color: white; background: var(--green-deep); }.support-chat-header > div:nth-child(2) b, .support-chat-header > div:nth-child(2) small { display: block; }.support-chat-header > div:nth-child(2) b { font-size: 11px; }.support-chat-header > div:nth-child(2) small { margin-top: 5px; color: rgba(255,255,255,.61); font-size: 7px; }.support-chat-header > div:nth-child(2) i { width: 6px; height: 6px; display: inline-block; margin-right: 4px; border-radius: 50%; background: #64d18b; }.support-chat-header > button { width: 31px; height: 31px; border: 0; border-radius: 50%; color: white; background: rgba(255,255,255,.1); cursor: pointer; font-size: 21px; }
.support-bot-avatar { width: 42px; height: 42px; position: relative; display: grid; place-items: center; border-radius: 12px; color: var(--green-deep); background: var(--lime); font-family: var(--font-display), sans-serif; font-size: 12px; font-weight: 900; }.support-bot-avatar span { width: 8px; height: 8px; position: absolute; right: -2px; bottom: -2px; border: 2px solid var(--green-deep); border-radius: 50%; background: #62d28c; }
.support-chat-notice { padding: 9px 15px; color: #78847e; text-align: center; border-bottom: 1px solid var(--line); background: #f6f7f3; font-size: 7px; line-height: 1.4; }
.support-chat-messages { flex: 1; overflow-y: auto; padding: 18px 15px; background: #fbfcf9; }.support-message { display: grid; grid-template-columns: 27px minmax(0, 1fr); align-items: end; gap: 8px; margin-bottom: 12px; }.support-message > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: var(--green-deep); background: var(--lime); font-size: 7px; font-weight: 900; }.support-message p { width: fit-content; max-width: 285px; margin: 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 4px 13px 13px 13px; color: #4d5d55; background: white; font-size: 9px; line-height: 1.55; }.support-message.user { grid-template-columns: minmax(0, 1fr) 27px; }.support-message.user > span { grid-column: 2; color: white; background: var(--green); }.support-message.user p { grid-column: 1; grid-row: 1; justify-self: end; color: white; border-color: var(--green); border-radius: 13px 4px 13px 13px; background: var(--green); }
.support-quick-questions { display: flex; align-items: flex-end; flex-direction: column; gap: 6px; margin: 2px 0 16px; }.support-quick-questions button { padding: 8px 10px; border: 1px solid #b9d1c5; border-radius: 999px; color: var(--green); background: white; cursor: pointer; font-size: 8px; font-weight: 750; }.support-quick-questions button:hover { color: white; background: var(--green); }
.support-typing { min-width: 54px; display: flex; align-items: center; gap: 4px; }.support-typing i { width: 5px; height: 5px; border-radius: 50%; background: #94a099; animation: support-dot 1s infinite ease-in-out; }.support-typing i:nth-child(2) { animation-delay: .15s; }.support-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes support-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-3px); opacity: 1; } }
.support-chat-form { padding: 12px 14px 10px; border-top: 1px solid var(--line); background: white; }.support-chat-form > label { display: block; margin-bottom: 6px; color: #8a9590; font-size: 7px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }.support-chat-form > div { height: 44px; display: grid; grid-template-columns: 1fr 35px; align-items: center; gap: 6px; padding: 4px 4px 4px 12px; border: 1px solid var(--line); border-radius: 11px; background: #f9faf7; }.support-chat-form input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 9px; }.support-chat-form button { width: 35px; height: 35px; border: 0; border-radius: 9px; color: white; background: var(--green); cursor: pointer; font-size: 17px; }.support-chat-form button:disabled { cursor: not-allowed; opacity: .35; }
.support-chat-panel > footer { padding: 0 14px 11px; text-align: center; background: white; }.support-chat-panel > footer a { color: var(--green); font-size: 8px; font-weight: 850; }

/* Iris: visual identity and expressive assistant */
.iris-avatar { position: relative; display: block; overflow: hidden; flex: 0 0 auto; border: 2px solid rgba(230,250,163,.92); background-color: #edf7d3 !important; background-repeat: no-repeat !important; background-position: center !important; background-size: cover !important; box-shadow: 0 8px 20px rgba(4,49,37,.22),inset 0 1px 0 rgba(255,255,255,.8); }
.iris-avatar-welcome { background-image: url("/images/iris/iris-face-welcome-v2.webp") !important; }
.iris-avatar-listening { background-image: url("/images/iris/iris-face-listening-v2.webp") !important; }
.iris-avatar-speaking { background-image: url("/images/iris/iris-face-speaking-v2.webp") !important; }
.iris-avatar .iris-online-dot { width: 9px; height: 9px; position: absolute; z-index: 3; right: 1px; bottom: 1px; border: 2px solid var(--green-deep); border-radius: 50%; background: #67d58f; box-shadow: 0 0 0 2px rgba(103,213,143,.16); }
.support-chat-trigger { min-width: 244px; height: 66px; gap: 12px; padding: 7px 19px 7px 7px; border: 1px solid rgba(214,243,106,.19); border-radius: 19px; background: linear-gradient(145deg,#0d684f,#07503d); }
.support-trigger-mark { width: 52px; height: 52px; flex-basis: 52px; border-radius: 16px; }
.support-trigger-mark .iris-online-dot { border-color: var(--green); }
.support-chat-trigger b { font-size: 11px; letter-spacing: .01em; }.support-chat-trigger small { margin-top: 4px; font-size: 8px; }
.support-chat-panel { width: 410px; height: min(650px,calc(100vh - 105px)); border-radius: 23px; }
.support-chat-header { min-height: 86px; grid-template-columns: 54px 1fr 32px; gap: 13px; padding: 15px 17px; background: radial-gradient(circle at 16% 0,rgba(214,243,106,.13),transparent 30%),linear-gradient(145deg,#0a5a44,#073e31); }
.support-bot-avatar { width: 52px; height: 52px; border-radius: 15px; }
.support-chat-header > div:nth-child(2) b { font-size: 12px; }.support-chat-header > div:nth-child(2) small { font-size: 8px; }
.support-chat-notice { padding: 10px 17px; font-size: 8px; }
.support-chat-messages { padding: 19px 16px; }
.support-message { grid-template-columns: 35px minmax(0,1fr); align-items: end; gap: 9px; margin-bottom: 14px; }
.iris-message-avatar { width: 35px; height: 35px; border-color: #c6d8cf; border-radius: 11px; box-shadow: 0 5px 13px rgba(11,80,59,.13); }
.iris-message-avatar .iris-online-dot { display: none; }
.support-message p { max-width: 306px; padding: 12px 14px; border-radius: 5px 15px 15px 15px; font-size: 10px; line-height: 1.58; }
.support-message.user { grid-template-columns: minmax(0,1fr) 29px; }.support-message.user > span { width: 29px; height: 29px; }
.support-quick-questions button { padding: 9px 11px; font-size: 8px; }
.support-chat-form input { font-size: 10px; }

/* Support center */
.support-page { min-height: 100vh; background: #f5f6f1; }
.support-hero { padding: 84px 0 72px; color: white; text-align: center; background: radial-gradient(circle at 12% 20%, rgba(214,243,106,.12), transparent 27%), radial-gradient(circle at 88% 80%, rgba(255,255,255,.08), transparent 24%), var(--green-deep); }.support-hero h1 { margin: 14px auto 12px; font-family: var(--font-display), sans-serif; font-size: clamp(44px, 5.5vw, 70px); line-height: 1; letter-spacing: -.05em; }.support-hero > div > p { max-width: 660px; margin: 0 auto; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.65; }
.support-search { max-width: 760px; height: 66px; display: grid; grid-template-columns: 39px 1fr auto; align-items: center; gap: 9px; margin: 33px auto 0; padding: 0 13px 0 16px; border-radius: 14px; text-align: left; background: white; box-shadow: 0 18px 45px rgba(0,0,0,.18); }.support-search > span { color: var(--green); font-size: 27px; }.support-search input { min-width: 0; border: 0; outline: 0; color: var(--green-deep); background: transparent; font-size: 12px; }.support-search small { padding: 7px 9px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 7px; font-weight: 850; }
.support-hero-links { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 22px; }.support-hero-links button { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; color: white; background: transparent; cursor: pointer; font-size: 9px; font-weight: 800; }.support-hero-links button span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; color: var(--green-deep); background: var(--lime); font-size: 7px; }.support-hero-links a { color: rgba(255,255,255,.64); border-bottom: 1px solid rgba(255,255,255,.25); font-size: 9px; font-weight: 750; }
.support-hero-links .support-iris-mini { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.72); background-color: #e8f5c2; background-image: url("/images/iris/iris-face-welcome-v2.webp"); background-repeat: no-repeat; background-position: center; background-size: cover; box-shadow: 0 4px 11px rgba(0,0,0,.18); }
.support-main { padding-top: 52px; padding-bottom: 115px; }
.support-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.support-category-grid > button { min-height: 125px; display: grid; grid-template-columns: 45px 1fr 20px; align-items: start; gap: 13px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-align: left; background: white; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }.support-category-grid > button:hover, .support-category-grid > button.active { transform: translateY(-2px); border-color: #9bc2b0; box-shadow: 0 12px 28px rgba(26,49,40,.08); }.support-category-grid > button.active { background: #f1f8f4; }.support-category-grid > button > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 11px; color: var(--green); background: var(--green-soft); font-family: var(--font-display), sans-serif; font-size: 11px; font-weight: 900; }.support-category-grid b, .support-category-grid small { display: block; }.support-category-grid b { margin: 2px 0 6px; font-family: var(--font-display), sans-serif; font-size: 13px; }.support-category-grid small { color: #77837d; font-size: 8px; line-height: 1.5; }.support-category-grid > button > i { padding-top: 8px; color: #99a49e; font-style: normal; }
.support-answers { margin-top: 70px; }.support-answers-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 25px; }.support-answers-heading span { color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .12em; }.support-answers-heading h2 { margin: 8px 0 0; font-family: var(--font-display), sans-serif; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.04em; }.support-answers-heading > button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--green); background: white; cursor: pointer; font-size: 8px; font-weight: 800; }
.support-faq-list { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 10px; }.support-faq-list details { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; }.support-faq-list summary { min-height: 81px; display: grid; grid-template-columns: 1fr 36px; align-items: center; gap: 12px; padding: 17px 19px; list-style: none; cursor: pointer; }.support-faq-list summary::-webkit-details-marker { display: none; }.support-faq-list summary span { grid-column: 1; color: var(--green); font-size: 7px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }.support-faq-list summary b { grid-column: 1; font-family: var(--font-display), sans-serif; font-size: 12px; }.support-faq-list summary i { width: 32px; height: 32px; grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--green-soft); font-size: 17px; font-style: normal; transition: transform .2s; }.support-faq-list details[open] summary i { transform: rotate(45deg); }.support-faq-list details > p { margin: 0; padding: 0 19px 20px; color: #65726b; font-size: 10px; line-height: 1.7; }
.support-empty { padding: 60px 20px; border: 1px dashed #bdcac3; border-radius: 14px; text-align: center; background: white; }.support-empty > span { width: 50px; height: 50px; display: grid; place-items: center; margin: auto; border-radius: 50%; color: var(--green); background: var(--green-soft); font-family: var(--font-display), sans-serif; font-size: 22px; font-weight: 900; }.support-empty h3 { margin: 15px 0 6px; font-family: var(--font-display), sans-serif; }.support-empty p { color: #77837d; font-size: 10px; }.support-empty .button { margin-top: 13px; }
.support-contact-banner { display: grid; grid-template-columns: 68px 1fr auto; align-items: center; gap: 24px; margin-top: 65px; padding: 35px; border-radius: 18px; color: white; background: var(--green); box-shadow: 0 20px 45px rgba(13,104,79,.14); }.support-contact-icon { width: 65px; height: 65px; display: grid; place-items: center; border-radius: 17px; color: var(--green-deep); background: var(--lime); font-family: var(--font-display), sans-serif; font-size: 17px; font-weight: 900; transform: rotate(-3deg); }.support-contact-banner span { color: var(--lime); font-size: 7px; font-weight: 900; letter-spacing: .12em; }.support-contact-banner h2 { margin: 7px 0 6px; font-family: var(--font-display), sans-serif; font-size: 24px; }.support-contact-banner p { max-width: 590px; margin: 0; color: rgba(255,255,255,.63); font-size: 9px; line-height: 1.6; }.support-contact-banner > div:last-child { display: flex; gap: 8px; }.support-outline-button { color: white; border-color: rgba(255,255,255,.35); background: transparent; }
.support-contact-icon { position: relative; overflow: hidden; border: 2px solid rgba(230,250,163,.88); background-color: #edf7d3; box-shadow: 0 12px 25px rgba(0,0,0,.17); }
.support-contact-iris { background-image: url("/images/iris/iris-face-speaking-v2.webp"); background-repeat: no-repeat; background-position: center; background-size: cover; }

@media (max-width: 900px) {
  .support-category-grid { grid-template-columns: 1fr 1fr; }
  .support-contact-banner { grid-template-columns: 60px 1fr; }.support-contact-banner > div:last-child { grid-column: 2; }
}

@media (max-width: 650px) {
  .support-chat { right: 12px; bottom: 12px; }.support-chat-panel { width: calc(100vw - 24px); height: min(640px, calc(100vh - 80px)); }.support-chat-trigger { min-width: 56px; width: 56px; padding: 0; justify-content: center; border-radius: 50%; }.support-chat-trigger > span:last-child { display: none; }
  .support-hero { padding: 66px 0 58px; }.support-hero h1 { font-size: 43px; }.support-search { height: 59px; grid-template-columns: 30px 1fr; padding-inline: 12px; }.support-search small { display: none; }.support-hero-links { align-items: flex-start; flex-direction: column; width: fit-content; margin-inline: auto; gap: 14px; }
  .support-main { padding-top: 32px; }.support-category-grid { grid-template-columns: 1fr; }.support-category-grid > button { min-height: 105px; }.support-answers { margin-top: 52px; }.support-answers-heading { align-items: flex-start; flex-direction: column; gap: 12px; }.support-faq-list { grid-template-columns: 1fr; }
  .support-contact-banner { grid-template-columns: 1fr; padding: 27px 22px; }.support-contact-banner > div:last-child { grid-column: 1; flex-direction: column; }.support-contact-banner .button { width: 100%; }.support-contact-icon { width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  .support-chat-panel, .support-typing i { animation: none; }
}

@media (max-width: 1050px) {
  .home-review-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .home-reviews-heading, .reviews-list-heading { align-items: flex-start; flex-direction: column; }
  .reviews-hero-inner, .reviews-overview { grid-template-columns: 1fr; }
  .reviews-score-card { width: fit-content; }
  .home-review-grid, .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .home-reviews-section { padding: 72px 0; }
  .home-rating-summary { width: 100%; }
  .reviews-empty-home { align-items: flex-start; }
  .reviews-hero { padding: 62px 0 66px; }
  .reviews-hero h1 { font-size: 41px; }
  .reviews-score-card { min-width: 0; width: 100%; }
  .rating-breakdown, .review-form-card { padding: 23px 19px; }
  .reviews-list-heading { margin-top: 55px; }
  .review-card { padding: 21px; }
}

/* Student community forum */
.sr-only { width: 1px; height: 1px; position: absolute; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
body:has(.forum-page) .support-chat, body:has(.forum-thread-page) .support-chat { display: none; }
.forum-page, .forum-thread-page { min-height: 100vh; background: #f3f5f0; }
.forum-hero { padding: 76px 0 70px; color: white; background: radial-gradient(circle at 85% 15%, rgba(214,243,106,.13), transparent 28%), radial-gradient(circle at 8% 92%, rgba(255,255,255,.08), transparent 26%), var(--green-deep); }
.forum-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 70px; }
.forum-hero h1 { max-width: 770px; margin: 15px 0 17px; font-family: var(--font-display), sans-serif; font-size: clamp(43px, 5vw, 67px); line-height: 1; letter-spacing: -.052em; }
.forum-hero p { max-width: 680px; margin: 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.7; }
.forum-hero-actions { display: flex; align-items: center; gap: 23px; margin-top: 27px; }.forum-guidelines-link { color: rgba(255,255,255,.72); border-bottom: 1px solid rgba(255,255,255,.28); font-size: 10px; font-weight: 750; }
.forum-stats { min-width: 330px; display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; background: rgba(255,255,255,.07); backdrop-filter: blur(8px); }.forum-stats > div { padding: 22px 18px; text-align: center; }.forum-stats > div + div { border-left: 1px solid rgba(255,255,255,.12); }.forum-stats strong, .forum-stats span { display: block; }.forum-stats strong { font-family: var(--font-display), sans-serif; font-size: 29px; }.forum-stats span { margin-top: 5px; color: rgba(255,255,255,.58); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.forum-content { padding-top: 55px; padding-bottom: 115px; }.forum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 355px; align-items: start; gap: 24px; }.forum-board { min-width: 0; }
.forum-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }.forum-search { min-height: 52px; display: grid; grid-template-columns: 35px 1fr; align-items: center; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: white; }.forum-search > span { color: var(--green); font-size: 24px; }.forum-search input { min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }
.topic-composer { display: grid; gap: 15px; margin-top: 18px; padding: 27px; border: 1px solid #bcd2c7; border-radius: 17px; background: white; box-shadow: 0 18px 44px rgba(27,55,43,.08); }.topic-composer-heading { display: flex; align-items: flex-start; justify-content: space-between; }.topic-composer-heading h2 { margin: 6px 0 0; font-family: var(--font-display), sans-serif; font-size: 25px; }.topic-composer-heading > button { width: 34px; height: 34px; border: 0; border-radius: 50%; color: #66746d; background: #f1f3ef; cursor: pointer; font-size: 22px; }.topic-composer > label { position: relative; display: grid; gap: 7px; color: #3e4c45; font-size: 10px; font-weight: 850; }.topic-composer > label > span { position: absolute; top: 0; right: 0; color: #8b9690; font-size: 8px; font-weight: 600; }.topic-composer input, .topic-composer textarea, .topic-composer select { width: 100%; padding: 13px 14px; border: 1px solid #c8d1cc; border-radius: 9px; color: var(--ink); background: white; outline: none; resize: vertical; font: inherit; font-size: 11px; }.topic-composer input:focus, .topic-composer textarea:focus, .topic-composer select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,104,79,.09); }.topic-composer-actions { display: flex; justify-content: flex-end; gap: 9px; }.forum-form-error { margin: 0; padding: 10px 12px; border-radius: 8px; color: #8a342d; background: #fff0ee; font-size: 9px; }
.forum-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 24px; }.forum-category-grid button { min-width: 0; display: grid; grid-template-columns: 37px 1fr; align-items: center; gap: 9px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-align: left; background: white; cursor: pointer; transition: transform .18s, border-color .18s, box-shadow .18s; }.forum-category-grid button:hover, .forum-category-grid button.active { transform: translateY(-2px); border-color: #99beac; box-shadow: 0 10px 24px rgba(28,52,42,.07); }.forum-category-grid button.active { background: #edf7f2; }.forum-category-grid button > span, .forum-topic-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 10px; color: var(--green); background: var(--green-soft); font-family: var(--font-display), sans-serif; font-size: 15px; font-weight: 900; }.forum-category-grid b, .forum-category-grid small { display: block; min-width: 0; }.forum-category-grid b { overflow: hidden; font-family: var(--font-display), sans-serif; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.forum-category-grid small { margin-top: 3px; color: #7b8781; font-size: 7px; }.category-debate > span, .forum-topic-icon.category-debate { color: #7b560c; background: #fff0c9; }.category-problem > span, .forum-topic-icon.category-problem { color: #8a453b; background: #f9e2df; }
.forum-list-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin: 47px 0 18px; }.forum-list-heading h2 { margin: 7px 0 0; font-family: var(--font-display), sans-serif; font-size: 29px; }.forum-list-heading > span { color: #7d8983; font-size: 9px; }
.forum-topic-list { display: grid; gap: 9px; }.forum-topic { display: grid; grid-template-columns: 44px minmax(0, 1fr) 83px; align-items: start; gap: 15px; padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: white; transition: transform .18s, border-color .18s, box-shadow .18s; }.forum-topic:hover { transform: translateY(-2px); border-color: #a8c5b7; box-shadow: 0 14px 30px rgba(28,52,42,.07); }.forum-topic-icon { width: 44px; height: 44px; border-radius: 12px; font-size: 18px; }.forum-topic-badges { display: flex; align-items: center; gap: 7px; }.forum-topic-badges span, .forum-topic-badges b { padding: 4px 7px; border-radius: 999px; font-size: 7px; font-weight: 850; }.forum-topic-badges span { color: var(--green); background: #eef6f2; }.forum-topic-badges b { color: #17664d; background: #dff4e9; }.forum-topic h3 { margin: 8px 0 7px; font-family: var(--font-display), sans-serif; font-size: 16px; line-height: 1.25; }.forum-topic-main > p { display: -webkit-box; overflow: hidden; margin: 0; color: #69766f; font-size: 9px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }.forum-topic-author { display: grid; grid-template-columns: 25px auto 1fr; align-items: center; gap: 7px; margin-top: 13px; }.forum-topic-author > span, .thread-author > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--green-deep); background: var(--lime); font-size: 6px; font-weight: 900; }.forum-topic-author b { font-size: 8px; }.forum-topic-author small { color: #8a9590; font-size: 7px; }.forum-topic-replies { align-self: center; text-align: center; }.forum-topic-replies strong, .forum-topic-replies span { display: block; }.forum-topic-replies strong { font-family: var(--font-display), sans-serif; font-size: 22px; }.forum-topic-replies span { margin-top: 2px; color: #89948f; font-size: 7px; }.forum-topic-replies i { display: block; margin-top: 12px; color: var(--green); font-style: normal; }
.forum-empty { padding: 50px 24px; border: 1px dashed #bdc9c2; border-radius: 15px; text-align: center; background: white; }.forum-empty > span { width: 48px; height: 48px; display: grid; place-items: center; margin: auto; border-radius: 50%; color: var(--green); background: var(--green-soft); font-family: var(--font-display), sans-serif; font-size: 22px; font-weight: 900; }.forum-empty h3 { margin: 14px 0 6px; font-family: var(--font-display), sans-serif; }.forum-empty p { margin: 0 0 17px; color: #74817a; font-size: 10px; }
.forum-rules { display: grid; grid-template-columns: 45px 1fr; gap: 16px; margin-top: 32px; padding: 22px; border: 1px solid #d7dfd4; border-radius: 14px; background: #fbfcf7; }.forum-rules > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: var(--green); background: var(--green-soft); font-weight: 900; }.forum-rules h2 { margin: 1px 0 7px; font-family: var(--font-display), sans-serif; font-size: 15px; }.forum-rules p { margin: 0; color: #69766f; font-size: 9px; line-height: 1.65; }
.forum-activation, .forum-loading { min-height: 310px; display: grid; place-content: center; text-align: center; }.forum-loading p { color: #718079; font-size: 10px; }.forum-activation { min-height: auto; max-width: 700px; grid-template-columns: 54px 1fr; align-items: center; gap: 18px; margin: 20px auto; padding: 28px; border: 1px solid #e4d6a8; border-radius: 16px; text-align: left; background: #fff8e5; }.forum-activation > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #94680f; background: #ffe8a8; font-size: 24px; }.forum-activation h2 { margin: 0 0 6px; font-family: var(--font-display), sans-serif; }.forum-activation p { margin: 0; color: #746541; font-size: 10px; }
.student-chat { position: sticky; top: 98px; overflow: hidden; border: 1px solid #d7e0da; border-radius: 17px; background: white; box-shadow: 0 18px 43px rgba(26,49,40,.08); }.student-chat > header { min-height: 73px; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; color: white; background: var(--green-deep); }.student-chat > header > div { display: flex; align-items: center; gap: 10px; }.chat-live-dot { width: 10px; height: 10px; border: 2px solid rgba(255,255,255,.3); border-radius: 50%; background: #66d38e; box-shadow: 0 0 0 5px rgba(102,211,142,.12); }.student-chat > header b, .student-chat > header small { display: block; }.student-chat > header b { font-size: 11px; }.student-chat > header small { margin-top: 4px; color: rgba(255,255,255,.58); font-size: 7px; }.student-chat > header > span { padding: 5px 7px; border-radius: 999px; color: var(--green-deep); background: var(--lime); font-size: 6px; font-weight: 950; letter-spacing: .08em; }
.student-chat-locked { min-height: 430px; display: grid; place-content: center; justify-items: center; padding: 35px; text-align: center; }.student-chat-locked > span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; color: var(--green-deep); background: var(--lime); font-family: var(--font-display), sans-serif; font-weight: 900; }.student-chat-locked h3 { margin: 17px 0 7px; font-family: var(--font-display), sans-serif; font-size: 19px; }.student-chat-locked p { max-width: 240px; margin: 0 0 20px; color: #74817a; font-size: 9px; line-height: 1.6; }
.student-chat-messages { height: 430px; overflow-y: auto; padding: 16px; background: #fafbf8; }.student-chat-messages article { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 8px; margin-bottom: 14px; }.student-chat-messages article > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: var(--green-deep); background: var(--green-soft); font-size: 6px; font-weight: 900; }.student-chat-messages article > div { min-width: 0; }.student-chat-messages article header { display: flex; justify-content: space-between; gap: 8px; }.student-chat-messages article header b { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.student-chat-messages article header small { flex: 0 0 auto; color: #939d98; font-size: 6px; }.student-chat-messages article p { width: fit-content; max-width: 100%; margin: 4px 0 0; padding: 9px 10px; border: 1px solid var(--line); border-radius: 3px 10px 10px 10px; color: #4d5a54; overflow-wrap: anywhere; background: white; font-size: 8px; line-height: 1.5; }.student-chat-messages article.own { grid-template-columns: minmax(0, 1fr) 28px; }.student-chat-messages article.own > span { grid-column: 2; grid-row: 1; color: white; background: var(--green); }.student-chat-messages article.own > div { grid-column: 1; grid-row: 1; }.student-chat-messages article.own header { flex-direction: row-reverse; }.student-chat-messages article.own p { margin-left: auto; color: white; border-color: var(--green); border-radius: 10px 3px 10px 10px; background: var(--green); }.student-chat-empty { min-height: 360px; display: grid; place-content: center; justify-items: center; gap: 9px; color: #84908a; text-align: center; }.student-chat-empty > span { color: var(--gold); font-size: 25px; }.student-chat-empty p { font-size: 9px; }
.student-chat-form { min-height: 72px; display: grid; grid-template-columns: 1fr 40px; align-items: center; gap: 8px; padding: 10px 11px; border-top: 1px solid var(--line); }.student-chat-form label { min-width: 0; }.student-chat-form textarea { width: 100%; display: block; padding: 10px 11px; border: 1px solid #ccd4cf; border-radius: 10px; color: var(--ink); background: #f9faf7; outline: 0; resize: none; font: inherit; font-size: 8px; }.student-chat-form textarea:focus { border-color: var(--green); }.student-chat-form button { width: 40px; height: 40px; border: 0; border-radius: 11px; color: white; background: var(--green); cursor: pointer; font-size: 17px; }.student-chat-form button:disabled { cursor: not-allowed; opacity: .35; }.student-chat-error { margin: 0; padding: 0 12px 8px; color: #9a4037; font-size: 7px; }.student-chat > footer { padding: 0 13px 10px; color: #8a9590; font-size: 6px; }.student-chat > footer span { color: #58bc7c; }

/* Forum thread */
.thread-shell { max-width: 910px; padding-top: 48px; padding-bottom: 105px; }.thread-back { display: inline-flex; margin-bottom: 22px; color: var(--green); font-size: 10px; font-weight: 850; }.thread-post, .thread-reply, .thread-reply-composer { padding: 32px; border: 1px solid var(--line); border-radius: 17px; background: white; }.thread-post-top { display: flex; align-items: center; gap: 12px; }.thread-post-top > div { display: flex; align-items: center; gap: 8px; }.thread-category { padding: 5px 8px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 7px; font-weight: 900; }.thread-post-top b { padding: 5px 8px; border-radius: 999px; color: #17664d; background: #dff4e9; font-size: 7px; }.thread-post h1 { margin: 21px 0 14px; font-family: var(--font-display), sans-serif; font-size: clamp(31px, 4vw, 46px); line-height: 1.08; letter-spacing: -.04em; }.thread-author { display: flex; align-items: center; gap: 9px; }.thread-author > span { width: 34px; height: 34px; flex: 0 0 34px; font-size: 7px; }.thread-author b, .thread-author small { display: block; }.thread-author b { font-size: 9px; }.thread-author small { margin-top: 3px; color: #87928d; font-size: 7px; }.thread-post > p, .thread-reply > p { margin: 24px 0 0; color: #46564f; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.8; }.thread-replies-heading { margin: 47px 0 17px; }.thread-replies-heading h2 { margin: 7px 0 0; font-family: var(--font-display), sans-serif; font-size: 28px; }.thread-replies { display: grid; gap: 10px; }.thread-reply { position: relative; }.thread-reply.solution { border: 2px solid #7ebc9e; background: #fbfffc; }.solution-ribbon { margin: -32px -32px 25px; padding: 11px 16px; border-radius: 15px 15px 0 0; color: #145f47; background: #dff4e9; font-size: 8px; font-weight: 900; }.mark-solution-button { margin-top: 18px; padding: 7px 10px; border: 1px solid #9fcbb7; border-radius: 999px; color: var(--green); background: white; cursor: pointer; font-size: 8px; font-weight: 850; }.mark-solution-button:hover { color: white; background: var(--green); }.thread-no-replies { padding: 38px; border: 1px dashed #becac3; border-radius: 15px; color: #7b8781; text-align: center; background: white; }.thread-no-replies span { color: var(--gold); font-size: 23px; }.thread-no-replies p { font-size: 9px; }.thread-reply-composer { margin-top: 42px; }.thread-reply-composer h2 { margin: 7px 0 21px; font-family: var(--font-display), sans-serif; font-size: 27px; }.thread-reply-composer form { display: grid; gap: 13px; }.thread-reply-composer label { position: relative; }.thread-reply-composer label > span { position: absolute; top: -17px; right: 0; color: #8a9590; font-size: 7px; }.thread-reply-composer textarea { width: 100%; padding: 14px; border: 1px solid #c8d2cc; border-radius: 10px; color: var(--ink); background: white; outline: 0; resize: vertical; font: inherit; font-size: 10px; line-height: 1.6; }.thread-reply-composer textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,104,79,.09); }

@media (max-width: 1050px) {
  .main-nav { gap: 15px; }.main-nav > a { font-size: 13px; }
  .forum-layout { grid-template-columns: minmax(0, 1fr) 320px; }.forum-category-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 850px) {
  .forum-hero-inner { grid-template-columns: 1fr; gap: 35px; }.forum-stats { width: min(100%, 420px); }.forum-layout { grid-template-columns: 1fr; }.student-chat { position: static; }.student-chat-messages { height: 390px; }
}
@media (max-width: 600px) {
  .forum-hero { padding: 57px 0 55px; }.forum-hero h1 { font-size: 42px; }.forum-hero-actions { align-items: stretch; flex-direction: column; gap: 15px; }.forum-guidelines-link { width: fit-content; }.forum-stats { min-width: 0; }.forum-stats > div { padding: 17px 8px; }.forum-content { padding-top: 30px; }.forum-toolbar { grid-template-columns: 1fr; }.forum-category-grid { grid-template-columns: 1fr 1fr; }.forum-category-grid button { grid-template-columns: 34px 1fr; padding: 10px; }.forum-category-grid button > span { width: 34px; height: 34px; }.topic-composer { padding: 21px 17px; }.topic-composer-actions { flex-direction: column-reverse; }.forum-list-heading { align-items: flex-start; flex-direction: column; gap: 7px; }.forum-topic { grid-template-columns: 38px minmax(0, 1fr); padding: 16px; gap: 11px; }.forum-topic-icon { width: 38px; height: 38px; }.forum-topic-replies { grid-column: 2; display: flex; align-items: center; gap: 5px; text-align: left; }.forum-topic-replies strong { font-size: 13px; }.forum-topic-replies span { margin: 0; }.forum-topic-replies i { margin: 0 0 0 auto; }.forum-topic-author { grid-template-columns: 25px 1fr; }.forum-topic-author small { grid-column: 2; }.forum-rules { grid-template-columns: 1fr; }.thread-shell { padding-top: 30px; }.thread-post, .thread-reply, .thread-reply-composer { padding: 22px 18px; }.thread-post h1 { font-size: 31px; }.solution-ribbon { margin: -22px -18px 21px; }.thread-post-top > div { align-items: flex-start; flex-direction: column; }.thread-post > p, .thread-reply > p { font-size: 11px; }.student-chat-messages { height: 360px; }
}

/* Professional library and store */
.library-page { min-height: 100vh; background: #f4f5f0; }
.library-hero { position: relative; overflow: hidden; padding: 86px 0 79px; color: white; background: radial-gradient(circle at 74% 13%, rgba(211,247,90,.16), transparent 25%), radial-gradient(circle at 10% 110%, rgba(255,255,255,.09), transparent 31%), var(--green-deep); }
.library-hero::after { content: ""; width: 460px; height: 460px; position: absolute; right: -230px; bottom: -275px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.024), 0 0 0 140px rgba(255,255,255,.016); }
.library-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(340px,.75fr); align-items: center; gap: 80px; }
.library-hero h1 { max-width: 760px; margin: 15px 0 22px; font-family: var(--font-display), sans-serif; font-size: clamp(51px,5.3vw,75px); line-height: .96; letter-spacing: -.06em; }.library-hero h1 em { color: var(--lime); font-style: normal; }
.library-hero-grid > div:first-child > p:not(.mini-label) { max-width: 640px; margin: 0; color: rgba(255,255,255,.69); font-size: 14px; line-height: 1.75; }
.library-hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 29px; }.library-hero-actions > a:last-child { color: rgba(255,255,255,.78); border-bottom: 1px solid rgba(255,255,255,.28); font-size: 10px; font-weight: 800; }
.library-access-card { overflow: hidden; padding: 29px; border: 1px solid rgba(214,243,106,.31); border-radius: 21px; background: linear-gradient(145deg,rgba(255,255,255,.11),rgba(255,255,255,.045)); box-shadow: 0 24px 65px rgba(0,0,0,.17); backdrop-filter: blur(9px); }
.library-access-card > span { color: var(--lime); font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }.library-access-card h2 { margin: 9px 0 21px; font-family: var(--font-display), sans-serif; font-size: 21px; line-height: 1.25; }
.library-access-card > div { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }.library-access-card b { font-size: 10px; }.library-access-card small { color: rgba(255,255,255,.53); font-size: 8px; }.library-access-card .included b { color: var(--lime); }.library-access-card .included small { color: rgba(214,243,106,.7); }
.library-intro { padding-top: 83px; padding-bottom: 72px; }.library-intro > div:nth-child(2) { display: grid; grid-template-columns: .85fr 1fr; align-items: end; gap: 90px; }.library-intro h2 { max-width: 580px; margin: 13px 0 0; font-family: var(--font-display), sans-serif; font-size: clamp(36px,4vw,54px); line-height: 1.02; letter-spacing: -.05em; }.library-intro > div:nth-child(2) > p { margin: 0; color: #6d7973; font-size: 12px; line-height: 1.8; }
.library-proof-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 51px; border: 1px solid var(--line); border-radius: 15px; background: white; }.library-proof-grid span { min-height: 96px; display: flex; align-items: center; gap: 13px; padding: 20px; color: #748079; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }.library-proof-grid span + span { border-left: 1px solid var(--line); }.library-proof-grid b { color: var(--green); font-family: var(--font-display), sans-serif; font-size: 28px; }
.owned-library { padding-bottom: 76px; }.owned-library-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-top: 38px; border-top: 1px solid var(--line); }.owned-library-heading h2 { margin: 8px 0 0; font-family: var(--font-display),sans-serif; font-size: 38px; letter-spacing: -.04em; }.owned-library-heading > span { padding: 8px 12px; border-radius: 999px; color: var(--green); background: #e4f0e9; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }.owned-library-empty { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 25px 28px; border: 1px dashed #bdcbc4; border-radius: 16px; background: rgba(255,255,255,.6); }.owned-library-empty b { font-family: var(--font-display),sans-serif; font-size: 18px; }.owned-library-empty p { flex: 1; margin: 0; color: #728078; font-size: 9px; }.owned-library-empty .button { flex: 0 0 auto; }.owned-product-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 24px; }.owned-product { --product-accent: #0c7354; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 18px; padding: 22px; border: 1px solid #cddbd4; border-radius: 17px; background: white; box-shadow: 0 14px 35px rgba(29,52,43,.05); }.owned-product.product-navy { --product-accent: #315c88; }.owned-product.product-copper { --product-accent: #aa5a2d; }.owned-product.product-sky { --product-accent: #287ca0; }.owned-product.product-lime { --product-accent: #668b14; }.owned-product > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: white; background: var(--product-accent); font-family: var(--font-display),sans-serif; font-size: 12px; font-weight: 950; }.owned-product small { color: var(--product-accent); font-size: 7px; font-weight: 900; letter-spacing: .07em; }.owned-product h3 { margin: 5px 0 2px; font-family: var(--font-display),sans-serif; font-size: 20px; }.owned-product p { margin: 0; color: #7b8781; font-size: 8px; }.owned-product .button { min-width: 126px; }
.store-catalog { padding-bottom: 110px; }.store-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-top: 38px; border-top: 1px solid var(--line); }.store-heading h2 { margin: 8px 0 0; font-family: var(--font-display), sans-serif; font-size: 38px; letter-spacing: -.04em; }.store-tabs { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: white; }.store-tabs button { min-width: 142px; padding: 11px 17px; border: 0; border-radius: 999px; color: #6e7a74; background: transparent; cursor: pointer; font-size: 9px; font-weight: 850; }.store-tabs button.active { color: white; background: var(--green); box-shadow: 0 7px 20px rgba(15,96,72,.18); }
.store-notice,.store-setup-note { margin: 25px 0 0; padding: 14px 17px; border-radius: 10px; color: #155943; background: #e3f3eb; font-size: 9px; font-weight: 750; }.store-setup-note { color: #7a5b16; background: #fff3d8; }
.ebook-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }.ebook-filters button { padding: 9px 13px; border: 1px solid #cfdbd4; border-radius: 999px; color: #59675f; background: rgba(255,255,255,.72); cursor: pointer; font-size: 8px; font-weight: 850; }.ebook-filters button:hover,.ebook-filters button.active { color: white; border-color: var(--green); background: var(--green); }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 32px; }.product-card { --product-accent: #0c7354; min-width: 0; display: flex; flex-direction: column; padding: 25px; overflow: hidden; border: 1px solid #d6ddd8; border-radius: 18px; background: white; box-shadow: 0 14px 36px rgba(29,52,43,.045); transition: transform .2s,border-color .2s,box-shadow .2s; }.product-card:hover { transform: translateY(-4px); border-color: #a9c4b7; box-shadow: 0 20px 44px rgba(29,52,43,.09); }.product-card.product-navy { --product-accent: #315c88; }.product-card.product-copper { --product-accent: #aa5a2d; }.product-card.product-sky { --product-accent: #287ca0; }.product-card.product-lime { --product-accent: #668b14; }
.product-card.product-medical { --product-accent: #187c78; }.product-card.product-legal { --product-accent: #5647a3; }.product-card.product-finance { --product-accent: #0b6982; }.product-card.product-tech { --product-accent: #2460a7; }.product-card.product-violet { --product-accent: #713ea1; }.product-card.product-orange { --product-accent: #c55c25; }.product-card.product-code { --product-accent: #1e6670; }.product-card.product-career { --product-accent: #9a3d57; }.product-card.product-email { --product-accent: #286a9f; }.product-card.product-contract { --product-accent: #4d5366; }.product-card.product-exam-red { --product-accent: #b8353f; }.product-card.product-exam-blue { --product-accent: #285da8; }.product-card.product-exam-gold { --product-accent: #a86b0a; }.product-card.product-exam-teal { --product-accent: #087a79; }.product-card.product-academic { --product-accent: #5a438d; }
.ebook-product-card { padding-top: 18px; }.ebook-cover { position: relative; min-height: 292px; display: flex; flex-direction: column; overflow: hidden; padding: 24px; color: white; border-radius: 13px; background: radial-gradient(circle at 92% 9%,color-mix(in srgb,var(--product-accent) 75%,white) 0 14%,transparent 15%),linear-gradient(145deg,color-mix(in srgb,var(--product-accent) 80%,#091b18),#0b2620 78%); box-shadow: 0 20px 33px color-mix(in srgb,var(--product-accent) 22%,transparent); isolation: isolate; }.ebook-cover::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .22; background: repeating-linear-gradient(135deg,transparent 0 27px,rgba(255,255,255,.16) 28px 29px); }.ebook-cover::after { content: ""; position: absolute; z-index: -1; width: 190px; height: 190px; right: -92px; bottom: -93px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; box-shadow: 0 0 0 29px rgba(255,255,255,.035),0 0 0 58px rgba(255,255,255,.025); }.ebook-cover-top,.ebook-cover-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.ebook-cover-top span,.ebook-cover-top b { font-size: 6px; letter-spacing: .13em; }.ebook-cover-top span { font-weight: 900; }.ebook-cover-top b { color: color-mix(in srgb,var(--product-accent) 18%,white); }.ebook-cover-mark { width: 55px; height: 55px; display: grid; place-items: center; margin-top: 40px; border: 1px solid rgba(255,255,255,.32); border-radius: 15px; color: #0b251e; background: color-mix(in srgb,var(--product-accent) 16%,white); box-shadow: 0 12px 28px rgba(0,0,0,.18); font-family: var(--font-display),sans-serif; font-size: 11px; font-weight: 950; }.ebook-cover h4 { max-width: 260px; margin: 21px 0 9px; font-family: var(--font-display),sans-serif; font-size: 27px; line-height: .98; letter-spacing: -.04em; }.ebook-cover > p { margin: 0; color: rgba(255,255,255,.66); font-size: 7px; letter-spacing: .04em; }.ebook-cover-bottom { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }.ebook-cover-bottom span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: #0a251d; background: color-mix(in srgb,var(--product-accent) 12%,white); font-size: 8px; font-weight: 950; }.ebook-cover-bottom i { font-size: 7px; font-style: normal; font-weight: 850; }.ebook-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 20px; }.ebook-card-meta span { color: #89948f; font-size: 7px; font-weight: 900; letter-spacing: .08em; }.ebook-card-meta b { padding: 4px 7px; border-radius: 999px; color: var(--product-accent); background: color-mix(in srgb,var(--product-accent) 10%,white); font-size: 7px; }.ebook-product-card h3 { margin-top: 16px; }.product-card.ebook-product-card > footer strong { min-width: 86px; padding: 7px 10px; border-radius: 8px; color: #fff; background: var(--product-accent); text-align: center; }.ebook-product-card > footer .button-primary { color: white; background: var(--product-accent); box-shadow: 0 9px 22px color-mix(in srgb,var(--product-accent) 24%,transparent); }

/* Emblema animado de las portadas */
.ebook-cover-mark {
  position: relative;
  isolation: isolate;
  width: 76px;
  height: 76px;
  margin: 32px 0 2px 4px;
  border: 0;
  border-radius: 24px;
  color: #fff;
  background: transparent;
  box-shadow: 0 18px 34px rgba(0,0,0,.28),0 0 34px color-mix(in srgb,var(--product-accent) 38%,transparent);
  transform-style: preserve-3d;
  animation: ebook-emblem-float 4.8s ease-in-out infinite;
  transition: transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s;
}
.ebook-cover-mark::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -4px;
  border-radius: 28px;
  background: conic-gradient(from 20deg,transparent 0 24%,rgba(255,255,255,.9) 34%,var(--lime) 43%,transparent 59% 82%,rgba(255,255,255,.5));
  filter: drop-shadow(0 0 8px color-mix(in srgb,var(--product-accent) 55%,white));
  animation: ebook-emblem-ring 6s linear infinite;
}
.ebook-cover-mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 22px;
  background: radial-gradient(circle at 25% 18%,rgba(255,255,255,.42),transparent 27%),linear-gradient(145deg,color-mix(in srgb,var(--product-accent) 58%,white),color-mix(in srgb,var(--product-accent) 76%,#071c17));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55),inset 0 -13px 22px rgba(0,0,0,.18);
}
.ebook-cover-mark > svg {
  position: relative;
  z-index: 2;
  width: 33px;
  height: 33px;
  color: #fff;
  filter: drop-shadow(0 4px 7px rgba(0,0,0,.38));
  transform: translateZ(18px);
}
.ebook-cover-mark > i {
  position: absolute;
  z-index: 3;
  right: -9px;
  bottom: -8px;
  min-width: 30px;
  padding: 6px 7px 5px;
  border: 2px solid #f5ffe1;
  border-radius: 999px;
  color: #123c2e;
  background: var(--lime);
  box-shadow: 0 7px 15px rgba(0,0,0,.28),0 0 18px rgba(214,243,106,.52);
  font-size: 6px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .1em;
  text-align: center;
  animation: ebook-emblem-pulse 2.6s ease-in-out infinite;
}
.ebook-cover-mark > b {
  position: absolute;
  z-index: 4;
  top: -10px;
  left: 33px;
  width: 9px;
  height: 9px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 11px 3px rgba(214,243,106,.72);
  transform-origin: 4px 48px;
  animation: ebook-emblem-orbit 4.6s linear infinite;
}
.ebook-cover:hover .ebook-cover-mark {
  animation: none;
  transform: translateY(-7px) rotate(3deg) scale(1.07);
  box-shadow: 0 25px 45px rgba(0,0,0,.34),0 0 46px color-mix(in srgb,var(--product-accent) 55%,transparent);
}
.product-card:nth-child(3n+2) .ebook-cover-mark { animation-delay: -1.4s; }
.product-card:nth-child(3n) .ebook-cover-mark { animation-delay: -2.8s; }
@keyframes ebook-emblem-float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(2deg); } }
@keyframes ebook-emblem-ring { to { transform: rotate(360deg); } }
@keyframes ebook-emblem-orbit { to { transform: rotate(360deg); } }
@keyframes ebook-emblem-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
  .ebook-cover-mark,.ebook-cover-mark::before,.ebook-cover-mark > i,.ebook-cover-mark > b { animation: none; }
}

/* HospitalityEnglish cover signature */
.ebook-cover-bottom {
  align-items: flex-end;
}
.ebook-cover-brandmark {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 174px;
  overflow: hidden;
  padding: 7px 11px 7px 7px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 13px;
  background: linear-gradient(115deg,rgba(255,255,255,.17),rgba(255,255,255,.055));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.17),0 9px 22px rgba(0,0,0,.16);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  transition: transform .35s ease,border-color .35s ease,box-shadow .35s ease;
}
.ebook-cover-brandmark::before {
  content: "HE";
  position: absolute;
  z-index: -1;
  right: -3px;
  top: -14px;
  color: #fff;
  font-family: var(--font-display),sans-serif;
  font-size: 50px;
  font-weight: 950;
  letter-spacing: -.11em;
  opacity: .055;
  transform: rotate(-8deg);
}
.ebook-cover-brandmark::after {
  content: "";
  position: absolute;
  inset: -90% auto -90% -42%;
  width: 38%;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);
  transform: rotate(18deg);
  animation: ebook-brand-shimmer 5.8s ease-in-out infinite;
}
.ebook-brand-monogram {
  position: relative;
  z-index: 2;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  overflow: hidden;
  padding: 0 5px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 11px;
  color: white;
  background: linear-gradient(145deg,rgba(4,63,48,.98),rgba(11,116,83,.88));
  box-shadow: 0 6px 14px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.25),0 0 20px color-mix(in srgb,var(--product-accent) 34%,transparent);
}
.ebook-brand-monogram::before {
  content: "";
  position: absolute;
  width: 46px;
  height: 7px;
  top: 8px;
  left: -7px;
  background: linear-gradient(90deg,transparent,var(--lime),transparent);
  opacity: .84;
  transform: rotate(-35deg);
  filter: blur(.2px);
}
.ebook-brand-monogram b,.ebook-brand-monogram em {
  position: relative;
  z-index: 1;
  font-family: var(--font-display),sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: -.08em;
  text-shadow: 0 2px 5px rgba(0,0,0,.35);
}
.ebook-brand-monogram em { color: var(--lime); }
.ebook-brand-signature {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.ebook-brand-signature strong {
  display: block;
  color: #fff;
  font-family: var(--font-display),sans-serif;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: -.025em;
  line-height: 1.1;
  white-space: nowrap;
  text-shadow: 0 2px 7px rgba(0,0,0,.3);
}
.ebook-brand-signature strong em {
  color: var(--lime);
  font-style: normal;
}
.ebook-brand-signature small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.62);
  font-size: 4.4px;
  font-weight: 850;
  letter-spacing: .15em;
  white-space: nowrap;
}
.ebook-cover-bottom time {
  padding: 5px 7px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  background: rgba(0,0,0,.1);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: .06em;
}
.ebook-cover:hover .ebook-cover-brandmark {
  border-color: rgba(255,255,255,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24),0 13px 28px rgba(0,0,0,.22),0 0 24px color-mix(in srgb,var(--product-accent) 22%,transparent);
  transform: translateY(-2px);
}
@keyframes ebook-brand-shimmer {
  0%,55% { left: -42%; opacity: 0; }
  68% { opacity: 1; }
  84%,100% { left: 122%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ebook-cover-brandmark::after { animation: none; }
}

/* Interactive course covers: intentionally distinct from the editorial ebooks */
.course-product-card {
  padding-top: 18px;
  background: linear-gradient(180deg,#fff 0%,#fbfdfb 100%);
}
.course-cover {
  position: relative;
  isolation: isolate;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 19px;
  border: 1px solid color-mix(in srgb,var(--product-accent) 45%,rgba(255,255,255,.5));
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 7%,color-mix(in srgb,var(--product-accent) 70%,#aee8ff) 0 10%,transparent 28%),
    radial-gradient(circle at 9% 90%,rgba(214,243,106,.17),transparent 32%),
    linear-gradient(145deg,#071f25 0%,color-mix(in srgb,var(--product-accent) 63%,#09251e) 56%,#061814 100%);
  box-shadow: 0 22px 38px color-mix(in srgb,var(--product-accent) 25%,transparent);
}
.course-cover::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom,#000,transparent 75%);
}
.course-cover::after {
  content: "COURSE";
  position: absolute;
  z-index: -1;
  right: -10px;
  bottom: 46px;
  color: rgba(255,255,255,.035);
  font-family: var(--font-display),sans-serif;
  font-size: 54px;
  font-weight: 950;
  letter-spacing: -.08em;
  transform: rotate(-7deg);
}
.course-cover-top,.course-cover-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}
.course-cover-top span,.course-cover-top b {
  font-size: 6px;
  font-weight: 900;
  letter-spacing: .13em;
}
.course-cover-top span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--lime);
}
.course-cover-top span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(214,243,106,.9);
  animation: course-live-dot 1.8s ease-in-out infinite;
}
.course-cover-top b {
  padding: 5px 7px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.07);
}
.course-cover-screen {
  position: relative;
  height: 104px;
  overflow: hidden;
  margin: 17px 0 14px;
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 13px;
  background:
    radial-gradient(circle at 78% 40%,color-mix(in srgb,var(--product-accent) 55%,transparent),transparent 36%),
    linear-gradient(135deg,rgba(255,255,255,.13),rgba(0,0,0,.18));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2),0 13px 25px rgba(0,0,0,.26);
  transform: perspective(500px) rotateX(1.5deg);
  transition: transform .35s ease,box-shadow .35s ease;
}
.course-cover-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg,transparent 20%,rgba(255,255,255,.14) 43%,transparent 59%);
  transform: translateX(-115%);
  animation: course-screen-scan 6s ease-in-out infinite;
}
.course-cover-visual {
  position: absolute;
  right: 13px;
  top: 9px;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.045);
}
.course-cover-visual svg { width: 42px; height: 42px; }
.course-cover-play {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  color: #0b382d;
  background: var(--lime);
  box-shadow: 0 0 0 7px rgba(214,243,106,.1),0 9px 21px rgba(0,0,0,.3),0 0 26px rgba(214,243,106,.28);
  animation: course-play-pulse 2.7s ease-in-out infinite;
}
.course-cover-play svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}
.course-cover-wave {
  position: absolute;
  left: 76px;
  bottom: 27px;
  height: 25px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.course-cover-wave i {
  width: 2px;
  display: block;
  border-radius: 99px;
  background: linear-gradient(to top,color-mix(in srgb,var(--product-accent) 20%,white),var(--lime));
  transform-origin: center;
  animation: course-wave 1.35s ease-in-out infinite alternate;
}
.course-cover-wave i:nth-child(3n+2) { animation-delay: -.45s; }
.course-cover-wave i:nth-child(3n) { animation-delay: -.9s; }
.course-cover-screen small {
  position: absolute;
  left: 18px;
  bottom: 8px;
  color: rgba(255,255,255,.58);
  font-size: 5px;
  font-weight: 850;
  letter-spacing: .14em;
}
.course-cover-copy > p {
  margin: 0 0 6px;
  color: var(--lime);
  font-size: 5.5px;
  font-weight: 900;
  letter-spacing: .13em;
}
.course-cover-copy h4 {
  max-width: 265px;
  margin: 0;
  color: #fff;
  font-family: var(--font-display),sans-serif;
  font-size: 25px;
  line-height: .98;
  letter-spacing: -.045em;
}
.course-cover-copy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.course-cover-copy > div span {
  padding: 4px 6px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.065);
  font-size: 5px;
  font-weight: 850;
  letter-spacing: .06em;
}
.course-cover-bottom {
  align-items: flex-end;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.course-cover-brand {
  display: flex;
  align-items: center;
  gap: 1px;
  color: #fff;
  font-family: var(--font-display),sans-serif;
}
.course-cover-brand > b,.course-cover-brand > em {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  margin-right: -5px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 7px;
  font-size: 7px;
  font-style: normal;
  font-weight: 950;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(5px);
}
.course-cover-brand > em {
  z-index: 1;
  color: #10382e;
  background: var(--lime);
  transform: rotate(5deg);
}
.course-cover-brand > span {
  margin-left: 10px;
  font-size: 6px;
  font-weight: 800;
  white-space: nowrap;
}
.course-cover-brand > span strong { color: var(--lime); }
.course-cover-bottom time {
  color: rgba(255,255,255,.58);
  font-size: 5px;
  font-weight: 850;
  letter-spacing: .08em;
}
.course-product-card h3 { margin-top: 18px; }
.course-product-card > footer .button {
  color: #0b352b;
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 9px 22px rgba(153,181,53,.2);
}
.course-product-card:hover .course-cover-screen {
  transform: perspective(500px) rotateX(0) translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.26),0 18px 31px rgba(0,0,0,.33),0 0 24px color-mix(in srgb,var(--product-accent) 20%,transparent);
}
@keyframes course-live-dot { 0%,100% { opacity: .55; transform: scale(.82); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes course-screen-scan { 0%,56% { transform: translateX(-115%); } 78%,100% { transform: translateX(130%); } }
@keyframes course-play-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes course-wave { from { transform: scaleY(.55); opacity: .55; } to { transform: scaleY(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .course-cover-top span i,.course-cover-screen::after,.course-cover-play,.course-cover-wave i { animation: none; }
}
.product-card > header { display: flex; align-items: center; justify-content: space-between; }.product-card > header > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; color: white; background: var(--product-accent); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22),0 10px 22px color-mix(in srgb,var(--product-accent) 25%,transparent); font-family: var(--font-display),sans-serif; font-size: 13px; font-weight: 950; }.product-card > header > div { text-align: right; }.product-card > header small,.product-card > header b { display: block; }.product-card > header small { color: #8c9691; font-size: 7px; font-weight: 900; letter-spacing: .08em; }.product-card > header b { width: fit-content; margin: 6px 0 0 auto; padding: 4px 7px; border-radius: 999px; color: var(--product-accent); background: color-mix(in srgb,var(--product-accent) 10%,white); font-size: 7px; }
.product-card h3 { margin: 28px 0 11px; font-family: var(--font-display),sans-serif; font-size: 24px; line-height: 1.05; letter-spacing: -.035em; }.product-card > p { min-height: 57px; margin: 0; color: #6d7973; font-size: 9px; line-height: 1.65; }.product-card ul { display: grid; gap: 8px; margin: 22px 0 25px; padding: 18px 0; border-block: 1px solid var(--line); list-style: none; }.product-card li { color: #47554e; font-size: 8px; }.product-card li::first-letter { color: var(--product-accent); }.product-card > footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; }.product-card > footer strong,.product-card > footer small { display: block; }.product-card > footer strong { color: var(--product-accent); font-family: var(--font-display),sans-serif; font-size: 20px; }.product-card > footer small { margin-top: 3px; color: #8b9690; font-size: 6px; }.product-card > footer .button { min-width: 116px; padding: 12px 15px; font-size: 9px; }
.library-plan-cta { min-height: 240px; display: flex; align-items: center; justify-content: space-between; gap: 55px; margin-bottom: 100px; padding: 44px 48px; color: white; border-radius: 21px; background: radial-gradient(circle at 80% 20%,rgba(214,243,106,.13),transparent 32%),var(--green-deep); }.library-plan-cta > div { max-width: 760px; }.library-plan-cta h2 { margin: 10px 0 11px; font-family: var(--font-display),sans-serif; font-size: 36px; letter-spacing: -.04em; }.library-plan-cta p:not(.mini-label) { max-width: 670px; margin: 0; color: rgba(255,255,255,.65); font-size: 10px; line-height: 1.7; }.library-plan-cta .button { flex: 0 0 auto; }
.dashboard-library-card { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: white; background: radial-gradient(circle at 82% 10%,rgba(214,243,106,.12),transparent 28%),var(--green-deep); }.dashboard-library-card h2 { margin: 8px 0 9px; color: white; }.dashboard-library-card p { max-width: 700px; color: rgba(255,255,255,.63); }.dashboard-library-card .mini-label { color: var(--lime); }

/* Profession course */
.professional-course-loading,.professional-course-locked { min-height: 72vh; display: grid; place-content: center; justify-items: center; padding: 60px 20px; text-align: center; background: #f4f5f0; }.professional-course-loading > span { width: 34px; height: 34px; border: 3px solid #d6dfd9; border-top-color: var(--green); border-radius: 50%; animation: dashboard-spin .8s linear infinite; }.professional-course-loading p { color: #6f7b75; font-size: 10px; }
.professional-course-locked > section { max-width: 720px; padding: 54px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 24px 65px rgba(26,51,41,.09); }.course-lock-icon { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 25px; border-radius: 20px; color: var(--green-deep); background: var(--lime); font-family: var(--font-display),sans-serif; font-weight: 950; }.professional-course-locked h1 { margin: 12px 0 13px; font-family: var(--font-display),sans-serif; font-size: 42px; line-height: 1.02; letter-spacing: -.045em; }.professional-course-locked section > p:not(.mini-label) { color: #6c7872; font-size: 11px; line-height: 1.7; }.course-lock-meta { display: flex; justify-content: center; gap: 8px; margin: 25px 0; }.course-lock-meta span { padding: 7px 10px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 8px; font-weight: 850; }.course-lock-actions { display: flex; justify-content: center; gap: 10px; }.professional-course-locked section > small { display: block; margin-top: 19px; color: #8a9590; font-size: 7px; }
.professional-course-page { min-height: 100vh; background: #f4f5f0; }.professional-course-hero { padding: 60px 0 52px; color: white; background: radial-gradient(circle at 85% 12%,rgba(214,243,106,.13),transparent 29%),var(--green-deep); }.professional-course-hero a { color: rgba(255,255,255,.62); font-size: 9px; font-weight: 800; }.professional-course-hero .mini-label { margin-top: 28px; }.professional-course-hero h1 { max-width: 780px; margin: 12px 0; font-family: var(--font-display),sans-serif; font-size: clamp(42px,5vw,65px); line-height: .98; letter-spacing: -.055em; }.professional-course-hero > div > p:not(.mini-label) { max-width: 700px; color: rgba(255,255,255,.65); font-size: 11px; line-height: 1.7; }.course-progress { max-width: 700px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 15px; margin-top: 28px; }.course-progress > span { height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.14); }.course-progress i { height: 100%; display: block; border-radius: 999px; background: var(--lime); }.course-progress b { color: var(--lime); font-size: 8px; }
.professional-course-layout { display: grid; grid-template-columns: 285px minmax(0,1fr); align-items: start; gap: 25px; padding-top: 48px; padding-bottom: 110px; }.professional-course-layout > aside { position: sticky; top: 92px; display: grid; gap: 7px; padding: 21px; border: 1px solid var(--line); border-radius: 17px; background: white; }.professional-course-layout > aside > p { margin: 0 0 9px; }.professional-course-layout aside button { width: 100%; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; padding: 10px; border: 1px solid transparent; border-radius: 10px; color: #58665f; text-align: left; background: transparent; cursor: pointer; }.professional-course-layout aside button:hover,.professional-course-layout aside button.active { color: var(--green-deep); border-color: #bad1c5; background: #eff7f3; }.professional-course-layout aside button > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--green); background: var(--green-soft); font-size: 9px; font-weight: 900; }.professional-course-layout aside button.active > span { color: var(--green-deep); background: var(--lime); }.professional-course-layout aside b,.professional-course-layout aside small { display: block; }.professional-course-layout aside b { font-size: 8px; }.professional-course-layout aside small { margin-top: 4px; color: #8a9590; font-size: 6px; }
.course-module { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: white; }.course-module > header { padding: 42px 45px; border-bottom: 1px solid var(--line); background: #fbfcf9; }.course-module > header h2 { margin: 10px 0 12px; font-family: var(--font-display),sans-serif; font-size: 39px; letter-spacing: -.045em; }.course-module > header > p:not(.mini-label) { margin: 0; color: #68756e; font-size: 11px; line-height: 1.65; }.course-module > section { padding: 42px 45px; }.course-module > section + section { border-top: 1px solid var(--line); }.course-section-heading { display: grid; grid-template-columns: 45px 1fr; align-items: center; gap: 15px; margin-bottom: 27px; }.course-section-heading > span { color: var(--green); font-family: var(--font-display),sans-serif; font-size: 28px; }.course-section-heading p { margin: 0; }.course-section-heading h3 { margin: 5px 0 0; font-family: var(--font-display),sans-serif; font-size: 22px; }
.professional-phrase { display: grid; grid-template-columns: 37px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }.professional-phrase > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--green-soft); font-size: 7px; font-weight: 900; }.professional-phrase b { color: var(--ink); font-family: var(--font-display),sans-serif; font-size: 16px; }.professional-phrase p { margin: 5px 0 12px; color: #6d7973; font-size: 9px; }.professional-phrase .lesson-speech-button { width: fit-content; }
.course-production { background: #fbfcf8; }.course-production > p { margin: -5px 0 22px; color: #42514a; font-size: 12px; font-weight: 700; line-height: 1.6; }.course-production label span { display: block; margin-bottom: 7px; color: #4d5b54; font-size: 8px; font-weight: 850; }.course-production textarea { width: 100%; padding: 15px; border: 1px solid #c7d1cb; border-radius: 11px; color: var(--ink); background: white; outline: none; resize: vertical; font: inherit; font-size: 10px; line-height: 1.7; }.course-production textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,104,79,.08); }.course-production > small { display: block; margin-top: 7px; color: #8b9690; font-size: 7px; }.course-module > footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 45px; color: #8a9590; background: white; }.course-module > footer span { font-size: 7px; }

/* Complete professional course experience */
.course-hero-stats { max-width: 900px; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; overflow: hidden; margin-top: 28px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }.course-hero-stats span { min-height: 76px; display: flex; flex-direction: column; justify-content: center; padding: 14px 18px; color: rgba(255,255,255,.58); font-size: 7px; font-weight: 750; letter-spacing: .03em; }.course-hero-stats span + span { border-left: 1px solid rgba(255,255,255,.12); }.course-hero-stats b { margin-bottom: 5px; color: var(--lime); font-family: var(--font-display),sans-serif; font-size: 19px; letter-spacing: -.03em; }.professional-course-layout { grid-template-columns: 310px minmax(0,1fr); }.professional-course-layout > aside { padding: 18px; }.professional-course-layout aside button { grid-template-columns: 38px 1fr; padding: 11px; }.professional-course-layout aside button > span { width: 38px; height: 38px; }.professional-course-layout aside button:disabled { cursor: not-allowed; opacity: .58; }.professional-course-layout aside .course-exam-nav { margin-top: 12px; border-color: #d6dfd9; background: #f6f8f4; }.professional-course-layout aside .course-exam-nav:not(:disabled) { border-color: rgba(214,243,106,.65); background: #153d32; color: #fff; }.professional-course-layout aside .course-exam-nav:not(:disabled) > span { color: #153d32; background: var(--lime); }.professional-course-layout aside .course-exam-nav.active { border-color: var(--green); background: var(--green-deep); }.course-module { box-shadow: 0 22px 65px rgba(24,48,39,.07); }.course-module > header { position: relative; overflow: hidden; background: radial-gradient(circle at 93% 12%,rgba(214,243,106,.16),transparent 24%),#fbfcf9; }.course-module > header::after { content: ""; position: absolute; right: -35px; top: -35px; width: 125px; height: 125px; border: 1px solid rgba(13,104,79,.08); border-radius: 50%; box-shadow: 0 0 0 24px rgba(13,104,79,.025),0 0 0 48px rgba(13,104,79,.018); }.course-module-kicker { position: relative; z-index: 1; display: flex; align-items: center; gap: 7px; }.course-module-kicker .mini-label { margin-right: auto; }.course-module-kicker > span { padding: 6px 8px; border: 1px solid #d4dfd9; border-radius: 999px; color: #587067; background: #fff; font-size: 6px; font-weight: 900; letter-spacing: .08em; }.module-score { position: relative; z-index: 1; max-width: 560px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; margin-top: 22px; }.module-score > span { height: 6px; overflow: hidden; border-radius: 999px; background: #dfe7e2; }.module-score i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,var(--green),var(--lime)); transition: width .35s ease; }.module-score b { color: var(--green); font-size: 7px; }.course-section-heading { grid-template-columns: 52px 1fr; }.course-section-heading > span { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #c9d9d1; border-radius: 13px; color: var(--green); background: #eff7f3; font-size: 14px; font-weight: 900; }.course-module > section { padding-block: 45px; }.module-brief-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }.module-brief-grid article { min-height: 180px; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid #dce4df; border-radius: 15px; background: #fff; }.module-brief-grid article:nth-child(2) { color: #fff; border-color: var(--green-deep); background: radial-gradient(circle at 88% 8%,rgba(214,243,106,.18),transparent 30%),var(--green-deep); }.module-brief-grid svg { width: 24px; height: 24px; margin-bottom: auto; color: var(--green); }.module-brief-grid article:nth-child(2) svg { color: var(--lime); }.module-brief-grid b { margin: 20px 0 8px; font-family: var(--font-display),sans-serif; font-size: 15px; }.module-brief-grid p { margin: 0; color: #65736c; font-size: 8px; line-height: 1.65; }.module-brief-grid article:nth-child(2) p { color: rgba(255,255,255,.66); }.course-language-lab { background: #f8faf7; }.language-focus { min-height: 210px; display: grid; grid-template-columns: minmax(0,1fr) 130px; align-items: center; gap: 30px; overflow: hidden; padding: 32px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 87% 20%,rgba(214,243,106,.19),transparent 32%),var(--green-deep); }.language-focus small { color: var(--lime); font-size: 7px; font-weight: 900; letter-spacing: .12em; }.language-focus h4 { margin: 9px 0 10px; font-family: var(--font-display),sans-serif; font-size: 25px; letter-spacing: -.035em; }.language-focus p { max-width: 620px; color: rgba(255,255,255,.7); font-size: 10px; line-height: 1.7; }.language-focus code { display: inline-block; margin-top: 10px; padding: 9px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; color: #fff; background: rgba(255,255,255,.08); font-family: inherit; font-size: 8px; }.language-focus > svg { width: 100px; height: 100px; color: rgba(214,243,106,.2); }.vocabulary-title { margin: 30px 0 13px; font-family: var(--font-display),sans-serif; font-size: 17px; }.course-vocabulary-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; }.course-vocabulary-grid button { min-height: 115px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 16px; border: 1px solid #d3ded8; border-radius: 13px; color: var(--ink); background: #fff; text-align: left; cursor: pointer; transition: transform .18s,border-color .18s,background .18s; }.course-vocabulary-grid button:hover { transform: translateY(-2px); border-color: #91b6a6; }.course-vocabulary-grid button.revealed { color: #fff; border-color: var(--green); background: var(--green); }.course-vocabulary-grid small { color: #8b9891; font-size: 5px; font-weight: 900; letter-spacing: .08em; }.course-vocabulary-grid .revealed small { color: rgba(255,255,255,.55); }.course-vocabulary-grid b { margin: 12px 0 8px; font-family: var(--font-display),sans-serif; font-size: 14px; line-height: 1.08; }.course-vocabulary-grid span { color: var(--green); font-size: 6px; font-weight: 850; }.course-vocabulary-grid .revealed span { color: var(--lime); }.section-instruction { margin: -7px 0 22px; color: #6b7871; font-size: 9px; line-height: 1.7; }.professional-phrase { padding: 23px 0; }.professional-phrase > span { width: 38px; height: 38px; }.professional-phrase b { font-size: 17px; }.activity-card { position: relative; padding: 28px; border: 1px solid #d8e2dd; border-radius: 17px; background: #fbfcfa; }.activity-card > svg { width: 29px; height: 29px; margin-bottom: 10px; color: var(--green); }.activity-card > p { margin: 0 0 17px; color: #526159; font-size: 10px; font-weight: 700; }.activity-card .lesson-speech-button { margin-bottom: 20px; }.activity-options { display: grid; gap: 9px; }.activity-options > button { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px; border: 1px solid #d2ddd7; border-radius: 11px; color: #3d4c45; background: #fff; font: inherit; font-size: 9px; line-height: 1.4; text-align: left; cursor: pointer; }.activity-options > button:hover,.activity-options > button.selected { border-color: var(--green); background: #f0f8f4; }.activity-options > button.correct { color: #07563e; border-color: #63b495; background: #e5f7ef; }.activity-options > button.wrong { color: #8b332f; border-color: #dda39e; background: #fff0ef; }.activity-feedback { margin: 15px 0 0; padding: 12px 14px; border-radius: 9px; font-size: 8px; font-weight: 800; }.activity-feedback.success { color: #075a41; background: #e3f6ed; }.activity-feedback.error { color: #913b34; background: #fff0ee; }.builder-answer { min-height: 68px; display: flex; align-items: center; margin: 5px 0 17px; padding: 14px 16px; border: 1px dashed #b7c9c0; border-radius: 12px; color: #98a29d; background: #fff; font-size: 10px; line-height: 1.6; }.builder-answer.has-words { color: var(--ink); border-style: solid; }.builder-answer.correct { color: #07583f; border-color: #60ad90; background: #e8f7f0; }.builder-word-bank { display: flex; flex-wrap: wrap; gap: 8px; }.builder-word-bank button { padding: 9px 11px; border: 1px solid #b9cfc4; border-radius: 9px; color: var(--green-deep); background: #fff; font: inherit; font-size: 8px; font-weight: 800; cursor: pointer; }.builder-word-bank button:disabled { opacity: .25; cursor: default; }.activity-reset { display: flex; align-items: center; gap: 6px; margin-top: 17px; padding: 0; border: 0; color: #6f7d76; background: transparent; font: inherit; font-size: 8px; font-weight: 800; cursor: pointer; }.course-roleplay { background: #fbfcf9; }.roleplay-scene { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; margin-bottom: 17px; padding: 20px; border-radius: 14px; color: #fff; background: radial-gradient(circle at 90% 10%,rgba(214,243,106,.15),transparent 32%),var(--green-deep); }.roleplay-avatar { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: var(--green-deep); background: var(--lime); }.roleplay-avatar svg { width: 24px; height: 24px; }.roleplay-scene small { color: var(--lime); font-size: 6px; font-weight: 900; letter-spacing: .1em; }.roleplay-scene p { margin: 5px 0 8px; color: rgba(255,255,255,.72); font-size: 9px; line-height: 1.55; }.roleplay-scene strong { font-size: 8px; }.role-options { margin-bottom: 2px; }.writing-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }.writing-meta small { color: #7f8b85; font-size: 7px; }.writing-meta button { padding: 0; border: 0; color: var(--green); background: transparent; font: inherit; font-size: 7px; font-weight: 900; cursor: pointer; }.writing-meta button:disabled { color: #9ca59f; cursor: not-allowed; }.course-model-answer { margin-top: 18px; padding: 19px; border-left: 4px solid var(--lime); border-radius: 0 12px 12px 0; color: #fff; background: var(--green-deep); }.course-model-answer small { color: var(--lime); font-size: 6px; font-weight: 900; letter-spacing: .09em; }.course-model-answer p { color: rgba(255,255,255,.78); font-size: 9px; line-height: 1.7; }.course-model-answer .lesson-speech-button { border-color: rgba(255,255,255,.25); color: #fff; }.self-check { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; padding: 20px; border: 1px solid #d8e2dc; border-radius: 13px; background: #fff; }.self-check > b { grid-column: 1/-1; margin-bottom: 5px; font-family: var(--font-display),sans-serif; font-size: 14px; }.course-production .self-check label { cursor: pointer; }.self-check input { position: absolute; opacity: 0; pointer-events: none; }.course-production .self-check label span { min-height: 43px; display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px; border: 1px solid #dce4df; border-radius: 9px; color: #69766f; background: #fbfcfa; }.course-production .self-check label:has(input:checked) span { color: #07563e; border-color: #7bb99f; background: #eaf7f1; }.self-check span svg { flex: 0 0 auto; }.self-check span i { font-style: normal; font-size: 7px; line-height: 1.4; }.course-module > footer .button { display: inline-flex; align-items: center; gap: 7px; }.course-module > footer .button:disabled { opacity: .48; cursor: not-allowed; }.final-exam-intro { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 18px; color: #fff; background: radial-gradient(circle at 92% 10%,rgba(214,243,106,.18),transparent 28%),var(--green-deep); }.final-exam-intro > svg { width: 58px; height: 58px; color: var(--lime); }.final-exam-intro b { font-family: var(--font-display),sans-serif; font-size: 20px; }.final-exam-intro p { margin: 7px 0 0; color: rgba(255,255,255,.66); font-size: 9px; line-height: 1.6; }.course-exam-questions { display: grid; gap: 26px; }.course-exam-questions fieldset { margin: 0; padding: 23px; border: 1px solid #d7e1dc; border-radius: 15px; }.course-exam-questions legend { width: 100%; display: grid; grid-template-columns: 38px 1fr; gap: 4px 11px; padding: 0; }.course-exam-questions legend span { grid-row: 1/3; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--green); background: var(--green-soft); font-size: 8px; font-weight: 900; }.course-exam-questions legend small { color: #84918a; font-size: 6px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }.course-exam-questions legend b { font-family: var(--font-display),sans-serif; font-size: 14px; }.course-exam-questions .lesson-speech-button { margin: 15px 0 13px 49px; }.course-exam-questions fieldset > div { display: grid; gap: 7px; margin-left: 49px; }.course-exam-questions fieldset > div button { padding: 11px 13px; border: 1px solid #d5dfda; border-radius: 9px; color: #526059; background: #fff; font: inherit; font-size: 8px; text-align: left; cursor: pointer; }.course-exam-questions fieldset > div button.selected { border-color: var(--green); background: #edf7f2; }.course-exam-questions fieldset > div button.correct { color: #07563e; border-color: #70b99d; background: #e5f7ef; }.course-exam-questions fieldset > div button.wrong { color: #8c3934; border-color: #dca29d; background: #fff0ef; }.course-exam-result { display: grid; grid-template-columns: 70px 1fr; gap: 19px; }.course-exam-result > svg { width: 60px; height: 60px; }.course-exam-result.passed { color: #fff; background: var(--green); }.course-exam-result.retry { color: #712e2a; background: #fff0ee; }.course-exam-result .mini-label { margin: 0; color: inherit; }.course-exam-result h3 { margin: 5px 0; font-family: var(--font-display),sans-serif; font-size: 25px; }.course-exam-result strong { color: var(--lime); font-family: var(--font-display),sans-serif; font-size: 18px; }.course-exam-result.retry strong { color: #a03e36; }.course-exam-result p:last-child { margin: 7px 0 0; color: inherit; font-size: 8px; line-height: 1.6; }

/* Interactive ebooks and animated course coaches */
.owned-product-actions,.ebook-card-actions { display: flex; align-items: center; gap: 8px; }.owned-product-actions .button,.ebook-card-actions .button { white-space: nowrap; }.ebook-card-actions .button-ghost { min-width: 58px; padding-inline: 14px; }
.ebook-loading,.ebook-locked,.ebook-not-found { min-height: 72vh; display: grid; place-items: center; padding: 80px 24px; text-align: center; }.ebook-loading span { width: 38px; height: 38px; display: block; margin: 0 auto 15px; border: 3px solid #d6e1db; border-top-color: var(--green); border-radius: 50%; animation: ebookSpin .8s linear infinite; }.ebook-loading p { color: #68756f; font-size: 13px; }.ebook-locked section { max-width: 700px; padding: 55px 45px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 25px 80px rgba(17,54,42,.1); }.ebook-locked section > svg { width: 62px; height: 62px; margin-bottom: 20px; color: var(--green); }.ebook-locked h1,.ebook-not-found h1 { margin: 10px 0 14px; font-family: var(--font-display),sans-serif; font-size: 44px; letter-spacing: -.045em; }.ebook-locked section > p:not(.mini-label) { color: #64726b; line-height: 1.7; }.ebook-locked section > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px 0; }.ebook-locked section > div span { padding: 8px 11px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 9px; font-weight: 850; }
.ebook-reader-hero { position: relative; overflow: hidden; padding: 65px 0 58px; color: #fff; background: radial-gradient(circle at 82% 14%,color-mix(in srgb,var(--product,#3b9b78) 44%,transparent),transparent 31%),linear-gradient(130deg,#062e23,#0a4b39 66%,#0d634b); }.ebook-reader-hero::before { content: ""; position: absolute; inset: 0; opacity: .18; background: repeating-linear-gradient(135deg,transparent 0 42px,rgba(255,255,255,.13) 43px,transparent 44px 85px); }.ebook-reader-hero > div { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 60px; align-items: center; }.ebook-reader-hero a { color: rgba(255,255,255,.72); font-size: 10px; font-weight: 800; }.ebook-reader-hero .mini-label { margin-top: 36px; color: var(--lime); }.ebook-reader-hero h1 { max-width: 820px; margin: 10px 0 14px; font-family: var(--font-display),sans-serif; font-size: clamp(43px,6vw,78px); line-height: .98; letter-spacing: -.06em; }.ebook-reader-hero h1 + p { max-width: 720px; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.7; }.ebook-reader-stats { max-width: 780px; display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; margin-top: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; background: rgba(255,255,255,.06); }.ebook-reader-stats span { min-height: 75px; display: flex; flex-direction: column; justify-content: center; padding: 13px 16px; color: rgba(255,255,255,.58); font-size: 7px; font-weight: 800; }.ebook-reader-stats span + span { border-left: 1px solid rgba(255,255,255,.13); }.ebook-reader-stats b { margin-bottom: 5px; color: var(--lime); font-family: var(--font-display),sans-serif; font-size: 18px; }
.ebook-reader-hero-book { position: relative; width: 230px; height: 300px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 28px; border: 1px solid rgba(255,255,255,.25); border-radius: 9px 22px 22px 9px; color: #fff; background: linear-gradient(145deg,color-mix(in srgb,var(--product,#54b08c) 58%,#103f33),#082e24); box-shadow: -15px 24px 45px rgba(0,0,0,.24),inset 9px 0 0 rgba(0,0,0,.12); transform: rotate(3deg); animation: ebookFloat 4s ease-in-out infinite; }.ebook-reader-hero-book::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg,transparent 30%,rgba(255,255,255,.12),transparent 58%); transform: translateX(-130%); animation: ebookShine 5s ease-in-out infinite; }.ebook-reader-hero-book svg { width: 68px; height: 68px; color: var(--lime); }.ebook-reader-hero-book span { font-family: var(--font-display),sans-serif; font-size: 25px; line-height: .95; }.ebook-reader-hero-book i { position: absolute; right: -30px; bottom: -30px; width: 130px; height: 130px; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; box-shadow: 0 0 0 22px rgba(255,255,255,.04),0 0 0 45px rgba(255,255,255,.025); }
.ebook-reader-layout { display: grid; grid-template-columns: 290px minmax(0,1fr); gap: 24px; align-items: start; padding-top: 38px; padding-bottom: 100px; }.ebook-reader-layout > aside { position: sticky; top: 92px; display: grid; gap: 8px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }.ebook-reader-progress { padding: 15px 12px 18px; border-bottom: 1px solid var(--line); }.ebook-reader-progress small { color: #78857f; font-size: 7px; font-weight: 900; letter-spacing: .1em; }.ebook-reader-progress b { float: right; color: var(--green); font-size: 13px; }.ebook-reader-progress > span { height: 6px; display: block; overflow: hidden; clear: both; margin-top: 10px; border-radius: 999px; background: #e3eae6; }.ebook-reader-progress i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,var(--green),var(--lime)); transition: width .3s; }.ebook-reader-layout aside > button:not(.ebook-download-button) { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; padding: 10px; border: 1px solid transparent; border-radius: 11px; color: #5d6b64; background: transparent; font: inherit; text-align: left; cursor: pointer; }.ebook-reader-layout aside > button:hover,.ebook-reader-layout aside > button.active { color: var(--green-deep); border-color: #cddbd4; background: #f0f7f3; }.ebook-reader-layout aside > button > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--green); background: #e4f1eb; font-size: 8px; font-weight: 900; }.ebook-reader-layout aside button b { display: block; margin-bottom: 4px; font-size: 8px; }.ebook-reader-layout aside button small { display: block; color: #89958f; font-size: 6px; }.ebook-download-button { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 8px; padding: 12px; border: 0; border-radius: 11px; color: #fff; background: var(--green); font: inherit; font-size: 8px; font-weight: 900; cursor: pointer; }.ebook-download-button:disabled { opacity: .6; }
.ebook-chapter { overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: #fff; box-shadow: 0 25px 70px rgba(17,55,43,.07); }.ebook-chapter > header { display: flex; justify-content: space-between; gap: 30px; padding: 48px 46px 42px; background: radial-gradient(circle at 92% 10%,rgba(210,242,99,.18),transparent 23%),#f8faf7; }.ebook-chapter > header h2 { margin: 9px 0 12px; font-family: var(--font-display),sans-serif; font-size: 46px; line-height: 1; letter-spacing: -.055em; }.ebook-chapter > header p:last-child { max-width: 680px; margin: 0; color: #65726b; font-size: 12px; line-height: 1.65; }.ebook-chapter > header > span { height: fit-content; padding: 8px 11px; border: 1px solid #c9d9d1; border-radius: 999px; color: var(--green); background: #fff; font-size: 8px; font-weight: 900; }.ebook-chapter > section { padding: 46px; border-top: 1px solid var(--line); }.ebook-section-title { display: grid; grid-template-columns: 48px 1fr; gap: 13px; align-items: center; margin-bottom: 25px; }.ebook-section-title > span { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #cadbd2; border-radius: 13px; color: var(--green); background: #edf6f1; font-size: 13px; font-weight: 900; }.ebook-section-title .mini-label { margin: 0 0 5px; }.ebook-section-title h3 { margin: 0; font-family: var(--font-display),sans-serif; font-size: 27px; letter-spacing: -.035em; }
.ebook-context-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; }.ebook-context-grid article { min-height: 190px; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid #dbe4df; border-radius: 15px; background: #fbfcfa; }.ebook-context-grid article:nth-child(2) { color: #fff; border-color: var(--green-deep); background: var(--green-deep); }.ebook-context-grid svg { width: 26px; height: 26px; margin-bottom: auto; color: var(--green); }.ebook-context-grid article:nth-child(2) svg { color: var(--lime); }.ebook-context-grid b { margin: 22px 0 8px; font-family: var(--font-display),sans-serif; font-size: 15px; }.ebook-context-grid p { margin: 0; color: #6a7770; font-size: 9px; line-height: 1.65; }.ebook-context-grid article:nth-child(2) p { color: rgba(255,255,255,.66); }
.ebook-animated-example { background: #f7faf7; }.ebook-scene { position: relative; min-height: 380px; overflow: hidden; border-radius: 22px; color: #fff; background: radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--product,#4ba786) 35%,transparent),transparent 24%),linear-gradient(135deg,#073226,#0c5b45); }.ebook-scene::before { content: ""; position: absolute; inset: 0; opacity: .13; background: repeating-linear-gradient(125deg,transparent 0 49px,#fff 50px,transparent 51px 94px); }.ebook-scene-orbit { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: var(--lime); transform: translate(-50%,-50%); animation: sceneOrbit 6s ease-in-out infinite; }.ebook-scene-orbit::before,.ebook-scene-orbit::after { content: ""; position: absolute; inset: -25px; border: 1px dashed rgba(255,255,255,.16); border-radius: 50%; animation: sceneRotate 16s linear infinite; }.ebook-scene-orbit::after { inset: -55px; animation-direction: reverse; }.ebook-scene-orbit svg { width: 46px; height: 46px; }.ebook-scene-person { position: absolute; width: min(38%,310px); display: flex; align-items: center; gap: 12px; z-index: 2; }.ebook-scene-person > span { flex: 0 0 60px; width: 60px; height: 60px; display: grid; place-items: center; border: 3px solid rgba(255,255,255,.45); border-radius: 20px; color: var(--green-deep); background: var(--lime); box-shadow: 0 12px 30px rgba(0,0,0,.2); }.ebook-scene-person > div { padding: 15px 17px; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); }.ebook-scene-person small { color: var(--lime); font-size: 6px; font-weight: 900; letter-spacing: .1em; }.ebook-scene-person p { margin: 5px 0 0; color: #fff; font-size: 10px; line-height: 1.5; }.person-a { left: 6%; top: 16%; animation: personTalkA 5s ease-in-out infinite; }.person-b { right: 6%; bottom: 16%; flex-direction: row-reverse; text-align: right; animation: personTalkB 5s ease-in-out infinite; }.person-b > span { color: #fff; background: color-mix(in srgb,var(--product,#4ba786) 75%,#fff); }.scene-spark { position: absolute; color: var(--lime); font-style: normal; animation: sceneSpark 2.7s ease-in-out infinite; }.spark-one { left: 35%; top: 16%; }.spark-two { right: 32%; bottom: 18%; animation-delay: .7s; }.ebook-scene-analysis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 12px; }.ebook-scene-analysis article { padding: 17px; border: 1px solid #dce5e0; border-radius: 12px; background: #fff; }.ebook-scene-analysis b { color: var(--green); font-size: 9px; }.ebook-scene-analysis p { margin: 7px 0 0; color: #68766f; font-size: 8px; line-height: 1.6; }
.ebook-phrase-lab > article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px 20px; padding: 23px 0; border-top: 1px solid var(--line); }.ebook-phrase-lab > article:first-of-type { border-top: 0; }.ebook-phrase-lab > article > div:first-child { display: grid; grid-template-columns: 38px 1fr; gap: 12px; }.ebook-phrase-lab > article > div:first-child > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--green); font-size: 8px; font-weight: 900; }.ebook-phrase-lab article b { display: block; font-family: var(--font-display),sans-serif; font-size: 17px; }.ebook-phrase-lab article button:not(.lesson-speech-button) { margin-top: 7px; padding: 0; border: 0; color: var(--green); background: transparent; font: inherit; font-size: 8px; font-weight: 900; cursor: pointer; }.ebook-phrase-lab article > p { grid-column: 1/-1; margin: 0 0 0 50px; padding: 12px 14px; border-radius: 10px; color: #66736c; background: #f5f8f6; font-size: 8px; line-height: 1.6; }.ebook-language-clinic { margin-top: 25px; padding: 22px; border-left: 5px solid var(--lime); border-radius: 0 15px 15px 0; color: #fff; background: var(--green-deep); }.ebook-language-clinic b { font-family: var(--font-display),sans-serif; font-size: 16px; }.ebook-language-clinic ul { display: grid; gap: 8px; margin: 14px 0 0; padding-left: 18px; color: rgba(255,255,255,.7); font-size: 8px; line-height: 1.55; }
.ebook-knowledge-check { background: #f8faf7; }.ebook-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.ebook-check-grid > article { padding: 23px; border: 1px solid #d8e2dd; border-radius: 16px; background: #fff; }.ebook-check-grid article > small { color: var(--green); font-size: 7px; font-weight: 900; letter-spacing: .08em; }.ebook-check-grid article > p { color: #6e7b75; font-size: 9px; }.ebook-check-grid article > b { display: block; margin: 14px 0; font-family: var(--font-display),sans-serif; font-size: 16px; line-height: 1.3; }.ebook-check-grid article > div:not(.ebook-builder-answer):not(.ebook-word-bank) { display: grid; gap: 7px; }.ebook-check-grid article > div > button { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 12px; border: 1px solid #d3ded8; border-radius: 9px; color: #526059; background: #fff; font: inherit; font-size: 8px; text-align: left; cursor: pointer; }.ebook-check-grid button.selected { border-color: var(--green); background: #eff7f3; }.ebook-check-grid button.correct { color: #07583f; border-color: #69b397; background: #e7f7ef; }.ebook-check-grid button.wrong { color: #8d3731; border-color: #dca39f; background: #fff0ef; }.ebook-check-grid em { display: block; margin-top: 12px; color: var(--green); font-size: 8px; font-weight: 850; font-style: normal; }.ebook-builder-answer { min-height: 62px; display: flex; align-items: center; margin: 12px 0; padding: 13px; border: 1px dashed #b7c9c0; border-radius: 10px; color: #98a39e; font-size: 9px; line-height: 1.5; }.ebook-builder-answer.has-words { color: var(--ink); border-style: solid; }.ebook-builder-answer.correct { color: #07583f; border-color: #69b397; background: #e7f7ef; }.ebook-word-bank { display: flex !important; flex-wrap: wrap; gap: 6px !important; }.ebook-word-bank button { width: auto !important; padding: 8px 9px !important; font-weight: 800 !important; }.ebook-word-bank button:disabled { opacity: .25; }.ebook-reset { display: flex !important; align-items: center; gap: 5px; margin-top: 13px; padding: 0 !important; border: 0 !important; color: #6b7871 !important; background: transparent !important; font-size: 7px !important; font-weight: 900 !important; }
.ebook-workbook { background: #fff; }.ebook-production-brief { display: grid; grid-template-columns: 55px 1fr; gap: 15px; align-items: start; padding: 23px; border-radius: 16px; color: #fff; background: radial-gradient(circle at 90% 10%,rgba(214,243,106,.18),transparent 27%),var(--green-deep); }.ebook-production-brief > svg { width: 45px; height: 45px; color: var(--lime); }.ebook-production-brief small { color: var(--lime); font-size: 7px; font-weight: 900; letter-spacing: .08em; }.ebook-production-brief b { display: block; margin: 8px 0; font-family: var(--font-display),sans-serif; font-size: 17px; }.ebook-production-brief p { margin: 0; color: rgba(255,255,255,.66); font-size: 8px; line-height: 1.6; }.ebook-workbook label { display: block; margin-top: 20px; }.ebook-workbook label > span { display: block; margin-bottom: 7px; color: #4f5d56; font-size: 8px; font-weight: 900; }.ebook-workbook textarea { width: 100%; padding: 16px; border: 1px solid #cbd7d0; border-radius: 11px; color: var(--ink); outline: none; resize: vertical; font: inherit; font-size: 10px; line-height: 1.7; }.ebook-workbook textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,104,79,.08); }.ebook-completion-rules { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }.ebook-completion-rules span { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border: 1px solid #d8e2dd; border-radius: 999px; color: #849089; background: #f8faf8; font-size: 7px; font-weight: 850; }.ebook-completion-rules span.done { color: #07583f; border-color: #78b59e; background: #e9f7f1; }.ebook-completion-rules svg { width: 12px; height: 12px; }.ebook-chapter > footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 46px; border-top: 1px solid var(--line); background: #fbfcfa; }.ebook-chapter > footer .button { display: flex; align-items: center; gap: 7px; }.ebook-chapter > footer .button:disabled { opacity: .45; cursor: not-allowed; }.ebook-chapter > footer span { color: #7d8983; font-size: 8px; }
.course-coach { position: relative; min-height: 210px; display: grid; grid-template-columns: 190px minmax(0,1fr); align-items: center; gap: 25px; overflow: hidden; padding: 18px 38px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 8% 20%,rgba(214,243,106,.22),transparent 27%),linear-gradient(120deg,#eef8f2,#fff 64%); }.course-coach-art { position: relative; align-self: stretch; }.course-coach-art img { position: absolute; left: 0; bottom: 0; width: 175px; max-height: 205px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 12px 16px rgba(13,65,48,.18)); animation: coachFloat 3.5s ease-in-out infinite; }.course-coach-copy { position: relative; z-index: 2; max-width: 560px; padding-bottom: 18px; }.course-coach-copy small { color: var(--green); font-size: 7px; font-weight: 950; letter-spacing: .11em; }.course-coach-copy b { display: block; margin: 8px 0 6px; font-family: var(--font-display),sans-serif; font-size: 25px; letter-spacing: -.04em; }.course-coach-copy p { margin: 0; color: #65736c; font-size: 10px; line-height: 1.65; }.course-coach-celebrate { background: radial-gradient(circle at 8% 20%,rgba(214,243,106,.35),transparent 30%),linear-gradient(120deg,#e8f7ee,#fbfff5 65%); }.course-coach-encourage { background: radial-gradient(circle at 8% 20%,rgba(255,194,103,.24),transparent 30%),linear-gradient(120deg,#fff7e9,#fff 65%); }.course-coach-encourage .course-coach-copy small { color: #9b651d; }.coach-spark { position: absolute; z-index: 3; color: var(--lime); font-size: 19px; font-style: normal; animation: coachSpark 1.8s ease-in-out infinite; }.coach-spark-one { left: 12px; top: 28px; }.coach-spark-two { right: 5px; top: 50px; animation-delay: .5s; }.coach-spark-three { left: 80px; top: 9px; animation-delay: 1s; }.course-coach-encourage .coach-spark { color: #f2a634; }.course-coach-encourage .course-coach-art img { animation: coachEncourage 2.5s ease-in-out infinite; }
@keyframes ebookSpin { to { transform: rotate(360deg); } } @keyframes ebookFloat { 0%,100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(1.5deg) translateY(-10px); } } @keyframes ebookShine { 0%,65% { transform: translateX(-130%); } 90%,100% { transform: translateX(130%); } } @keyframes sceneRotate { to { transform: rotate(360deg); } } @keyframes sceneOrbit { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.08); } } @keyframes personTalkA { 0%,35%,100% { transform: translateY(0); } 12% { transform: translateY(-8px); } } @keyframes personTalkB { 0%,45%,100% { transform: translateY(0); } 62% { transform: translateY(-8px); } } @keyframes sceneSpark { 0%,100% { transform: scale(.65) rotate(0); opacity: .35; } 50% { transform: scale(1.2) rotate(35deg); opacity: 1; } } @keyframes coachFloat { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-7px) rotate(1deg); } } @keyframes coachSpark { 0%,100% { transform: scale(.5) rotate(0); opacity: .3; } 50% { transform: scale(1.15) rotate(40deg); opacity: 1; } } @keyframes coachEncourage { 0%,100% { transform: translateX(0); } 45% { transform: translateX(-3px) rotate(-1deg); } 55% { transform: translateX(3px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .ebook-reader-hero-book,.ebook-reader-hero-book::after,.ebook-scene-orbit,.ebook-scene-orbit::before,.ebook-scene-orbit::after,.ebook-scene-person,.scene-spark,.course-coach-art img,.coach-spark { animation: none !important; } }

@media (max-width: 1100px) {
  .library-hero-grid { gap: 45px; }.product-grid { grid-template-columns: repeat(2,1fr); }.owned-product-grid { grid-template-columns: 1fr; }.professional-course-layout { grid-template-columns: 270px minmax(0,1fr); }.course-hero-stats { grid-template-columns: 1fr 1fr; }.course-hero-stats span:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }.course-hero-stats span:nth-child(4) { border-top: 1px solid rgba(255,255,255,.12); }.module-brief-grid { grid-template-columns: 1fr; }.module-brief-grid article { min-height: 150px; }.course-vocabulary-grid { grid-template-columns: 1fr 1fr; }
  .ebook-reader-layout { grid-template-columns: 250px minmax(0,1fr); }.ebook-context-grid { grid-template-columns: 1fr; }.ebook-context-grid article { min-height: 140px; }.ebook-check-grid { grid-template-columns: 1fr; }.ebook-reader-stats { grid-template-columns: 1fr 1fr; }.ebook-reader-stats span:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.13); }.ebook-reader-stats span:nth-child(4) { border-top: 1px solid rgba(255,255,255,.13); }
  .main-nav { gap: 13px; }.main-nav > a { font-size: 12px; }
}
@media (max-width: 850px) {
  .library-hero-grid,.library-intro > div:nth-child(2) { grid-template-columns: 1fr; }.library-hero-grid { gap: 45px; }.library-access-card { max-width: 570px; }.library-intro > div:nth-child(2) { gap: 23px; }.library-proof-grid { grid-template-columns: repeat(2,1fr); }.library-proof-grid span:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }.library-proof-grid span:nth-child(4) { border-top: 1px solid var(--line); }.store-heading { align-items: flex-start; flex-direction: column; }.professional-course-layout { grid-template-columns: 1fr; }.professional-course-layout > aside { position: static; grid-template-columns: repeat(2,1fr); }.professional-course-layout > aside > p { grid-column: 1/-1; }.professional-course-layout aside .course-exam-nav { margin-top: 0; }.language-focus { grid-template-columns: 1fr 85px; }.language-focus > svg { width: 75px; height: 75px; }
  .ebook-reader-hero > div { grid-template-columns: 1fr; }.ebook-reader-hero-book { display: none; }.ebook-reader-layout { grid-template-columns: 1fr; }.ebook-reader-layout > aside { position: static; grid-template-columns: 1fr 1fr; }.ebook-reader-progress,.ebook-download-button { grid-column: 1/-1; }.ebook-scene { min-height: 430px; }.ebook-scene-person { width: 55%; }.ebook-scene-analysis { grid-template-columns: 1fr; }.course-coach { grid-template-columns: 155px 1fr; }.course-coach-art img { width: 145px; }
}
@media (max-width: 620px) {
  .legal-identity div { grid-template-columns: 1fr; gap: 5px; }.store-consent-dialog { padding: 26px 20px; border-radius: 17px; }.store-consent-dialog h2 { font-size: 29px; }.store-consent-product { align-items: flex-start; flex-direction: column; gap: 5px; }.store-consent-actions { grid-template-columns: 1fr; }
  .library-hero { padding: 58px 0 52px; }.library-hero h1 { font-size: 47px; }.library-hero-actions { align-items: flex-start; flex-direction: column; }.library-access-card { padding: 23px 20px; }.library-intro { padding-top: 59px; }.library-intro h2 { font-size: 39px; }.library-proof-grid { grid-template-columns: 1fr; }.library-proof-grid span + span { border-left: 0; border-top: 1px solid var(--line); }.owned-library-heading { align-items: flex-start; flex-direction: column; }.owned-library-empty { align-items: flex-start; flex-direction: column; }.owned-library-empty p { flex: initial; }.owned-product { grid-template-columns: 48px 1fr; }.owned-product > span { width: 46px; height: 46px; }.owned-product .button { grid-column: 1/-1; width: 100%; }.store-tabs { width: 100%; }.store-tabs button { min-width: 0; flex: 1; padding-inline: 9px; }.ebook-filters { display: grid; grid-template-columns: 1fr 1fr; }.ebook-cover { min-height: 310px; }.product-grid { grid-template-columns: 1fr; }.product-card { padding: 22px 19px; }.product-card > footer { align-items: flex-start; flex-direction: column; }.product-card > footer .button { width: 100%; }.library-plan-cta,.dashboard-library-card { align-items: flex-start; flex-direction: column; padding: 34px 25px; }.professional-course-locked > section { padding: 38px 20px; }.professional-course-locked h1 { font-size: 36px; }.course-lock-actions { flex-direction: column; }.professional-course-hero { padding-top: 44px; }.course-hero-stats { grid-template-columns: 1fr; }.course-hero-stats span + span { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }.professional-course-layout { padding-top: 25px; }.professional-course-layout > aside { grid-template-columns: 1fr; }.course-module > header,.course-module > section { padding: 30px 20px; }.course-module > header h2 { font-size: 33px; }.course-module-kicker { align-items: flex-start; flex-wrap: wrap; }.course-module-kicker .mini-label { width: 100%; }.course-module > footer { align-items: flex-start; flex-direction: column; padding: 22px 20px; }.course-module > footer .button { width: 100%; justify-content: center; }.course-section-heading { grid-template-columns: 44px 1fr; }.course-section-heading > span { width: 40px; height: 40px; }.professional-phrase { grid-template-columns: 31px 1fr; gap: 9px; }.professional-phrase b { font-size: 14px; }.language-focus { grid-template-columns: 1fr; padding: 24px 20px; }.language-focus > svg { display: none; }.course-vocabulary-grid,.self-check { grid-template-columns: 1fr; }.activity-card { padding: 20px 16px; }.roleplay-scene { grid-template-columns: 44px 1fr; padding: 16px; }.roleplay-avatar { width: 42px; height: 42px; }.writing-meta { align-items: flex-start; flex-direction: column; }.final-exam-intro,.course-exam-result { grid-template-columns: 1fr; }.course-exam-questions fieldset { padding: 18px 14px; }.course-exam-questions .lesson-speech-button,.course-exam-questions fieldset > div { margin-left: 0; }
  .owned-product-actions,.ebook-card-actions { width: 100%; flex-direction: column; }.owned-product-actions .button,.ebook-card-actions .button { width: 100%; }.ebook-reader-hero { padding: 48px 0; }.ebook-reader-hero h1 { font-size: 44px; }.ebook-reader-stats { grid-template-columns: 1fr; }.ebook-reader-stats span + span { border-left: 0; border-top: 1px solid rgba(255,255,255,.13); }.ebook-reader-layout { padding-top: 22px; }.ebook-reader-layout > aside { grid-template-columns: 1fr; }.ebook-reader-progress,.ebook-download-button { grid-column: auto; }.ebook-chapter > header { align-items: flex-start; flex-direction: column; padding: 33px 20px; }.ebook-chapter > header h2 { font-size: 36px; }.ebook-chapter > section { padding: 33px 20px; }.ebook-section-title { grid-template-columns: 42px 1fr; }.ebook-section-title > span { width: 39px; height: 39px; }.ebook-section-title h3 { font-size: 23px; }.ebook-context-grid { grid-template-columns: 1fr; }.ebook-scene { min-height: 520px; }.ebook-scene-orbit { width: 82px; height: 82px; }.ebook-scene-person { width: 84%; }.person-a { left: 8%; top: 10%; }.person-b { right: 8%; bottom: 10%; }.ebook-scene-person > span { width: 49px; height: 49px; flex-basis: 49px; }.ebook-scene-analysis,.ebook-check-grid { grid-template-columns: 1fr; }.ebook-phrase-lab > article { grid-template-columns: 1fr; }.ebook-phrase-lab article > p { margin-left: 0; }.ebook-production-brief { grid-template-columns: 1fr; }.ebook-chapter > footer { align-items: flex-start; flex-direction: column; padding: 22px 20px; }.ebook-chapter > footer .button { width: 100%; justify-content: center; }.course-coach { min-height: 300px; grid-template-columns: 1fr; padding: 10px 20px 0; }.course-coach-art { min-height: 170px; order: 2; }.course-coach-art img { left: 50%; width: 155px; max-height: 175px; transform: translateX(-50%); }.course-coach-copy { padding: 20px 0 0; text-align: center; }.course-coach-art img { animation: none; }.ebook-locked section { padding: 42px 22px; }.ebook-locked h1,.ebook-not-found h1 { font-size: 36px; }
}


/* General English flagship course */
.general-a1-hero { display: grid; grid-template-columns: minmax(0,.82fr) minmax(420px,1.18fr); gap: 42px; align-items: center; margin-top: 46px; margin-bottom: 42px; padding: 30px; border: 1px solid #d6e3dc; border-radius: 26px; background: linear-gradient(135deg,#edf7f1 0%,#fffdf8 66%); box-shadow: 0 24px 70px rgba(13,75,58,.08); }
.general-a1-hero-copy > span { color: var(--green); font-size: 9px; font-weight: 950; letter-spacing: .13em; }
.general-a1-hero-copy h2 { margin: 10px 0 14px; font-family: var(--font-display),sans-serif; font-size: clamp(34px,4vw,54px); line-height: 1; letter-spacing: -.05em; }
.general-a1-hero-copy > p { max-width: 520px; color: #596860; line-height: 1.7; }
.general-a1-hero-copy > div { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.general-a1-hero-copy > div b { padding: 8px 11px; border: 1px solid #cbdcd3; border-radius: 999px; color: var(--green-deep); background: rgba(255,255,255,.7); font-size: 10px; }
.general-a1-hero figure { position: relative; overflow: hidden; margin: 0; border-radius: 20px; background: var(--green-deep); }
.general-a1-hero figure img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }
.general-a1-hero figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 11px; border-radius: 999px; color: white; background: rgba(8,75,58,.88); font-size: 9px; font-weight: 850; backdrop-filter: blur(8px); }
.a1-grammar-roadmap { margin-top: 0; margin-bottom: 8px; padding: 34px; border: 1px solid #d6e3dc; border-radius: 24px; background: #fff; box-shadow: 0 18px 50px rgba(13,75,58,.06); }
.a1-grammar-roadmap > header { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 34px; align-items: start; margin-bottom: 24px; }
.a1-grammar-roadmap > header > span { color: var(--green); font-size: 9px; font-weight: 950; letter-spacing: .13em; }
.a1-grammar-roadmap h2 { margin: 0 0 8px; font-family: var(--font-display),sans-serif; font-size: clamp(28px,3vw,40px); line-height: 1.05; letter-spacing: -.045em; }
.a1-grammar-roadmap > header p { max-width: 720px; margin: 0; color: #617069; font-size: 11px; line-height: 1.7; }
.a1-grammar-roadmap ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 0; margin: 0; list-style: none; }
.a1-grammar-roadmap li { min-width: 0; }
.a1-grammar-roadmap li a { height: 100%; display: flex; flex-direction: column; padding: 18px; border: 1px solid #dce6e1; border-radius: 15px; color: inherit; background: #f8fbf9; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.a1-grammar-roadmap li a:hover { transform: translateY(-2px); border-color: #a9c8b8; box-shadow: 0 12px 28px rgba(13,75,58,.08); }
.a1-grammar-roadmap li a > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.a1-grammar-roadmap li a > div span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--green-deep); background: var(--lime); font-family: var(--font-display),sans-serif; font-size: 11px; font-weight: 950; }
.a1-grammar-roadmap li a small { color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.a1-grammar-roadmap h3 { margin: 17px 0 7px; font-family: var(--font-display),sans-serif; font-size: 16px; letter-spacing: -.025em; }
.a1-grammar-roadmap li p { flex: 1; margin: 0; color: #68756f; font-size: 10px; line-height: 1.6; }
.a1-grammar-roadmap li b { margin-top: 17px; color: var(--green); font-size: 9px; }
.a1-grammar-roadmap-next { margin: 20px 0 0; padding: 13px 15px; border-radius: 11px; color: #5e6c65; background: #edf7f1; font-size: 10px; line-height: 1.6; }
.a1-grammar-roadmap-next b { color: var(--green-deep); }

.general-course-pending { align-self: center; color: #7d8983; font-size: 9px; font-weight: 850; white-space: nowrap; }
.deep-lesson-sidebar li > a { width: 100%; display: grid; grid-template-columns: 28px minmax(0,1fr); align-items: center; gap: 11px; padding: 10px; border-radius: 9px; color: inherit; }
.deep-lesson-sidebar li > a > span:first-child { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; font-size: 9px; }
.deep-lesson-sidebar li > a > span:last-child { min-width: 0; }
.deep-lesson-sidebar li > a b,.deep-lesson-sidebar li > a small { display: block; }
.deep-lesson-sidebar li > a b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.deep-lesson-sidebar li > a small { margin-top: 3px; color: rgba(255,255,255,.45); font-size: 8px; text-transform: capitalize; }
.deep-lesson-sidebar li.current > a { color: white; background: rgba(255,255,255,.1); }
.deep-lesson-sidebar li.current > a > span:first-child { color: var(--green-deep); border-color: var(--lime); background: var(--lime); }
.deep-lesson-sidebar li.complete > a > span:first-child { color: var(--lime); border-color: var(--lime); }
.general-course-video-poster { overflow: hidden; margin: 22px 0; border: 1px solid var(--line); border-radius: 17px; background: var(--green-deep); }
.general-course-video-poster img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }
.general-course-video-poster figcaption { padding: 11px 14px; color: rgba(255,255,255,.75); background: var(--green-deep); font-size: 9px; line-height: 1.5; }
.general-self-check { margin: 18px 0 28px; }
.general-self-check details { padding: 13px 0; border-bottom: 1px solid var(--line); }
.general-self-check summary { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 11px; font-weight: 750; }
.general-self-check summary span { width: 25px; height: 25px; flex: 0 0 25px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 9px; }
.general-self-check ul { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 13px 0; list-style: none; }
.general-self-check li { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; color: #59675f; font-size: 9px; }
.general-self-check p { color: var(--green-deep); font-size: 10px; line-height: 1.55; }
.lesson-quiz fieldset > label { display: flex; align-items: center; gap: 9px; margin: 7px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; color: #52605a; font-size: 10px; cursor: pointer; }
.lesson-quiz fieldset > label:has(input:checked) { border-color: var(--green); background: #edf7f1; }
.lesson-quiz fieldset input { accent-color: var(--green); }
@media (max-width: 900px) {
  .general-a1-hero { grid-template-columns: 1fr; }
  .general-a1-hero figure { order: -1; }
  .a1-grammar-roadmap > header { grid-template-columns: 1fr; gap: 10px; }
  .a1-grammar-roadmap ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .general-a1-hero { width: min(100% - 24px,1180px); margin-top: 24px; padding: 17px; border-radius: 19px; }
  .general-a1-hero-copy h2 { font-size: 38px; }
  .general-a1-hero-copy > div { gap: 5px; }
  .a1-grammar-roadmap { width: min(100% - 24px,1180px); padding: 21px 17px; border-radius: 19px; }
  .a1-grammar-roadmap ol { grid-template-columns: 1fr; }
  .deep-lesson-page { grid-template-columns: 1fr; }
  .deep-lesson-sidebar { position: static; }
}


/* General lesson completion */
.general-lesson-completion { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 32px 0 18px; padding: 17px 19px; border: 1px solid #d5e0da; border-radius: 14px; background: #f7faf8; }
.general-lesson-completion > div { display: flex; align-items: center; gap: 12px; }
.general-lesson-completion > div > span { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 11px; font-weight: 900; }
.general-lesson-completion p,.general-lesson-completion b,.general-lesson-completion small { display: block; margin: 0; }
.general-lesson-completion b { font-size: 11px; }
.general-lesson-completion small { margin-top: 4px; color: #6f7d76; font-size: 9px; line-height: 1.4; }
.general-lesson-completion.saved { border-color: #82b89f; background: #eaf7f0; }
.general-lesson-completion button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 620px) {
  .general-lesson-completion { align-items: stretch; flex-direction: column; }
  .general-lesson-completion .button { width: 100%; justify-content: center; }
}


/* Lección general: navegación clara y guion con palabras clave */
.lesson-sidebar,
.deep-lesson-sidebar {
  color: #233b32;
  background:
    radial-gradient(circle at 18% 8%, rgba(214,243,106,.3), transparent 24%),
    linear-gradient(180deg,#f6f1e8 0%,#edf3ee 100%);
  border-right: 1px solid #d6e0da;
}
.lesson-sidebar > a,
.deep-lesson-sidebar > a { color: #6d7c75; }
.lesson-sidebar > span { color: #50775f; }
.lesson-sidebar h2 { color: #17372d; }
.lesson-duration { color: #74837c; }
.lesson-sidebar li { color: #64746c; }
.lesson-sidebar li > span,
.deep-lesson-sidebar li > a > span:first-child {
  color: #596c63;
  border-color: #b9c8c0;
  background: rgba(255,255,255,.72);
}
.deep-lesson-sidebar li > a small { color: #829089; }
.deep-lesson-sidebar li.current > a {
  color: #17372d;
  border: 1px solid #d0ddd6;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(23,55,45,.08);
}
.deep-lesson-sidebar li.current > a::before {
  content: "";
  width: 3px;
  align-self: stretch;
  margin-left: -10px;
  border-radius: 3px;
  background: #86a94a;
}
.deep-lesson-sidebar li.current > a { grid-template-columns: 3px 28px minmax(0,1fr); }
.deep-lesson-sidebar li.current > a > span:first-child {
  grid-column: 2;
  color: #17372d;
  border-color: #c9e854;
  background: var(--lime);
}
.deep-lesson-sidebar li.current > a > span:last-child {
  grid-column: 3;
  color: inherit;
  border: 0;
  background: transparent;
}
.deep-lesson-sidebar li.complete > a > span:first-child { color: #4f755f; border-color: #8ead9d; }

.dialogue-script { display: grid; gap: 12px; margin-top: 16px; }
.dialogue-script-line {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 17px 18px;
  border: 1px solid #d8e2dc;
  border-radius: 15px;
  background: linear-gradient(135deg,#fbfdfb,#f6f2e9);
}
.dialogue-script-line:nth-child(even) { background: linear-gradient(135deg,#f4f8f5,#fff); }
.dialogue-script-speaker {
  display: inline-flex;
  margin-bottom: 7px;
  color: #5f756a;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.dialogue-script-copy p { margin: 0; color: #203d32; font-size: clamp(18px,2.2vw,24px); line-height: 1.45; }
.dialogue-script-copy small { display: block; margin-top: 7px; color: #718078; font-size: 11px; line-height: 1.5; }
.script-keyword {
  color: #537a3c;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(214,243,106,.9);
  text-decoration-thickness: .28em;
  text-underline-offset: -.12em;
  text-decoration-skip-ink: none;
}
.dialogue-script-line .lesson-speech-button { margin: 0; white-space: nowrap; }

/* Iris A1: transición controlada entre poses naturales */
.iris-animated-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1672 / 941;
  color: var(--green-deep);
  background: #e7efe9;
}
.iris-animated-scene > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform-origin: 34% 58%;
  will-change: transform, filter;
  animation: irisSceneMotion 9s cubic-bezier(.4,0,.2,1) infinite;
}
.iris-animated-scene > .iris-motion-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 50% 50%;
  filter: none;
  will-change: opacity, transform;
}
.iris-animated-scene > .iris-motion-frame-1 { z-index: 1; opacity: 1; }
.iris-animated-scene > .iris-motion-frame-2 { z-index: 2; opacity: 0; }
.iris-animated-scene > .iris-motion-frame-3 { z-index: 3; opacity: 0; }
.iris-animated-scene > .iris-motion-frame-4 { z-index: 4; opacity: 0; }
.iris-motion-count-2 > .iris-motion-frame-1 {
  animation: irisPoseOne 14s cubic-bezier(.45,0,.2,1) infinite;
}
.iris-motion-count-2 > .iris-motion-frame-2 {
  animation: irisPoseTwo 14s cubic-bezier(.45,0,.2,1) infinite;
}
.iris-motion-count-4 > .iris-motion-frame-1 {
  animation: irisPoseFourOne 32s cubic-bezier(.45,0,.2,1) infinite;
}
.iris-motion-count-4 > .iris-motion-frame-2 {
  animation: irisPoseFourTwo 32s cubic-bezier(.45,0,.2,1) infinite;
}
.iris-motion-count-4 > .iris-motion-frame-3 {
  animation: irisPoseFourThree 32s cubic-bezier(.45,0,.2,1) infinite;
}
.iris-motion-count-4 > .iris-motion-frame-4 {
  animation: irisPoseFourFour 32s cubic-bezier(.45,0,.2,1) infinite;
}
.iris-reaction {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(255,255,255,.91);
  box-shadow: 0 9px 24px rgba(8,75,58,.16);
  font-size: 11px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.iris-reaction b { font-size: 10px; }
.iris-reaction-smile { animation: irisSmileReaction 9s ease-in-out infinite; }
.iris-reaction-surprise { animation: irisSurpriseReaction 9s ease-in-out infinite; }
.iris-spark {
  position: absolute;
  z-index: 2;
  color: var(--lime);
  font-size: 18px;
  font-style: normal;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(8,75,58,.18);
  animation: irisSparkReaction 9s ease-in-out infinite;
}
.iris-spark-one { top: 18%; left: 27%; }
.iris-spark-two { top: 10%; left: 38%; animation-delay: .18s; }
.iris-spark-three { top: 30%; left: 42%; animation-delay: .36s; }
.iris-animated-scene:hover > img {
  animation: none;
  transform: scale(1.045) translateY(-3px) rotate(-.25deg);
  filter: saturate(1.06) brightness(1.02);
}
.iris-animated-scene:hover > .iris-motion-frame {
  animation-play-state: paused;
  transform: scale(1.012);
  filter: none;
}
.iris-animated-scene:hover .iris-reaction { animation: none; }
.iris-animated-scene:hover .iris-reaction-smile { opacity: 0; }
.iris-animated-scene:hover .iris-reaction-surprise {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.iris-animated-scene:hover .iris-spark {
  opacity: 1;
  animation: irisSparkHover .8s ease-in-out infinite alternate;
}
.iris-unit-thumbnail {
  max-width: 210px;
  border-radius: 12px;
  box-shadow: 0 9px 24px rgba(8,75,58,.1);
}
.iris-course-hero > .iris-motion-frame,
.iris-course-thumbnail > .iris-motion-frame {
  object-fit: contain;
  object-position: center bottom;
}
.iris-course-hero > .iris-motion-frame { padding: 10px 38px 0; }
.iris-course-thumbnail > .iris-motion-frame { padding: 6px 24px 0; }
.iris-level-a1 { background: linear-gradient(135deg,#dcefe5,#fff9ed); }
.iris-level-a2 { background: linear-gradient(135deg,#d9eceb,#eef6f1); }
.iris-level-b1 { background: linear-gradient(135deg,#dbe7ec,#edf4ef); }
.iris-level-b2 { background: linear-gradient(135deg,#e9e1c9,#eef3e6); }
.iris-level-c1 { background: linear-gradient(135deg,#d9e5df,#eef2d2); }
.general-level-image-pending,
.general-unit-image-pending {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  min-height: 150px;
  border: 1px dashed #b8d1c4;
  border-radius: 16px;
  color: var(--green);
  background: linear-gradient(135deg,#edf7f1,#fffdf8);
}
.general-level-image-pending { min-height: 300px; }
.general-level-image-pending span,
.general-unit-image-pending span { font-family: var(--font-display),sans-serif; font-size: 30px; font-weight: 850; }
.general-level-image-pending small,
.general-unit-image-pending small { color: #718078; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.general-course-button-pending { display: inline-flex; cursor: default; opacity: .72; }
.iris-unit-thumbnail .iris-reaction {
  top: 7px;
  right: 7px;
  gap: 3px;
  padding: 5px 7px;
  font-size: 8px;
}
.iris-unit-thumbnail .iris-reaction b { font-size: 7px; }
.iris-unit-thumbnail .iris-spark { display: none; }
.unit-details .unit-summary-with-iris {
  grid-template-columns: 55px minmax(160px,210px) minmax(0,1fr) auto;
}
.general-a1-hero .iris-animated-scene,
.general-course-video-poster .iris-animated-scene { border-radius: inherit; }

@keyframes irisSceneMotion {
  0%, 34%, 100% { transform: scale(1) translateY(0) rotate(0); filter: saturate(1); }
  14% { transform: scale(1.018) translateY(-3px) rotate(.15deg); filter: saturate(1.04) brightness(1.015); }
  52% { transform: scale(1.015) translateY(0) rotate(0); filter: saturate(1.02); }
  58% { transform: scale(1.047) translateY(-4px) rotate(-.35deg); filter: saturate(1.08) brightness(1.025); }
  64% { transform: scale(1.032) translateY(0) rotate(.35deg); filter: saturate(1.06) brightness(1.015); }
  72% { transform: scale(1.015) translateY(-1px) rotate(0); filter: saturate(1.02); }
}
@keyframes irisSmileReaction {
  0%, 4%, 36%, 100% { opacity: 0; transform: translateY(-8px) scale(.88); }
  10%, 29% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes irisSurpriseReaction {
  0%, 51%, 75%, 100% { opacity: 0; transform: translateY(-8px) scale(.82); }
  57%, 68% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes irisSparkReaction {
  0%, 52%, 74%, 100% { opacity: 0; transform: translateY(5px) scale(.35) rotate(0); }
  58%, 66% { opacity: 1; transform: translateY(0) scale(1.15) rotate(36deg); }
}
@keyframes irisSparkHover {
  from { transform: scale(.75) rotate(0); }
  to { transform: scale(1.2) rotate(32deg); }
}
@keyframes irisPoseOne {
  0%, 38%, 100% { opacity: 1; transform: scale(1); }
  46%, 90% { opacity: 0; transform: scale(1.012); }
  96% { opacity: 1; transform: scale(1.004); }
}
@keyframes irisPoseTwo {
  0%, 38%, 100% { opacity: 0; transform: scale(1.012); }
  46%, 90% { opacity: 1; transform: scale(1); }
  96% { opacity: 0; transform: scale(1.004); }
}
@keyframes irisPoseFourOne {
  0%, 20% { opacity: 1; transform: scale(1); }
  23%, 96% { opacity: 0; transform: scale(1.01); }
  99%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes irisPoseFourTwo {
  0%, 20% { opacity: 0; transform: scale(1.01); }
  23%, 43% { opacity: 1; transform: scale(1.002); }
  46%, 100% { opacity: 0; transform: scale(1.01); }
}
@keyframes irisPoseFourThree {
  0%, 43% { opacity: 0; transform: scale(1.01); }
  46%, 72% { opacity: 1; transform: scale(1.004); }
  75%, 100% { opacity: 0; transform: scale(1.01); }
}
@keyframes irisPoseFourFour {
  0%, 72% { opacity: 0; transform: scale(1.01); }
  75%, 96% { opacity: 1; transform: scale(1.002); }
  99%, 100% { opacity: 0; transform: scale(1.01); }
}

@media (max-width: 900px) {
  .unit-details .unit-summary-with-iris {
    grid-template-columns: 46px minmax(125px,150px) minmax(0,1fr) auto;
    gap: 14px;
  }
}
@media (max-width: 620px) {
  .unit-details .unit-summary-with-iris {
    grid-template-columns: 42px minmax(0,1fr) 32px;
    gap: 12px;
    padding: 17px;
  }
  .unit-summary-with-iris .unit-number { grid-column: 1; grid-row: 1; }
  .unit-summary-with-iris .unit-info { grid-column: 2; grid-row: 1; }
  .unit-summary-with-iris .unit-chevron { grid-column: 3; grid-row: 1; }
  .unit-summary-with-iris .iris-unit-thumbnail {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
  }
  .lesson-outline { padding-inline: 17px; }
  .dialogue-script-line { grid-template-columns: 1fr; gap: 12px; padding: 15px; }
  .dialogue-script-line .lesson-speech-button { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .iris-animated-scene > img,
  .iris-reaction,
  .iris-spark { animation: none !important; }
  .iris-reaction-smile { opacity: 1; transform: none; }
  .iris-reaction-surprise,
  .iris-spark { display: none; }
  .iris-animated-scene:hover > img { transform: none; filter: none; }
  .iris-animated-scene > .iris-motion-frame-1 { display: block; opacity: 1; }
  .iris-animated-scene > .iris-motion-frame-2,
  .iris-animated-scene > .iris-motion-frame-3,
  .iris-animated-scene > .iris-motion-frame-4 { display: none; opacity: 0; }
}

/* Keep the student-panel refresh authoritative over the legacy dashboard rules above. */
.dashboard-page { min-height: calc(100vh - 76px); padding: 40px 0 110px; background: radial-gradient(circle at 8% 3%,rgba(214,243,106,.18),transparent 24%),radial-gradient(circle at 94% 12%,rgba(87,184,146,.11),transparent 22%),#f4f5ef; }
.dashboard-grid { grid-template-columns: minmax(0,1.35fr) minmax(310px,.65fr); gap: 20px; margin-top: 24px; }
.dashboard-full-width { grid-column: 1 / -1; }
.continue-card { min-height: 300px; padding: 34px; border-radius: 21px; background: linear-gradient(140deg,#073f34,#0b6951); }
.continue-card h2 { margin-top: 58px; font-size: clamp(27px,3vw,38px); }
.continue-card p { font-size: 11px; }
.continue-card .button { display: inline-flex; margin-top: 2px; }
.dashboard-section { border-radius: 21px; box-shadow: 0 14px 38px rgba(25,55,43,.055); }
@media (max-width: 800px) {
  .dashboard-page { padding-top: 22px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-full-width { grid-column: auto; }
}
@media (max-width: 520px) {
  .continue-card { min-height: 280px; padding: 25px; }
  .continue-card h2 { margin-top: 48px; }
}

/* Student progress intelligence */
.progress-intelligence {
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(8,75,58,.1);
  border-radius: 22px;
  color: var(--green-deep);
  background: linear-gradient(145deg,#fff 0%,#fbfcf5 55%,#f1f8f2 100%);
  box-shadow: 0 14px 38px rgba(25,55,43,.055);
}
.progress-intelligence-heading,
.progress-subheading,
.progress-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.progress-intelligence-heading h2,
.progress-subheading h3,
.progress-card-heading h3 { margin: 5px 0 0; }
.progress-intelligence-heading h2 { max-width: 680px; font-size: clamp(26px,3vw,38px); }
.progress-intelligence-heading p { margin: 8px 0 0; color: #6c7d75; font-size: 12px; }
.progress-intelligence .mini-label { display: inline-flex; align-items: center; gap: 6px; }
.progress-intelligence .mini-label svg { width: 14px; height: 14px; }
.progress-intelligence-score {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 315px;
  padding: 14px 16px;
  border: 1px solid #dbe6df;
  border-radius: 17px;
  background: rgba(255,255,255,.82);
}
.progress-intelligence-score > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; color: #17372d; background: var(--lime); }
.progress-intelligence-score svg { width: 19px; height: 19px; }
.progress-intelligence-score div { display: grid; gap: 2px; }
.progress-intelligence-score strong { font-family: var(--font-display),sans-serif; font-size: 20px; line-height: 1; }
.progress-intelligence-score small { color: #738078; font-size: 9px; }
.progress-intelligence-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(260px,.6fr); gap: 16px; margin-top: 24px; }
.progress-week-chart,
.progress-recommendation { min-height: 255px; padding: 22px; border-radius: 19px; }
.progress-week-chart { border: 1px solid #e0e8e2; background: rgba(255,255,255,.88); }
.progress-card-heading span,
.progress-subheading span { color: #678076; font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.progress-card-heading h3,
.progress-subheading h3 { font-size: 20px; }
.progress-card-heading > small { color: #809087; font-size: 9px; }
.progress-bars { display: grid; grid-template-columns: repeat(7,1fr); align-items: end; gap: 10px; height: 150px; margin-top: 18px; }
.progress-bar-day { display: grid; grid-template-rows: 1fr auto; align-items: end; gap: 8px; height: 100%; text-align: center; }
.progress-bar-day > b { color: #718078; font-size: 9px; text-transform: capitalize; }
.progress-bar-value {
  position: relative;
  display: block;
  min-height: 8px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg,var(--lime),#8fbc66);
  box-shadow: 0 7px 14px rgba(111,151,76,.16);
  transition: height .35s ease;
}
.progress-bar-value i { position: absolute; top: -17px; left: 0; right: 0; color: #607168; font-size: 8px; font-style: normal; }
.progress-recommendation { display: flex; flex-direction: column; align-items: flex-start; color: #fff; background: linear-gradient(145deg,#073f34,#0a7256); box-shadow: 0 16px 30px rgba(7,63,52,.14); }
.progress-recommendation-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 18px; border-radius: 14px; color: #17372d; background: var(--lime); }
.progress-recommendation-icon svg { width: 19px; height: 19px; }
.progress-recommendation > span:not(.progress-recommendation-icon) { color: #cce3d7; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.progress-recommendation h3 { margin: 7px 0 8px; color: #fff; font-size: 23px; }
.progress-recommendation p { margin: 0 0 20px; color: #d7e9e1; font-size: 11px; line-height: 1.65; }
.progress-recommendation-button { display: inline-flex; justify-content: center; gap: 8px; width: 100%; margin-top: auto; color: #17372d; background: var(--lime); }
.progress-recommendation-button svg { width: 15px; height: 15px; }
.progress-subheading { align-items: center; margin-top: 27px; }
.progress-subheading > svg { width: 21px; height: 21px; color: #6f8d60; }
.weekly-goal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 13px; }
.weekly-goal-grid article { position: relative; display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 12px; padding: 17px; border: 1px solid #e0e7e2; border-radius: 17px; background: rgba(255,255,255,.9); }
.weekly-goal-grid article > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; color: #08704f; background: #edf6ef; }
.weekly-goal-grid article > span svg { width: 18px; height: 18px; }
.weekly-goal-grid article > div > div:first-child { display: flex; justify-content: space-between; gap: 8px; }
.weekly-goal-grid b { font-size: 11px; }
.weekly-goal-grid strong { font-size: 11px; }
.weekly-goal-grid p { margin: 3px 0 10px; color: #7c8b83; font-size: 9px; }
.weekly-goal-progress { overflow: hidden; height: 6px; border-radius: 999px; background: #e7ede9; }
.weekly-goal-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#5c9b72,var(--lime)); }
.weekly-goal-grid .weekly-goal-complete { border-color: #bfd8c8; background: #f6fbf6; }
.weekly-goal-check { position: absolute; top: -7px; right: -6px; width: 19px; height: 19px; color: #16845e; fill: #fff; }
.progress-achievement-heading { margin-top: 29px; }
.achievement-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; margin-top: 13px; }
.achievement-grid article { position: relative; display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 11px; min-height: 110px; padding: 15px; border: 1px solid #e1e7e2; border-radius: 16px; background: rgba(255,255,255,.82); }
.achievement-grid article > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; }
.achievement-grid article > span svg { width: 17px; height: 17px; }
.achievement-grid b { display: block; font-size: 11px; }
.achievement-grid p { margin: 4px 0 7px; color: #78877f; font-size: 9px; line-height: 1.5; }
.achievement-grid small { color: #66766e; font-size: 8px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.achievement-unlocked { border-color: #c5da9b !important; background: linear-gradient(145deg,#fcfff6,#f5fae9) !important; }
.achievement-unlocked > span { color: #5c762f; background: #e4f2b6; }
.achievement-unlocked > svg { position: absolute; top: 11px; right: 11px; width: 15px; height: 15px; color: #17825e; }
.achievement-locked { opacity: .7; }
.achievement-locked > span { color: #809087; background: #edf1ee; }
.progress-intelligence-loading,
.progress-intelligence-error { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 190px; }
.progress-intelligence-loading h2,
.progress-intelligence-error h2 { margin: 5px 0; font-size: 24px; }
.progress-intelligence-loading p,
.progress-intelligence-error p { margin: 0; color: #718078; font-size: 11px; }
.progress-intelligence-error { justify-content: space-between; }
.progress-intelligence-error .button { display: inline-flex; gap: 7px; }
.progress-intelligence-error .button svg { width: 15px; height: 15px; }
@media (max-width: 900px) {
  .progress-intelligence-heading { display: grid; }
  .progress-intelligence-score { min-width: 0; width: 100%; }
  .progress-intelligence-layout { grid-template-columns: 1fr; }
  .progress-recommendation { min-height: 230px; }
  .weekly-goal-grid,
  .achievement-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .progress-intelligence { padding: 21px; }
  .progress-intelligence-score { display: grid; grid-template-columns: 40px 1fr 1fr; gap: 10px; }
  .progress-bars { gap: 6px; }
  .weekly-goal-grid,
  .achievement-grid { grid-template-columns: 1fr; }
  .progress-card-heading { display: grid; gap: 4px; }
  .progress-intelligence-error { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .progress-bar-value { transition: none; }
}

/* Secure placement test and first-run learning path */
.placement-loading { display: grid; justify-items: center; gap: 12px; text-align: center; }
.placement-loading h1 { margin: 5px 0 0; }
.placement-loading p { margin: 0; }
.placement-loading .button { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; }
.placement-loading .button svg { width: 16px; height: 16px; }
.placement-previous { display: flex; align-items: center; gap: 11px; margin: 0 0 22px; padding: 13px 15px; border: 1px solid #cfe0d6; border-radius: 14px; color: #174c3c; background: #f2f8f4; }
.placement-previous > svg { flex: 0 0 auto; width: 20px; height: 20px; }
.placement-previous div { display: grid; gap: 3px; }
.placement-previous b { font-size: 11px; }
.placement-previous span { color: #6d7c74; font-size: 9px; }
.test-card > p:has(svg) { display: flex; align-items: center; justify-content: center; gap: 6px; }
.test-card > p svg { flex: 0 0 auto; width: 13px; height: 13px; }
.placement-level-scores { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; width: 100%; margin: 22px 0; }
.placement-level-scores div { display: grid; gap: 4px; padding: 11px 8px; border: 1px solid #dce6df; border-radius: 12px; background: #f8faf8; text-align: center; }
.placement-level-scores b { color: var(--green); font-size: 12px; }
.placement-level-scores span { color: #6f7e76; font-size: 10px; }
.placement-result-notice { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0 0 18px; padding: 12px 14px; border: 1px solid #e3d8b8; border-radius: 13px; color: #67552b; background: #fff9e9; font-size: 10px; line-height: 1.5; }
.placement-result-notice svg { flex: 0 0 auto; width: 17px; height: 17px; }
.placement-result-saved { border-color: #c6dfcf; color: #17513f; background: #eff8f2; }
.placement-premium-note { display: block; margin-top: 16px; color: #74827a; font-size: 9px; }
.student-onboarding { position: relative; display: grid; grid-template-columns: minmax(0,.8fr) minmax(340px,1.2fr); gap: 28px; overflow: hidden; padding: 30px; border: 1px solid rgba(8,75,58,.14); border-radius: 22px; color: #fff; background: radial-gradient(circle at 0 0,rgba(214,243,106,.17),transparent 34%),linear-gradient(145deg,#073e33,#0b6a51); box-shadow: 0 16px 38px rgba(8,75,58,.13); }
.student-onboarding .mini-label { display: inline-flex; align-items: center; gap: 6px; color: #d7efaa; }
.student-onboarding .mini-label svg { width: 14px; height: 14px; }
.student-onboarding h2 { margin: 8px 0 9px; color: #fff; font-size: clamp(25px,3vw,36px); }
.student-onboarding-copy > p { max-width: 560px; margin: 0; color: #d5e7df; font-size: 11px; line-height: 1.65; }
.student-onboarding-security { display: flex; align-items: center; gap: 7px; margin-top: 19px; color: #c3d8cf; font-size: 9px; }
.student-onboarding-security svg { flex: 0 0 auto; width: 15px; height: 15px; }
.student-onboarding-options { display: grid; gap: 10px; align-content: center; }
.student-onboarding-options > button,
.student-onboarding-options > a { display: grid; grid-template-columns: 42px minmax(0,1fr) 18px; align-items: center; gap: 12px; width: 100%; padding: 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; color: #17372d; background: rgba(255,255,255,.96); text-align: left; text-decoration: none; cursor: pointer; }
.student-onboarding-options > button:disabled { cursor: wait; opacity: .72; }
.student-onboarding-options > :is(button,a) > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #174f3f; background: #e9f3e8; }
.student-onboarding-options > :is(button,a) > span svg { width: 19px; height: 19px; }
.student-onboarding-options > :is(button,a) > div { display: grid; gap: 3px; }
.student-onboarding-options b { font-size: 11px; }
.student-onboarding-options small { color: #738078; font-size: 9px; }
.student-onboarding-options > :is(button,a) > svg { width: 16px; height: 16px; color: #638075; }
.student-onboarding-retry { position: absolute; left: 30px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; border: 0; color: #f1c8ba; background: transparent; font-size: 9px; cursor: pointer; }
.student-onboarding-retry svg { width: 12px; height: 12px; }
@media (max-width: 850px) {
  .student-onboarding { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .placement-level-scores { grid-template-columns: repeat(5,minmax(48px,1fr)); overflow-x: auto; }
  .student-onboarding { padding: 22px; }
  .student-onboarding-options > button,
  .student-onboarding-options > a { grid-template-columns: 38px minmax(0,1fr) 16px; padding: 13px; }
  .student-onboarding-options > :is(button,a) > span { width: 38px; height: 38px; }
}


/* Authoritative Iris portrait and hero placement */
.support-trigger-mark,
.support-bot-avatar,
.iris-message-avatar {
  background-image: url("/images/iris/iris-welcome.webp") !important;
  background-size: 340% auto !important;
  background-position: 50% 20% !important;
}
.iris-hero-bubble {
  right: 72px;
  bottom: -30px;
}
@media (max-width: 1180px) {
  .iris-hero-bubble { right: 58px; bottom: -24px; }
}
@media (max-width: 960px) {
  .iris-hero-bubble { right: 70px; bottom: -20px; }
}
@media (max-width: 620px) {
  .iris-hero-bubble { right: 34px; bottom: -18px; }
}


/* Final modern Iris identity */
.support-trigger-mark,
.support-bot-avatar,
.iris-message-avatar {
  background-image: url("/images/iris/iris-modern-face.webp") !important;
  background-size: cover !important;
  background-position: center top !important;
  border-radius: 50% !important;
}
.iris-hero-guide > img {
  width: 225px !important;
  right: -15px !important;
  bottom: 0 !important;
  object-fit: contain;
  transform: scaleX(-1);
  transform-origin: center;
  animation: iris-welcome-breathe-inward 5.2s ease-in-out infinite !important;
}
@keyframes iris-welcome-breathe-inward {
  0%, 100% { transform: scaleX(-1) translateY(0) rotate(-.4deg); }
  50% { transform: scaleX(-1) translateY(-7px) rotate(.5deg); }
}
.iris-hero-bubble { display: none !important; }
@media (max-width: 1180px) {
  .iris-hero-guide > img { width: 205px !important; right: -15px !important; bottom: 0 !important; }
}
@media (max-width: 960px) {
  .iris-hero-guide > img { width: 175px !important; right: 5px !important; bottom: 0 !important; }
}
@media (max-width: 620px) {
  .hero-product { min-height: 680px; padding-bottom: 170px; }
  .iris-hero-guide > img { width: 145px !important; right: 15px !important; bottom: 0 !important; }
}


/* Podium medals: gold, silver and bronze */
.podium-place.podium-1,
.podium-place.podium-2,
.podium-place.podium-3 {
  isolation: isolate;
  overflow: visible;
  border-width: 2px;
  border-style: solid;
}
.podium-place.podium-1 {
  --podium-metal: #d4af37;
  --podium-metal-light: #fff1a8;
  --podium-metal-dark: #8a6200;
  --podium-surface: #fff8dc;
  border-color: #d4af37;
  background: radial-gradient(circle at 50% 12%, rgba(255,255,255,.96), transparent 34%), linear-gradient(155deg, #fffdf2 0%, #fff4c4 58%, #f8e09a 100%);
  box-shadow: 0 18px 36px rgba(174,126,0,.22), inset 0 1px 0 rgba(255,255,255,.9);
  transform: translateY(-5px);
}
.podium-place.podium-2 {
  --podium-metal: #aeb7c1;
  --podium-metal-light: #f7f9fb;
  --podium-metal-dark: #66717d;
  --podium-surface: #eef2f5;
  border-color: #aeb7c1;
  background: radial-gradient(circle at 50% 12%, #fff, transparent 34%), linear-gradient(155deg, #fbfcfd 0%, #edf1f4 62%, #dce2e7 100%);
  box-shadow: 0 14px 28px rgba(77,91,104,.16), inset 0 1px 0 #fff;
}
.podium-place.podium-3 {
  --podium-metal: #b87333;
  --podium-metal-light: #f6c797;
  --podium-metal-dark: #754019;
  --podium-surface: #f6dfca;
  border-color: #b87333;
  background: radial-gradient(circle at 50% 12%, rgba(255,255,255,.92), transparent 34%), linear-gradient(155deg, #fff9f3 0%, #f5dcc4 62%, #e7ba90 100%);
  box-shadow: 0 14px 28px rgba(137,76,31,.17), inset 0 1px 0 rgba(255,255,255,.9);
}
.podium-place:is(.podium-1,.podium-2,.podium-3) .podium-medal {
  width: 36px;
  height: 36px;
  top: -19px;
  color: #24332d;
  border: 2px solid var(--podium-metal-dark);
  background: linear-gradient(145deg, var(--podium-metal-light) 0%, var(--podium-metal) 55%, var(--podium-metal-dark) 100%);
  box-shadow: 0 7px 15px color-mix(in srgb, var(--podium-metal-dark) 32%, transparent), inset 0 2px 2px rgba(255,255,255,.65);
  font-size: 12px;
  text-shadow: 0 1px rgba(255,255,255,.45);
}
.podium-place.podium-1 .podium-medal {
  width: 42px;
  height: 42px;
  top: -23px;
  color: #2e2a16;
  font-size: 19px;
  box-shadow: 0 9px 20px rgba(151,104,0,.31), inset 0 2px 2px rgba(255,255,255,.72);
}
.podium-place:is(.podium-1,.podium-2,.podium-3) .league-avatar {
  border: 3px solid var(--podium-metal);
  box-shadow: 0 5px 13px color-mix(in srgb, var(--podium-metal-dark) 20%, transparent);
}
.podium-place:is(.podium-1,.podium-2,.podium-3) > i {
  color: var(--podium-metal);
  opacity: .46;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.podium-place:is(.podium-1,.podium-2,.podium-3) > small {
  color: var(--podium-metal-dark);
}
@media (max-width: 620px) {
  .podium-place.podium-1 { transform: translateY(-3px); }
  .podium-place:is(.podium-1,.podium-2,.podium-3) .podium-medal { width: 32px; height: 32px; top: -17px; }
  .podium-place.podium-1 .podium-medal { width: 37px; height: 37px; top: -20px; }
}

/* Iris editorial course artwork */
.iris-editorial-art {
  overflow: hidden;
  background: #e8f0eb;
}
.iris-course-hero.iris-editorial-art,
.premium-course-cover.iris-editorial-art {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
}
.iris-course-thumbnail.iris-editorial-art {
  aspect-ratio: 3 / 2;
}
.iris-course-hero.iris-editorial-art > .iris-motion-frame,
.iris-course-thumbnail.iris-editorial-art > .iris-motion-frame,
.premium-course-cover.iris-editorial-art > .iris-motion-frame {
  padding: 0;
  object-fit: cover;
  object-position: center;
}
.premium-course-cover {
  margin: 12px 0 18px;
  width: 100%;
  max-width: none;
  box-shadow: 0 12px 30px rgba(8, 75, 58, .14);
}
.course-cover-iris-frame {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #e8f0eb;
  box-shadow: 0 12px 30px rgba(8, 75, 58, .12);
}
.course-cover-iris-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
