/* EE Free Community. Mobile first, English Evolution brand colors. */
.eefc {
  --ee-teal: #3A7F8C; --ee-teal-dk: #2C6470; --ee-coral: #E3997E; --ee-coral-dk: #C97A5E;
  --ee-cream: #FBF6EE; --ee-ink: #16231F; --ee-muted: #5B6662; --ee-line: #E4DDD1; --ee-card: #fff;
  color: var(--ee-ink); font-size: 16px; line-height: 1.55; max-width: 820px; margin: 0 auto;
}
.eefc *, .eefc *::before, .eefc *::after { box-sizing: border-box; }
.eefc [hidden] { display: none !important; }
.eefc h2, .eefc h3, .eefc h4 { font-family: Outfit, system-ui, sans-serif; line-height: 1.2; margin: 0 0 .4em; color: var(--ee-ink); }
.eefc p { margin: 0 0 .75em; }
.eefc a { color: var(--ee-teal-dk); }
.eefc-ic { display: inline-flex; width: 1.15em; height: 1.15em; vertical-align: -.2em; margin-right: .35em; }
.eefc-ic svg { width: 100%; height: 100%; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

.eefc-btn { display: inline-flex; align-items: center; justify-content: center; gap: .3em; min-height: 46px; padding: 10px 20px; border: 2px solid var(--ee-teal); border-radius: 12px; background: var(--ee-teal); color: #fff !important; font: 600 16px/1.2 Outfit, system-ui, sans-serif; text-decoration: none !important; cursor: pointer; }
.eefc-btn:hover { background: var(--ee-teal-dk); border-color: var(--ee-teal-dk); }
.eefc-btn[disabled] { opacity: .6; cursor: wait; }
.eefc-btn-coral { background: var(--ee-coral); border-color: var(--ee-coral); color: var(--ee-ink) !important; }
.eefc-btn-coral:hover { background: var(--ee-coral-dk); border-color: var(--ee-coral-dk); }
.eefc-btn-ghost { background: transparent; color: var(--ee-teal-dk) !important; }
.eefc-btn-ghost:hover { background: rgba(58,127,140,.08); }
.eefc-btn-big { width: 100%; min-height: 58px; font-size: 18px; }
.eefc-link { background: none; border: 0; padding: 0; color: var(--ee-teal-dk); text-decoration: underline; font: inherit; cursor: pointer; }
.eefc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.eefc-kicker { display: inline-block; font: 700 12px/1 Outfit, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--ee-teal-dk); margin-bottom: 8px; }
.eefc-meta, .eefc-fine { color: var(--ee-muted); font-size: 14px; }
.eefc-card { background: var(--ee-card); border: 1px solid var(--ee-line); border-radius: 16px; padding: 18px; margin: 16px 0; }
.eefc-crumbs { font-size: 14px; margin-bottom: 12px; }

/* 1. Find your lesson: always first, always biggest */
.eefc-find { background: var(--ee-teal); color: #fff; border-radius: 20px; padding: 22px 16px 16px; margin: 0 0 16px; }
.eefc-find h2 { color: #fff; font-size: clamp(22px, 5.5vw, 32px); }
.eefc-find-sub { color: rgba(255,255,255,.9); }
.eefc-searchbar { position: relative; display: flex; flex-direction: column; gap: 10px; margin: 14px 0 6px; }
.eefc-searchbar > .eefc-ic { position: absolute; left: 14px; top: 17px; color: var(--ee-muted); width: 22px; height: 22px; margin: 0; }
.eefc-searchbar input { width: 100%; min-height: 56px; padding: 12px 14px 12px 46px; border: 0; border-radius: 14px; font-size: 18px; color: var(--ee-ink); background: #fff; -webkit-appearance: none; appearance: none; }
.eefc-searchbar input:focus { outline: 3px solid var(--ee-coral); outline-offset: 1px; }
.eefc-searchbar button { min-height: 52px; border: 0; border-radius: 14px; background: var(--ee-coral); color: var(--ee-ink); font: 700 17px/1 Outfit, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.eefc-searchbar button:hover { background: #F0AE95; }
.eefc-find-foot { margin: 8px 0 0; font-size: 15px; }
.eefc-find .eefc-link { color: #fff; }
.eefc-results:empty { display: none; }
.eefc-results { background: #fff; color: var(--ee-ink); border-radius: 14px; padding: 12px; margin-top: 10px; }
.eefc-r-count { color: var(--ee-muted); font-size: 14px; margin: 0 4px 6px; }
.eefc-r-list { list-style: none; margin: 0; padding: 0; }
.eefc-r-list li + li { border-top: 1px solid var(--ee-line); }
.eefc-result { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 6px; text-decoration: none !important; color: var(--ee-ink) !important; border-radius: 8px; }
.eefc-result:hover, .eefc-result:focus { background: var(--ee-cream); }
.eefc-r-title { font-weight: 600; font-size: 17px; grid-column: 1 / -1; }
.eefc-r-meta { color: var(--ee-muted); font-size: 14px; }
.eefc-r-go { color: var(--ee-teal-dk); font-weight: 600; font-size: 14px; }
.eefc-noresult p { margin-bottom: .4em; }
.eefc-results .eefc-link { color: var(--ee-teal-dk); }

/* 2. Featured Opportunity */
.eefc-featured { display: grid; gap: 0; background: var(--ee-cream); border: 2px solid var(--ee-coral); border-radius: 18px; overflow: hidden; margin: 0 0 16px; }
.eefc-feat-img { width: 100%; height: 170px; object-fit: cover; display: block; }
.eefc-feat-body { padding: 16px 18px 18px; }
.eefc-feat-body h3 { font-size: 21px; }
.eefc-featured .eefc-kicker { color: var(--ee-coral-dk); }

/* 3. Sections */
.eefc-lotw h3 { font-size: 22px; }
.eefc-lotw h3 a { color: var(--ee-ink); text-decoration: none; }
.eefc-nav { display: grid; gap: 10px; margin: 16px 0; }
.eefc-tile { display: block; padding: 14px 16px; background: #fff; border: 1px solid var(--ee-line); border-left: 5px solid var(--ee-teal); border-radius: 12px; text-decoration: none !important; color: var(--ee-ink) !important; }
.eefc-tile strong { display: block; font: 600 17px/1.3 Outfit, system-ui, sans-serif; }
.eefc-tile span { color: var(--ee-muted); font-size: 14px; }
.eefc-tile:hover { border-left-color: var(--ee-coral); }
.eefc-paid { border-top: 1px solid var(--ee-line); margin-top: 24px; padding-top: 14px; font-size: 15px; color: var(--ee-muted); }
.eefc-paid-links { display: flex; gap: 18px; flex-wrap: wrap; }
.eefc-paid-links a { font-weight: 600; }

/* Welcome (visitors) and gate */
.eefc-welcome, .eefc-gate { background: var(--ee-cream); border-radius: 20px; padding: 22px 18px; margin: 0 0 16px; }
.eefc-welcome h2 { font-size: clamp(24px, 6vw, 34px); }
.eefc-gate { border: 2px solid var(--ee-coral); text-align: center; }
.eefc-gate .eefc-actions { justify-content: center; }
.eefc-list { margin: 0; padding-left: 1.1em; }
.eefc-list li { margin-bottom: .5em; }

/* Lesson page */
.eefc-lesson-top { margin-bottom: 8px; }
.eefc-video { position: relative; display: block; width: 100%; aspect-ratio: 16/9; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #000; cursor: pointer; margin-top: 12px; }
.eefc-video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.eefc-video .eefc-ic { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; padding: 18px; border-radius: 50%; background: rgba(22,35,31,.75); color: #fff; }
.eefc-video-frame { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 14px; margin-top: 12px; }

/* Assignment */
.eefc-rule { display: flex; gap: 10px; align-items: flex-start; background: #EEF5F6; border-radius: 12px; padding: 12px 14px; margin: 10px 0 14px; font-size: 15px; }
.eefc-rule .eefc-ic { flex: 0 0 20px; height: 20px; color: var(--ee-teal-dk); margin: 2px 0 0; }
.eefc-rule p { margin: 0; }
.eefc-prompts { border: 0; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.eefc-prompt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--ee-line); border-radius: 12px; cursor: pointer; background: #fff; }
.eefc-prompt input { margin-top: 4px; accent-color: var(--ee-teal); width: 18px; height: 18px; flex: 0 0 18px; }
.eefc-prompt:has(input:checked) { border-color: var(--ee-teal); background: #F3F9FA; }
.eefc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--ee-cream); border-radius: 12px; padding: 4px; margin-bottom: 10px; }
.eefc-tabs button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; font: 600 15px/1 Outfit, system-ui, sans-serif; color: var(--ee-muted); cursor: pointer; }
.eefc-tabs button[aria-selected="true"] { background: #fff; color: var(--ee-ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.eefc textarea, .eefc input[type=text], .eefc input:not([type]), .eefc-ask input { width: 100%; padding: 12px; border: 1px solid var(--ee-line); border-radius: 12px; font: inherit; font-size: 16px; background: #fff; color: var(--ee-ink); }
.eefc textarea:focus, .eefc-ask input:focus { outline: 2px solid var(--ee-teal); border-color: var(--ee-teal); }
.eefc-form-msg { color: #B3261E; font-size: 14px; min-height: 1em; margin: 6px 0; }
.eefc-form-msg:empty { margin: 0; }
.eefc-respond .eefc-btn, .eefc-ask .eefc-btn { width: 100%; margin-top: 4px; }

.eefc-recorder { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; border: 1px dashed var(--ee-line); border-radius: 14px; padding: 14px; min-height: 96px; background: #fff; }
.eefc-rec-btn { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--ee-coral); background: #fff; display: grid; place-items: center; cursor: pointer; }
.eefc-rec-dot { width: 26px; height: 26px; border-radius: 50%; background: #D9534F; }
.eefc-rec-btn.is-rec { animation: eefc-pulse 1.4s infinite; }
.eefc-rec-sq { width: 22px; height: 22px; border-radius: 4px; background: #D9534F; }
@keyframes eefc-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(217,83,79,.35); } 50% { box-shadow: 0 0 0 10px rgba(217,83,79,0); } }
.eefc-rec-info { flex: 1 1 180px; display: grid; gap: 4px; font-size: 14px; color: var(--ee-muted); }
.eefc-rec-info strong { color: var(--ee-ink); font-size: 16px; }
.eefc-rec-clock small { color: var(--ee-muted); font-weight: 400; }
.eefc-rec-meter { display: block; height: 6px; border-radius: 3px; background: var(--ee-cream); overflow: hidden; }
.eefc-rec-meter i { display: block; height: 100%; background: var(--ee-coral); transition: width .2s linear; }
.eefc-recorder audio, .eefc-audio { width: 100%; height: 44px; }
.eefc-rec-row { display: flex; justify-content: space-between; width: 100%; font-size: 14px; color: var(--ee-muted); }
.eefc-rec-err { width: 100%; color: #B3261E; font-size: 14px; margin: 0; }

/* Responses, questions, answers */
.eefc-sub { margin-top: 22px !important; font-size: 18px; }
.eefc-empty { color: var(--ee-muted); }
.eefc-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.eefc-item { background: #fff; border: 1px solid var(--ee-line); border-radius: 14px; padding: 14px; scroll-margin-top: 90px; }
.eefc-item:target { border-color: var(--ee-teal); box-shadow: 0 0 0 3px rgba(58,127,140,.18); }
.eefc-byline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; font-size: 14px; }
.eefc-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.eefc-name { font-weight: 600; }
.eefc-when { color: var(--ee-muted); }
.eefc-badge { background: var(--ee-teal); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 600; }
.eefc-prompt-tag { font-size: 13px; color: var(--ee-muted); font-style: italic; }
.eefc-body p:last-child { margin-bottom: 0; }
.eefc-teacher { margin-top: 12px; padding: 12px 14px; background: #EEF5F6; border-left: 4px solid var(--ee-teal); border-radius: 10px; }
.eefc-question .eefc-body { font-size: 17px; }
.eefc-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; font-size: 13px; }
.eefc-tools button { background: none; border: 0; padding: 4px 0; color: var(--ee-muted); font: inherit; cursor: pointer; text-decoration: underline; }
.eefc-tools button:hover { color: var(--ee-ink); }
.eefc-flagged { background: #FCE8E6; color: #B3261E; padding: 2px 8px; border-radius: 6px; font-weight: 600; }
.eefc-editform { display: grid; gap: 8px; margin-top: 8px; }
.eefc-editform .eefc-btn { justify-self: start; }
.eefc-reply { margin-top: 10px; }
.eefc-reply summary { cursor: pointer; color: var(--ee-teal-dk); font-weight: 600; font-size: 14px; }
.eefc-reply form { margin-top: 8px; }
.eefc-ask label { display: block; margin: 8px 0 6px; }
.eefc-qlist { list-style: none; margin: 0; padding: 0; }
.eefc-qlist li { padding: 12px 2px; border-bottom: 1px solid var(--ee-line); display: grid; gap: 2px; }
.eefc-qlist a { font-weight: 600; text-decoration: none; }
.eefc-pager { display: flex; justify-content: space-between; margin-top: 12px; }

/* Member bar, views, join and profile */
.eefc-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; margin: 0 0 12px; }
.eefc-bar-me { display: inline-flex; align-items: center; gap: 6px; color: var(--ee-muted); margin-left: auto; }
.eefc-bar-me .eefc-avatar { width: 28px; height: 28px; }
.eefc-view-h { font-size: clamp(24px, 6vw, 30px); }
.eefc-hello { border: 2px solid var(--ee-teal); background: #F3F9FA; }
.eefc-auth { max-width: 460px; margin: 8px auto 16px; }
.eefc-auth form, .eefc-profile form { display: grid; gap: 6px; }
.eefc-auth label, .eefc-profile label { font-weight: 600; font-size: 15px; margin-top: 6px; }
.eefc input[type=email], .eefc input[type=file] { width: 100%; padding: 12px; border: 1px solid var(--ee-line); border-radius: 12px; font: inherit; font-size: 16px; background: #fff; color: var(--ee-ink); }
.eefc input[type=email]:focus, .eefc input:not([type]):focus { outline: 2px solid var(--ee-teal); border-color: var(--ee-teal); }
.eefc-auth .eefc-btn, .eefc-profile .eefc-btn { width: 100%; margin-top: 6px; }
.eefc-auth-done { background: #F3F9FA; border-radius: 12px; padding: 14px; }
.eefc .eefc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.eefc-photo-row { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; }
.eefc-photo-row .eefc-avatar { width: 72px; height: 72px; flex: 0 0 72px; }
.eefc-photo-row > div { flex: 1; display: grid; gap: 6px; }
.eefc .eefc-check { display: flex; gap: 8px; align-items: center; font-weight: 400 !important; }
.eefc-ok { background: #E7F4EA; color: #1E6B34; border-radius: 10px; padding: 8px 12px; font-weight: 600; }
.eefc-replies { list-style: none; margin: 12px 0 0; padding: 0 0 0 14px; border-left: 3px solid var(--ee-line); display: grid; gap: 10px; }
.eefc-replyitem { scroll-margin-top: 90px; }
.eefc-replyitem:target { background: #F3F9FA; border-radius: 8px; }
.eefc-replyitem .eefc-avatar { width: 28px; height: 28px; }

@media (min-width: 640px) {
  .eefc-find { padding: 32px 28px 22px; }
  .eefc-searchbar { flex-direction: row; }
  .eefc-searchbar input { flex: 1; }
  .eefc-searchbar button { padding: 0 22px; }
  .eefc-featured.has-img { grid-template-columns: 38% 1fr; }
  .eefc-featured.has-img .eefc-feat-img { height: 100%; min-height: 180px; }
  .eefc-nav { grid-template-columns: 1fr 1fr; }
  .eefc-card { padding: 22px; }
  .eefc-btn-big { width: auto; }
  .eefc-respond .eefc-btn, .eefc-ask .eefc-btn { width: auto; }
}

/* ===== Community hub: Skool-style application shell (wide, horizontal navigation, workspace + sidebar) ===== */

/* Break out of the theme's narrow page column and use the desktop width. */
.eefc.eefc-wide { max-width: none; width: min(1180px, calc(100vw - 32px)); margin-left: calc(50% - min(590px, calc(50vw - 16px))); margin-right: 0; }
#main-content section:has(.eefc-hub) > h1 { display: none; }
#main-content section:has(.eefc-hub) { padding-top: 98px; padding-bottom: 48px; }
.eefc-wide > .eefc-bar { margin: 0 0 6px; }

/* Title + search bar */
.eefc-hub-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin: 30px 0 0; }
.eefc-hub-top .eefc-bar { margin: 0; flex: 0 1 auto; }
.eefc-hub-top .eefc-bar > span:first-child { display: none; }
.eefc-hub-title { font: 700 clamp(26px, 5vw, 34px)/1.1 Outfit, system-ui, sans-serif; margin: 0; color: var(--ee-ink); }
.eefc-topsearch { position: relative; background: none !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; }
.eefc-topsearch .eefc-searchbar { flex-direction: row; gap: 0; margin: 0; }
.eefc-topsearch .eefc-searchbar input { min-height: 50px; border-radius: 14px; border: 1px solid var(--ee-line); background: #fff; font-size: 17px; padding-right: 96px; }
.eefc-topsearch .eefc-searchbar input:focus { outline: none; border-color: var(--ee-teal); box-shadow: 0 0 0 3px rgba(58,127,140,.15); }
.eefc-topsearch .eefc-searchbar > .eefc-ic { top: 14px; }
.eefc-topsearch .eefc-searchbar button { position: absolute; right: 5px; top: 5px; min-height: 40px; padding: 0 16px; border-radius: 10px; background: var(--ee-teal); color: #fff; font: 600 15px/1 Outfit, system-ui, sans-serif; text-transform: none; letter-spacing: 0; }
.eefc-topsearch .eefc-searchbar button:hover { background: var(--ee-teal-dk); }
.eefc-topsearch .eefc-find-foot { position: absolute; right: 4px; bottom: -22px; margin: 0; font-size: 13px; }
.eefc-topsearch .eefc-searchbar input { min-height: 54px; font-size: 18px; }
.eefc-topsearch .eefc-searchbar > .eefc-ic { top: 16px; }
.eefc-topsearch .eefc-searchbar button { top: 7px; }
.eefc-topsearch .eefc-find-foot .eefc-link { color: var(--ee-muted); }
.eefc-topsearch .eefc-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; max-height: 70vh; overflow: auto; border: 1px solid var(--ee-line); box-shadow: 0 12px 32px rgba(22,35,31,.12); margin: 0; }

/* Primary navigation: the area. Big buttons, one colour each. */
.eefc-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; scroll-margin-top: 100px; }
.eefc-area-tab { --tab: var(--ee-teal); --tab-soft: #E6F1F2; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 62px; padding: 10px 12px; border-radius: 16px; border: 2px solid var(--tab); background: #fff; color: var(--tab) !important; text-decoration: none !important; font: 700 18px/1.1 Outfit, system-ui, sans-serif; letter-spacing: .01em; transition: background .15s, transform .15s; }
.eefc-area-self-study { --tab: #C26B4B; --tab-soft: #FBEDE6; }
.eefc-area-vip { --tab: #1F2B3A; --tab-soft: #ECEFF3; }
.eefc-area-tab .eefc-ic { width: 22px; height: 22px; margin: 0; }
.eefc-area-tab:hover { background: var(--tab-soft); transform: translateY(-1px); }
.eefc-area-tab.is-current { background: var(--tab); color: #fff !important; box-shadow: 0 6px 18px -8px var(--tab); }
.eefc-area-vip.is-current .eefc-ic { color: #F2C14E; }
.eefc-area-tab.is-locked { border-style: dashed; opacity: .85; }
.eefc-area-tab span + .eefc-ic { width: 15px; height: 15px; opacity: .85; }
@media (max-width: 560px) {
  .eefc-areas { gap: 6px; }
  .eefc-area-tab { flex-direction: column; gap: 4px; min-height: 64px; padding: 8px 4px; font-size: 15px; border-radius: 14px; }
  .eefc-area-tab { position: relative; }
  .eefc-area-tab .eefc-ic { width: 20px; height: 20px; }
  .eefc-area-tab span + .eefc-ic { position: absolute; top: 7px; right: 8px; width: 12px; height: 12px; }
}
/* Secondary navigation: what to do in the area (chips) */
/* Top of the hub: area tabs, then the area's name, then search, then one long strip of sections. */
.eefc-hub > .eefc-hub-top { margin-top: 8px; }
.eefc-hub .eefc-hub-title { font: 800 14px/1.2 Outfit, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--ee-coral-dk); }
.eefc-areas { margin: 10px 0 0; }
.eefc-hub > .eefc-areas + .eefc-topsearch { margin-top: 18px !important; }
.eefc-topsearch + .eefc-sections-nav { margin-top: 34px; }
@media (max-width: 599px) { .eefc-topsearch + .eefc-sections-nav { margin-top: 12px; } }
.eefc-sections-nav { --sec: var(--ee-teal); --sec-soft: #E6F1F2; display: flex; gap: 6px; margin: 16px 0 0; padding: 6px; border-radius: 16px; background: var(--sec-soft); overflow-x: auto; scrollbar-width: none; }
.eefc-sections-nav::-webkit-scrollbar { display: none; }
.eefc-sections-self-study { --sec: #C26B4B; --sec-soft: #FBEDE6; }
.eefc-sections-vip { --sec: #1F2B3A; --sec-soft: #ECEFF3; }
.eefc-pill { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 8px 14px; border: 0; border-radius: 12px; background: transparent; color: var(--sec) !important; text-decoration: none !important; font: 700 16px/1.15 Outfit, system-ui, sans-serif; white-space: nowrap; transition: background .15s; }
.eefc-pill:hover { background: rgba(255,255,255,.75); }
.eefc-pill.is-current { background: var(--sec); color: #fff !important; box-shadow: 0 6px 16px -10px var(--sec); }
.eefc-pill-ic { font-size: 18px; line-height: 1; }
@media (max-width: 599px) {
  .eefc-pill { flex-direction: column; gap: 3px; min-height: 56px; padding: 6px 4px; font-size: 13px; white-space: normal; }
}

/* Current Promotion: one small line */
.eefc-promo { margin: 14px 0 0; text-align: center; font-size: 15px; }
.eefc-promo a, .eefc-promo-text { display: inline-flex; align-items: center; gap: 8px; color: var(--ee-ink) !important; text-decoration: none !important; font-weight: 600; }
.eefc-promo a:hover span:first-of-type { text-decoration: underline; }
.eefc-promo .eefc-ic { width: 18px; height: 18px; margin: 0; color: var(--ee-coral-dk); }

/* Workspace + sidebar */
.eefc-layout { display: grid; gap: 20px; margin-top: 18px; align-items: start; }
.eefc-main { min-width: 0; }
.eefc-side { display: grid; gap: 16px; }
.eefc-section-h { font-size: 20px; margin: 0 0 10px !important; }
.eefc-main .eefc-card { margin: 12px 0; }
.eefc-prompt-list { margin: 0 0 12px; padding-left: 1.2em; }
.eefc-prompt-list li { margin-bottom: .4em; }

/* Lesson of the Week card (sidebar) */
.eefc-lotw-card { background: #fff; border: 1px solid var(--ee-line); border-radius: 18px; overflow: hidden; }
.eefc-lotw-thumb { display: block; aspect-ratio: 16/9; background: var(--ee-teal); }
.eefc-lotw-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eefc-lotw-body { padding: 16px 18px 18px; border-top: 4px solid var(--ee-teal); }
.eefc-lotw-card .eefc-kicker { color: var(--ee-coral-dk); }
.eefc-lotw-card h2 { font-size: 22px; margin: 0 0 4px; }
.eefc-lotw-card h2 a { color: var(--ee-ink); text-decoration: none; }
.eefc-lotw-card h2 a:hover { color: var(--ee-teal-dk); }
.eefc-lotw-sub { color: var(--ee-muted); font-size: 14px; margin: 0 0 12px; }
.eefc-lotw-btn { width: 100%; min-height: 44px; margin-top: 8px; }
.eefc-lotw-card.is-empty { padding: 16px 18px; }
.eefc-side-card { background: var(--ee-cream); border: 1px solid var(--ee-line); border-radius: 18px; padding: 16px 18px; }
.eefc-side-card strong { display: block; font: 600 17px/1.3 Outfit, system-ui, sans-serif; margin-bottom: 4px; }
.eefc-side-card p { color: var(--ee-muted); font-size: 14px; margin: 0 0 6px; }

/* Locked area */
.eefc-locked { text-align: center; padding: 28px 16px; background: #fff; border: 1px solid var(--ee-line); border-radius: 18px; }
.eefc-locked > .eefc-ic { width: 34px; height: 34px; margin: 0 0 8px; color: var(--ee-teal-dk); }
.eefc-locked h3 { font-size: 21px; }
.eefc-locked-list { list-style: none; margin: 10px auto 16px; padding: 0; max-width: 420px; text-align: left; display: grid; gap: 8px; }
.eefc-locked-list li { padding: 10px 12px 10px 36px; border-radius: 10px; background: var(--ee-cream); position: relative; }
.eefc-locked-list li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--ee-coral); }

/* Coming soon */
.eefc-soon { border: 1px dashed var(--ee-line); border-radius: 16px; padding: 18px; background: #fff; }
.eefc-soon h3 { font-size: 19px; }
.eefc-soon-badge { display: inline-block; font: 700 11px/1 Outfit, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--ee-coral-dk); background: #FBEAE3; border-radius: 999px; padding: 5px 10px; margin-bottom: 8px; }

/* Courses links, VIP, teacher class switcher */
.eefc-big-links { display: grid; gap: 10px; }
.eefc-big-link { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--ee-line); border-radius: 14px; text-decoration: none !important; color: var(--ee-ink) !important; background: #fff; }
.eefc-big-link:hover { border-color: var(--ee-teal); background: #F7FBFB; }
.eefc-big-link .eefc-ic { grid-row: 1 / 3; width: 30px; height: 30px; margin: 0; color: var(--ee-teal); }
.eefc-big-link strong { font: 600 17px/1.2 Outfit, system-ui, sans-serif; }
.eefc-big-link span { color: var(--ee-muted); font-size: 14px; }
.eefc-vip { border: 2px solid var(--ee-coral); background: var(--ee-cream); }
.eefc-classpick { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; font-size: 14px; }
.eefc-classpick a { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--ee-line); text-decoration: none; color: var(--ee-muted); background: #fff; }
.eefc-classpick a.is-current { border-color: var(--ee-ink); color: var(--ee-ink); font-weight: 600; }
.eefc-hello { margin-top: 0; }

@media (min-width: 900px) {
  .eefc-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
  .eefc-side { position: sticky; top: 100px; }
  .eefc-promo { text-align: left; }
  .eefc-big-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .eefc-side { order: -1; }
  .eefc-lotw-card { display: grid; grid-template-columns: 112px 1fr; }
  .eefc-lotw-card:not(:has(.eefc-lotw-thumb)) { grid-template-columns: 1fr; }
  .eefc-lotw-thumb { aspect-ratio: auto; height: 100%; }
  .eefc-lotw-body { border-top: 0; border-left: 4px solid var(--ee-teal); padding: 12px 14px; }
  .eefc-lotw-card h2 { font-size: 18px; }
  .eefc-lotw-sub { display: none; }
  .eefc-lotw-btn { width: auto; min-height: 38px; padding: 6px 14px; font-size: 14px; margin: 6px 6px 0 0; }
  .eefc-topsearch .eefc-find-foot { position: static; text-align: right; margin-top: 4px; }
  .eefc-topsearch .eefc-searchbar input { font-size: 16px; padding-right: 58px; }
  .eefc-topsearch .eefc-searchbar button { width: 44px; padding: 0; font-size: 0; }
  .eefc-topsearch .eefc-searchbar button::after { content: "\2192"; font-size: 20px; line-height: 1; }
}
/* ===== Message boards (Community Chat, Student Chat, Class Chat) ===== */
.eefc-board-intro { color: var(--ee-muted); font-size: 15px; margin: 0 0 12px; }
.eefc-composer { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--ee-line); border-radius: 16px; padding: 12px; margin: 0 0 16px; }
.eefc-composer .eefc-avatar { width: 40px; height: 40px; flex: 0 0 40px; }
.eefc-composer-main { flex: 1; min-width: 0; }
.eefc .eefc-composer textarea { border: 0; padding: 8px 4px; resize: none; min-height: 44px; background: transparent; }
.eefc .eefc-composer textarea:focus { outline: none; }
.eefc-composer:focus-within { border-color: var(--ee-teal); box-shadow: 0 0 0 3px rgba(58,127,140,.12); }
.eefc-composer-foot { display: flex; justify-content: flex-end; }
.eefc-composer-foot .eefc-btn { min-height: 40px; padding: 8px 22px; }
.eefc-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.eefc-post { background: #fff; border: 1px solid var(--ee-line); border-radius: 16px; padding: 14px 16px; scroll-margin-top: 90px; }
.eefc-post:target { border-color: var(--ee-teal); box-shadow: 0 0 0 3px rgba(58,127,140,.15); }
.eefc-post > .eefc-body { font-size: 16px; }
.eefc-thread { margin-top: 12px; border-left: 0; padding-left: 0; gap: 8px; }
.eefc-thread .eefc-replyitem { background: #FAF8F4; border-radius: 12px; padding: 10px 12px; }
.eefc-thread .eefc-replyitem:target { background: #EEF5F6; }
.eefc-thread .eefc-byline { margin-bottom: 4px; }
.eefc-show-older { font-size: 14px; margin-top: 8px; }
.eefc-reply-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.eefc .eefc-reply-inline input { flex: 1 1 200px; min-height: 42px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ee-line); font-size: 15px; }
.eefc-reply-inline .eefc-btn { min-height: 42px; padding: 6px 16px; border-radius: 999px; font-size: 15px; }
.eefc-reply-inline .eefc-form-msg { flex-basis: 100%; }
.eefc-board-empty { text-align: center; padding: 28px 12px; border: 1px dashed var(--ee-line); border-radius: 16px; color: var(--ee-muted); display: grid; gap: 4px; }
.eefc-board-empty strong { color: var(--ee-ink); font: 600 17px/1.3 Outfit, system-ui, sans-serif; }

/* Ask Anming list */
.eefc-answered { color: #1E6B34; font-weight: 600; }
.eefc-waiting { color: var(--ee-coral-dk); }
.eefc-qbadge { background: #EEF5F6; color: var(--ee-teal-dk); border-radius: 999px; padding: 1px 8px; font-weight: 600; font-size: 12px; }
/* ===== VIP class hub ===== */
.eefc-classhub { display: grid; gap: 14px; }
.eefc-class-head h3 { font-size: 24px; margin: 0 0 2px; }
.eefc-class-head h3 span { color: var(--ee-coral-dk); font-weight: 600; }
.eefc-class-head .eefc-meta { margin: 0; }
.eefc-nextclass { display: grid; gap: 14px; align-items: center; background: #1F2B3A; color: #fff; border-radius: 18px; padding: 18px 20px; }
.eefc-nextclass .eefc-kicker { color: #F2C14E; margin-bottom: 4px; }
.eefc-next-when strong { display: block; font: 700 clamp(20px, 3.4vw, 26px)/1.2 Outfit, system-ui, sans-serif; color: #fff; }
.eefc-next-rel { display: inline-block; margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.8); }
.eefc-nextclass .eefc-fine { color: rgba(255,255,255,.75); }
.eefc-nextclass.is-live { background: #1E6B4F; }
.eefc-join { background: #F2C14E; border-color: #F2C14E; color: #1F2B3A !important; font-size: 19px; }
.eefc-join:hover { background: #E8B53A; border-color: #E8B53A; }
.eefc-join .eefc-ic { width: 22px; height: 22px; margin: 0 .3em 0 0; }
.eefc-class-links { display: grid; gap: 10px; }
.eefc-class-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--ee-line); border-radius: 14px; background: #fff; text-decoration: none !important; color: var(--ee-ink) !important; }
.eefc-class-link > .eefc-ic, .eefc-class-link summary > .eefc-ic { width: 26px; height: 26px; margin: 0; color: var(--ee-teal); flex: 0 0 26px; }
.eefc-class-link span { display: grid; gap: 2px; }
.eefc-class-link strong { font: 600 16px/1.2 Outfit, system-ui, sans-serif; }
.eefc-class-link small { color: var(--ee-muted); font-size: 13px; }
a.eefc-class-link:hover, .eefc-cal summary:hover { border-color: var(--ee-teal); }
.eefc-cal { display: block; padding: 0; }
.eefc-cal summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; border-radius: 14px; }
.eefc-cal summary::-webkit-details-marker { display: none; }
.eefc-cal-menu { display: grid; gap: 6px; padding: 0 16px 14px 54px; }
.eefc-cal-menu a { font-weight: 600; }
.eefc-cal-menu .eefc-fine { margin: 4px 0 0; }
.eefc-upcoming { background: #fff; border: 1px solid var(--ee-line); border-radius: 16px; padding: 14px 18px; }
.eefc-upcoming h4 { margin: 0 0 8px; font-size: 16px; }
.eefc-upcoming ol { list-style: none; margin: 0 0 6px; padding: 0; }
.eefc-upcoming li { padding: 8px 0; border-top: 1px solid var(--ee-line); font-size: 15px; }
.eefc-upcoming li:first-child { border-top: 0; font-weight: 600; }
@media (min-width: 640px) {
  .eefc-nextclass { grid-template-columns: 1fr auto; padding: 22px 24px; }
  .eefc-class-links { grid-template-columns: 1fr 1fr; align-items: start; }
}
/* ===== Mastery Quests ===== */
.eefc-questbar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #FBEDE6; border: 2px solid var(--ee-coral); text-decoration: none !important; color: var(--ee-ink) !important; }
.eefc-questbar > .eefc-ic { width: 26px; height: 26px; margin: 0; color: #C26B4B; flex: 0 0 26px; }
.eefc-questbar span { display: grid; gap: 2px; }
.eefc-questbar strong { font: 700 17px/1.2 Outfit, system-ui, sans-serif; }
.eefc-questbar small { color: var(--ee-muted); font-size: 14px; }
.eefc-questbar .eefc-questbar-go { margin-left: auto; font-weight: 700; color: #C26B4B; white-space: nowrap; }
.eefc-questbar.is-done { background: #EEF6F0; border-color: #9CC9AA; }
.eefc-questbar.is-done > .eefc-ic, .eefc-questbar.is-done .eefc-questbar-go { color: #1E6B34; }
.eefc-quest { background: #fff; border: 1px solid var(--ee-line); border-radius: 18px; padding: 18px; margin: 0 0 16px; display: grid; gap: 12px; }
.eefc-quest-head h3 { font-size: 22px; margin: 0; }
.eefc-quest-head .eefc-kicker { color: #C26B4B; }
.eefc-quest-head .eefc-meta { margin: 2px 0 0; }
.eefc-quest-text { background: var(--ee-cream); border-radius: 12px; padding: 12px 14px; }
.eefc-quest-text p:last-child { margin-bottom: 0; }
.eefc-quest-form { display: grid; gap: 8px; }
.eefc .eefc-quest-form input[type=url] { width: 100%; padding: 12px; border: 1px solid var(--ee-line); border-radius: 12px; font-size: 16px; }
.eefc-quest-video { display: block; cursor: pointer; position: relative; }
.eefc-quest-video input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.eefc-quest-pick { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 16px; border: 2px dashed var(--ee-line); border-radius: 14px; background: #FCFAF6; }
.eefc-quest-pick .eefc-ic { grid-row: 1 / 3; width: 30px; height: 30px; margin: 0; color: var(--ee-teal); }
.eefc-quest-pick strong { font: 600 16px/1.2 Outfit, system-ui, sans-serif; }
.eefc-quest-pick small { color: var(--ee-muted); font-size: 13px; }
.eefc-quest-video:hover .eefc-quest-pick { border-color: var(--ee-teal); }
.eefc-quest-preview video, .eefc-quest-player { width: 100%; max-height: 420px; border-radius: 12px; background: #000; }
.eefc-quest-progress { position: relative; height: 26px; border-radius: 999px; background: var(--ee-cream); overflow: hidden; }
.eefc-quest-progress i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ee-teal); transition: width .2s; }
.eefc-quest-progress span { position: relative; display: block; text-align: center; font: 600 13px/26px Outfit, system-ui, sans-serif; }
.eefc-quest-sub { border-top: 1px solid var(--ee-line); padding-top: 12px; display: grid; gap: 8px; scroll-margin-top: 100px; }
.eefc-quest-done { color: #1E6B34; font-weight: 600; margin: 0; }
.eefc-quest-redo summary { cursor: pointer; color: var(--ee-teal-dk); font-weight: 600; }
.eefc-quest-redo .eefc-quest-form { margin-top: 10px; }
.eefc-review-class { background: #fff; border: 1px solid var(--ee-line); border-radius: 14px; padding: 12px 16px; margin: 0 0 10px; }
.eefc-review-class summary { cursor: pointer; }
.eefc-review-class .eefc-quest-sub { margin-top: 10px; }
.eefc-cal-copy { display: flex; gap: 6px; margin-top: 4px; }
.eefc .eefc-cal-copy input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--ee-line); border-radius: 10px; font-size: 13px; color: var(--ee-muted); background: #FCFAF6; }
.eefc-cal-copy .eefc-btn { min-height: 38px; padding: 6px 14px; font-size: 14px; }

/* ---------- 1.6: Challenge, levels, badges, reactions, leaderboard ---------- */
.eefc-lvl { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 999px; background: #F3EEE4; font-size: 14px; line-height: 1; cursor: default; }

/* progress card (sidebar + profile) */
.eefc-progress { background: #fff; border: 1px solid var(--ee-line); border-radius: 16px; padding: 16px; margin: 0 0 16px; }
.eefc-progress-profile { border: 0; padding: 0; margin: 0; }
.eefc-progress-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.eefc-progress-animal { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 16px; background: linear-gradient(135deg, #E9F3F4, #FBE7DE); font-size: 32px; }
.eefc-progress-top .eefc-kicker { margin-bottom: 2px; color: var(--ee-teal-dk); }
.eefc-progress-top strong { display: block; font: 700 19px/1.2 Outfit, system-ui, sans-serif; }
.eefc-progress-pts { display: block; color: var(--ee-muted); font-size: 14px; }
.eefc-meter { height: 10px; border-radius: 999px; background: #EFE9DE; overflow: hidden; margin: 4px 0 6px; }
.eefc-meter i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--ee-teal), #5FB2BE); transition: width .4s; }
.eefc-progress-row { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; margin: 8px 0 6px; }
.eefc-progress .eefc-link { font-size: 14px; }

/* badges */
.eefc-badges { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.eefc-badges li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; border: 1px solid var(--ee-line); font: 600 14px/1.25 Outfit, system-ui, sans-serif; }
.eefc-badges li.is-earned { background: #FFF8EC; border-color: #F1D9A8; }
.eefc-badges li.is-locked { color: var(--ee-muted); }
.eefc-badges li.is-locked .eefc-badge-ic { filter: grayscale(1); opacity: .45; }
.eefc-badges small { display: block; font: 400 12px/1.3 'Open Sans', system-ui, sans-serif; margin-top: 2px; }
.eefc-badge-ic { font-size: 26px; line-height: 1; flex: none; }

/* pop-ups */
.eefc-toasts { position: fixed; z-index: 9999; right: 16px; bottom: 16px; left: 16px; max-width: 380px; margin-left: auto; display: grid; gap: 8px; transition: opacity .4s, transform .4s; }
.eefc-toasts.is-gone { opacity: 0; transform: translateY(12px); }
.eefc-toast { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--ee-ink); color: #fff !important; text-decoration: none !important; font: 600 15px/1.3 Outfit, system-ui, sans-serif; box-shadow: 0 16px 36px -14px rgba(0,0,0,.5); animation: eefc-pop .5s cubic-bezier(.2,1.4,.4,1) both; }
.eefc-toast:nth-child(2) { animation-delay: .15s; } .eefc-toast:nth-child(3) { animation-delay: .3s; }
.eefc-toast-ic { font-size: 26px; line-height: 1; }
.eefc-toast-x { justify-self: end; background: #fff; border: 1px solid var(--ee-line); border-radius: 999px; width: 30px; height: 30px; font-size: 18px; line-height: 1; cursor: pointer; }
@keyframes eefc-pop { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }

/* reactions */
.eefc-rx { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
.eefc-rx-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 3px 10px; border: 1px solid var(--ee-line); border-radius: 999px; background: #fff; font: 600 14px/1 'Open Sans', system-ui, sans-serif; color: var(--ee-ink); cursor: pointer; }
.eefc-rx-btn:hover:not([disabled]) { border-color: var(--ee-teal); }
.eefc-rx-btn.is-on { background: #E9F3F4; border-color: var(--ee-teal); }
.eefc-rx-btn[disabled] { cursor: default; opacity: 1; }
.eefc-rx-btn [data-n]:empty { display: none; }

/* challenge */
.eefc-ch { border-top: 4px solid var(--ee-coral); }
.eefc-ch-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.eefc-ch-head h2 { font-size: 28px; margin: 0; }
.eefc-ch-head h2 small { font-size: 16px; color: var(--ee-muted); font-weight: 600; }
.eefc-ch-streak { display: flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; background: #FFF1E6; font: 700 18px/1 Outfit, system-ui, sans-serif; }
.eefc-ch-streak small { font-size: 13px; color: var(--ee-muted); font-weight: 600; }
.eefc-ch-prompt { margin: 14px 0 16px !important; padding: 16px 18px; border-radius: 14px; background: var(--ee-cream); font: 600 19px/1.4 Outfit, system-ui, sans-serif; }
.eefc-ch-done { padding: 12px 14px; border-radius: 12px; background: #E9F3F4; color: var(--ee-teal-dk); font-weight: 600; }
.eefc-ch-form .eefc-btn { width: auto; margin-right: 10px; }
.eefc-ch-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin: 20px 0 12px; max-width: 380px; }
.eefc-ch-wd { text-align: center; font: 700 11px/1 Outfit, system-ui, sans-serif; color: var(--ee-muted); padding-bottom: 2px; }
.eefc-ch-day { display: grid; place-items: center; aspect-ratio: 1; border-radius: 9px; font: 600 13px/1 Outfit, system-ui, sans-serif; background: #F5F1EA; color: var(--ee-muted); }
.eefc-ch-day.is-blank { background: none; }
.eefc-ch-day.is-done { background: var(--ee-teal); color: #fff; }
.eefc-ch-day.is-today { background: #fff; border: 2px solid var(--ee-coral); color: var(--ee-ink); }
.eefc-ch-day.is-missed { opacity: .55; }
.eefc-ch-day.is-future { background: #FAF8F4; }
.eefc-ch-goal { max-width: 380px; }
.eefc-ch-soon { border-top: 4px solid var(--ee-coral); }
.eefc-ch-how { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; font-weight: 600; }

/* leaderboard */
.eefc-lb { list-style: none; margin: 8px 0 10px; padding: 0; display: grid; gap: 4px; }
.eefc-lb li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; }
.eefc-lb li:nth-child(1) .eefc-lb-rank { background: #F3BD3B; color: var(--ee-ink); }
.eefc-lb li:nth-child(2) .eefc-lb-rank { background: #D5D9DC; color: var(--ee-ink); }
.eefc-lb li:nth-child(3) .eefc-lb-rank { background: #E3B08A; color: var(--ee-ink); }
.eefc-lb li.is-me { background: #E9F3F4; }
.eefc-lb-rank { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: #F3EEE4; font: 700 13px/1 Outfit, system-ui, sans-serif; flex: none; }
.eefc-lb-name { flex: 1; display: flex; align-items: center; gap: 6px; font-weight: 600; min-width: 0; }
.eefc-lb-pts { font: 700 15px/1 Outfit, system-ui, sans-serif; color: var(--ee-teal-dk); }

@media (max-width: 899px) {
  .eefc-side .eefc-progress { padding: 12px 14px; }
  .eefc-side .eefc-progress-top { margin-bottom: 8px; }
  .eefc-side .eefc-progress-animal { width: 44px; height: 44px; font-size: 26px; border-radius: 12px; }
  .eefc-side .eefc-progress .eefc-fine, .eefc-side .eefc-progress .eefc-link, .eefc-side .eefc-progress-row { display: none; }
  .eefc-side .eefc-meter { margin: 0; height: 7px; }
}
/* Announcement (Current Promotion) in the top line, between the area label and the member's name. */
.eefc-hub-top .eefc-promo { order: 2; flex: 1 1 auto; display: flex; justify-content: center; margin: 0; text-align: center; }
.eefc-hub-top .eefc-hub-title { order: 1; }
.eefc-hub-top .eefc-bar { order: 3; }
.eefc-hub-top .eefc-promo a, .eefc-hub-top .eefc-promo-text { gap: 10px; padding: 10px 20px; border-radius: 999px; background: #FBEDE6; border: 1px solid #F0CDBE; font: 700 16px/1.25 Outfit, system-ui, sans-serif; color: var(--ee-ink) !important; transition: background .15s, transform .15s; }
.eefc-hub-top .eefc-promo a:hover { background: #F8E0D4; transform: translateY(-1px); }
.eefc-hub-top .eefc-promo a:hover span:first-of-type { text-decoration: none; }
.eefc-hub-top .eefc-promo .eefc-ic { width: 20px; height: 20px; }
.eefc-hub > .eefc-hub-top { padding: 6px 0 4px; }
@media (max-width: 699px) {
  .eefc-hub-top .eefc-promo { order: 3; flex-basis: 100%; margin-top: 8px; }
  .eefc-hub-top .eefc-promo a, .eefc-hub-top .eefc-promo-text { width: 100%; justify-content: center; font-size: 15px; padding: 10px 14px; }
  .eefc-hub-top .eefc-bar { order: 2; }
}
/* Browse by topic (under the lesson search) */
.eefc-topsearch:has(.eefc-topicbar) .eefc-find-foot { position: static; margin: 6px 0 0; text-align: right; }
.eefc-topsearch:has(.eefc-topicbar) + .eefc-sections-nav { margin-top: 16px; }
.eefc-topicbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.eefc-topicbar-label { font: 700 12px/1 Outfit, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--ee-muted); margin-right: 4px; }
.eefc-topic { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 12px; border: 1px solid var(--ee-line); border-radius: 999px; background: #fff; color: var(--ee-teal-dk); font: 600 14px/1 Outfit, system-ui, sans-serif; cursor: pointer; }
.eefc-topic span { font-size: 12px; color: var(--ee-muted); }
.eefc-topic:hover { border-color: var(--ee-teal); }
.eefc-topic.is-on { background: var(--ee-teal); border-color: var(--ee-teal); color: #fff; }
.eefc-topic.is-on span { color: rgba(255,255,255,.8); }
/* Phones: Lesson of the Week (and the member's level) move above the section strip; the sidebar is hidden. */
.eefc-mobile-top { display: none; }
@media (max-width: 899px) {
  .eefc-mobile-top { display: grid; gap: 12px; margin-top: 18px; }
  .eefc-mobile-top .eefc-progress { margin: 0; }
  .eefc-side { display: none; }
  .eefc-topsearch + .eefc-mobile-top + .eefc-sections-nav { margin-top: 16px; }
}
/* Visitors: a box that looks like the members' text box and leads to Join free. */
.eefc-join-prompt { margin: 12px 0 18px; }
.eefc-join-input { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 8px 8px 16px; border: 1px solid var(--ee-line); border-radius: 14px; background: #fff; text-decoration: none !important; }
.eefc-join-input:hover { border-color: var(--ee-teal); }
.eefc-join-ph { color: var(--ee-muted); font-size: 15px; }
.eefc-join-go { flex: none; padding: 9px 14px; border-radius: 10px; background: var(--ee-coral); color: var(--ee-ink); font: 700 14px/1 Outfit, system-ui, sans-serif; }
.eefc-join-prompt .eefc-fine { margin: 6px 2px 0; }
.eefc-join-reply { margin: 8px 0 0; font-size: 14px; color: var(--ee-muted); }
.eefc-join-reply a { font-weight: 600; }
.eefc-promo-bottom { display: none; }

/* Phones: Lesson of the Week → lesson search → the area's strip → its posts; announcement at the bottom. */
@media (max-width: 899px) {
  .eefc-hub { display: flex; flex-direction: column; }
  .eefc-hub > .eefc-hub-top { order: 0; }
  .eefc-hub-top .eefc-promo { display: none; }
  .eefc-hub > .eefc-areas { order: 1; margin-top: 10px; }
  .eefc-hub > .eefc-areas-free { display: none; }
  .eefc-hub > .eefc-areas .eefc-area-tab { min-height: 50px; font-size: 14px; }
  .eefc-hub > .eefc-mobile-top { order: 2; margin-top: 14px !important; }
  .eefc-hub > .eefc-topsearch { order: 3; margin-top: 16px !important; }
  .eefc-hub > .eefc-sections-nav { order: 4; margin-top: 14px !important; }
  .eefc-hub > .eefc-layout { order: 5; margin-top: 8px; }
  .eefc-hub > .eefc-promo-bottom { order: 6; display: block; margin-top: 28px; }
}
/* Pinned post at the top of a Chat / Ask tab */
.eefc-pinned { margin: 12px 0 16px; padding: 14px 16px 6px; border-radius: 16px; background: #FFF8EC; border: 1px solid #F1D9A8; border-left: 5px solid var(--ee-coral); }
.eefc-pinned-tag { font: 700 12px/1 Outfit, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--ee-coral-dk); margin-bottom: 10px; }
.eefc-pinned-title { font-size: 18px; margin: 4px 0 6px; }
.eefc-pinned .eefc-body p { margin: 0 0 .7em; }
/* ===== Lesson Library (/lesson-library/) ===== */
.eefc-library { padding-bottom: 40px; }
.eefc-lib-intro { color: var(--ee-muted); margin: 4px 0 12px; }
.eefc-library .eefc-topsearch { margin-bottom: 18px !important; }
.eefc-lib-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.eefc-lib-jump a { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; border: 1px solid var(--ee-line); border-radius: 999px; background: #fff; color: var(--ee-teal-dk); font: 600 15px/1 Outfit, system-ui, sans-serif; text-decoration: none; }
.eefc-lib-jump a:hover { border-color: var(--ee-teal); background: #E6F1F2; }
.eefc-lib-jump a span, .eefc-lib-group h2 span, .eefc-lib-topic h3 span { font-size: 13px; font-weight: 500; color: var(--ee-muted); }
.eefc-lib-group { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--ee-line); scroll-margin-top: 110px; }
.eefc-lib-group h2 { font-size: clamp(24px, 4vw, 30px); margin-bottom: 4px; }
.eefc-lib-topic { margin: 16px 0 0; scroll-margin-top: 110px; }
.eefc-lib-topic h3 { font-size: 19px; margin-bottom: 10px; color: var(--ee-teal-dk); }
.eefc-lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.eefc-lib-grid:not(.is-open) .eefc-lcard.is-more { display: none; }
.eefc-lcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ee-line); border-radius: 14px; overflow: hidden; color: var(--ee-ink) !important; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.eefc-lcard:hover, .eefc-lcard:focus { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(22,35,31,.35); }
.eefc-lcard-img { display: block; aspect-ratio: 16 / 9; background: #E6F1F2; }
.eefc-lcard-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.eefc-lcard-blank { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--ee-teal); }
.eefc-lcard-title { padding: 10px 12px 2px; font-weight: 600; font-size: 16px; line-height: 1.3; }
.eefc-lcard-meta { padding: 0 12px 12px; color: var(--ee-muted); font-size: 13px; }
.eefc-lib-more { margin: 12px 0 0; }
@media (max-width: 560px) {
  .eefc-lib-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .eefc-lcard-title { font-size: 14px; padding: 8px 9px 2px; }
  .eefc-lcard-meta { padding: 0 9px 9px; font-size: 12px; }
}
/* Course pages: the pinned note above the course tabs */
.eefc.eefc-course-note { max-width: none; margin: 24px 0 0; }
.eefc-course-note .eefc-pinned { margin: 0; }
.eefc-pinned .eefc-body ul { margin: 0 0 .7em; padding-left: 1.3em; list-style: disc; }
.eefc-pinned .eefc-body li { margin: 0 0 .25em; }

/* My Coaching (private students) */
.eefc-coaching-ask { margin: 14px 0 0; font-size: 15px; }
