:root{--ink:#25475a;--muted:#7691a1;--bg:#f7fbfd;--line:#e4eef3;--blue:#5faccf;--pale:#e6f3fa;--white:#fff;--radius:17px}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--ink)}a{color:#327da2;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.7}.layout{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;align-self:flex-start;height:100vh;background:#fff;border-right:1px solid var(--line);width:255px;flex-shrink:0;padding:28px 18px;display:flex;flex-direction:column;gap:6px}.logo{display:flex;align-items:center;gap:12px;font-weight:850;font-size:23px;line-height:1.07;color:#285c75;margin-bottom:30px}.logo-mark{font-size:34px;background:#dff2fa;width:52px;height:52px;display:grid;place-items:center;border-radius:16px}.logo small{display:block;margin-top:8px;font-size:10px;letter-spacing:1.8px;color:#7aaabc}.sidebar-caption{font-size:10px;letter-spacing:1.5px;color:#a0afba;font-weight:800;margin:0 10px 10px}.nav-item{padding:13px 15px;border-radius:12px;display:flex;gap:10px;font-size:14px;color:#678697;font-weight:650}.nav-item:hover,.nav-item.selected{background:#e7f5fb;color:#287fa6}.side-quote{margin-top:auto;padding:19px;border-radius:16px;background:#eef8fa;font-size:25px}.side-quote b{font-size:14px;display:block;margin-top:6px}.side-quote p{font-size:12px;line-height:1.7;margin-bottom:0;color:#7c98a8}.workspace{flex:1;min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;font-size:13px;color:#7291a1}.slash{margin:0 10px;color:#bccbd2}.top-chips{display:flex;gap:9px}.chip{border-radius:100px;background:#eef7fb;padding:9px 12px;font-size:12px;color:#4987a3}main{max-width:1340px;margin:auto;padding:34px 38px 75px}.eyebrow{font-size:11px;font-weight:850;letter-spacing:1.8px;text-transform:uppercase;color:#78a8c0;margin-bottom:11px}h1{font-size:clamp(25px,3vw,36px);letter-spacing:-.8px;margin:0 0 13px}h2{font-size:19px;margin:0 0 17px}h3{font-size:15px;margin:0 0 8px}p{line-height:1.7}.lead{color:#7796a5;margin:0 0 27px}.muted,small{color:#85a0ad}.hero{background:linear-gradient(110deg,#e7f5fb,#f0f8fc 70%,#e5f2ed);border-radius:24px;min-height:214px;display:flex;justify-content:space-between;align-items:center;padding:34px 42px}.hero p{max-width:580px;color:#7095a5;font-size:14px;margin-bottom:24px}.hero-art{font-size:72px;white-space:nowrap}.button{display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;border:none;border-radius:10px;background:#62acce;color:#fff;font-weight:750;font-size:13px;min-height:40px}.button:hover{background:#458eb5}.button.secondary{background:#e5f2f8;color:#397e9e}.button.secondary:hover{background:#d1e8f4}.button.small{padding:7px 12px;min-height:32px;font-size:12px}.button.full{width:100%}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:23px 0}.stat,.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 3px 16px #2c739408}.stat{padding:20px;font-size:11px;letter-spacing:.3px;color:#8ca2af}.stat strong{display:block;color:#2c617a;font-size:27px;margin:11px 0 5px;letter-spacing:-1px}.stat small{font-size:11px}.panel{padding:25px}.columns{display:grid;grid-template-columns:1.1fr .9fr;gap:19px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.section-title h2{margin:0}.section-title a,.section-title span{font-size:12px;color:#72a0b5}.course-line{display:flex;align-items:center;gap:15px;border-bottom:1px solid #eaf2f6;padding:16px 1px}.course-line>span{font-size:29px;background:#eff8fb;width:49px;height:49px;display:grid;place-items:center;border-radius:12px}.course-line div{flex:1}.course-line strong{font-size:13px;display:block;color:#385b70}.course-line small{display:block;margin-top:5px;font-size:12px}.course-line:last-child{border:0}.goal{margin:20px 0}.goal>span{display:flex;justify-content:space-between;font-size:13px}.goal b{color:#639ab8}.progress{height:9px;background:#edf3f6;border-radius:10px;margin-top:9px;overflow:hidden}.progress i{display:block;background:#81c4dd;height:100%;border-radius:10px}blockquote{border:0;margin:23px 0 0;padding:13px;text-align:center;color:#729aab;font-family:Georgia,serif;font-style:italic;background:#f8fbfd}.top-gap{margin-top:29px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.track{display:flex;gap:16px;align-items:center;color:#4383a1}.track>span{font-size:37px}.track div{flex:1}.track h3{color:#325c70;font-size:17px}.track p{font-size:12px;color:#8da4b1;margin:0}.track small,.episode{font-size:10px;color:#82a9be;font-weight:800;letter-spacing:1px}.stages{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stages .panel{padding:20px}.stages p{font-size:12px;color:#8199a7}.stages strong{color:#70abc4;font-size:12px}.stage-num{font-size:30px;color:#aed5e5;font-weight:800;margin-bottom:11px}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.lesson-tile{min-height:175px;display:flex;flex-direction:column}.lesson-tile h3{font-size:16px;margin:10px 0}.lesson-tile small{margin-bottom:15px}.lesson-tile .button,.lesson-tile .pill{margin-top:auto;align-self:flex-start}.pill{background:#eef4f7;border-radius:100px;color:#7d99a7;font-size:12px;padding:8px 13px;display:inline-block}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 242px;gap:17px}.tabs{display:flex;overflow:auto;gap:5px;padding:5px 0 13px}.tab{white-space:nowrap;border:1px solid var(--line);background:#fff;padding:11px 14px;border-radius:10px;color:#7997a6;font-size:12px;font-weight:700}.tab.active{background:#5baccf;color:#fff}.lesson-body{min-height:360px}.lesson-body>p{font-size:14px;color:#7794a2}.lesson-side{padding:17px;height:max-content;position:sticky;top:15px}.lesson-side h3{margin:6px 7px 14px}.side-step{border:0;border-radius:10px;background:transparent;color:#7996a6;font-size:12px;text-align:left;padding:12px;display:flex;justify-content:space-between;width:100%;margin-bottom:3px}.side-step.active,.side-step:hover{background:#e6f4fa;color:#438ba9}.objectives>div,.pattern{padding:15px 17px;background:#f8fbfc;border:1px solid var(--line);border-radius:11px;margin:10px 0}.pattern p{font-size:13px;margin:0;color:#7997a6}.callout{margin-top:20px;border-radius:12px;padding:16px;background:#edf7fa;font-size:12px;color:#6c93a5;line-height:1.7}.video{aspect-ratio:16/9;background:#dcecf3;border-radius:15px;overflow:hidden;margin:15px 0}.video iframe{width:100%;height:100%;border:0}.subtitles{max-height:420px;overflow:auto;border:1px solid var(--line);border-radius:12px}.subtitle{width:100%;border:0;border-bottom:1px solid var(--line);background:#fff;display:flex;gap:14px;text-align:left;padding:13px;color:#41667c}.subtitle time{font-size:12px;color:#8dabbb}.subtitle:hover{background:#f0f9fc}.field{display:flex;flex-direction:column;gap:9px;font-size:13px;font-weight:650;margin:18px 0}.field input,textarea{padding:12px 14px;border-radius:10px;border:1px solid #d8e8f0;background:#fff;color:#36596b;width:100%}.field input:focus,textarea:focus{outline:2px solid #b7ddec}.actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.notice{margin:14px 0;padding:14px;background:#e8f5ea;border-radius:10px;font-size:13px}.flashcard{margin:20px 0;padding:24px;border:1px solid var(--line);border-radius:18px;text-align:center;background:#f9fcfd}.flashcard .big-icon{font-size:76px}.flashcard h2{font-size:32px;margin:14px 0 5px}.flashcard h3{margin:14px}.word-bank,.word-target{display:flex;flex-wrap:wrap;gap:9px;padding:15px;background:#f1f8fb;min-height:64px;border-radius:13px;margin:12px 0}.word-target{border:1px dashed #adcddc;background:#fff}.word{border:1px solid #cadfe9;padding:10px 13px;border-radius:9px;background:white;color:#376782}.word.chosen{background:#e8f5fb}.mission{border:1px solid var(--line);padding:20px;border-radius:13px;margin:15px 0}.mission p{font-size:13px}.mission textarea{display:block;margin:15px 0}.question{padding:19px 0;border-bottom:1px solid var(--line)}.option{width:100%;display:block;text-align:left;border:1px solid #dcebf1;padding:11px 14px;background:white;border-radius:9px;margin:8px 0;color:#4b7487}.option.selected{background:#e6f4fa;border-color:#73bbd6}.option.correct{border-color:#75bb9e}.score{background:#e5f8eb;text-align:center;border-radius:14px;font-size:36px;font-weight:800;padding:17px;color:#2b9a6d}.score small{display:block;font-size:13px;margin-top:5px}.mobile-nav{display:none}footer{text-align:center;margin-top:44px;font-size:11px;color:#94aab7}.loading{padding:50px;text-align:center}@media(max-width:1100px){.sidebar{width:215px}.stats{grid-template-columns:repeat(2,1fr)}.lesson-grid{grid-template-columns:repeat(2,1fr)}.stages{grid-template-columns:repeat(2,1fr)}.lesson-layout{grid-template-columns:1fr}.lesson-side{position:static}}@media(max-width:760px){.sidebar{display:none}.topbar{height:60px;padding:0 18px}.top-chips .chip:first-child{display:none}main{padding:20px 16px 90px}.hero{padding:25px}.hero h1{font-size:26px}.hero-art{font-size:36px}.columns,.cards,.lesson-grid{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:14px}.stat strong{font-size:21px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:20;justify-content:space-around;background:white;border-top:1px solid var(--line);padding:9px 0 env(safe-area-inset-bottom)}.mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:19px}.mobile-nav small{font-size:9px;color:#7297aa}.lesson-side{display:none}.lesson-body{padding:18px}}

/* ===============================================================
  LANI · BE A GIFT — ACCESSIBLE BLUE/WHITE DASHBOARD · 2026-10-12
  The Lani English cloud mascot and rooted-tree illustrations live in /src/assets.
  Base layout stays compatible with Lessons, Review and Teacher Studio.
================================================================ */
:root {
  --ink:#153154;
  --muted:#4d6782;
  --bg:#f5f9fe;
  --line:#dfeaf6;
  --blue:#1769cc;
  --blue-dark:#0c56a9;
  --pale:#eaf4ff;
  --white:#fff;
  --radius:18px;
  color-scheme:light;
}
html {font-size:16px;scroll-behavior:smooth}
body {font-size:1rem;line-height:1.6;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}
button, input, select, textarea {font:inherit}
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent }
a {color:var(--blue)}
a:hover {color:var(--blue-dark)}
:focus-visible {outline:3px solid #f4b446!important;outline-offset:3px}
button,.button {touch-action:manipulation}
.button {
  min-height:46px;padding:11px 22px;border-radius:12px;
  background:var(--blue);font-size:1rem;line-height:1.4;
  font-weight:750;letter-spacing:.005em;color:#fff;
  transition:background .2s ease,transform .2s ease;
}
.button:hover {background:var(--blue-dark);color:#fff;transform:translateY(-1px)}
.button.secondary {background:#e6f2ff;color:#1156a4}
.button.secondary:hover{background:#d5e9ff;color:#103f80}
.button.small {min-height:42px;padding:9px 15px;font-size:.9375rem}
.layout {min-height:100vh}
.sidebar {
  width:266px;padding:27px 19px 22px;gap:9px;background:#fff;
  border-right:1px solid #e1eaf3;box-shadow:5px 0 30px #1b5e9b04;
}
.logo {
  gap:10px;margin:0 0 32px 3px;line-height:1.14;
  font-size:1.37rem;color:#153d7a;
}
.logo-mark {
  display:grid;place-items:center;flex:0 0 54px;
  width:54px;height:54px;font-size:31px;
  border-radius:18px;background:linear-gradient(145deg,#d8ecff,#f3f9ff);
}
.logo small {font-size:.67rem;letter-spacing:.12em;margin-top:6px;color:#4676a5}
.sidebar-caption {
  font-size:.72rem;margin:0 10px 7px;letter-spacing:.13em;
  color:#577da4;font-weight:800;
}
.sidebar-menu {display:flex;flex-direction:column;gap:4px}
.nav-item {
  display:flex;align-items:center;gap:13px;
  border-radius:13px;padding:12px 15px;
  color:#365571;font-size:1rem;font-weight:650;min-height:48px;
}
.nav-symbol {width:27px;flex:0 0 27px;text-align:center;font-size:1.25rem}
.nav-item:hover,.nav-item.selected {
  background:#e8f3ff;color:#0e5db5;
}
.nav-item.selected{font-weight:800;box-shadow:inset 3px 0 0 #1871da}
.side-quote {
  margin-top:auto;padding:19px 15px 0;overflow:hidden;
  background:linear-gradient(180deg,#edf7ff 3%,#fcfff9 90%);
  border:1px solid #e2eef6;border-radius:19px;font-size:1.65rem;
}
.side-quote b{font-size:.99rem;color:#1c5181}
.side-quote p {font-size:.88rem;line-height:1.55;color:#53718b;margin:8px 0 0}
.side-quote img {width:110%;max-width:none;display:block;margin:0 -5% -7px}
.workspace {min-width:0;flex:1}
.topbar {
  height:76px;padding:0 35px;gap:15px;background:#fff;
  border-bottom:1px solid #e3edf6;
  color:#4e6c87;font-size:.94rem;
}
.topbar-location {min-width:0}
.desktop-location {font-weight:600}
.mobile-brand{display:none}
.slash{color:#a6bacf}
.top-chips{display:flex;align-items:center;gap:10px}
.chip {
  font-size:.91rem;font-weight:700;border:1px solid #e0ecf8;
  color:#25577f;background:#f2f8ff;padding:8px 15px;
  border-radius:100px;min-height:42px;
}
.chip-logout{font-weight:650}
main {max-width:1440px;padding:30px 36px 95px}
.panel,.stat {
  border:1px solid #e2ebf5;border-radius:var(--radius);
  box-shadow:0 6px 26px #285a9508;background:#fff;
}
.panel{padding:27px}
h1{font-size:clamp(1.9rem,3vw,2.65rem);line-height:1.2;color:#122d51}
h2{font-size:1.38rem;line-height:1.3;color:#16365e}
h3{font-size:1.14rem;line-height:1.4;color:#173d6b}
p{line-height:1.65}
.muted,small{color:#56738e}
.lead{color:#4a6680;font-size:1rem}
.eyebrow{font-size:.82rem;color:#2868a3}
.section-title a,.section-title span{font-size:.92rem}
.track h3,.lesson-tile h3{font-size:1.12rem}
.track p,.course-line small,.lesson-tile small{font-size:.94rem}
.course-line strong{font-size:1rem}
.course-line small{line-height:1.5}
.course-line{min-height:74px}
.field,.goal>span,.mission p,.lesson-body>p {font-size:1rem}
.field input,.field select,.field textarea,textarea{
  font-size:1rem;min-height:44px;border-radius:12px;
  color:#173b5e;border-color:#c5d7ea;
}
.field input:focus,textarea:focus {outline:2px solid #2375d5}
.nav-item,.dash-action,.dash-next-lesson,.course-line {transition:background .18s ease,color .18s ease}
.lesson-tile{min-height:195px}
.pill{font-size:.875rem}
.mobile-nav{border-top:1px solid #dce9f6}

/* Dashboard */
.dash-home{display:flex;flex-direction:column;gap:20px}
.dash-hero {
  min-height:265px;position:relative;display:flex;align-items:center;
  overflow:hidden;padding:30px 40px;border-radius:26px;
  background:linear-gradient(100deg,#f6fbff 5%,#e8f5ff 40%,#bfdefa 100%);
  border:1px solid #d7e8f7;
  box-shadow:0 8px 29px #23609b0a;
}
.dash-hero:after {
  position:absolute;content:"";width:340px;height:340px;
  right:-90px;top:-180px;border-radius:100%;background:#fff6d333;
}
.dash-hero-copy{max-width:560px;position:relative;z-index:2;flex:1;min-width:0}
.dash-overline,.dash-section-kicker {
  display:block;font-size:.75rem;letter-spacing:.125em;
  font-weight:850;color:#2a69a3;
}
.dash-hero h1 {
  font-size:clamp(2rem,3.2vw,2.75rem);line-height:1.18;
  color:#0f3263;margin:13px 0 8px;letter-spacing:-.04em;
}
.hello-wave{font-size:.8em}
.dash-hero-lead{font-size:1.2rem!important;font-weight:750;color:#184c81!important;margin:0 0 7px!important}
.dash-hero-sub{font-size:1rem!important;color:#3b6080!important;max-width:410px;margin:0 0 21px!important;line-height:1.6}
.dash-primary{gap:12px;padding-inline:23px}
.dash-hero-bird {
  width:44%;max-width:490px;max-height:280px;
  object-fit:contain;align-self:flex-end;
  position:relative;z-index:1;
  margin:-15px -25px -31px 5px;
}
.dash-summary {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:15px;
}
.dash-stat {
  min-height:134px;display:flex;align-items:flex-start;gap:14px;
  border:1px solid #e2edf7;background:#fff;
  border-radius:19px;padding:21px 17px;
  box-shadow:0 5px 20px #285a9508;
}
.dash-stat-icon,.dash-action-icon {
  width:51px;height:51px;flex:0 0 51px;
  border-radius:16px;display:grid;place-items:center;
  font-size:1.6rem;
}
.dash-stat-icon.warm{background:#fff2e7}
.dash-stat-icon.blue,.dash-action-icon.blue{background:#e8f3ff}
.dash-stat-icon.green,.dash-action-icon.green{background:#e9f7ed}
.dash-action-icon.lavender{background:#f0eeff}
.dash-stat>div{min-width:0}
.dash-stat strong{font-size:1.9rem;line-height:1.14;display:block;color:#173b71;letter-spacing:-.025em;margin:0 0 7px}
.dash-stat span:not(.dash-stat-icon){font-weight:750;color:#1b426b;display:block;font-size:.98rem;line-height:1.3}
.dash-stat small{display:block;font-size:.85rem;margin-top:5px;color:#57738c;line-height:1.4}
.dash-content{
  display:grid;grid-template-columns:minmax(0,1.65fr) minmax(295px,1fr);
  gap:18px;align-items:start;
}
.dash-column{display:flex;flex-direction:column;gap:18px;min-width:0}
.dash-panel{padding:24px 26px;border-radius:21px}
.dash-panel-head{
  display:flex;justify-content:space-between;align-items:flex-start;
  gap:14px;margin-bottom:19px;
}
.dash-panel-head h2{font-size:1.38rem;margin:4px 0 0;font-weight:800}
.dash-section-kicker{font-size:.72rem;color:#4477a8}
.dash-text-link{font-size:.9rem;font-weight:800;white-space:nowrap;padding-top:8px}
.dash-feature-lesson {
  display:grid;grid-template-columns:minmax(150px,205px) minmax(0,1fr);
  border-radius:19px;border:1px solid #e1edf8;overflow:hidden;
  background:linear-gradient(115deg,#f1f8ff,#fcfeff);
}
.dash-feature-art {
  background:radial-gradient(circle at 50% 35%,#fff 5%,#d6eafb 65%,#bcdfff);
  min-height:221px;display:flex;flex-direction:column;justify-content:center;
  align-items:center;gap:5px;font-size:5.2rem;
}
.dash-feature-art small {
  font-weight:850;font-size:.8rem;color:#2067b3;letter-spacing:.09em;
  background:#fff;border-radius:100px;padding:3px 13px;
}
.dash-feature-copy{padding:22px 24px;align-self:center;min-width:0}
.dash-lesson-badge{
  display:inline-flex;background:#dfedff;border-radius:100px;
  padding:5px 12px;font-size:.73rem;letter-spacing:.04em;
  font-weight:850;color:#1766b8;
}
.dash-feature-copy h3{font-size:1.38rem;line-height:1.35;margin:13px 0 6px}
.dash-feature-copy p{font-size:.95rem;line-height:1.6;color:#526e87;margin:0 0 18px}
.dash-next-lesson{
  min-height:76px;display:flex;align-items:center;gap:14px;
  padding:15px 3px 0;color:#1b466f;
}
.dash-next-lesson:hover{color:#075bac}
.dash-mini-icon{
  width:52px;height:52px;flex:0 0 52px;background:#edf5ff;
  border-radius:15px;display:grid;place-items:center;font-size:1.7rem;
}
.dash-next-lesson>span:nth-child(2){flex:1;min-width:0}
.dash-next-lesson strong{display:block;font-size:1rem;line-height:1.4}
.dash-next-lesson small{display:block;font-size:.9rem;color:#52728d}
.dash-next-arrow{font-size:1.35rem;color:var(--blue)}
.dash-action{
  display:flex;gap:13px;align-items:center;min-height:77px;
  padding:12px 4px;border-bottom:1px solid #e8eef7;color:#174a7e;
}
.dash-action:last-child{border-bottom:0;padding-bottom:0}
.dash-action:hover{background:#f7fbff;border-radius:12px;padding-left:9px}
.dash-action>span:nth-child(2){min-width:0;flex:1}
.dash-action strong{display:block;font-size:1.02rem;color:#18599f;line-height:1.3}
.dash-action small{display:block;font-size:.9rem;color:#526f89;margin-top:4px;line-height:1.4}
.dash-action>span:last-child{font-size:1.35rem;color:var(--blue)}
.dash-goal-panel p{font-size:1rem;color:#4e6b86;margin:2px 0 12px}
.dash-goal-panel strong{color:#173b70}
.dash-meter{height:13px;border-radius:99px;background:#e3edf7;overflow:hidden}
.dash-meter span{
  display:block;height:100%;border-radius:99px;
  background:linear-gradient(90deg,#2e7fda,#48a891);
  transition:width .2s ease;
}
.dash-goal-panel>small{font-size:.9rem;display:block;line-height:1.55;margin-top:10px}
.dash-progress-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:6px 0 0}
.dash-progress-data{min-width:0;text-align:center;display:flex;flex-direction:column;align-items:center}
.dash-ring{
  position:relative;width:110px;height:110px;border-radius:50%;
  background:conic-gradient(var(--ring-color) var(--fill),#e2ebf5 0);
  display:grid;place-items:center;margin:2px 0 14px;
}
.dash-ring:before{
  content:"";position:absolute;inset:10px;background:#fff;border-radius:50%;
}
.dash-ring b{z-index:1;position:relative;font-size:1.55rem;color:#1c4474}
.dash-progress-data>strong{font-size:.98rem;line-height:1.35;color:#1d426b}
.dash-progress-data>small{font-size:.86rem;margin-top:4px;line-height:1.35}
.dash-activity-list{padding:0;margin:0;list-style:none}
.dash-activity-item{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid #e7eef7}
.dash-activity-item:last-child{border-bottom:0}
.activity-marker{
  width:35px;height:35px;flex:0 0 35px;
  display:grid;place-items:center;
  border-radius:50%;background:#e5f5ee;color:#2f926c;
  font-size:1rem;font-weight:900;
}
.dash-activity-item strong{font-size:.95rem;font-weight:730;line-height:1.4;color:#244a74;display:block}
.dash-activity-item small{font-size:.85rem;color:#59748b}
.dash-empty{font-size:.98rem;color:#54718b;line-height:1.7}
.dash-roots{
  display:flex;align-items:center;justify-content:space-between;
  position:relative;overflow:hidden;min-height:178px;
  border-radius:23px;border:1px solid #dceadf;
  background:linear-gradient(110deg,#f4fbff,#f4fbf4 68%,#e8f7ea);
}
.dash-roots-copy{padding:23px 30px;position:relative;z-index:1}
.dash-roots-copy>span{font-size:.75rem;letter-spacing:.1em;color:#377c68;font-weight:850}
.dash-roots h2{font-size:1.45rem;margin:7px 0 3px;color:#1e5c63}
.dash-roots p{font-size:.97rem;color:#436d75;margin:0 0 8px}
.dash-roots a{font-weight:800;font-size:.94rem}
.dash-roots img{max-width:390px;width:39%;max-height:190px;object-fit:contain;align-self:flex-end;margin-bottom:-20px}
.mobile-nav a.selected{color:var(--blue)}
.mobile-nav a.selected small{color:#0c5fbb;font-weight:800}

/* Responsive, comfortable for adult & older learners */
@media(max-width:1200px){
  .sidebar{width:232px;padding-inline:13px}
  main{padding:27px 23px 90px}
  .dash-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dash-content{grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr)}
  .dash-feature-lesson{grid-template-columns:150px minmax(0,1fr)}
  .dash-feature-art{min-height:198px}
  .dash-feature-copy{padding:17px}
  .dash-feature-copy h3{font-size:1.2rem}
  .dash-ring{width:90px;height:90px}
  .dash-ring b{font-size:1.3rem}
}
@media(max-width:990px){
  .dash-content{grid-template-columns:minmax(0,1fr)}
  .dash-side-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .dash-recent{grid-column:1/-1}
  .dash-hero-bird{width:42%}
}
@media(max-width:760px){
  .sidebar{display:none}
  .topbar{
    height:68px;padding:0 17px;gap:8px;
    border-bottom:1px solid #e0eaf5;
  }
  .desktop-location{display:none}
  .mobile-brand{
    display:inline-flex;align-items:center;gap:6px;
    color:#164577;font-size:1rem;font-weight:850;line-height:1.35;
  }
  .mobile-brand>span{font-size:1.45rem}
  .top-chips .chip:first-child{display:none}
  .chip-logout{font-size:.83rem;padding:8px 11px}
  main{padding:17px 14px 114px}
  .dash-home{gap:14px}
  .dash-hero{min-height:260px;border-radius:20px;padding:24px 20px;align-items:flex-start}
  .dash-hero-copy{max-width:100%;width:100%;padding-right:0}
  .dash-overline{font-size:.66rem;max-width:200px}
  .dash-hero h1{font-size:clamp(1.72rem,7vw,2.2rem);max-width:83%;margin:10px 0 7px}
  .dash-hero-lead{font-size:1.06rem!important;max-width:73%}
  .dash-hero-sub{font-size:.95rem!important;max-width:70%;margin-bottom:18px!important}
  .dash-hero-bird{
    width:50%;max-width:230px;max-height:200px;
    position:absolute;right:-20px;bottom:0;margin:0;opacity:.94;z-index:0;
  }
  .dash-hero-copy{z-index:1}
  .dash-primary{font-size:.94rem;max-width:max-content}
  .dash-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .dash-stat{min-height:128px;padding:15px 12px;gap:9px;border-radius:16px}
  .dash-stat-icon{height:39px;width:39px;flex-basis:39px;border-radius:12px;font-size:1.32rem}
  .dash-stat strong{font-size:1.5rem}
  .dash-stat span:not(.dash-stat-icon){font-size:.89rem}
  .dash-stat small{font-size:.81rem}
  .dash-content,.dash-side-column{grid-template-columns:1fr;gap:14px}
  .dash-recent{grid-column:auto}
  .dash-panel{padding:19px 18px}
  .dash-panel-head h2{font-size:1.26rem}
  .dash-text-link{font-size:.86rem}
  .dash-feature-lesson{grid-template-columns:104px minmax(0,1fr)}
  .dash-feature-art{min-height:183px;font-size:3.8rem}
  .dash-feature-art small{font-size:.67rem;padding:2px 8px}
  .dash-feature-copy{padding:14px}
  .dash-feature-copy h3{font-size:1.13rem;margin:8px 0 5px}
  .dash-lesson-badge{font-size:.68rem;padding:4px 8px}
  .dash-feature-copy p{font-size:.9rem;line-height:1.5;margin-bottom:12px}
  .dash-feature-copy .button{padding:9px 12px;font-size:.9rem}
  .dash-progress-grid{gap:6px}
  .dash-ring{height:76px;width:76px;margin-bottom:10px}
  .dash-ring:before{inset:8px}
  .dash-ring b{font-size:1.13rem}
  .dash-progress-data>strong{font-size:.87rem}
  .dash-progress-data>small{font-size:.77rem}
  .dash-roots{min-height:183px;border-radius:19px}
  .dash-roots-copy{padding:18px 16px;max-width:76%}
  .dash-roots h2{font-size:1.18rem}
  .dash-roots p{font-size:.89rem}
  .dash-roots img{width:47%;position:absolute;right:-22px;bottom:0;margin:0;max-height:142px}
  .mobile-nav{
    display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
    padding:8px 4px calc(9px + env(safe-area-inset-bottom));
    border-top:1px solid #dce8f4;
    box-shadow:0 -5px 18px #123b650c;
    background:#fff;
  }
  .mobile-nav a{
    display:flex;align-items:center;justify-content:center;
    flex-direction:column;gap:3px;min-height:54px;
    font-size:1.35rem;color:#4d7091;
    border-radius:11px;
  }
  .mobile-nav a.selected{background:#e8f3ff}
  .mobile-nav small{font-size:.7rem;line-height:1.15;color:#3d607f;font-weight:650}
  .lesson-body{padding:17px}
}
@media(max-width:410px){
  main{padding-inline:10px}
  .dash-hero{padding:21px 14px}
  .dash-hero h1{font-size:1.67rem}
  .dash-hero-lead{max-width:71%}
  .dash-hero-sub{max-width:68%;font-size:.89rem!important}
  .dash-hero-bird{width:50%;right:-29px;opacity:.75}
  .dash-stat{padding:14px 10px;gap:7px}
  .dash-stat-icon{flex-basis:35px;width:35px;height:35px}
  .dash-stat strong{font-size:1.32rem}
  .dash-stat small{font-size:.76rem}
  .dash-feature-lesson{grid-template-columns:88px minmax(0,1fr)}
  .dash-feature-art{min-height:195px;font-size:3.3rem}
  .dash-feature-copy{padding:12px 10px}
  .dash-feature-copy h3{font-size:1rem}
  .dash-lesson-badge{font-size:.62rem}
  .dash-roots-copy{max-width:80%}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}


/* The flying mascot is the blue winged cloud of the Lani English brand.
   The same light transparent WebP is reused in desktop/mobile brand and hero. */
.logo-mark{overflow:visible;flex-shrink:0}
.logo-mark img{
  width:56px;height:48px;object-fit:contain;display:block;
  filter:drop-shadow(0 3px 5px #3160a821);
}
.mobile-brand img{width:38px;height:36px;object-fit:contain;flex-shrink:0}
.dash-hero-bird{
  width:min(40%,395px);max-width:395px;max-height:none;
  aspect-ratio:221/171;object-fit:contain;
  filter:drop-shadow(0 13px 18px #2b74b324);
  image-rendering:auto;
}
@media(max-width:760px){
  .dash-hero-bird{
    width:48%;max-width:210px;aspect-ratio:221/171;
    right:0;bottom:12px;object-fit:contain;
  }
}
@media(max-width:410px){
  .dash-hero-bird{width:47%;max-width:175px;right:-4px;bottom:13px;opacity:1}
}


/* Vocabulary notebook grouped beneath the Vocabulary menu item. */
.nav-vocab-group{display:flex;flex-direction:column;gap:2px}
.nav-vocab-child{display:flex;align-items:center;gap:7px;min-height:39px;margin-left:43px;margin-right:8px;padding:7px 10px;border-radius:10px;color:#66869b;font-size:13px;font-weight:650}
.nav-vocab-child:hover,.nav-vocab-child.selected{background:#eaf5fd;color:#176fac}
.nav-vocab-child.selected{font-weight:800}
.vocab-section-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.vocab-section-nav a{padding:11px 15px;min-height:43px;display:inline-flex;align-items:center;gap:8px;border-radius:12px;border:1px solid #d8e8f3;background:#fff;color:#4d7790;font-size:13px;font-weight:750}
.vocab-section-nav a.active{color:#fff;background:#5da9ca;border-color:#5da9ca}
.vocab-section-nav a:focus-visible,.nav-vocab-child:focus-visible{outline:3px solid #8ac9e6;outline-offset:2px}
@media(max-width:760px){.vocab-section-nav a{flex:1 1 145px;justify-content:center}}


/* Mobile Pronunciation iframe adjusts to content height, avoiding nested scrolling. */
@media(max-width:760px){
 .mobile-nav{padding-bottom:max(9px,env(safe-area-inset-bottom));}
 .mobile-nav a{min-width:0;min-height:48px;justify-content:center;padding:3px 2px;}
 .mobile-nav small{font-size:11px;line-height:1.3;text-align:center;color:#406c84;}
 .pron-course-embed{margin:0!important;min-width:0;}
 .pron-course-embed iframe{
   display:block;width:100%;height:calc(100dvh - 150px)!important;
   min-height:390px!important;max-height:none!important;
   border-radius:10px!important;
 }
}
@media(max-width:380px){
 .mobile-nav small{font-size:10px;}
 .pron-course-embed iframe{height:calc(100dvh - 143px)!important;}
}

/* Teacher feedback form fits desktop and small phones. */
.ef-teacher-submission{display:grid;gap:11px;margin-top:14px;min-width:0}
.ef-teacher-submission .field{display:grid;gap:6px;margin:0}
.ef-teacher-submission textarea,.ef-teacher-submission select{width:100%;min-width:0;font:inherit;padding:11px;border:1px solid #c8dce8;border-radius:10px}
.ef-teacher-submission textarea{min-height:86px;resize:vertical}
.ef-teacher-submission .button{justify-self:start;min-height:44px}
.ef-teacher-submission a{overflow-wrap:anywhere}

/* Five primary destinations stay on one row on Android and iPhone. */
@media(max-width:760px){
 .mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));justify-content:stretch;gap:2px;padding:5px max(4px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));}
 .mobile-nav a{display:flex;min-width:0;width:100%;min-height:48px;padding:3px 1px;flex-direction:column;justify-content:center;align-items:center;gap:2px;white-space:nowrap;overflow:hidden;font-size:20px;line-height:1.1;}
 .mobile-nav small{display:block;width:100%;font-size:clamp(9px,2.35vw,11px);font-weight:650;text-align:center;white-space:nowrap;letter-spacing:-.2px;line-height:1.2;}
}

/* Feedback submission and moderated public cards */
.feedback-panel{max-width:900px;margin:18px 0;padding:20px}
.feedback-panel .field{display:grid;gap:7px;margin:16px 0;font-weight:650}
.feedback-panel input:not([type="checkbox"]),.feedback-panel textarea{width:100%;min-width:0;padding:12px;border-radius:12px;border:1px solid #bdd7e8;background:white;color:#193e5a;font:inherit;font-size:16px;line-height:1.6}
.feedback-check{display:flex;align-items:center;gap:9px;margin:12px 0}
.feedback-check input{width:20px;height:20px}
.feedback-card{border:1px solid #d5e5f2;border-radius:14px;background:#f6faff;padding:16px;margin:14px 0;overflow-wrap:anywhere}
.feedback-card p{line-height:1.7}
.feedback-card .actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}
@media(max-width:760px){.feedback-panel{padding:15px}.feedback-panel button{min-height:44px}}

.more-category{font-size:13px;color:#446a82;letter-spacing:.055em;text-transform:uppercase;margin:22px 0 7px;font-weight:750}.feedback-panel select{width:100%;padding:12px;border-radius:12px;border:1px solid #bdd7e8;background:#fff;color:#193e5a;font:inherit;font-size:16px}

/* Native accessible star-rating radios, no star-based manipulation of lesson grades. */
.feedback-rating{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:3px;border:0;padding:0;margin:18px 0}
.feedback-rating legend{font-weight:700;margin-bottom:7px}
.feedback-rating legend span{font-size:13px;font-weight:400;color:#4d6a81}
.feedback-rating label{position:relative;cursor:pointer;font-size:35px;line-height:1.3;color:#b7c5d1;padding:2px 4px}
.feedback-rating label input{position:absolute;inset:0;opacity:0;cursor:pointer}
.feedback-rating label:has(input:checked),.feedback-rating label:has(input:checked)~label,
.feedback-rating label:hover,.feedback-rating label:hover~label{color:#d68a00}
.feedback-rating label:has(input:focus-visible){outline:3px solid #176fbd;outline-offset:2px;border-radius:6px}
.feedback-stars{display:inline-block;margin-left:10px;color:#c77b00;letter-spacing:2px;font-size:20px}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Communication learning levels */
.comm-level{background:#fff;border:1px solid #d7e6f4;border-radius:22px;padding:22px;margin:20px 0}
.comm-level-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.comm-level-heading h2{font-size:25px;margin:7px 0}
.comm-level-heading h2 span{font-size:16px;color:#597c97;font-weight:500}
.comm-level-heading p{color:#55758f;line-height:1.55;margin:4px 0 0}
.comm-level-kicker{font-size:12px;letter-spacing:.09em;font-weight:800;color:#256fae}
.comm-level-count,.comm-level-soon{display:inline-block;flex-shrink:0;padding:9px 14px;border-radius:999px;background:#e8f4ff;color:#1b6194;font-weight:700;font-size:13px}
.comm-upcoming-levels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.comm-upcoming-levels .comm-level{margin:0;background:#f8fbfd}
.comm-level-upcoming h2{font-size:21px}
.comm-level-soon{background:#edf1f5;color:#64788b}
@media(max-width:720px){.comm-level{padding:16px}.comm-level-heading{align-items:flex-start}.comm-level-heading h2{font-size:21px}.comm-level-count,.comm-level-soon{font-size:11px;padding:8px}.comm-upcoming-levels{grid-template-columns:1fr}}

/* Standalone YouTube episode library */
.ef-youtube-tile{display:flex;flex-direction:column;align-items:flex-start;gap:9px;text-decoration:none;color:inherit}
.ef-youtube-tile>h3,.ef-youtube-tile>p{margin:0}
.ef-youtube-tile>p{line-height:1.5}
.ef-youtube-tile .button{margin-top:auto}
.ef-youtube-badge{font-size:12px;border-radius:9px;padding:7px 10px}
.ef-youtube-badge.ready{color:#245fb1;background:#e9f3ff}
.ef-youtube-badge.pending{color:#7d7480;background:#f4f3f5}
.ef-youtube-note{font-size:13px;color:#607b94;line-height:1.7;margin:10px 0 22px}
.ef-youtube-tile:focus-visible{outline:3px solid #3387d2;outline-offset:3px}

/* YouTube library: albums first, independently expandable episode collections. */
.ef-youtube-album-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:16px;margin:22px 0}
.ef-youtube-album{display:flex;gap:17px;align-items:center;text-decoration:none;color:inherit;border-radius:19px;min-height:140px;padding:22px;transition:transform .14s,border-color .14s}
.ef-youtube-album:hover{transform:translateY(-2px);border-color:#95c1ec}
.ef-youtube-album:focus-visible{outline:3px solid #337bd1;outline-offset:3px}
.ef-youtube-album-art{width:68px;height:68px;border-radius:18px;flex-shrink:0;display:grid;place-items:center;background:linear-gradient(135deg,#dbedff,#e9f7ff);font-size:30px}
.ef-youtube-album-details{min-width:0;flex:1}
.ef-youtube-album-details h2{font-size:20px;color:#20538b;margin:7px 0}
.ef-youtube-album-details p{font-size:13px;margin:0;color:#617e96}
.ef-youtube-album-kicker{font-size:11px;font-weight:800;letter-spacing:.13em;color:#6c91b1}
.ef-youtube-album-arrow{font-size:23px;color:#3177c7}
.ef-youtube-breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:13px;color:#6885a0;margin:4px 0 22px}
.ef-youtube-breadcrumb a{color:#245f9f;font-weight:750;text-decoration:none}
.ef-youtube-breadcrumb a:hover{text-decoration:underline}
@media(max-width:600px){.ef-youtube-album{padding:16px;min-height:118px}.ef-youtube-album-art{width:56px;height:56px;font-size:26px}.ef-youtube-album-details h2{font-size:17px}}

/* YouTube entrance guide: expanded first visit; remembered collapse and language. */
.ef-youtube-guide-wrap{margin:22px 0 26px;max-width:1100px;padding:19px 21px;background:#fff;border:1px solid #dce9f5;border-radius:18px}
.ef-youtube-guide-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ef-youtube-guide-top h2{font-size:18px;color:#204e79;margin:0}
.ef-youtube-guide-langs{display:flex;gap:4px;background:#f2f6fb;border-radius:11px;padding:3px}
.ef-youtube-guide-lang{cursor:pointer;border:1px solid transparent;border-radius:8px;background:transparent;color:#587a96;min-height:37px;padding:7px 13px;font-size:12px;font-weight:750}
.ef-youtube-guide-lang.is-active{color:#195d9b;background:white;border-color:#cee0f0}
.ef-youtube-guide-lang:focus-visible,.ef-youtube-guide summary:focus-visible{outline:3px solid #4b91d3;outline-offset:2px}
.ef-youtube-guide>summary{list-style:none;display:flex;justify-content:flex-end;align-items:center;min-height:35px;cursor:pointer;color:#386c9c;font-size:12px;font-weight:750}
.ef-youtube-guide>summary::-webkit-details-marker{display:none}
.ef-youtube-guide:not([open]) .ef-youtube-guide-hide-label{display:none}
.ef-youtube-guide[open] .ef-youtube-guide-show-label{display:none}
.ef-youtube-guide-body{padding:8px 0 0}
.ef-youtube-guide-content[hidden]{display:none!important}
.ef-youtube-guide-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 17px;list-style:none;margin:0;padding:0}
.ef-youtube-guide-step{display:flex;align-items:flex-start;gap:11px;padding:13px;border:1px solid #e3edf6;border-radius:12px;background:#fbfdff;min-width:0}
.ef-youtube-guide-index{display:grid;place-items:center;flex:0 0 29px;height:29px;border-radius:9px;background:#e7f1fa;color:#2b679a;font-size:13px;font-weight:800}
.ef-youtube-guide-step h3{font-size:14px;color:#214e7a;margin:2px 0 5px}
.ef-youtube-guide-step p{font-size:13px;line-height:1.6;color:#607d95;margin:0}
@media(max-width:760px){.ef-youtube-guide-wrap{padding:15px;margin:17px 0}.ef-youtube-guide-steps{grid-template-columns:1fr;gap:8px}.ef-youtube-guide-step{padding:11px}.ef-youtube-guide-lang{min-height:40px}}


/* My Learning / My Journey — flexible daily goals and course progress */
.journey-layout{align-items:start}
.journey-layout>.panel{min-width:0}
.journey-layout h2{margin:0 0 12px}
.journey-layout .muted,.journey-history .muted{line-height:1.6}
.journey-goal-form{display:flex;gap:12px;align-items:stretch;margin:9px 0 8px}
.journey-goal-form input{flex:1;min-width:0;max-width:230px;padding:13px 14px;border:1px solid #c8d9ed;border-radius:12px;color:#142f50;background:white;font:inherit;font-weight:700;font-size:18px}
.journey-goal-form input:focus-visible{outline:3px solid #76b1e7;outline-offset:2px}
.journey-goal h3{font-size:17px;color:#18395f;margin:28px 0 14px}
.journey-today{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin:23px 0 12px;font-size:15px;color:#66819b}
.journey-today strong{color:#153c68;margin-right:auto}
.journey-today [data-study-today]{font-size:24px;color:#155b9b;font-weight:800}
.journey-bar{background:#e8eef6;border-radius:999px;height:9px;overflow:hidden;margin:12px 0}
.journey-bar>span{display:block;background:#2477c9;height:100%;border-radius:999px;transition:width .15s ease}
.journey-today-bar{height:12px;margin-bottom:15px}
.journey-course{border-top:1px solid #e8eff6;padding:14px 0 5px}
.journey-course-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.journey-course-top a{color:#184d80;font-weight:750;text-decoration:none}
.journey-course-top a:hover{text-decoration:underline}
.journey-course-top span{color:#6885a0;font-size:12px}
.journey-course .journey-bar{height:8px}
.journey-achievement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.journey-achievement{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;background:#f3f7fc;border:1px solid #e1eaf4;border-radius:14px;padding:17px}
.journey-achievement>span{font-size:23px}
.journey-achievement small{font-size:12px;line-height:1.45;font-weight:650;color:#58728a}
.journey-achievement strong{font-size:21px;font-weight:800;color:#143c67}
.journey-sync{font-size:12px;color:#628ba9;margin-top:22px}
.journey-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-top:22px}
.journey-day{display:flex;flex-direction:column;gap:7px;min-width:0;padding:12px;background:#f9fbfd;border:1px solid #e1eaf4;border-radius:13px}
.journey-day>strong{font-size:14px;color:#163c61}
.journey-day>b{color:#155b9b;font-size:18px}
.journey-day-state{color:#728ba2;font-size:11px}
.journey-day-details{display:grid;gap:4px}
.journey-day-details small{font-size:11px;color:#54748e;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:1220px){.journey-days{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.journey-days{grid-template-columns:repeat(2,minmax(0,1fr))}.journey-layout{grid-template-columns:1fr}.journey-achievement{padding:12px}.journey-achievement strong{font-size:19px}}
@media(max-width:420px){.journey-goal-form{flex-wrap:wrap}.journey-goal-form input{max-width:none;width:100%}.journey-goal-form button{width:100%}}


/* Public entry, free Google login and independently gated courses. */
.ef-public-welcome{padding:clamp(24px,4vw,44px);background:linear-gradient(130deg,#eaf4ff,#fffdf4);border-color:#d6e7f5}
.ef-public-welcome h1{color:#164776}
.ef-public-welcome p{max-width:650px;color:#4f6982}
.ef-public-links{margin-top:22px}
.ef-course-contacts{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px}
.ef-course-contacts .button{white-space:normal;text-align:center;text-decoration:none}
.ef-locked-course{align-items:flex-start}
.ef-locked-course>div{min-width:0}
.ef-locked-course .ef-course-contacts{margin-top:16px}
.ef-locked-course .ef-course-contacts .button{font-size:.88rem}
.ef-access-required{max-width:720px;margin:20px auto}
.ef-dashboard-course-promo{display:flex;flex-direction:column;justify-content:center;gap:12px;color:#1c5382;text-decoration:none;min-height:210px}
.ef-dashboard-course-promo strong{font-size:1.25rem}
.ef-dashboard-course-promo span{color:#52728c}
@media(max-width:760px){
  .ef-course-contacts .button{flex:1 1 140px}
  .ef-public-welcome{padding:24px 20px}
}

.ef-public-auth-error{color:#8a332d!important;background:#fff1ed;border:1px solid #e6b5a7;border-radius:10px;padding:10px 14px}


/* Gentle onboarding: one-time Home entry, permanent More help and contextual tips. */
.ef-getting-started{background:linear-gradient(125deg,#f0f9ff 0%,#fffdf2 100%);border:1px solid #d8e8f4;border-radius:18px;padding:clamp(16px,2.5vw,25px);margin:20px 0 23px;color:#214663;box-shadow:0 6px 20px #2754890d}
.ef-getting-started-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.ef-getting-started h2{font-size:clamp(1.2rem,2.3vw,1.48rem);margin:5px 0 6px;color:#16406a}
.ef-getting-started-head p{margin:0;color:#526f86;font-size:.95rem}
.ef-help-kicker{font-size:.73rem;font-weight:800;letter-spacing:.09em;color:#2b79a2}
.ef-guide-dismiss{display:flex;align-items:center;gap:7px;border:1px solid #cadde9;border-radius:100px;background:#fff;color:#4b6b83;padding:8px 11px;cursor:pointer;flex-shrink:0;min-height:40px;font-size:.86rem}
.ef-guide-dismiss:hover{background:#eaf5fc;color:#175781}
.ef-start-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:18px 0}
.ef-start-steps li{display:flex;gap:12px;padding:14px;border:1px solid #e3edf3;border-radius:12px;background:#ffffffda;min-width:0}
.ef-start-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;background:#e9f5ff;border-radius:50%;font-size:1.1rem}
.ef-start-steps strong{display:block;color:#205078;font-size:.94rem}
.ef-start-steps p{margin:3px 0 0;color:#60778a;font-size:.87rem;line-height:1.5}
.ef-start-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.ef-start-link{font-weight:700;font-size:.9rem}
.ef-help-tip{margin:14px 0 19px;background:#f3f9ff;border:1px solid #dceaf5;border-radius:12px;padding:10px 14px;max-width:100%;color:#365c7c}
.ef-help-tip summary{display:list-item;cursor:pointer;font-weight:700;font-size:.91rem;list-style-position:inside;min-height:23px}
.ef-help-tip[open] summary{margin-bottom:8px}
.ef-help-tip p{margin:0 0 7px;font-size:.9rem;line-height:1.55}
.ef-help-tip a{font-size:.88rem;font-weight:700}
.ef-howto-page{max-width:900px}
.ef-howto-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}
.ef-howto-tile{min-width:0;display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #dfeaf3;box-shadow:0 5px 15px #2a64900a;border-radius:15px;padding:17px 18px;color:#244c6c;text-decoration:none;min-height:90px}
.ef-howto-tile:hover{border-color:#a5d2e8;background:#f6fbff}
.ef-howto-tile>span:first-child{font-size:1.75rem}
.ef-howto-tile>div{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.ef-howto-tile strong{font-size:1rem;color:#163f6c}
.ef-howto-tile small{font-size:.83rem;color:#6a8296}
.ef-howto-tile>span:last-child{font-weight:800;color:#4079a2}
.ef-howto-note{color:#627f95;font-size:.9rem}
.ef-howto-back{display:inline-flex;margin:12px 0 18px;font-weight:700}
.ef-howto-detail{max-width:720px}
.ef-howto-detail h2{margin:10px 0 6px}
.ef-howto-symbol{font-size:2rem}
.ef-howto-detail p{color:#536e83}
.ef-howto-detail ol{padding-left:24px;display:grid;gap:13px;margin:22px 0}
.ef-howto-detail li{line-height:1.6;padding-left:5px}
.ef-howto-detail .button{margin-top:8px}
.ef-guide-dismiss:focus-visible,.ef-start-actions a:focus-visible,.ef-help-tip summary:focus-visible,.ef-howto-tile:focus-visible,.ef-howto-back:focus-visible{outline:3px solid #65b9e4;outline-offset:3px}
@media(max-width:720px){
 .ef-getting-started{margin:16px 0;padding:16px}
 .ef-guide-dismiss span{display:none}
 .ef-start-steps,.ef-howto-grid{grid-template-columns:1fr}
 .ef-start-steps{margin:15px 0}
 .ef-start-steps li{padding:11px}
 .ef-howto-tile{min-height:78px;padding:13px 15px}
 .ef-getting-started h2{font-size:1.2rem}
 .ef-help-tip{margin:12px 0}
}


/* Bilingual How to Use controls: accessible, compact and usable on mobile. */
[data-guide-lang-content][hidden]{display:none!important}
.ef-getting-started-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}
.ef-guide-languages{display:inline-flex;align-items:stretch;gap:3px;max-width:100%;padding:3px;border:1px solid #c9dfec;border-radius:11px;background:#f0f7fc}
.ef-guide-lang{font:inherit;font-size:.86rem;font-weight:700;background:transparent;border:0;border-radius:8px;color:#466c87;padding:8px 12px;min-height:38px;white-space:nowrap;cursor:pointer;touch-action:manipulation}
.ef-guide-lang:hover{background:#e2eff8}
.ef-guide-lang.is-active{color:#fff;background:#1c6797;box-shadow:0 1px 5px #26598326}
.ef-guide-lang.is-active:hover{background:#145b89}
.ef-guide-lang:focus-visible{outline:3px solid #69b4de;outline-offset:3px}
.ef-howto-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.ef-howto-heading h1{margin-bottom:7px}
.ef-howto-heading .ef-guide-languages{margin-left:auto}
.ef-help-tip-inner{padding-top:2px}
.ef-help-tip-inner .ef-guide-languages{display:flex;width:max-content;margin-left:auto;margin-bottom:9px}
@media(max-width:760px){
 .ef-getting-started-head{flex-wrap:wrap;gap:12px}
 .ef-getting-started-head>div:first-child{flex:1 1 220px}
 .ef-getting-started-tools{flex:1 1 100%;justify-content:space-between}
 .ef-howto-heading{align-items:flex-start}
 .ef-howto-heading .ef-guide-languages{margin-left:0}
 .ef-guide-lang{min-height:40px}
}


/* Global learner interface language (separate from lesson translations). */
.ef-ui-language{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid #c9dbea;border-radius:12px;background:#eff7fd;white-space:nowrap;flex-shrink:0}
.ef-ui-language-icon{font-size:15px;padding:0 3px;line-height:1}
.ef-ui-language button{min-width:40px;min-height:39px;padding:7px 9px;border:0;border-radius:9px;background:transparent;color:#3c668b;cursor:pointer;font-size:.88rem;font-weight:800;line-height:1}
.ef-ui-language button:hover{background:#dceefa}
.ef-ui-language button.is-active,.ef-ui-language button[aria-pressed="true"]{color:#fff;background:#1569a5;box-shadow:0 2px 7px #164f8821}
.ef-ui-language button:focus-visible{outline:3px solid #e5a83b!important;outline-offset:3px}
.ef-ui-top-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.top-chips{align-items:center;gap:10px}
.top-chips .ef-ui-language{flex-shrink:0}
/* The shared header is the one place to select language; keep the lesson's
   separate show/hide Vietnamese meaning toggles untouched. */
.layout .ef-guide-languages,.layout .ef-youtube-guide-langs{display:none!important}
@media(max-width:760px){
 .ef-ui-top-actions{gap:6px}
 .ef-ui-language{padding:2px;gap:1px}
 .ef-ui-language-icon{font-size:13px;padding:0 2px}
 .ef-ui-language button{min-width:36px;min-height:40px;padding:7px;font-size:.82rem}
 .top-chips{gap:5px}
 .top-chips>.chip{display:none!important}
 .top-chips>.button.small{font-size:.78rem;padding:7px 9px;min-height:42px}
 .dashboard-workspace .topbar-dashboard{gap:6px}
}
@media(max-width:400px){
 .ef-ui-language-icon{display:none}
 .dashboard-workspace .user-menu summary{padding:5px;min-height:42px}
 .dashboard-workspace .user-menu summary>span:nth-child(2){font-size:.68rem}
 .topbar .mobile-brand{font-size:.9rem}
 .topbar .mobile-brand img{width:29px;height:29px}
}

/* Free Learning: clear first steps and legible, action-oriented cards. */
.ef-free-start{display:flex;align-items:center;flex-wrap:wrap;gap:10px 15px;margin:18px 0 16px;padding:15px 18px;border:1px solid #cfe3f1;border-radius:15px;background:#eaf6fc}
.ef-free-start>span{font-size:26px;line-height:1}
.ef-free-start p{flex:1 1 260px;margin:0;color:#244b68;font-size:.95rem}
.ef-free-start a{font-weight:800;color:#155f9a;white-space:nowrap}
.ef-free-hub{margin-top:20px}
.ef-free-hub .track{min-height:155px;align-items:center;gap:15px;transition:transform .15s ease,border-color .15s ease}
.ef-free-hub .track:hover{transform:translateY(-2px);border-color:#9fc9e5}
.ef-free-hub .track>span{flex:0 0 52px;text-align:center;font-size:34px}
.ef-free-hub .track h3{font-size:1.14rem;margin:0 0 7px;color:#183f64}
.ef-free-hub .track p{font-size:.96rem;color:#486a82;line-height:1.55;margin:0 0 8px}
.ef-free-hub .track small{font-size:.83rem;font-weight:750;letter-spacing:0;color:#206a9f;line-height:1.4}
.ef-free-hub .track:focus-visible,.ef-guest-episode:focus-visible{outline:3px solid #317fbf;outline-offset:3px}
.ef-free-preview{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,420px);gap:24px;align-items:start}
.ef-free-preview ul{padding-left:20px;color:#3b5c75;line-height:1.8}
.ef-free-preview img{width:100%;max-height:470px;object-fit:contain;border:1px solid #dfebf3;border-radius:13px;background:#fff}
.ef-guest-episode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ef-guest-episode{display:flex;align-items:center;gap:14px;color:#214a6d;text-decoration:none;padding:16px;border-radius:13px}
.ef-guest-episode>span:first-child{font-size:.8rem;color:#587f9b;white-space:nowrap}
.ef-guest-episode strong{flex:1}
.ef-course-collection .track{align-items:flex-start;min-height:176px}
.ef-course-collection .track p{color:#496b82;font-size:.96rem;line-height:1.55}
.ef-course-collection .track small{display:block;margin-top:10px;line-height:1.5;font-size:.84rem;letter-spacing:0}
.ef-course-help{margin-top:20px}
.ef-course-help h2{margin:0 0 5px}
.ef-course-help p{color:#4f6c83}
.ef-free-game-card .badge{display:inline-flex;align-self:flex-start;padding:5px 10px;border-radius:9px;background:#e7f6ec;color:#267449;font-weight:800;font-size:.78rem}
.ef-free-game-card h2{margin:13px 0 5px}
.ef-free-game-card .button{margin-top:auto;align-self:flex-start}
.ef-free-game{max-width:760px}
.ef-free-game-options{display:grid;gap:10px;margin:20px 0}
.ef-free-game-option{width:100%;text-align:left;border:1px solid #c9ddea;border-radius:12px;background:#fbfdff;color:#204560;padding:15px;font-weight:650;min-height:48px}
.ef-free-game-option:not(:disabled):hover{background:#ebf6ff;border-color:#86b9df}
.ef-free-game-option:focus-visible{outline:3px solid #3f88c1;outline-offset:2px}
.ef-free-game-option.is-correct{background:#e9f8ee;border-color:#71b28b;color:#23663f}
.ef-free-game-option.is-incorrect{background:#fff0ed;border-color:#df968d;color:#a03e36}
.ef-free-game-feedback{padding:14px 16px;border-radius:12px;background:#f1f7fc;margin-bottom:14px}
.ef-free-game-feedback p{margin:6px 0 0}
@media(max-width:760px){
 .ef-free-start{align-items:flex-start;padding:14px}
 .ef-free-start a{white-space:normal;margin-left:38px}
 .ef-free-hub .track{min-height:130px;padding:18px}
 .ef-free-hub .track>span{flex-basis:40px;font-size:30px}
 .ef-free-preview{grid-template-columns:1fr}
 .ef-guest-episode-grid{grid-template-columns:1fr}
}

.ef-preview-modes{margin:20px 0}.ef-preview-modes .panel{padding:19px}.ef-preview-modes h2{margin:0 0 6px;font-size:1.05rem}.ef-preview-modes p{margin:0;color:#506f87;font-size:.92rem}


/* My Learning: a calm, actionable dashboard for returning and new learners. */
.ef-my-learning .lead{max-width:720px}
.ef-ml-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:20px 0}
.ef-ml-stat{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:178px;padding:20px 22px;color:#244d6b;text-decoration:none;transition:border-color .15s ease,transform .15s ease}
.ef-ml-stat:hover,.ef-ml-link:hover{border-color:#8fbfdd;transform:translateY(-2px)}
.ef-ml-stat-icon{font-size:27px;line-height:1;margin-bottom:11px}
.ef-ml-stat-label{font-size:.9rem;font-weight:750;color:#456981}
.ef-ml-stat strong{display:block;margin:6px 0;color:#18466b;font-size:clamp(1.35rem,2.1vw,1.75rem);line-height:1.3;font-weight:850}
.ef-ml-stat small{margin-top:auto;color:#54758c;font-size:.84rem;line-height:1.55}
.ef-ml-stat .journey-bar{width:100%;height:8px;margin:12px 0 0}
.ef-ml-stat:nth-child(1){background:#f0f8ff}
.ef-ml-stat:nth-child(2){background:#f0f9fd}
.ef-ml-stat:nth-child(3){background:#f6f9f0}
.ef-ml-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:16px}
.ef-ml-section{min-width:0;padding:24px}
.ef-ml-section-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px 14px;margin-bottom:9px}
.ef-ml-section-head h2{margin:0;color:#1c4769}
.ef-ml-section-head a{font-size:.86rem;font-weight:750;white-space:nowrap}
.ef-ml-section-intro{margin:0 0 13px;color:#658097;font-size:.9rem}
.ef-ml-next-list{display:grid;gap:10px}
.ef-ml-next-item{display:flex;align-items:center;gap:13px;padding:13px 14px;background:#f5faff;border:1px solid #dceaf4;border-radius:13px;color:#214e70;text-decoration:none;min-width:0}
.ef-ml-next-item:hover{background:#eaf5fd;border-color:#9dc6e0}
.ef-ml-next-icon{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#e3f0fa;font-size:22px}
.ef-ml-next-copy{display:grid;gap:4px;min-width:0;flex:1}
.ef-ml-next-copy strong{font-size:.94rem}
.ef-ml-next-copy small{font-size:.8rem;color:#54748c;line-height:1.4;overflow-wrap:anywhere}
.ef-ml-arrow{color:#2a79ab;font-size:1.2rem;font-weight:800}
.ef-ml-course{padding:13px 0 8px;border-bottom:1px solid #e6eef5}
.ef-ml-course:last-child{border-bottom:0}
.ef-ml-course-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px 14px;flex-wrap:wrap}
.ef-ml-course-top a{color:#205b88;font-weight:800}
.ef-ml-course-top small{font-size:.82rem;color:#5d7890}
.ef-ml-course .journey-bar{height:8px;margin:12px 0 5px}
.ef-ml-course-note{font-size:.82rem;color:#617e94;line-height:1.55;margin:7px 0 0}
.ef-ml-empty{color:#5d7a90;line-height:1.7}
.ef-ml-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:17px}
.ef-ml-link{display:flex;align-items:center;gap:13px;min-width:0;padding:17px 20px;color:#244f70;transition:border-color .15s ease,transform .15s ease}
.ef-ml-link>span:first-child{font-size:26px}
.ef-ml-link>span:nth-child(2){display:grid;gap:5px;flex:1;min-width:0}
.ef-ml-link strong{font-size:1rem}
.ef-ml-link small{font-size:.82rem;line-height:1.45;color:#587890}
.ef-ml-link>span:last-child{font-weight:800;color:#2c78aa}
.ef-my-learning a:focus-visible{outline:3px solid #3685c0;outline-offset:3px}
@media(max-width:900px){.ef-ml-columns{grid-template-columns:1fr}}
@media(max-width:650px){
 .ef-ml-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .ef-ml-stat{padding:15px;min-height:155px}
 .ef-ml-stat:nth-child(1){grid-column:1/-1;min-height:145px}
 .ef-ml-stat-icon{font-size:24px;margin-bottom:9px}
 .ef-ml-stat strong{font-size:1.45rem}
 .ef-ml-links{grid-template-columns:1fr;gap:10px}
 .ef-ml-section{padding:19px}
}
@media(max-width:375px){.ef-ml-stats{grid-template-columns:1fr}.ef-ml-stat:nth-child(1){grid-column:auto}.ef-ml-stat{min-height:145px}}


/* Teacher Studio: task-first information architecture, 2026-10-24 */
.ef-studio{max-width:1120px;margin:0 auto}
.ef-studio-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:23px 0 25px}
.ef-studio-nav-button{display:flex;align-items:center;gap:11px;text-align:left;min-width:0;padding:14px 17px;
 border:1px solid #dbe8f4;border-radius:14px;background:#fff;color:#315777;font:inherit;cursor:pointer}
.ef-studio-nav-button>span:first-child:not(:last-child){font-size:23px}
.ef-studio-nav-button>span:last-child{display:grid;gap:2px;min-width:0}
.ef-studio-nav-button strong{font-size:.95rem;line-height:1.3;overflow-wrap:anywhere}
.ef-studio-nav-button small{font-size:.78rem;line-height:1.4;color:#64839a}
.ef-studio-nav-button:hover{background:#f0f8ff;border-color:#9ec5e5}
.ef-studio-nav-button.is-active{background:#e9f4ff;border-color:#5d9cd3;box-shadow:inset 0 0 0 1px #5d9cd3;color:#0e4d87}
.ef-studio-nav-button.is-active strong{color:#0e4d87}
.ef-studio-main{min-width:0}
.ef-studio-welcome,.ef-studio-intro{margin:0 0 18px}
.ef-studio-welcome h2,.ef-studio-intro h2{margin:0 0 7px}
.ef-studio-welcome p,.ef-studio-intro p{margin:0;color:#5c7890}
.ef-studio-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.ef-studio-task{border:1px solid #dce9f4;border-radius:17px;background:#fff;padding:22px;text-align:left;
 display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;color:#1b4770;cursor:pointer}
.ef-studio-task:hover{background:#f0f8ff;border-color:#91c5e5;transform:translateY(-1px)}
.ef-studio-task-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#e9f5ff;font-size:25px}
.ef-studio-task strong{font-size:1.06rem}
.ef-studio-task small{font-size:.86rem;line-height:1.55}
.ef-studio-task>span:last-child{margin-top:auto;color:#166bb1;font-weight:800}
.ef-studio-shortcuts{margin-top:20px}
.ef-studio-subnav{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}
.ef-studio-subnav .ef-studio-nav-button{padding:10px 15px;min-height:45px;border-radius:11px}
.ef-studio-subnav .ef-studio-nav-button strong{font-size:.91rem}
.ef-studio-inner{min-width:0}
.ef-studio-head{display:flex;align-items:start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ef-studio-head h2{margin-bottom:5px}
.ef-studio-head p{margin:0}
.ef-studio-empty{border:1px dashed #c5dce9;border-radius:12px;background:#f7fbff;padding:19px;color:#5d7c91}
.ef-studio .panel{min-width:0}
.ef-studio-editor>h2{margin-bottom:6px}
.ef-studio-step{border:1px solid #dfeaf4;border-radius:14px;margin:16px 0;padding:19px;background:#fcfeff;min-width:0}
.ef-studio-step-head{display:flex;gap:13px;align-items:flex-start}
.ef-studio-step-head>b{flex:0 0 34px;height:34px;display:grid;place-items:center;border-radius:50%;
 background:#dbeeff;color:#175c97;font-size:1rem}
.ef-studio-step-head h3{margin:0 0 3px}
.ef-studio-step-head p{margin:0;color:#648097;font-size:.88rem}
.ef-studio-step .field{margin:14px 0}
.ef-studio-step .actions{margin-top:13px}
.ef-studio-step .button{white-space:normal;text-align:center}
.ef-studio-final{background:#eff8ff;border-color:#bedcf2}
.ef-studio-editor-status{padding:13px 15px;background:#eef8f4;color:#225d55;border-radius:12px;margin:16px 0;font-size:.94rem}
.ef-studio-disclosure{border:1px solid #dce8f1;border-radius:12px;padding:13px 15px;margin:15px 0;background:#fff}
.ef-studio-disclosure>summary{cursor:pointer;color:#245c86;font-weight:750;line-height:1.6}
.ef-studio-json{width:100%;min-width:0;min-height:280px;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace!important;white-space:pre;tab-size:2}
.ef-studio-version{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ef-studio .ef-teacher-submission{margin-top:12px}
.ef-submission-search{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:18px 0 6px}
.ef-submission-search .field{flex:1 1 280px;margin:0;min-width:0}
.ef-submission-search input{font:inherit;min-height:46px}
.ef-submission-search .button{min-height:46px}
.ef-submission-hint{margin:6px 0 18px;font-size:.88rem}
.ef-submission-results{font-weight:650;color:#315777;overflow-wrap:anywhere}
.ef-submission-course-group{margin-top:24px;min-width:0}
.ef-submission-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:2px solid #dbeaf5;padding-bottom:10px}
.ef-submission-group-head h3{margin:0;color:#175c97;font-size:1.1rem}
.ef-submission-group-head>span{flex-shrink:0;color:#5c7890;font-size:.9rem}
.ef-submission-student{display:grid;gap:2px;overflow-wrap:anywhere}
.ef-submission-student strong{color:#1b4770}
.ef-submission-student span,.ef-submission-date{font-size:.88rem;color:#5c7890}
.ef-teacher-submission h4{font-size:1rem;margin:0;overflow-wrap:anywhere}
.ef-teacher-submission p{margin:0}
.ef-submission-error{padding:14px;border:1px solid #ecc8c2;border-radius:10px;background:#fff3f0;color:#953a2e;overflow-wrap:anywhere}
.ef-submission-more,.ef-submission-reset{margin:18px 10px 0 0}
@media(max-width:600px){
 .ef-submission-search .field{flex-basis:100%}
 .ef-submission-search .button{flex:1 1 auto}
 .ef-submission-courses{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ef-submission-group-head h3{font-size:1rem}
}
@media(max-width:950px){
 .ef-studio-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ef-studio-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .ef-studio-navigation{gap:8px;margin:15px 0 20px}
 .ef-studio-nav-button{padding:11px}
 .ef-studio-nav-button strong{font-size:.9rem}
 .ef-studio-nav-button small{font-size:.73rem}
 .ef-studio-overview{grid-template-columns:1fr}
 .ef-studio-task{padding:17px}
 .ef-studio-subnav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .ef-studio-subnav .ef-studio-nav-button{justify-content:center;text-align:center;padding:11px 8px}
 .ef-studio .panel{padding:18px}
 .ef-studio-step{padding:14px}
 .ef-studio-head>.button{width:100%}
 .ef-studio-step .actions>.button{flex:1 1 100%}
}


/* My Learning · sunflower companion: cumulative growth with gentle mood cues */
.ef-sunflower-garden{
 margin:19px 0 20px;padding:22px 24px;border:1px solid #d5e7d8;
 background:linear-gradient(135deg,#f6fbef 0%,#f9fcff 64%,#fef9e9 100%);
 box-shadow:0 8px 28px rgba(42,96,69,.05);
 overflow:hidden
}
.ef-sunflower-heading{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:13px}
.ef-sunflower-heading .eyebrow{color:#547d55;font-size:.72rem;letter-spacing:.14em}
.ef-sunflower-heading h2{margin:5px 0 5px;color:#224d46;font-size:clamp(1.3rem,2.4vw,1.7rem)}
.ef-sunflower-heading p{margin:0;color:#597c73;font-size:.92rem;line-height:1.5}
.ef-sunflower-water{flex:0 0 auto;border:1px solid #c5e1f6;border-radius:999px;background:#eaf6ff;
 color:#206d9d;padding:8px 12px;font-weight:850;white-space:nowrap}
.ef-sunflower-main{display:grid;grid-template-columns:minmax(210px,320px) minmax(0,1fr);gap:23px;align-items:center}
.ef-sunflower-image{width:100%;max-width:320px;margin:0 auto}
.ef-sunflower-art{display:block;width:100%;height:auto;filter:drop-shadow(0 4px 6px rgba(45,90,55,.06))}
.ef-sun-stem{stroke:#468e4a;stroke-width:8;fill:none}
.ef-sun-leaf{fill:#4fa65c;stroke:#357f42;stroke-width:2}
.ef-sun-leaf.light{fill:#7bc66c}
.ef-sunflower-plant{transition:transform .6s ease,filter .6s ease;transform-origin:160px 228px}
.ef-sunflower-mood-sad .ef-sunflower-plant{transform:rotate(5deg)}
.ef-sunflower-mood-thirsty .ef-sunflower-plant{transform:rotate(13deg) translateY(5px);filter:saturate(.6) brightness(.95)}
.ef-sunflower-mood-happy .ef-sun-blossom{animation:ef-sunflower-greet 3.8s ease-in-out infinite;transform-origin:160px 100px}
@keyframes ef-sunflower-greet{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(3deg)}}
.ef-sunflower-details{min-width:0}
.ef-sunflower-stage{display:inline-flex;align-items:center;gap:7px;background:#e5f5d9;border:1px solid #bbdcaa;
 border-radius:999px;padding:7px 13px;color:#37683c;font-size:1rem;font-weight:850}
.ef-sunflower-message{font-size:1rem;font-weight:700;line-height:1.55;color:#355f53;margin:12px 0 8px}
.ef-sunflower-mood{color:#476c63;line-height:1.6;margin:8px 0;padding:10px 13px;background:#fff;
 border:1px solid #e2eadf;border-radius:12px}
.ef-sunflower-today{display:inline-block;font-size:.81rem;color:#4c8066;font-weight:800;margin:4px 0 8px}
.ef-sunflower-next{font-size:.93rem;line-height:1.6;color:#456960;margin:10px 0}
.ef-sunflower-meter{height:11px;background:#e6eddf;border-radius:999px;overflow:hidden;max-width:430px}
.ef-sunflower-meter>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#76bd66,#e6c453)}
.ef-sunflower-stats{margin:9px 0 4px;color:#326c72;font-size:.87rem;font-weight:750}
.ef-sunflower-rule{font-size:.8rem;line-height:1.55;color:#618077;margin:4px 0 13px}
.ef-sunflower-cta{display:inline-flex;padding:10px 14px;white-space:normal}
.ef-sunflower-milestones{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;
 margin:18px 0 0;padding:14px 7px 3px;border-top:1px solid #dfebd9;list-style:none}
.ef-sunflower-milestones li{display:flex;align-items:center;flex-direction:column;gap:4px;text-align:center;
 opacity:.48;min-width:0}
.ef-sunflower-milestones li>span{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;
 background:#f2f3e7;font-size:21px}
.ef-sunflower-milestones li small{font-size:.77rem;font-weight:700;color:#52705c;line-height:1.35}
.ef-sunflower-milestones li.is-unlocked{opacity:1}
.ef-sunflower-milestones li.is-unlocked>span{background:#e4f4cf}
.ef-sunflower-milestones li.is-current>span{outline:2px solid #d9b94f;outline-offset:2px}
@media(max-width:710px){
 .ef-sunflower-garden{padding:19px 15px}
 .ef-sunflower-main{grid-template-columns:1fr;gap:10px}
 .ef-sunflower-image{max-width:275px}
 .ef-sunflower-heading h2{font-size:1.35rem}
 .ef-sunflower-milestones{gap:2px;padding-left:0;padding-right:0}
 .ef-sunflower-milestones li small{font-size:.67rem}
 .ef-sunflower-milestones li>span{width:32px;height:32px;font-size:18px}
}
@media(prefers-reduced-motion:reduce){
 .ef-sunflower-mood-happy .ef-sun-blossom{animation:none}
 .ef-sunflower-plant{transition:none}
}

.ef-sunflower-home-reminder{display:flex;align-items:center;gap:13px;margin:2px 0 20px;padding:13px 17px;
 border:1px solid #d5e7c6;border-radius:15px;text-decoration:none;background:#f4fbec;color:#2f5c4d}
.ef-sunflower-home-reminder>span:first-child{font-size:31px}
.ef-sunflower-home-reminder>span:nth-child(2){display:grid;gap:3px;min-width:0;flex:1}
.ef-sunflower-home-reminder strong{font-size:.94rem}
.ef-sunflower-home-reminder small{font-size:.84rem;line-height:1.5;color:#56756c}
.ef-sunflower-home-reminder>span:last-child{font-size:.83rem;font-weight:800;color:#437b45;white-space:nowrap}
.ef-sunflower-home-reminder:hover{background:#eaf7de;border-color:#b6d89b}
.ef-sunflower-home-sad{background:#fff8ef;border-color:#f0dfbf}
.ef-sunflower-home-thirsty{background:#fff1e8;border-color:#efcfb9}
.ef-sunflower-home-happy{background:#ebf9ef;border-color:#bee4c7}
@media(max-width:550px){.ef-sunflower-home-reminder{padding:12px}.ef-sunflower-home-reminder>span:last-child{display:none}}

/* Speak Clearly: preserve previous/next links but keep top lesson controls
   short on phones. The full navigation remains below the lesson iframe. */
@media(max-width:700px){
 .ef-speak-navigation-top{margin:7px 0!important;padding:8px!important;border-radius:13px}
 .ef-speak-navigation-top>p{display:none!important}
 .ef-speak-navigation-top>.actions{
  display:flex!important;flex-wrap:nowrap!important;gap:7px!important;
  overflow-x:auto;scrollbar-width:thin;padding:2px 0 4px
 }
 .ef-speak-navigation-top>.actions>*{
  flex:0 0 auto;white-space:nowrap;font-size:12px;min-height:44px
 }
 #ef-speak-lesson-frame{border-radius:12px!important}
}

/* Everyday English: short, publicly viewable course introduction. */
.ef-ee-intro-hero{
 position:relative;overflow:hidden;padding:clamp(22px,4vw,48px);
 background:linear-gradient(120deg,#f5faff 0%,#e7f5ff 64%,#f3fbfc 100%);
 border-color:#d0e5f8
}
.ef-ee-intro-hero::after{
 content:"";position:absolute;right:-75px;top:-90px;width:280px;height:280px;
 border:35px solid #cce9fb60;border-radius:50%;pointer-events:none
}
.ef-ee-intro-hero>*{position:relative;z-index:1}
.ef-ee-intro-kicker{display:block;color:#2a78ad;font-size:.77rem;letter-spacing:.14em;font-weight:800}
.ef-ee-gradient{
 display:inline-block;max-width:100%;margin:6px 0;font-size:clamp(2.25rem,5.2vw,4.3rem);line-height:1.15;
 background:linear-gradient(100deg,#1544a3 0%,#2563eb 38%,#0284c7 76%,#38bdf8 100%);
 -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent
}
.ef-ee-intro-hero>p{max-width:700px;margin:8px 0;color:#375b75;line-height:1.65}
.ef-ee-intro-hero>.ef-ee-intro-sub{font-size:1.09rem;font-weight:750;color:#245580}
.ef-ee-intro-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:22px}
.ef-ee-intro-actions .button{white-space:normal;text-align:center}
.ef-ee-access-note{font-size:.94rem;color:#476c84;font-weight:650}
.ef-ee-about,.ef-ee-roadmap{margin:34px 0}
.ef-ee-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ef-ee-methods>div{background:#fff;border:1px solid #dfeaf5;border-radius:16px;padding:20px}
.ef-ee-methods span{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:10px;
 background:#e8f3ff;color:#2563b7;font-size:.85rem;font-weight:800;margin-right:8px}
.ef-ee-methods strong{font-size:1.15rem;color:#1c4b78}
.ef-ee-methods p{font-size:.93rem;color:#4c6e84;margin:10px 0 0}
.ef-ee-roadmap-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:17px}
.ef-ee-roadmap-heading h2{margin:0 0 5px;font-size:clamp(1.4rem,3vw,1.9rem)}
.ef-ee-roadmap-heading p{color:#4c6e84;margin:0}
.ef-ee-guide-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.ef-ee-stage-list{display:grid;gap:11px}
.ef-ee-stage{background:#fff;border:1px solid #d9e8f4;border-radius:15px;overflow:hidden}
.ef-ee-stage summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:14px;padding:16px 19px}
.ef-ee-stage summary::-webkit-details-marker{display:none}
.ef-ee-stage[open] summary{background:#f1f8ff;border-bottom:1px solid #e0ecf7}
.ef-ee-stage-index{display:grid;place-items:center;flex:none;width:43px;height:43px;
 background:linear-gradient(130deg,#d8edff,#edf8ff);border-radius:12px;color:#1a6bab;font-weight:800}
.ef-ee-stage-heading{display:grid;gap:2px;flex:1;min-width:0}
.ef-ee-stage-heading strong{font-size:1.05rem;color:#1a4977}
.ef-ee-stage-heading small{color:#53738a;font-size:.84rem}
.ef-ee-stage-chevron{font-size:1.35rem;color:#4282ac;transition:transform .18s}
.ef-ee-stage[open] .ef-ee-stage-chevron{transform:rotate(180deg)}
.ef-ee-can-do-list{list-style:none;margin:0;padding:4px 20px 18px;display:grid;gap:0}
.ef-ee-can-do-list li{padding:13px 3px 12px;border-bottom:1px solid #edf3f9}
.ef-ee-can-do-list li:last-child{border:0}
.ef-ee-can-do-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.ef-ee-can-do-head span{font-size:.75rem;font-weight:800;color:#276f9f;white-space:nowrap}
.ef-ee-can-do-head strong{font-size:.95rem;color:#204e75}
.ef-ee-can-do-list p{font-size:.9rem;color:#466a82;margin:5px 0 0}
.ef-ee-footer-cta{background:#eff8ff;border-color:#d2e5f6}
.ef-ee-footer-cta p{color:#4f6e82}
.ef-ee-lesson-guide{margin:0 0 17px;font-size:.94rem}
.ef-ee-lesson-guide a{display:inline-flex;align-items:center;padding:10px 15px;background:#e9f5ff;
 border:1px solid #d4e8fa;border-radius:11px;font-weight:700}
.ef-ee-course-card .ef-ee-card-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}

@media(max-width:720px){
 .ef-ee-methods{grid-template-columns:1fr;gap:9px}
 .ef-ee-methods>div{padding:13px 15px}
 .ef-ee-methods p{margin:5px 0 0}
 .ef-ee-intro-hero::after{opacity:.45}
 .ef-ee-can-do-list{padding-left:14px;padding-right:14px}
 .ef-ee-guide-actions{width:100%}
 .ef-ee-guide-actions .button{flex:1 1 150px}
 .ef-ee-intro-actions .button{flex:1 1 190px}
}
@media print{.ef-ee-stage:not([open])>.ef-ee-can-do-list{display:block}}


/* The illustrated Everyday English roadmap is rendered in the app, never a standalone HTML page. */
.ef-ee-intro-hero{
 border:1px solid #f2e1e6;border-radius:26px;
 background:radial-gradient(circle at 7% 5%,#fff2ca 0,transparent 37%),
  radial-gradient(circle at 95% 98%,#d6f5e7 0,transparent 35%),
  linear-gradient(120deg,#fffaf3 0%,#fff4f5 52%,#eaf5ff 100%);
 box-shadow:0 16px 40px rgba(90,70,140,.10);
}
.ef-ee-intro-hero::after{right:-80px;top:-98px;width:250px;height:250px;border:35px solid rgba(169,139,255,.13)}
.ef-ee-intro-kicker{display:block;width:max-content;max-width:100%;margin-bottom:12px;padding:7px 14px;background:#ffe9e5;
 border-radius:99px;color:#aa5474;font-size:.72rem;letter-spacing:.11em}
.ef-ee-gradient{font-weight:850;letter-spacing:-.035em}
.ef-ee-hero-stats{display:flex;flex-wrap:wrap;gap:11px;margin:20px 0}
.ef-ee-hero-stats>div{display:grid;gap:1px;min-width:112px;padding:10px 17px;
 background:#fff;border:1px solid #efe6f5;border-radius:17px;box-shadow:0 6px 20px rgba(90,70,140,.08)}
.ef-ee-hero-stats strong{font-size:1.48rem;line-height:1.3;color:#7652bb}
.ef-ee-hero-stats small{color:#655f7b;font-size:.78rem;font-weight:750}
.ef-ee-intro-hero>.ef-ee-hero-quote{max-width:max-content;margin:8px 0 6px;
 padding:10px 17px;border:2px dashed #efc85c;border-radius:15px;
 background:rgba(255,255,255,.8);color:#66526e;font-weight:760}
.ef-ee-about h2{color:#394a68}
.ef-ee-methods>div{border-radius:21px;border:1px solid #f1e8f1;
 box-shadow:0 7px 24px rgba(90,70,140,.07);transition:transform .18s,box-shadow .18s}
.ef-ee-methods>div:nth-child(1){border-top:5px solid #ff998b}
.ef-ee-methods>div:nth-child(2){border-top:5px solid #efc155}
.ef-ee-methods>div:nth-child(3){border-top:5px solid #5cc9a7}
.ef-ee-methods>div:nth-child(1) span{background:#ffe9e5;color:#915462}
.ef-ee-methods>div:nth-child(2) span{background:#fff4d3;color:#8e6a19}
.ef-ee-methods>div:nth-child(3) span{background:#e2f7ef;color:#2a7e63}
.ef-ee-methods span{font-size:1.28rem;width:42px;height:42px;border-radius:14px}
.ef-ee-roadmap{margin:34px 0;padding:clamp(16px,3vw,28px);border-radius:24px;
 background:linear-gradient(145deg,#fffaf3 0%,#f6f3ff 100%);border:1px solid #f0e6f4}
.ef-ee-roadmap-heading h2{color:#3e4867}
.ef-ee-stage-list{gap:14px}
.ef-ee-stage{--stage:#df806f;--stage-light:#ffe9e5;
 border:1px solid #ede5f2;border-radius:21px;box-shadow:0 5px 20px rgba(90,70,140,.075)}
.ef-ee-stage-2{--stage:#ba891c;--stage-light:#fff4d3}
.ef-ee-stage-3{--stage:#448abf;--stage-light:#e3f1ff}
.ef-ee-stage-4{--stage:#8e6ac7;--stage-light:#efe8ff}
.ef-ee-stage summary{padding:17px 21px;gap:15px}
.ef-ee-stage[open] summary{background:var(--stage-light);border-bottom:1px solid #eadff2}
.ef-ee-stage summary:focus-visible{outline:3px solid #2b74ac;outline-offset:-4px}
.ef-ee-stage-index{width:48px;height:48px;border-radius:15px;
 background:var(--stage);color:#fff;font-size:1rem}
.ef-ee-stage-heading strong{font-size:1.14rem;color:#394362}
.ef-ee-stage-heading small{color:#6e657b}
.ef-ee-stage-chevron{color:#776d8f}
.ef-ee-can-do-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:17px;background:#fff}
.ef-ee-can-do-list li{display:flex;gap:11px;align-items:start;min-width:0;
 padding:14px;border:1px solid #eee7f5;border-radius:17px;
 background:#fff;box-shadow:0 4px 11px rgba(90,70,140,.055)}
.ef-ee-can-do-list li:last-child{border:1px solid #eee7f5}
.ef-ee-can-do-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;
 border-radius:14px;background:var(--stage-light);font-size:1.45rem}
.ef-ee-can-do-copy{min-width:0}
.ef-ee-can-do-head{display:grid;gap:3px}
.ef-ee-can-do-head span{color:#7768a3;letter-spacing:.055em}
.ef-ee-can-do-head strong{color:#374764;font-size:.96rem;line-height:1.35}
.ef-ee-can-do-list p{color:#69677c;line-height:1.52;margin-top:7px}
.ef-ee-footer-cta{background:linear-gradient(115deg,#fff4d3,#e6f7f1);
 border-color:#ebdfb9;border-radius:23px}
@media(hover:hover){.ef-ee-methods>div:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(90,70,140,.12)}}
@media(max-width:720px){
 .ef-ee-intro-hero{border-radius:21px}
 .ef-ee-hero-stats{gap:8px}
 .ef-ee-hero-stats>div{flex:1 1 92px;min-width:0;padding:10px}
 .ef-ee-hero-stats strong{font-size:1.26rem}
 .ef-ee-roadmap{padding:12px;border-radius:19px}
 .ef-ee-stage summary{padding:13px;gap:11px}
 .ef-ee-stage-index{width:43px;height:43px}
 .ef-ee-can-do-list{grid-template-columns:1fr;padding:12px;gap:9px}
 .ef-ee-can-do-list li{padding:12px}
 .ef-ee-can-do-icon{width:40px;height:40px}
}
@media(prefers-reduced-motion:reduce){.ef-ee-methods>div{transition:none}}

/* Recovery appears only after a failed Google attempt or an explicit help link. */
.ef-auth-recovery{width:100%;max-width:680px;margin:0 auto 20px;text-align:left}
.ef-auth-help{overflow-wrap:anywhere;margin-bottom:12px}
.ef-auth-help h2{font-size:1.15rem;margin-top:0}
.ef-auth-help p,.ef-auth-email p{line-height:1.6}
.ef-auth-email{margin:0;text-align:left}
.ef-auth-email summary{cursor:pointer;font-weight:750;min-height:44px;display:flex;align-items:center}
.ef-auth-email form{display:grid;gap:12px;margin-top:12px}
.ef-auth-email input{display:block;width:100%;min-height:48px;font-size:16px;margin-top:6px;box-sizing:border-box}
.ef-auth-email .button,.ef-auth-help .button{min-height:44px;white-space:normal}


/* Study streak celebration — shown once when today's 7-minute goal is saved. */
.ef-streak-celebration{
 position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;
 padding:20px max(16px,env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
 background:rgba(11,30,48,.7);overflow-y:auto;overscroll-behavior:contain;
 animation:ef-streak-fade .22s ease both;
}
.ef-streak-dialog{
 position:relative;width:min(438px,100%);max-height:calc(100dvh - 40px);margin:auto;
 overflow-y:auto;overscroll-behavior:contain;text-align:center;outline:none;
 border-radius:28px;border:1px solid rgba(255,224,145,.9);
 background:linear-gradient(180deg,#fff8df 0%,#fffaf0 76%,#fff 76%,#fff 100%);
 box-shadow:0 26px 70px rgba(8,26,43,.28);padding:28px 26px 24px;
 color:#263d4d;animation:ef-streak-pop .36s cubic-bezier(.19,1,.22,1) both;
}
.ef-streak-close{
 position:absolute;right:14px;top:12px;width:38px;height:38px;display:grid;place-items:center;
 border:0;border-radius:50%;background:transparent;color:#526879;font-size:29px;
 line-height:1;z-index:1;
}
.ef-streak-close:hover,.ef-streak-close:focus-visible{background:#f1e7cf;outline-color:#2d77b8}
.ef-streak-art{position:relative;max-width:250px;height:211px;margin:0 auto 0}
.ef-streak-flower-svg{width:100%;height:100%;overflow:visible;filter:drop-shadow(0 10px 10px rgba(126,95,44,.13))}
.ef-streak-flower-head{transform-origin:120px 124px;animation:ef-streak-bob 1.7s ease-in-out infinite alternate}
.ef-streak-droplet{animation:ef-streak-drop-dance 1.5s ease-in-out infinite alternate}
.ef-streak-sparkle{position:absolute;color:#ecaa2e;font-size:26px;font-weight:800;line-height:1}
.ef-streak-sparkle.one{left:5%;top:19%}.ef-streak-sparkle.two{right:2%;top:23%;color:#7ab4e9}
.ef-streak-sparkle.three{right:15%;bottom:4%;color:#e4a238;font-size:30px}
.ef-streak-badge{
 display:inline-flex;align-items:center;justify-content:center;gap:9px;
 padding:11px 23px;margin:4px auto 20px;border-radius:18px;
 background:linear-gradient(135deg,#fff0c8,#fce4ad);color:#31445b;font-size:1.3rem;
 box-shadow:0 3px 14px rgba(183,142,51,.09);
}
.ef-streak-badge span{font-size:1.55rem}.ef-streak-badge strong{font-size:1.45rem;letter-spacing:-.025em}
.ef-streak-dialog h2{font-size:clamp(1.35rem,4.5vw,1.65rem);line-height:1.28;letter-spacing:-.035em;max-width:360px;margin:0 auto 14px;font-weight:800;color:#203344}
.ef-streak-dialog p{max-width:365px;margin:0 auto;color:#526475;line-height:1.58;font-size:.99rem}
.ef-streak-gift{display:inline-flex;align-items:center;gap:7px;color:#26829e;font-weight:700;font-size:.9rem;margin:17px auto 24px}
.ef-streak-continue{
 display:block;width:100%;min-height:54px;border:0;border-radius:17px;
 color:#fff;background:#286be6;font-size:1.1rem;font-weight:800;
 box-shadow:0 9px 22px rgba(34,100,222,.18);transition:background .15s,transform .15s;
}
.ef-streak-continue:hover{background:#1a5bcf;transform:translateY(-1px)}
.ef-streak-continue:focus-visible{outline:3px solid #71addc;outline-offset:3px}
@keyframes ef-streak-fade{from{opacity:0}to{opacity:1}}
@keyframes ef-streak-pop{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:none}}
@keyframes ef-streak-bob{from{transform:rotate(-3deg)}to{transform:rotate(3deg)}}
@keyframes ef-streak-drop-dance{from{transform:translateY(-5px)}to{transform:translateY(2px)}}
@media(max-width:420px){
 .ef-streak-dialog{border-radius:24px;padding:24px 20px 20px}
 .ef-streak-art{height:174px;max-width:216px}
 .ef-streak-badge{margin-bottom:15px}
 .ef-streak-gift{margin-bottom:17px}
}
@media(prefers-reduced-motion:reduce){
 .ef-streak-celebration,.ef-streak-dialog,.ef-streak-flower-head,.ef-streak-droplet{animation:none}
 .ef-streak-continue{transition:none}
}


/* English For Real Life: public 20-lesson, 5-stage guide (shares Everyday English components). */
.ef-rl-intro .ef-ee-methods{grid-template-columns:repeat(4,minmax(0,1fr))}
.ef-rl-intro .ef-ee-methods>div:nth-child(4){border-top:5px solid #a68ae2}
.ef-rl-intro .ef-ee-methods>div:nth-child(4) span{background:#f0e8ff;color:#7052a4}
.ef-rl-intro .ef-ee-stage-5{--stage:#4b9d83;--stage-light:#e2f6ee}
.ef-rl-intro .ef-rl-flex-note{margin:14px 2px 0;font-size:.92rem;line-height:1.6;color:#596d82}
.ef-rl-intro .ef-ee-hero-stats>div{min-width:118px}
@media(max-width:1080px){
 .ef-rl-intro .ef-ee-methods{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
 .ef-rl-intro .ef-ee-methods{grid-template-columns:1fr}
 .ef-rl-intro .ef-ee-stage summary{padding:13px 15px}
 .ef-rl-intro .ef-ee-stage-index{width:42px;height:42px}
}
