
/* ESLCAMP Marketplace 0.2.5 — homepage role cards + testimonials */
.ec-paths-v2{gap:22px!important;margin-top:26px!important}
.ec-capability{
  position:relative!important;min-height:315px!important;border-radius:30px!important;
  border:1px solid rgba(16,6,89,.08)!important;box-shadow:0 18px 55px rgba(26,35,80,.09)!important;
  overflow:hidden!important;isolation:isolate!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important
}
.ec-capability:hover{transform:translateY(-6px)!important;box-shadow:0 28px 70px rgba(26,35,80,.14)!important;border-color:rgba(16,6,89,.14)!important}
.ec-capability:after{content:"";position:absolute;inset:auto auto -65px -65px;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.34);z-index:0}
.ec-capability-copy{padding:32px 28px!important;z-index:3!important}
.ec-capability-index{font-style:normal;display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#fff;color:#100659;font-size:12px;font-weight:900;box-shadow:0 9px 22px rgba(16,6,89,.08);margin-bottom:22px}
.ec-capability-copy small{font-size:11px!important;font-weight:850!important;letter-spacing:0!important;margin-bottom:2px!important}
.ec-capability-copy h2{font-size:25px!important;line-height:1.45!important;letter-spacing:-.35px!important;margin:5px 0 10px!important;color:#171159!important}
.ec-capability-copy p{font-size:13px!important;line-height:1.95!important;color:#5d6376!important;max-width:390px!important;margin-bottom:20px!important}
.ec-capability-copy>span{font-size:12px!important;font-weight:900!important;display:inline-flex!important;align-items:center!important;gap:5px!important;border-bottom:1px solid currentColor!important;padding-bottom:3px!important}
.ec-capability-photo{margin:12px 12px 12px 0!important;border-radius:90px 24px 24px 90px!important;overflow:hidden!important;min-height:290px!important;background:rgba(255,255,255,.32)!important}
.ec-capability-photo:before{display:none!important}
.ec-capability-photo img{object-fit:cover!important;object-position:center!important;transform:scale(1.015);transition:transform .3s ease!important}
.ec-capability:hover .ec-capability-photo img{transform:scale(1.045)}
.ec-capability-learn{background:linear-gradient(135deg,#e7f4ff,#f8fbff)!important}
.ec-capability-teach{background:linear-gradient(135deg,#efe8ff,#fbf9ff)!important}
.ec-capability-hire{background:linear-gradient(135deg,#ffebe4,#fff9f6)!important}

.ec-home-testimonials{padding-top:72px;padding-bottom:78px}
.ec-testimonials-head{margin-bottom:24px!important}
.ec-testimonials-head p{margin:8px 0 0;color:#6b7280;line-height:1.9;max-width:720px;font-size:14px}
.ec-testimonial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ec-testimonial-card{position:relative;background:#fff;border:1px solid #e6e9f0;border-radius:24px;padding:24px;box-shadow:0 14px 42px rgba(24,31,67,.06);min-height:260px;display:flex;flex-direction:column}
.ec-testimonial-quote-mark{font-family:Georgia,serif;font-size:58px;line-height:.8;color:#e8725d;opacity:.38;height:38px}
.ec-testimonial-card blockquote{margin:12px 0 25px;font-size:14px;line-height:2.05;color:#363b4e;font-weight:500}
.ec-testimonial-card footer{margin-top:auto;display:grid;grid-template-columns:46px 1fr auto;gap:11px;align-items:center;padding-top:16px;border-top:1px solid #edf0f4}
.ec-testimonial-card footer img,.ec-testimonial-avatar{width:46px;height:46px;border-radius:50%;object-fit:cover;background:#eef1ff;display:grid;place-items:center;color:#100659;font-weight:900}
.ec-testimonial-card footer strong,.ec-testimonial-card footer small{display:block}.ec-testimonial-card footer strong{font-size:13px;color:#171159}.ec-testimonial-card footer small{font-size:11px;color:#858a9b;margin-top:2px}.ec-testimonial-card footer em{font-style:normal;font-size:10px;font-weight:800;color:#6d57c8;background:#f1edff;border-radius:999px;padding:6px 9px}

@media(max-width:980px){.ec-testimonial-grid{grid-template-columns:1fr 1fr}.ec-capability{min-height:280px!important}.ec-capability-photo{min-height:255px!important}}
@media(max-width:720px){.ec-testimonial-grid{grid-template-columns:1fr}.ec-capability{grid-template-columns:1fr!important;min-height:0!important}.ec-capability-photo{margin:0 12px 12px!important;border-radius:22px!important;min-height:220px!important;order:-1}.ec-capability-copy{padding:22px!important}.ec-capability-index{margin-bottom:15px}.ec-home-testimonials{padding-top:52px;padding-bottom:58px}}


/* Marketplace 0.2.6 — one-to-one pricing */
.ec-price-stack{display:inline-flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.ec-price-stack del{color:#8b91a3;font-size:.82em;text-decoration-thickness:1.5px}
.ec-price-stack strong,.ec-price-current{color:#15105b;font-weight:900}
.ec-price-free{color:#087b55!important}.ec-price-unset{color:#7b8190;font-size:.92em}


/* Marketplace 0.2.7 — motion/readability layer */
.ec-home-testimonials{background:radial-gradient(circle at 72% 120%,rgba(64,70,205,.45),transparent 34%),radial-gradient(circle at 18% 0,rgba(232,114,93,.20),transparent 26%),#11131a;padding:88px 0 94px!important;color:#fff;overflow:hidden}
.ec-testimonials-topbar{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px}.ec-testimonials-topbar h2{font-size:clamp(36px,4vw,52px);margin:5px 0 8px;color:#fff;line-height:1.35}.ec-testimonials-topbar p{margin:0;color:#c8cad4;max-width:760px;font-size:15px;line-height:2}.ec-home-testimonials .ec-kicker{color:#9ab8ff!important}
.ec-testimonial-controls{display:flex;gap:9px}.ec-testimonial-controls button{width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.05);color:#fff;font-size:30px;line-height:1;cursor:pointer}.ec-testimonial-controls button:hover{background:rgba(255,255,255,.12)}
.ec-testimonial-track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 15px;scrollbar-width:none}.ec-testimonial-track::-webkit-scrollbar{display:none}
.ec-testimonial-card{flex:0 0 min(720px,78vw);min-height:340px;scroll-snap-align:center;background:linear-gradient(135deg,rgba(255,255,255,.11),rgba(255,255,255,.055));border:1px solid rgba(255,255,255,.18);border-radius:28px;padding:30px;box-shadow:none;backdrop-filter:blur(8px)}
.ec-testimonial-stars{color:#ffb42b;font-size:18px;letter-spacing:3px;margin-bottom:14px}.ec-testimonial-card blockquote{margin:0 0 30px;color:#f5f5f7;font-size:17px;line-height:2.15;font-weight:550}.ec-testimonial-card footer{border-top:1px solid rgba(255,255,255,.13);padding-top:18px;grid-template-columns:58px 1fr auto}.ec-testimonial-card footer img,.ec-testimonial-avatar{width:58px;height:58px}.ec-testimonial-card footer strong{color:#fff;font-size:16px}.ec-testimonial-card footer small{color:#b9bcc7;font-size:12px}.ec-testimonial-card footer em{font-size:11px;color:#c9d5ff;background:rgba(74,100,224,.20);border:1px solid rgba(135,157,255,.20)}
.ec-teacher-tags span{font-size:11px!important;padding:6px 8px!important}
@media(max-width:720px){.ec-testimonials-topbar{align-items:flex-start;flex-direction:column}.ec-testimonial-card{flex-basis:90vw;padding:23px;min-height:310px}.ec-testimonial-card blockquote{font-size:15px}.ec-testimonial-controls{align-self:flex-end}}


/* ============================================================
   Marketplace 0.2.8 — modern homepage cards, harmonious reviews, FAQ
   ============================================================ */
.ec-home-v08 .ec-paths-v2{gap:22px!important;margin-top:-46px!important;align-items:stretch!important}
.ec-home-v08 .ec-capability{display:flex!important;flex-direction:column!important;min-height:520px!important;background:#fff!important;border:1px solid #e4e8f0!important;border-radius:30px!important;box-shadow:0 18px 48px rgba(31,45,84,.08)!important;overflow:hidden!important;position:relative!important}
.ec-home-v08 .ec-capability:before{content:""!important;display:block!important;position:absolute!important;inset:0 0 auto!important;height:7px!important;background:var(--cap-accent)!important;z-index:5!important}
.ec-home-v08 .ec-capability:after{content:""!important;position:absolute!important;width:190px!important;height:190px!important;border-radius:50%!important;right:-95px!important;bottom:-95px!important;background:var(--cap-soft)!important;z-index:0!important}
.ec-home-v08 .ec-capability-learn{--cap-accent:#2f80ed;--cap-soft:#e5f3ff!important}
.ec-home-v08 .ec-capability-teach{--cap-accent:#7856e8;--cap-soft:#eee8ff!important}
.ec-home-v08 .ec-capability-hire{--cap-accent:#ef7d62;--cap-soft:#ffebe4!important}
.ec-home-v08 .ec-capability-photo{order:-1!important;margin:15px 15px 0!important;border-radius:23px!important;min-height:220px!important;height:220px!important;width:auto!important;overflow:hidden!important;background:#f4f6fb!important}
.ec-home-v08 .ec-capability-photo img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;transform:none!important}
.ec-home-v08 .ec-capability-copy{padding:25px 25px 27px!important;display:flex!important;flex:1!important;flex-direction:column!important;align-items:flex-start!important;position:relative!important;z-index:2!important}
.ec-home-v08 .ec-capability-index{width:auto!important;height:auto!important;min-width:0!important;display:inline-flex!important;gap:8px!important;align-items:center!important;border-radius:999px!important;padding:6px 9px!important;background:var(--cap-soft)!important;color:var(--cap-accent)!important;box-shadow:none!important;margin:-43px 0 17px!important;border:4px solid #fff!important;font-style:normal!important}
.ec-home-v08 .ec-capability-index b{font-size:16px!important;color:var(--cap-accent)!important}.ec-home-v08 .ec-capability-index span{font-size:10px!important;font-weight:900!important;color:#646b7f!important}
.ec-home-v08 .ec-capability-copy small{font-size:12px!important;color:#7a8090!important}.ec-home-v08 .ec-capability-copy h2{font-size:28px!important;line-height:1.45!important;margin:7px 0 9px!important;color:#15184c!important}.ec-home-v08 .ec-capability-copy p{font-size:14px!important;line-height:2!important;color:#61697d!important;margin-bottom:18px!important}
.ec-home-v08 .ec-capability-copy>span{margin-top:auto!important;display:inline-flex!important;align-items:center!important;border:0!important;border-radius:999px!important;background:#eef9f4!important;color:#0b8b5e!important;padding:9px 13px!important;font-size:12px!important;font-weight:900!important}
.ec-home-v08 .ec-capability:hover{transform:translateY(-6px)!important;box-shadow:0 28px 66px rgba(31,45,84,.13)!important}.ec-home-v08 .ec-capability:hover .ec-capability-photo img{transform:scale(1.03)!important}
.ec-home-green-link{display:inline-flex!important;align-items:center!important;background:#16b978!important;color:#fff!important;border-radius:999px!important;padding:10px 16px!important;text-decoration:none!important;font-weight:900!important;box-shadow:0 9px 22px rgba(22,185,120,.16)!important}
.ec-home-green-link:hover{background:#109e66!important;color:#fff!important}

/* Reviews now use the same light color family as the rest of ESLCAMP. */
.ec-home-testimonials.ec-home-testimonials-light{background:linear-gradient(135deg,#f1f7ff 0%,#f7f3ff 56%,#fff5ee 100%)!important;color:#171159!important;padding:88px 0 94px!important}
.ec-home-testimonials-light .ec-testimonials-topbar h2{color:#171159!important}.ec-home-testimonials-light .ec-testimonials-topbar p{color:#687086!important}.ec-home-testimonials-light .ec-kicker{color:#245be8!important}
.ec-home-testimonials-light .ec-testimonial-controls button{border:1px solid #dce4f0!important;background:#fff!important;color:#245be8!important;box-shadow:0 8px 22px rgba(31,45,84,.07)!important}.ec-home-testimonials-light .ec-testimonial-controls button:hover{background:#eef4ff!important}
.ec-home-testimonials-light .ec-testimonial-card{background:rgba(255,255,255,.92)!important;border:1px solid rgba(217,225,238,.95)!important;box-shadow:0 18px 46px rgba(31,45,84,.07)!important;backdrop-filter:none!important;min-height:320px!important}
.ec-home-testimonials-light .ec-testimonial-card blockquote{color:#353b50!important}.ec-home-testimonials-light .ec-testimonial-card footer{border-top:1px solid #edf0f4!important}.ec-home-testimonials-light .ec-testimonial-card footer strong{color:#171159!important}.ec-home-testimonials-light .ec-testimonial-card footer small{color:#7a8194!important}.ec-home-testimonials-light .ec-testimonial-card footer em{color:#6d57c8!important;background:#f1edff!important;border:1px solid #e4dcff!important}
.ec-testimonial-admin-preview{background:#fff;border:1px dashed #cfd8e8;border-radius:22px;padding:28px;color:#505970;max-width:780px;box-shadow:0 12px 34px rgba(31,45,84,.05)}.ec-testimonial-admin-preview strong{display:block;color:#171159;font-size:18px;margin-bottom:5px}.ec-testimonial-admin-preview p{margin:0!important;font-size:14px!important}

/* FAQ accordion */
.ec-home-faq{background:#fff;padding:92px 0}.ec-home-faq-inner{display:grid;grid-template-columns:.72fr 1.28fr;gap:72px;align-items:start}.ec-home-faq-heading h2{font-size:clamp(36px,4vw,52px);color:#171159;line-height:1.35;margin:5px 0 12px}.ec-home-faq-heading p{font-size:15px;color:#687086;line-height:2;margin:0}.ec-home-faq-list{display:grid;gap:12px}.ec-home-faq-list details{background:#fff;border:1px solid #e5e9f1;border-radius:17px;box-shadow:0 8px 24px rgba(31,45,84,.045);overflow:hidden}.ec-home-faq-list summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 20px;font-size:16px;font-weight:850;color:#171159}.ec-home-faq-list summary::-webkit-details-marker{display:none}.ec-home-faq-list summary span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#edf2ff;color:#245be8;font-size:19px;transition:transform .18s ease}.ec-home-faq-list details[open] summary span{transform:rotate(45deg)}.ec-home-faq-list details p{margin:0;padding:0 20px 20px;color:#5d657a;font-size:14px;line-height:2}
@media(max-width:980px){.ec-home-v08 .ec-paths-v2{grid-template-columns:1fr!important;margin-top:25px!important}.ec-home-v08 .ec-capability{min-height:0!important}.ec-home-v08 .ec-capability-photo{height:260px!important}.ec-home-faq-inner{grid-template-columns:1fr;gap:28px}}
@media(max-width:640px){.ec-home-v08 .ec-capability-photo{height:210px!important;min-height:210px!important}.ec-home-v08 .ec-capability-copy h2{font-size:24px!important}.ec-home-faq{padding:62px 0}.ec-home-faq-list summary{font-size:14px;padding:16px}.ec-home-faq-list details p{padding:0 16px 16px;font-size:13px}}


/* ============================================================
   Marketplace 0.2.9 — Alocom-inspired clarity, compact jobs/why, visible reviews
   ============================================================ */

/* Three role cards: larger, cleaner imagery with less "picture inside a box" feeling. */
.ec-home-v09 .ec-paths-v2{gap:20px!important;margin-top:-34px!important}
.ec-home-v09 .ec-capability{
  min-height:500px!important;border-radius:28px!important;background:#fff!important;
  border:1px solid #e3e8f0!important;box-shadow:0 16px 42px rgba(29,43,79,.075)!important;
  overflow:hidden!important
}
.ec-home-v09 .ec-capability:before{height:0!important}
.ec-home-v09 .ec-capability:after{width:150px!important;height:150px!important;right:-80px!important;bottom:-78px!important;opacity:.7!important}
.ec-home-v09 .ec-capability-photo{
  order:-1!important;margin:0!important;border-radius:0!important;
  width:100%!important;height:250px!important;min-height:250px!important;
  background:#eef4fa!important;position:relative!important
}
.ec-home-v09 .ec-capability-photo:after{
  content:"";position:absolute;inset:auto 0 0;height:72px;
  background:linear-gradient(to top,rgba(255,255,255,.92),rgba(255,255,255,0));
  pointer-events:none
}
.ec-home-v09 .ec-capability-photo img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
.ec-home-v09 .ec-capability-copy{padding:20px 24px 25px!important}
.ec-home-v09 .ec-capability-index{
  margin:-39px 0 12px!important;border:4px solid #fff!important;padding:7px 11px!important;
  background:#fff!important;box-shadow:0 8px 20px rgba(31,45,84,.08)!important
}
.ec-home-v09 .ec-capability-copy small{
  display:inline-flex!important;width:max-content!important;background:#f8fafc!important;
  border:1px solid #e6eaf0!important;padding:6px 10px!important;border-radius:999px!important;
  font-size:11px!important;color:#626a7d!important
}
.ec-home-v09 .ec-capability-copy h2{font-size:25px!important;line-height:1.55!important;margin:9px 0 7px!important}
.ec-home-v09 .ec-capability-copy p{font-size:13px!important;line-height:2!important;margin:0 0 18px!important}
.ec-home-v09 .ec-capability-copy>span,
.ec-home-v09 .ec-home-green-link{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:44px!important;border:0!important;border-radius:999px!important;
  background:#16c66a!important;color:#fff!important;padding:10px 18px!important;
  font-size:13px!important;font-weight:900!important;box-shadow:0 9px 22px rgba(22,198,106,.20)!important;
  transition:.18s ease!important
}
.ec-home-v09 .ec-capability-copy>span:hover,
.ec-home-v09 .ec-home-green-link:hover{background:#10ad5b!important;transform:translateY(-1px)!important}

/* Testimonials: always visually identifiable, light and harmonious. */
.ec-home-v09 .ec-home-testimonials-light{
  background:linear-gradient(135deg,#eaf4fb 0%,#f2f0fb 54%,#edf7f2 100%)!important;
  padding:72px 0 78px!important
}
.ec-home-v09 .ec-testimonials-topbar{margin-bottom:22px!important}
.ec-home-v09 .ec-testimonials-topbar h2{font-size:clamp(32px,4vw,48px)!important}
.ec-home-v09 .ec-testimonial-card{min-height:275px!important;border-radius:24px!important}
.ec-home-v09 .ec-testimonial-controls{gap:7px!important;align-self:center!important}
.ec-home-v09 .ec-testimonial-controls button{
  width:36px!important;height:36px!important;min-width:36px!important;
  font-size:22px!important;box-shadow:none!important
}
.ec-testimonial-empty-state{
  background:rgba(255,255,255,.86);border:1px solid #dbe5ee;border-radius:24px;
  min-height:175px;padding:28px;display:flex;gap:22px;align-items:center;color:#171159
}
.ec-testimonial-empty-state>span{font-family:Georgia,serif;font-size:78px;color:#8da3ce;line-height:.6}
.ec-testimonial-empty-state strong{display:block;font-size:19px;margin-bottom:5px}
.ec-testimonial-empty-state p{margin:0;color:#687086;line-height:1.9}
.ec-testimonial-empty-state a{display:inline-block;margin-top:10px;font-weight:900;color:#0b8b5e;text-decoration:none}

/* Compact teaching-job section */
.ec-jobs-v3{padding:66px 0!important;margin:0!important;background:#f7f9fc!important;color:#171159!important}
.ec-jobs-v3-shell{
  background:#171159;border-radius:30px;padding:34px!important;
  display:grid;grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr);gap:34px;align-items:start
}
.ec-jobs-v3-head{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.ec-jobs-v3 .ec-kicker{color:#82d8ff!important}.ec-jobs-v3-head h2{font-size:clamp(30px,3.4vw,45px);line-height:1.4;margin:0;color:#fff}
.ec-jobs-v3-head p{font-size:13px;line-height:2;color:#c8d0df;margin:0 0 8px}
.ec-home-job-list-v3{display:grid!important;gap:10px!important}
.ec-home-job-item-v3{
  min-height:0!important;padding:17px 18px!important;border-radius:17px!important;
  display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:15px!important;
  align-items:center!important;background:#fff!important;border:1px solid rgba(255,255,255,.16)!important
}
.ec-home-job-item-v3 .ec-home-job-top{display:flex!important;flex-direction:column!important;gap:5px!important;align-items:flex-start!important}
.ec-home-job-item-v3 .ec-home-job-top span,.ec-home-job-item-v3 .ec-home-job-top small{
  font-size:9px!important;padding:5px 8px!important;border-radius:999px!important
}
.ec-home-job-main h3{font-size:16px!important;margin:0 0 3px!important;color:#171159!important}
.ec-home-job-main p{font-size:11px!important;margin:0!important;color:#7a8191!important}.ec-home-job-main i{font-style:normal;color:#c0c6d1}
.ec-home-job-item-v3>a{font-size:11px!important;font-weight:900!important;color:#245be8!important;text-decoration:none!important;white-space:nowrap}

/* Why ESLCAMP: one integrated section instead of four large flat boxes + detached CTAs. */
.ec-why-v2{background:linear-gradient(125deg,#eaf5fb 0%,#f3f2fa 70%,#f6fbf8 100%);padding:80px 0}
.ec-why-v2-shell{display:grid;grid-template-columns:.82fr 1.18fr;gap:44px;align-items:start}
.ec-why-v2-intro{position:sticky;top:105px}
.ec-why-v2-intro h2{font-size:clamp(38px,4.4vw,58px);line-height:1.35;margin:6px 0 12px;color:#171159}
.ec-why-v2-intro>p{font-size:15px;line-height:2;color:#5d667a;margin:0 0 18px;max-width:520px}
.ec-why-personas{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.ec-why-personas span{background:#fff;border:1px solid #dde5ee;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:800;color:#515a6d}
.ec-why-v2-points{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ec-why-v2-points article{
  background:rgba(255,255,255,.92);border:1px solid #dfe6ef;border-radius:20px;padding:20px;
  display:flex;gap:14px;min-height:145px
}
.ec-why-v2-points i{font-style:normal;font-size:11px;font-weight:900;color:#ef765f}
.ec-why-v2-points h3{font-size:17px;margin:0 0 6px;color:#171159}.ec-why-v2-points p{font-size:12px;line-height:1.9;color:#6c7486;margin:0}
.ec-why-v2-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:0}
.ec-why-action{border-radius:22px;padding:22px 24px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.ec-why-action small{width:100%;font-size:10px;font-weight:900;color:#72798a}.ec-why-action h3{font-size:20px;margin:0;flex:1;color:#171159}
.ec-why-action-teacher{background:#fff}.ec-why-action-institute{background:#fff1e9}.ec-why-action-institute>a{font-size:12px;font-weight:900;color:#171159;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:3px}

/* Keep demo carousel controls out of the focal content. */
.ec-home-v09 .ec-demo-progress{
  position:absolute!important;left:16px!important;bottom:13px!important;z-index:12!important;
  margin:0!important;padding:5px 7px!important;background:rgba(255,255,255,.88)!important;
  border:1px solid #e0e6ef!important;border-radius:999px!important;box-shadow:0 6px 18px rgba(31,45,84,.07)!important
}
.ec-home-v09 .ec-demo-progress button{width:6px!important;height:6px!important;min-width:6px!important}
.ec-home-v09 .ec-demo-progress button.is-active{width:18px!important}

@media(max-width:980px){
  .ec-jobs-v3-shell{grid-template-columns:1fr!important}
  .ec-home-job-list-v3{grid-template-columns:1fr 1fr!important}
  .ec-home-job-item-v3{grid-template-columns:1fr!important;gap:8px!important}
  .ec-home-job-item-v3 .ec-home-job-top{flex-direction:row!important}
  .ec-why-v2-shell{grid-template-columns:1fr!important}.ec-why-v2-intro{position:static!important}
}
@media(max-width:640px){
  .ec-home-v09 .ec-paths-v2{margin-top:18px!important}
  .ec-home-v09 .ec-capability-photo{height:215px!important;min-height:215px!important}
  .ec-home-v09 .ec-capability-copy{padding:18px 20px 22px!important}
  .ec-home-v09 .ec-capability-copy h2{font-size:22px!important}
  .ec-home-v09 .ec-capability-copy>span{min-height:42px!important;padding:9px 15px!important}
  .ec-home-job-list-v3{grid-template-columns:1fr!important}
  .ec-jobs-v3{padding:44px 0!important}.ec-jobs-v3-shell{padding:22px!important;border-radius:24px!important}
  .ec-why-v2{padding:56px 0}.ec-why-v2-points{grid-template-columns:1fr}.ec-why-v2-actions{grid-template-columns:1fr}
  .ec-why-v2-points article{min-height:0!important}
  .ec-testimonial-empty-state{align-items:flex-start;padding:21px}.ec-testimonial-empty-state>span{font-size:58px}
}


/* ============================================================
   Marketplace 0.3.0 — compact role images + teacher workspace + slot grid
   ============================================================ */
.ec-home-v09 .ec-capability-photo{height:210px!important;min-height:210px!important}
.ec-home-v09 .ec-capability-photo img{object-fit:cover!important;transform:scale(1.001)!important}
.ec-home-v09 .ec-capability:hover .ec-capability-photo img{transform:scale(1.025)!important}

/* Teacher dashboard: reduce large empty horizontal slabs. */
.ec-teacher-hub .ec-teacher-dashboard-hero{padding-bottom:30px!important}
.ec-teacher-hub .ec-summary-wrap{margin-top:24px!important;margin-bottom:22px!important}
.ec-teacher-hub .ec-teacher-summary-grid{gap:12px!important}
.ec-teacher-hub .ec-teacher-summary-grid article{
  padding:18px!important;border-radius:18px!important;min-height:0!important
}
.ec-teacher-hub .ec-teacher-financial-panel,
.ec-teacher-hub .ec-teacher-verification-panel,
.ec-teacher-hub .ec-teacher-bookings-panel{
  margin-top:22px!important;margin-bottom:22px!important
}
.ec-teacher-hub .ec-verification-card,
.ec-teacher-hub .ec-financial-card{
  padding:24px!important;border-radius:20px!important;min-height:0!important
}
.ec-teacher-hub .ec-booking-card{
  padding:18px 20px!important;border-radius:18px!important;gap:18px!important
}
.ec-teacher-hub .ec-section-head h2{font-size:clamp(27px,3vw,40px)!important}
.ec-teacher-hub .ec-teacher-workspace{margin-top:28px!important}
.ec-teacher-side .ec-side-card:first-child{display:none!important}

/* Checkbox timetable */
.ec-availability-grid-head{
  display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px
}
.ec-availability-grid-head h3{margin:0 0 5px!important}
.ec-availability-grid-head p{margin:0;color:#697185;font-size:13px;line-height:1.9;max-width:760px}
.ec-availability-grid-head>span{
  background:#edf4ff;color:#2855ad;border-radius:999px;padding:7px 11px;font-size:10px;font-weight:900;white-space:nowrap
}
.ec-availability-grid-v3{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.ec-availability-grid-day{
  background:#fff;border:1px solid #e1e6ef;border-radius:18px;padding:15px
}
.ec-availability-grid-day header{
  display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eef1f5;padding-bottom:10px;margin-bottom:11px
}
.ec-availability-grid-day header strong{font-size:15px;color:#171159}
.ec-availability-grid-day header small{font-size:9px;color:#9299aa}
.ec-availability-grid-day header b{color:#245be8}
.ec-availability-grid-slots{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
.ec-availability-grid-slots label{cursor:pointer;position:relative}
.ec-availability-grid-slots input{position:absolute;opacity:0;pointer-events:none}
.ec-availability-grid-slots span{
  min-height:38px;display:grid;place-items:center;border:1px solid #dfe4ec;border-radius:11px;
  background:#f9fafc;color:#51596d;font-size:11px;font-weight:800;direction:ltr;transition:.15s ease
}
.ec-availability-grid-slots input:checked+span{
  background:#245be8;color:#fff;border-color:#245be8;box-shadow:0 7px 16px rgba(36,91,232,.16)
}
.ec-availability-grid-slots span:hover{border-color:#8ea8ea;background:#f4f7ff}
.ec-availability-help{
  margin:13px 0 0!important;padding:11px 13px;background:#f7f9fc;border-radius:12px;
  color:#6c7487!important;font-size:11px!important;line-height:1.9!important
}
@media(max-width:820px){
  .ec-availability-grid-v3{grid-template-columns:1fr}
  .ec-availability-grid-slots{grid-template-columns:repeat(4,1fr)}
  .ec-availability-grid-head{align-items:flex-start;flex-direction:column}
}
@media(max-width:520px){
  .ec-home-v09 .ec-capability-photo{height:190px!important;min-height:190px!important}
  .ec-availability-grid-slots{grid-template-columns:repeat(3,1fr)}
  .ec-teacher-hub .ec-booking-card{grid-template-columns:1fr!important}
}


/* ============================================================
   Marketplace 0.3.2 — role dashboards with progressive disclosure
   ============================================================ */
.ec-role-nav-wrap{margin-top:22px!important;margin-bottom:18px!important}
.ec-role-dashboard-nav{
  display:flex;gap:7px;align-items:center;overflow-x:auto;padding:7px;
  border:1px solid #e1e6ef;border-radius:18px;background:#fff;
  box-shadow:0 8px 26px rgba(31,45,84,.04);scrollbar-width:none
}
.ec-role-dashboard-nav::-webkit-scrollbar{display:none}
.ec-role-dashboard-nav a{
  flex:0 0 auto;text-decoration:none;color:#5b6377;font-size:11px;font-weight:850;
  padding:10px 13px;border-radius:12px;white-space:nowrap
}
.ec-role-dashboard-nav a:hover{background:#f4f7fb;color:#171159}
.ec-role-dashboard-nav a.is-active{background:#171159;color:#fff}

.ec-role-quick-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 20px
}
.ec-role-quick-grid>a{
  text-decoration:none;background:#fff;border:1px solid #e1e6ef;border-radius:20px;
  padding:18px;min-height:138px;display:flex;flex-direction:column;justify-content:flex-end;
  box-shadow:0 10px 28px rgba(31,45,84,.045);transition:.16s ease
}
.ec-role-quick-grid>a:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(31,45,84,.08)}
.ec-role-quick-grid b{font-size:26px;color:#245be8;line-height:1;margin-bottom:auto}
.ec-role-quick-grid strong{font-size:14px;color:#171159;margin-top:14px}
.ec-role-quick-grid span{font-size:10px;color:#7e8698;margin-top:5px}

.ec-dashboard-subpage-head{
  background:#f6f8fc;border:1px solid #e4e8f0;border-radius:20px;padding:20px 22px;margin-bottom:15px
}
.ec-dashboard-subpage-head h2{font-size:25px;margin:4px 0 5px;color:#171159}
.ec-dashboard-subpage-head p{margin:0;color:#697185;font-size:12px;line-height:1.9;max-width:780px}

/* Teacher: dashboard first, detailed tools on demand. */
.ec-teacher-hub[data-dashboard-section="dashboard"] .ec-teacher-financial-panel,
.ec-teacher-hub[data-dashboard-section="dashboard"] .ec-teacher-verification-panel,
.ec-teacher-hub[data-dashboard-section="dashboard"] .ec-teacher-workspace,
.ec-teacher-hub[data-dashboard-section="dashboard"] .ec-teacher-jobs-panel{display:none!important}
.ec-teacher-hub[data-dashboard-section="dashboard"] .ec-booking-card:nth-child(n+4){display:none!important}

.ec-teacher-hub[data-dashboard-section="profile"] .ec-summary-wrap,
.ec-teacher-hub[data-dashboard-section="profile"] .ec-dashboard-recent-notifications,
.ec-teacher-hub[data-dashboard-section="profile"] .ec-teacher-bookings-panel,
.ec-teacher-hub[data-dashboard-section="profile"] .ec-teacher-financial-panel,
.ec-teacher-hub[data-dashboard-section="profile"] .ec-teacher-verification-panel,
.ec-teacher-hub[data-dashboard-section="profile"] .ec-teacher-jobs-panel{display:none!important}
.ec-teacher-hub[data-dashboard-section="profile"] #ec-availability-section{display:none!important}

.ec-teacher-hub[data-dashboard-section="availability"] .ec-summary-wrap,
.ec-teacher-hub[data-dashboard-section="availability"] .ec-dashboard-recent-notifications,
.ec-teacher-hub[data-dashboard-section="availability"] .ec-teacher-bookings-panel,
.ec-teacher-hub[data-dashboard-section="availability"] .ec-teacher-financial-panel,
.ec-teacher-hub[data-dashboard-section="availability"] .ec-teacher-verification-panel,
.ec-teacher-hub[data-dashboard-section="availability"] .ec-teacher-jobs-panel,
.ec-teacher-hub[data-dashboard-section="availability"] .ec-teacher-side{display:none!important}
.ec-teacher-hub[data-dashboard-section="availability"] .ec-teacher-form>.ec-form-section:not(#ec-availability-section){display:none!important}
.ec-teacher-hub[data-dashboard-section="availability"] .ec-teacher-form .ec-form-actions{display:flex!important}
.ec-teacher-hub[data-dashboard-section="availability"] .ec-teacher-workspace{display:block!important}
.ec-teacher-hub[data-dashboard-section="availability"] .ec-teacher-main{max-width:none!important}

.ec-teacher-hub[data-dashboard-section="bookings"] .ec-summary-wrap,
.ec-teacher-hub[data-dashboard-section="bookings"] .ec-dashboard-recent-notifications,
.ec-teacher-hub[data-dashboard-section="bookings"] .ec-teacher-financial-panel,
.ec-teacher-hub[data-dashboard-section="bookings"] .ec-teacher-verification-panel,
.ec-teacher-hub[data-dashboard-section="bookings"] .ec-teacher-workspace,
.ec-teacher-hub[data-dashboard-section="bookings"] .ec-teacher-jobs-panel{display:none!important}

.ec-teacher-hub[data-dashboard-section="verification"] .ec-summary-wrap,
.ec-teacher-hub[data-dashboard-section="verification"] .ec-dashboard-recent-notifications,
.ec-teacher-hub[data-dashboard-section="verification"] .ec-teacher-bookings-panel,
.ec-teacher-hub[data-dashboard-section="verification"] .ec-teacher-financial-panel,
.ec-teacher-hub[data-dashboard-section="verification"] .ec-teacher-workspace,
.ec-teacher-hub[data-dashboard-section="verification"] .ec-teacher-jobs-panel{display:none!important}

.ec-teacher-hub[data-dashboard-section="jobs"] .ec-summary-wrap,
.ec-teacher-hub[data-dashboard-section="jobs"] .ec-dashboard-recent-notifications,
.ec-teacher-hub[data-dashboard-section="jobs"] .ec-teacher-bookings-panel,
.ec-teacher-hub[data-dashboard-section="jobs"] .ec-teacher-financial-panel,
.ec-teacher-hub[data-dashboard-section="jobs"] .ec-teacher-verification-panel,
.ec-teacher-hub[data-dashboard-section="jobs"] .ec-teacher-workspace{display:none!important}

/* Student: keep daily dashboard compact; preferences/bookings are separate views. */
.ec-student-hub[data-dashboard-section="dashboard"] .ec-student-preferences-panel{display:none!important}
.ec-student-hub[data-dashboard-section="dashboard"] .ec-booking-card:nth-child(n+4){display:none!important}
.ec-student-hub[data-dashboard-section="bookings"] .ec-role-quick-grid,
.ec-student-hub[data-dashboard-section="bookings"] .ec-dashboard-recent-notifications,
.ec-student-hub[data-dashboard-section="bookings"] .ec-student-preferences-panel{display:none!important}
.ec-student-hub[data-dashboard-section="classes"] .ec-role-quick-grid,
.ec-student-hub[data-dashboard-section="classes"] .ec-dashboard-recent-notifications,
.ec-student-hub[data-dashboard-section="classes"] .ec-student-preferences-panel{display:none!important}
.ec-student-hub[data-dashboard-section="classes"] .ec-booking-card:not(.ec-booking-status-accepted){display:none!important}
.ec-student-hub[data-dashboard-section="preferences"] .ec-role-quick-grid,
.ec-student-hub[data-dashboard-section="preferences"] .ec-dashboard-recent-notifications,
.ec-student-hub[data-dashboard-section="preferences"] .ec-student-bookings-panel{display:none!important}

@media(max-width:900px){.ec-role-quick-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){
  .ec-role-quick-grid{grid-template-columns:1fr}
  .ec-role-quick-grid>a{min-height:105px}
  .ec-role-dashboard-nav{margin-inline:-2px}
}

/* ============================================================
   Marketplace 0.3.3 — UI consolidation / smoother product demo
   ============================================================ */

/* Teacher Profile is for the public/professional profile. Legal identity is
   collected during registration/verification and no longer dominates this UI. */
.ec-profile-public-identity{
  margin:0 0 16px;padding:14px 16px;border:1px solid #e0e6ef;border-radius:16px;
  background:linear-gradient(135deg,#f7f9ff,#fbfdff);display:flex;align-items:center;
  gap:10px;flex-wrap:wrap
}
.ec-profile-public-identity>span{font-size:11px;color:#7b8395;font-weight:800}
.ec-profile-public-identity>strong{font-size:15px;color:#171159}
.ec-profile-public-identity>small{width:100%;font-size:10px;color:#8b92a2;line-height:1.8}
.ec-directory-layout-v3.is-single-column{grid-template-columns:minmax(0,1fr)!important}
.ec-directory-layout-v3.is-single-column .ec-directory-main{max-width:none!important}

/* Keep extension widgets (Assessment, authoring, future modules) on the daily
   dashboard rather than inserting them into Profile/Availability subpages. */
.ec-teacher-dashboard-extension-panels{display:block;margin:0 0 22px}

/* Role cards: preserve the three-path architecture, but make each path visually
   distinct and reduce the oversized image block. */
.ec-home-v10 .ec-paths-v2{gap:22px!important;margin-top:-26px!important}
.ec-home-v10 .ec-capability{
  min-height:455px!important;border-radius:28px!important;border:1px solid #e2e7ef!important;
  box-shadow:0 15px 40px rgba(30,43,78,.07)!important;background:#fff!important
}
.ec-home-v10 .ec-capability-photo{height:205px!important;min-height:205px!important;background:#edf3f8!important}
.ec-home-v10 .ec-capability-photo:after{height:46px!important}
.ec-home-v10 .ec-capability-copy{padding:18px 24px 24px!important}
.ec-home-v10 .ec-capability-copy h2{font-size:24px!important;margin:8px 0 7px!important;line-height:1.55!important}
.ec-home-v10 .ec-capability-copy p{font-size:12.5px!important;line-height:1.95!important;margin-bottom:16px!important}
.ec-home-v10 .ec-capability-index{margin:-35px 0 10px!important}
.ec-home-v10 .ec-capability-learn .ec-capability-copy{background:linear-gradient(180deg,#fff 0%,#f7fbff 100%)!important}
.ec-home-v10 .ec-capability-teach .ec-capability-copy{background:linear-gradient(180deg,#fff 0%,#faf8ff 100%)!important}
.ec-home-v10 .ec-capability-hire .ec-capability-copy{background:linear-gradient(180deg,#fff 0%,#fff9f6 100%)!important}
.ec-home-v10 .ec-capability-learn .ec-capability-copy>span{background:#245be8!important;box-shadow:0 9px 22px rgba(36,91,232,.18)!important}
.ec-home-v10 .ec-capability-teach .ec-capability-copy>span{background:#7659d7!important;box-shadow:0 9px 22px rgba(118,89,215,.18)!important}
.ec-home-v10 .ec-capability-hire .ec-capability-copy>span{background:#e8725d!important;box-shadow:0 9px 22px rgba(232,114,93,.18)!important}
.ec-home-v10 .ec-capability-learn:hover{border-color:#c6d9ff!important}
.ec-home-v10 .ec-capability-teach:hover{border-color:#d8cdf9!important}
.ec-home-v10 .ec-capability-hire:hover{border-color:#f3d0c8!important}

/* Screen-recording-style homepage demo. There are no visible slide dots or
   manual carousel buttons; the cursor and UI flow animate automatically. */
.ec-home-v10 .ec-home-demo-band{
  background:linear-gradient(125deg,#eaf6fb 0%,#f0f2fb 58%,#f5f1fb 100%)!important;
  padding:84px 0!important
}
.ec-home-v10 .ec-demo-device{border-radius:30px!important;padding:12px!important;box-shadow:0 26px 64px rgba(33,50,99,.12)!important}
.ec-home-v10 .ec-demo-device:before{width:58px!important;height:5px!important;margin-bottom:9px!important}
.ec-home-v10 .ec-demo-recording{padding:0!important;background:#f5f8fd!important;border:1px solid #e3e8f1!important}
.ec-demo-browserbar{
  height:48px;display:grid;grid-template-columns:1fr minmax(120px,1.4fr) 1fr;align-items:center;
  gap:10px;padding:0 15px;border-bottom:1px solid #e3e8f1;background:rgba(255,255,255,.94)
}
.ec-demo-browser-dots{display:flex;gap:5px;direction:ltr;justify-self:start}.ec-demo-browser-dots i{display:block;width:8px;height:8px;border-radius:50%;background:#d5dbe6}.ec-demo-browser-dots i:nth-child(2){background:#c6d8f6}.ec-demo-browser-dots i:nth-child(3){background:#cde7db}
.ec-demo-browser-url{justify-self:center;width:100%;max-width:210px;text-align:center;background:#f2f5f9;border:1px solid #e4e8ef;border-radius:999px;padding:5px 10px;color:#747d90;font-size:10px;direction:ltr}
.ec-demo-browserbar .ec-demo-screen-brand{justify-self:end;font-size:13px!important}
.ec-home-v10 .ec-demo-recording .ec-demo-stage{
  inset:62px 20px 20px!important;opacity:0;filter:blur(2px);transform:translateY(8px) scale(.992);
  transition:opacity .72s ease,filter .72s ease,transform .72s ease!important
}
.ec-home-v10 .ec-demo-recording .ec-demo-stage.is-active{opacity:1;filter:none;transform:none}
.ec-demo-action-label{font-size:10px;font-weight:900;color:#6f7c97;margin-bottom:10px;align-self:flex-start;background:#fff;border:1px solid #e0e6ef;border-radius:999px;padding:5px 9px}
.ec-home-v10 .ec-demo-search-bar{height:42px!important;background:#fff!important;box-shadow:0 8px 18px rgba(30,43,78,.035)}
.ec-home-v10 .ec-demo-mini-teacher{border-radius:16px!important;box-shadow:0 12px 28px rgba(30,43,78,.055)!important}
.ec-home-v10 .ec-demo-confirm-card,.ec-home-v10 .ec-demo-link-card{border:1px solid #e7eaf1!important;box-shadow:0 16px 36px rgba(30,44,86,.07)!important}
.ec-home-v10 .ec-demo-confirm-card small{display:block;margin-top:10px;font-size:10px;color:#17845f;font-weight:800}
.ec-demo-cursor{
  position:absolute;z-index:25;width:21px;height:27px;left:74%;top:58%;pointer-events:none;
  transition:left .8s cubic-bezier(.2,.75,.25,1),top .8s cubic-bezier(.2,.75,.25,1),transform .25s ease;
  filter:drop-shadow(0 4px 5px rgba(25,33,62,.22))
}
.ec-demo-cursor:before{content:"";position:absolute;inset:0;background:#171159;clip-path:polygon(0 0,100% 62%,57% 67%,72% 100%,57% 100%,43% 70%,14% 100%)}
.ec-demo-cursor:after{content:"";position:absolute;inset:2px;background:#fff;clip-path:polygon(0 0,100% 62%,57% 67%,72% 100%,57% 100%,43% 70%,14% 100%);z-index:-1}
.ec-demo-cursor i{position:absolute;width:30px;height:30px;border:2px solid rgba(36,91,232,.35);border-radius:50%;left:-10px;top:-9px;opacity:0}
.ec-demo-recording[data-step="0"] .ec-demo-cursor{left:76%;top:58%}
.ec-demo-recording[data-step="1"] .ec-demo-cursor{left:50%;top:75%}
.ec-demo-recording[data-step="2"] .ec-demo-cursor{left:51%;top:55%}
.ec-demo-recording[data-step="3"] .ec-demo-cursor{left:49%;top:76%}
.ec-demo-recording[data-step="0"] .ec-demo-cursor i,
.ec-demo-recording[data-step="1"] .ec-demo-cursor i,
.ec-demo-recording[data-step="3"] .ec-demo-cursor i{animation:ecDemoClick .75s ease .65s 1}
@keyframes ecDemoClick{0%{opacity:0;transform:scale(.35)}35%{opacity:1}100%{opacity:0;transform:scale(1.25)}}
.ec-demo-recording-status{position:absolute;left:12px;bottom:10px;z-index:24;display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.9);border:1px solid #e2e7ef;color:#788096;font-size:9px;font-weight:800;box-shadow:0 5px 15px rgba(31,45,84,.04)}
.ec-demo-recording-status i{width:6px;height:6px;border-radius:50%;background:#16b978;box-shadow:0 0 0 4px rgba(22,185,120,.10);animation:ecDemoLive 1.8s ease-in-out infinite}
@keyframes ecDemoLive{50%{box-shadow:0 0 0 7px rgba(22,185,120,0)}}

@media(max-width:640px){
  .ec-home-v10 .ec-paths-v2{margin-top:18px!important}
  .ec-home-v10 .ec-capability-photo{height:185px!important;min-height:185px!important}
  .ec-home-v10 .ec-capability{min-height:0!important}
  .ec-demo-browserbar{grid-template-columns:auto 1fr auto;padding:0 9px}.ec-demo-browser-url{max-width:145px}
  .ec-home-v10 .ec-demo-recording .ec-demo-stage{inset:58px 12px 16px!important}
  .ec-demo-recording-status{display:none}
}
@media(prefers-reduced-motion:reduce){
  .ec-demo-cursor,.ec-demo-recording-status{display:none!important}
}

/* Teacher dashboard 0.3.3: one real navigation row; the hero no longer repeats
   the same destinations as a second set of oversized pills. */
.ec-teacher-dashboard-context{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}
.ec-teacher-dashboard-context span{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.16);color:rgba(255,255,255,.88);font-size:10px;font-weight:750}
.ec-role-dashboard-nav a{font-size:12px!important;padding:11px 14px!important}
@media(max-width:640px){.ec-teacher-dashboard-context{display:none}.ec-role-dashboard-nav a{font-size:11.5px!important;padding:10px 12px!important}}


/* ============================================================
   Marketplace 0.3.4 — profile layout + role return consistency
   ============================================================ */
/* The subpage heading is a third grid child; make it span the complete
   workspace so the profile form stays in the wide column instead of being
   auto-placed into the 320px sidebar. */
.ec-teacher-workspace>.ec-dashboard-subpage-head{grid-column:1/-1!important;margin-bottom:0!important}
.ec-teacher-hub[data-dashboard-section="profile"] .ec-teacher-side .ec-side-card:first-child{display:block!important}
.ec-teacher-hub[data-dashboard-section="profile"] .ec-teacher-main{min-width:0!important}
.ec-teacher-hub[data-dashboard-section="profile"] .ec-teacher-form{min-width:0!important}
.ec-teacher-hub[data-dashboard-section="profile"] .ec-upload-control input[type="file"]{max-width:100%!important;width:100%!important;box-sizing:border-box!important}

/* Dedicated Smart Advisor view: other student-dashboard blocks stay out of the way. */
.ec-student-hub[data-dashboard-section="advisor"] .ec-role-quick-grid,
.ec-student-hub[data-dashboard-section="advisor"] .ec-dashboard-recent-notifications,
.ec-student-hub[data-dashboard-section="advisor"] .ec-student-preferences-panel,
.ec-student-hub[data-dashboard-section="advisor"] .ec-student-bookings-panel{display:none!important}
.ec-student-advisor-section{padding-bottom:34px}

/* Marketplace 0.3.5 — homepage role-card focal points */
/* Older v09/v10 rules forced object-position:center!important, which ignored the
   admin focal-point setting. The custom property survives those rules. */
.ec-home-v10 .ec-capability-photo img,
.ec-home-v09 .ec-capability-photo img,
.ec-home-v08 .ec-capability-photo img{
  object-position:var(--ec-img-pos,50% 30%)!important;
}
.ec-home-v10 .ec-capability-photo{height:220px!important;min-height:220px!important}
.ec-home-v10 .ec-capability-photo img{transform:scale(1.01)!important}
.ec-home-v10 .ec-capability:hover .ec-capability-photo img{transform:scale(1.025)!important}
@media(max-width:640px){.ec-home-v10 .ec-capability-photo{height:225px!important;min-height:225px!important}}

/* 0.3.7 — teacher owner preview / onboarding polish */
.ec-teacher-dashboard-preview{display:flex;flex-direction:column;gap:9px;align-items:stretch}
.ec-teacher-photo-nudge{font-size:12px;font-weight:800;color:#fff;text-decoration:none;text-align:center;opacity:.92}
.ec-teacher-owner-preview-page{background:#f6f8fc;min-height:100vh;padding:30px 0 72px}
.ec-teacher-owner-preview-shell{max-width:1120px}
.ec-owner-preview-success{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;background:#ecfdf3;border:1px solid #abefc6;color:#067647;border-radius:16px;padding:14px 16px;margin-bottom:16px}
.ec-owner-preview-success strong{font-weight:900}.ec-owner-preview-success span{font-size:13px}
.ec-owner-preview-next{margin-top:18px;background:#fff;border:1px solid #e8e6f0;border-radius:22px;padding:22px;box-shadow:0 10px 28px rgba(23,20,56,.04);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center}
.ec-owner-preview-next h2{margin:4px 0 8px;color:#171159;font-size:24px;line-height:1.5}.ec-owner-preview-next p{margin:0;color:#697185;line-height:1.9}
.ec-owner-preview-next-actions{display:flex;flex-direction:column;gap:9px;min-width:210px}
.ec-preview-disabled{cursor:default!important;pointer-events:none;opacity:.72}
@media(max-width:760px){
  .ec-teacher-owner-preview-page{padding-top:16px}
  .ec-owner-preview-next{grid-template-columns:1fr;padding:18px}
  .ec-owner-preview-next-actions{min-width:0;width:100%}
  .ec-owner-preview-next-actions .ec-btn{width:100%}
}


/* Marketplace 0.4.0 — focused Availability + compact public/owner Teacher profile */
.ec-teacher-availability-form{width:100%;min-width:0}
.ec-teacher-availability-form .ec-form-section{margin:0}
.ec-availability-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.ec-availability-actions .ec-btn-primary{margin-inline-start:0}

.ec-public-teacher-compact{overflow:visible!important}
.ec-public-teacher-compact .ec-public-teacher-hero{
  grid-template-columns:150px minmax(0,1fr) minmax(210px,250px)!important;
  gap:20px!important;padding:22px!important;align-items:center!important
}
.ec-public-teacher-compact.is-owner-preview .ec-public-teacher-hero{
  grid-template-columns:150px minmax(0,1fr)!important
}
.ec-public-teacher-compact .ec-public-teacher-photo{
  width:150px!important;height:150px!important;aspect-ratio:1!important;
  border-radius:22px!important;margin:0!important
}
.ec-public-teacher-compact .ec-public-teacher-photo img{width:100%!important;height:100%!important;object-fit:cover!important}
.ec-public-teacher-compact .ec-public-teacher-title h1{font-size:clamp(27px,4vw,38px)!important;margin:4px 0 6px!important}
.ec-public-teacher-compact .ec-public-teacher-title>p{margin:0 0 10px!important;font-size:14px!important}
.ec-public-teacher-compact .ec-public-badges{gap:6px!important}
.ec-public-teacher-compact .ec-public-badges span{font-size:10px!important;padding:6px 9px!important}
.ec-public-teacher-compact .ec-public-meta{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
  gap:8px!important;padding:14px 18px!important;background:#fbfcfe!important
}
.ec-public-teacher-compact .ec-public-meta>span{
  min-height:0!important;padding:12px 14px!important;border-radius:14px!important
}
.ec-public-teacher-compact .ec-public-meta b{margin-bottom:4px!important}
.ec-public-sections-compact{
  display:grid!important;grid-template-columns:1fr 1fr!important;
  gap:10px!important;padding:16px 18px 20px!important
}
.ec-public-sections-compact .ec-public-primary-section,
.ec-public-sections-compact .ec-public-detail{
  margin:0!important;border:1px solid #e7eaf0!important;border-radius:16px!important;
  background:#fff!important;box-shadow:none!important
}
.ec-public-sections-compact .ec-public-primary-section{padding:16px!important}
.ec-public-sections-compact .ec-public-primary-section h3{font-size:17px!important;margin:0 0 6px!important}
.ec-public-sections-compact .ec-public-primary-section p{margin:0!important;line-height:1.9!important;color:#5d6678!important}
.ec-public-tags-section{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important}
.ec-public-detail{overflow:hidden!important}
.ec-public-detail>summary{
  list-style:none!important;cursor:pointer!important;padding:14px 16px!important;
  font-weight:900!important;color:#171159!important;display:flex!important;
  align-items:center!important;justify-content:space-between!important;gap:10px!important
}
.ec-public-detail>summary::-webkit-details-marker{display:none}
.ec-public-detail>summary:after{content:'+';font-size:20px;color:#245be8;font-weight:700}
.ec-public-detail[open]>summary:after{content:'−'}
.ec-public-detail>summary span{font-size:10px;color:#697185;background:#f2f5fa;border-radius:999px;padding:5px 8px}
.ec-public-detail>div{padding:0 16px 15px!important;color:#5d6678!important}
.ec-public-detail .ec-public-history-list{display:grid;gap:7px}
.ec-public-detail .ec-public-history-item{padding:9px 11px;background:#f8fafc;border-radius:10px}
.ec-public-detail-availability{grid-column:1/-1}
.ec-public-teacher-compact .ec-public-availability{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important;gap:7px!important}
.ec-public-teacher-compact .ec-public-availability-day{padding:9px 11px!important;border-radius:11px!important}
.ec-public-teacher-compact .ec-public-video{margin:0 18px 20px!important}
.ec-owner-preview-bar{
  position:sticky!important;top:8px!important;z-index:40!important;
  margin:0 0 10px!important;padding:9px 11px!important;border-radius:16px!important;
  background:rgba(255,255,255,.96)!important;backdrop-filter:blur(10px)!important;
  box-shadow:0 8px 24px rgba(31,45,84,.09)!important
}

@media(max-width:760px){
  .ec-teacher-hub,.ec-teacher-owner-preview-page,.ec-teacher-onboarding{padding-bottom:92px!important}
  .ec-teacher-hub .ec-teacher-workspace{padding-bottom:86px!important}
  .ec-teacher-availability-form .ec-availability-grid-v3{grid-template-columns:1fr!important}
  .ec-teacher-availability-form .ec-availability-grid-slots{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .ec-availability-actions{position:sticky;bottom:76px;z-index:20;background:#fff;padding:10px 0 2px}
  .ec-availability-actions .ec-btn{flex:1 1 145px}
  .ec-public-teacher-compact .ec-public-teacher-hero,
  .ec-public-teacher-compact.is-owner-preview .ec-public-teacher-hero{
    grid-template-columns:96px minmax(0,1fr)!important;padding:15px!important;gap:13px!important
  }
  .ec-public-teacher-compact .ec-public-teacher-photo{
    width:96px!important;height:96px!important;border-radius:18px!important
  }
  .ec-public-teacher-compact .ec-public-teacher-title h1{font-size:25px!important}
  .ec-public-teacher-compact .ec-public-teacher-title>p{font-size:12px!important}
  .ec-public-teacher-compact .ec-public-teacher-cta{grid-column:1/-1!important}
  .ec-public-sections-compact{grid-template-columns:1fr!important;padding:12px!important}
  .ec-public-tags-section{grid-template-columns:1fr!important;gap:10px!important}
  .ec-public-detail-availability{grid-column:auto}
  .ec-public-teacher-compact .ec-public-meta{padding:10px 12px!important;grid-template-columns:1fr 1fr!important}
  .ec-owner-preview-bar{top:6px!important}
  .ec-owner-preview-bar span{width:100%;font-size:11px}
  .ec-owner-preview-bar .ec-btn{flex:1 1 130px;text-align:center}
}

/* Marketplace 0.4.1 — publish workflow + compact Teacher mobile dashboard/preview */
.ec-teacher-summary-compact{
  display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) auto;
  gap:16px;align-items:center;background:#fff;border:1px solid #e7eaf0;border-radius:20px;
  padding:16px 18px;box-shadow:0 10px 28px rgba(23,20,56,.04);margin-bottom:20px
}
.ec-teacher-progress-compact{display:grid;grid-template-columns:auto minmax(90px,1fr) auto;gap:10px;align-items:center}
.ec-teacher-progress-compact div{display:flex;align-items:baseline;gap:7px;white-space:nowrap}
.ec-teacher-progress-compact small{color:#747b8c;font-size:11px}.ec-teacher-progress-compact strong{font-size:23px;color:#171159}
.ec-teacher-progress-track{height:7px;border-radius:999px;background:#edf1f7;overflow:hidden}
.ec-teacher-progress-track i{display:block;height:100%;background:#2e68e8;border-radius:inherit}
.ec-teacher-progress-compact>a{font-size:11px;font-weight:850;text-decoration:none;color:#245be8;white-space:nowrap}
.ec-teacher-status-chips{display:flex;gap:7px;flex-wrap:wrap}
.ec-teacher-status-chips span{padding:7px 9px;border-radius:999px;background:#f4f6fa;color:#555e72;font-size:10px;font-weight:800}
.ec-teacher-status-chips .is-published{background:#ecfdf3;color:#067647}
.ec-teacher-status-chips .is-draft{background:#fff5e8;color:#9a5b13}
.ec-teacher-summary-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.ec-teacher-summary-actions .ec-btn{min-height:42px;padding:9px 12px;font-size:11px}

.ec-owner-preview-bar{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
  position:sticky!important;top:6px!important;padding:8px 10px!important;border-radius:14px!important
}
.ec-owner-preview-label{display:flex;align-items:center;gap:8px;min-width:0}
.ec-owner-preview-label>strong{font-size:12px;color:#171159;white-space:nowrap}
.ec-owner-preview-label>span{font-size:9px;font-weight:900;padding:5px 8px;border-radius:999px;white-space:nowrap}
.ec-owner-preview-label .is-published{background:#ecfdf3;color:#067647}
.ec-owner-preview-label .is-draft{background:#fff5e8;color:#9a5b13}
.ec-owner-preview-tools{display:flex;gap:6px;align-items:center}
.ec-owner-preview-tools a{font-size:10px;font-weight:850;text-decoration:none;color:#245be8;padding:6px 8px;border-radius:9px;background:#f5f8ff;white-space:nowrap}
.ec-owner-preview-success{padding:10px 12px!important;border-radius:13px!important;margin-bottom:10px!important}
.ec-owner-preview-success strong{font-size:12px!important}.ec-owner-preview-success span{font-size:11px!important}
.ec-owner-publish-form{margin:0}.ec-owner-publish-form .ec-btn{width:100%}
.ec-owner-preview-next.is-draft{border-color:#d6c7ff;background:linear-gradient(145deg,#fbf8ff,#fff)}
.ec-owner-preview-next.is-published{border-color:#b7e9cb;background:linear-gradient(145deg,#f3fff8,#fff)}

@media(max-width:760px){
  .ec-teacher-summary-compact{grid-template-columns:1fr!important;gap:11px!important;padding:13px!important;border-radius:16px!important}
  .ec-teacher-progress-compact{grid-template-columns:auto minmax(70px,1fr) auto!important}
  .ec-teacher-status-chips{order:2}
  .ec-teacher-summary-actions{order:3;justify-content:stretch}
  .ec-teacher-summary-actions .ec-btn{flex:1 1 130px;text-align:center}
  .ec-owner-preview-bar{position:relative!important;top:auto!important;margin-bottom:8px!important}
  .ec-owner-preview-label{flex:1 1 auto}
  .ec-owner-preview-tools{margin-inline-start:auto}
  .ec-owner-preview-tools a{font-size:9px!important;padding:5px 7px!important}
  .ec-owner-preview-next{padding:15px!important;border-radius:16px!important}
  .ec-owner-preview-next h2{font-size:19px!important}
  .ec-owner-preview-next p{font-size:12px!important;line-height:1.85!important}
}

/* 1.10.10 availability feedback + anchored student language navigation */
#ec-availability-section{scroll-margin-top:88px}
#ec-learning-options{scroll-margin-top:90px}
.ec-availability-confirmation{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.ec-availability-confirmation strong{font-weight:900}
.ec-availability-confirmation span{font-size:12px;opacity:.82}
.ec-availability-actions [data-availability-save]:disabled{opacity:.72;cursor:wait}
@media(max-width:760px){#ec-learning-options{scroll-margin-top:72px}.ec-availability-confirmation{position:relative;z-index:2}.ec-availability-actions .ec-btn-ghost{flex-basis:100%}}

/* 0.4.5 compact marketplace teacher UI */
.ec-public-teacher-hero{gap:14px!important}.ec-public-teacher-cta{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important;align-items:stretch!important}.ec-public-teacher-cta>.ec-btn{width:100%!important;min-height:46px!important;padding:8px 10px!important;font-size:14px!important}.ec-public-teacher-cta .ec-report-link,.ec-public-teacher-cta small{grid-column:1/-1}.ec-public-language-row{padding:12px!important}.ec-public-language-row h3{margin:0 0 7px}.ec-teacher-language-chips,.ec-home-teacher-langs{display:flex;flex-wrap:wrap;gap:6px}.ec-language-chip,.ec-home-teacher-langs span{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border:1px solid #d8e0eb;border-radius:999px;background:#fff;font-size:12px;font-weight:800}.ec-language-chip img{width:20px;height:14px;object-fit:cover;border-radius:2px}.ec-home-magazine{margin-block:42px}.ec-magazine-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 12px}.ec-magazine-card{flex:0 0 min(350px,84vw);scroll-snap-align:start;border:1px solid #e4e8ef;border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 10px 28px rgba(16,6,89,.06)}.ec-magazine-image{display:block;aspect-ratio:16/9;overflow:hidden}.ec-magazine-image img{width:100%;height:100%;object-fit:cover}.ec-magazine-copy{padding:14px}.ec-magazine-copy>span{font-size:11px;color:#245BE8;font-weight:900}.ec-magazine-copy h3{font-size:18px;line-height:1.5;margin:6px 0}.ec-magazine-copy h3 a{text-decoration:none;color:#100659}.ec-magazine-copy p{color:#667085;line-height:1.8;margin:0 0 7px;font-size:13px}.ec-magazine-copy>a{font-weight:900;text-decoration:none;font-size:12px}.ec-home-teacher-meta{display:flex;gap:6px;flex-wrap:wrap;font-size:11px;color:#667085}.ec-home-teacher-action{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:8px}.ec-home-teacher-action .ec-btn{padding:7px 10px;min-height:38px;font-size:12px}.ec-other-language-field,.ec-other-language-onboarding{display:flex;gap:8px;align-items:center;margin-top:9px}.ec-other-language-field input,.ec-other-language-onboarding input{min-width:150px}
@media(max-width:620px){.ec-public-teacher-hero{padding:14px!important}.ec-public-teacher-photo{width:100px!important}.ec-public-teacher-cta{grid-column:1/-1!important}.ec-public-teacher-cta>.ec-btn{font-size:12px!important;min-height:44px!important}.ec-public-meta{display:flex!important;overflow-x:auto!important;gap:7px!important}.ec-public-meta>span{min-width:max-content!important}.ec-public-sections{gap:8px!important}.ec-public-primary-section,.ec-public-detail,.ec-public-language-row{padding:11px!important}.ec-home-magazine{margin-block:28px}.ec-magazine-card{flex-basis:82vw}.ec-home-magazine .ec-section-head p{display:none}.ec-teacher-card-v2{display:grid!important;grid-template-columns:110px 1fr!important;gap:10px!important;padding:11px!important}.ec-teacher-card-v2 .ec-teacher-photo-v2{height:150px!important;border-radius:16px!important}.ec-teacher-card-v2 .ec-teacher-body-v2{min-width:0}.ec-home-teacher-action{grid-column:1/-1}}


/* 0.4.6-beta — remove artificial mobile height before support/footer */
@media(max-width:767px){
  .ec-teacher-hub.ec-page,.ec-teacher-owner-preview-page.ec-page,.ec-teacher-onboarding.ec-page{min-height:auto!important}
  .ec-teacher-hub,.ec-teacher-owner-preview-page{padding-bottom:24px!important}
  .ec-teacher-hub .ec-teacher-workspace{padding-bottom:18px!important}
}

/* ESLCAMP approved Teacher Marketplace reference (2026-10-17) */
.ec-teacher-directory-reference{--ec-ref-navy:#11164d;--ec-ref-blue:#245be9;background:#fbfcff;color:var(--ec-ref-navy);padding:32px 0 75px}
.ec-teacher-directory-reference .ec-reference-directory-header{text-align:right;padding-bottom:12px}
.ec-reference-directory-header h1{font-size:clamp(24px,3.3vw,39px);line-height:1.6;text-align:right;letter-spacing:-.5px;font-weight:900;color:var(--ec-ref-navy);margin:0 0 3px}
.ec-reference-directory-header>p{font-size:15px;color:#7984a0;line-height:1.9;margin:2px 0 25px}
.ec-ref-search-form{margin:0}.ec-ref-search-top{display:flex;gap:12px;align-items:stretch}
.ec-ref-universal{display:flex;align-items:center;gap:12px;flex:1;border:1px solid #dfe4ef;border-radius:16px;min-width:0;background:#fff;padding:0 14px;box-shadow:0 2px 10px rgba(17,22,77,.025)}
.ec-ref-universal input{width:100%;min-width:0;flex:1;border:0!important;box-shadow:none!important;background:none!important;font-size:15px;min-height:58px;outline:none!important;text-align:right}
.ec-ref-universal>span:not(.screen-reader-text){font-size:28px;color:var(--ec-ref-navy)}
.ec-ref-filter-toggle,.ec-ref-search-button{border:1px solid #dce3f2;border-radius:15px;padding:0 17px;font-weight:800;font-size:14px;cursor:pointer;background:white;color:var(--ec-ref-navy);min-width:92px}
.ec-ref-search-button{background:#2860e9;color:white;border-color:#2860e9;min-width:85px}
.ec-ref-filters{display:flex;flex-direction:row;gap:10px;align-items:center;justify-content:flex-start;flex-wrap:wrap;margin-top:15px}
.ec-ref-filters label{display:inline-flex;align-items:center;min-width:0;flex:0 1 auto;border:1px solid #dee5f2;background:#fff;border-radius:999px;padding:5px 13px;font-size:12px;font-weight:800;min-height:43px}
.ec-ref-filters input[type=text],.ec-ref-filters select{border:0!important;box-shadow:none!important;min-height:29px!important;min-width:0;max-width:154px;color:var(--ec-ref-navy);background:transparent!important;font-size:12px;font-weight:750}
.ec-ref-filters input[type=checkbox]{margin-inline-end:6px}.ec-ref-filters .ec-ref-verified{background:#f0f5ff;color:#183875}
.ec-ref-results-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#7d86a1;margin:20px 0 0;flex-wrap:wrap}.ec-ref-results-toolbar>label{margin-right:auto}.ec-ref-results-toolbar select{min-height:38px!important;border:1px solid #d9e1ef;background:#fff;border-radius:12px;padding:4px 12px}.ec-ref-results-toolbar>a{font-size:12px}
.ec-ref-teacher-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.ec-ref-teacher-card{background:#fff;border:1px solid #e4e9f2;border-radius:20px;box-shadow:0 8px 26px rgba(28,46,101,.045);padding:14px;min-width:0;overflow:hidden}
.ec-ref-card-upper{display:grid;grid-template-columns:minmax(0,1fr) 40%;gap:12px;direction:rtl;min-width:0}
.ec-ref-card-details{min-width:0;overflow:hidden}.ec-ref-photo-wrap{grid-column:2;grid-row:1;position:relative;border-radius:12px;overflow:hidden;height:100%;min-height:240px;background:#eef1f7}
.ec-ref-photo-wrap>a:first-child{display:block;height:100%}.ec-ref-photo-wrap img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
.ec-ref-card-details{grid-column:1;grid-row:1;text-align:right}.ec-ref-badge{display:inline-block;padding:7px 9px;background:#dff8ee;border-radius:999px;font-size:10px;color:#0c715a;font-weight:850;line-height:1.4;margin:0 0 6px}
.ec-ref-card-details h2{font-size:clamp(17px,2vw,23px);line-height:1.4;margin:0 0 1px;color:var(--ec-ref-navy)!important;font-weight:900;white-space:normal}
.ec-ref-card-details h2 a{text-decoration:none;color:inherit}.ec-ref-teacher-id{color:#8490af;text-align:right;direction:ltr;unicode-bidi:isolate;font-size:12px;margin:3px 0 8px}
.ec-ref-rating{color:#e99413;font-weight:900;font-size:12px;margin:7px 0}.ec-ref-detail-line{display:flex;align-items:flex-start;gap:7px;font-size:12px;line-height:1.7;color:#1a2256;margin:8px 0;overflow-wrap:anywhere}
.ec-ref-languages{gap:5px;flex-wrap:wrap}.ec-ref-languages img{width:19px;height:14px;object-fit:contain}
.ec-ref-video{position:absolute;bottom:10px;left:10px;right:10px;padding:8px 5px;background:rgba(11,18,49,.83);border-radius:12px;color:#fff!important;text-align:center;text-decoration:none;font-size:12px;font-weight:900}
.ec-ref-bottom-meta{margin-top:13px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}.ec-ref-price{display:flex;flex-direction:column;gap:3px}.ec-ref-price strong{font-size:18px;color:var(--ec-ref-navy);font-weight:900}.ec-ref-price small{font-size:11px;color:#7b86a3}.ec-ref-trial{border-radius:30px;padding:10px;background:#eaf1ff;color:#17439d;font-size:11px;font-weight:800}
.ec-ref-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:13px}.ec-ref-actions a{text-decoration:none;display:flex;align-items:center;justify-content:center;text-align:center;min-height:46px;border-radius:10px;font-weight:900;font-size:13px;padding:8px;border:1px solid #a8baf0}.ec-ref-action-primary{background:#245be9;color:white!important;border-color:#245be9!important}.ec-ref-action-outline{color:#141b53!important;background:white}.ec-ref-empty{grid-column:1/-1;text-align:center;padding:35px;background:white;border:1px solid #dbe2ee;border-radius:18px}
@media(min-width:901px){.ec-ref-photo-wrap{min-height:300px}}
@media(max-width:760px){.ec-teacher-directory-reference{padding-top:16px}.ec-reference-directory-header h1{font-size:24px}.ec-reference-directory-header>p{font-size:12px;margin-bottom:12px}.ec-ref-teacher-grid{grid-template-columns:1fr}.ec-ref-card-upper{grid-template-columns:minmax(0,1fr) 35%}.ec-ref-photo-wrap{min-height:180px}.ec-ref-filter-toggle{min-width:89px;padding:0 8px}.ec-ref-search-button{min-width:70px;padding:0 7px}.ec-ref-universal input{font-size:12px;min-height:51px}.ec-ref-filters{display:none}.ec-ref-filters.is-expanded{display:flex}.ec-ref-filters label{flex:1 1 42%}.ec-ref-filters input[type=text],.ec-ref-filters select{max-width:100%}.ec-ref-results-toolbar{font-size:12px}}
@media(max-width:380px){.ec-ref-teacher-card{padding:10px}.ec-ref-photo-wrap{min-height:175px}.ec-ref-card-details h2{font-size:17px}.ec-ref-badge{font-size:9px}.ec-ref-detail-line{font-size:11px}.ec-ref-search-top{gap:5px}.ec-ref-search-button{font-size:11px}.ec-ref-filter-toggle{font-size:11px}.ec-ref-price strong{font-size:15px}}
/* Teacher miscellaneous-language field: no vertical letter breaks on phones. */
.ec-other-language-field{display:grid!important;grid-template-columns:max-content minmax(0,1fr)!important;gap:10px!important;align-items:center!important;width:100%!important;max-width:100%!important;min-width:0!important}
.ec-other-language-field>span{white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;min-width:max-content!important}
.ec-other-language-field input{min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important}
.ec-teacher-identity-fields{margin-top:17px}.ec-teacher-public-name-note,.ec-teacher-reference{font-size:13px;color:#626c84;line-height:1.9;margin:12px 0}.ec-teacher-public-id{display:block;font-size:13px;color:#7e8eaa;margin:7px 0}

.ec-teacher-public-rating{font-weight:800;color:#c78518;padding:8px 18px}.ec-teacher-public-assessment{border-radius:13px;border:1px solid #dde8f2;background:#f4f8ff;padding:13px 18px;margin:12px}.ec-teacher-public-assessment h3{margin:0 0 4px;font-size:18px}.ec-student-reference{font-size:12px;color:#687795}.ec-teacher-public-name-note{font-size:12px;color:#65738d}

.ec-public-teacher-cta>.ec-direct-recruitment{grid-column:1/-1}.ec-public-teacher-cta>.ec-save-teacher-form{grid-column:1/-1}
/* Recruitment is rendered inside Teacher public pages, where Recruitment CSS
 * is not always enqueued. Keep the shared access form usable on that route. */
.ec-public-teacher-cta .ec-direct-recruitment{background:#fff;border:1px solid #e0e7f2;padding:16px;border-radius:16px;margin:12px 0;text-align:right;min-width:0}
.ec-public-teacher-cta .ec-direct-recruitment>strong{display:block;margin-bottom:8px}
.ec-public-teacher-cta .ec-recruit-direct-form{display:grid;gap:10px;margin-top:12px}
.ec-public-teacher-cta .ec-recruit-direct-form label{display:grid;gap:6px;font-size:13px}
.ec-public-teacher-cta .ec-recruit-direct-form select,.ec-public-teacher-cta .ec-recruit-direct-form textarea{max-width:100%;width:100%;box-sizing:border-box;border-radius:10px;border:1px solid #ccd6e4;padding:10px;min-height:40px}
.ec-public-teacher-cta .ec-institute-membership-badge{color:var(--ec-tier-color,#6b7896);border:1px solid var(--ec-tier-color,#6b7896);display:inline-block;border-radius:999px;padding:3px 9px;font-size:11px}

/* ESLCAMP 1.11.1: homepage Teacher previews use the exact directory-card component. */
.ec-home-ref-teachers{padding-block:24px 48px!important;overflow:visible!important}
.ec-home-ref-teachers .ec-ref-teacher-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;direction:rtl!important;overflow:visible!important}
.ec-home-ref-teachers .ec-ref-teacher-card{width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;display:block!important;padding:14px!important;height:auto!important;overflow:hidden!important}
.ec-home-ref-teachers .ec-ref-card-upper{display:grid!important;grid-template-columns:minmax(0,1fr) 40%!important;align-items:stretch!important;gap:12px!important;direction:rtl!important;min-width:0!important}
.ec-home-ref-teachers .ec-ref-photo-wrap{grid-column:2!important;grid-row:1!important;position:relative!important;min-height:240px!important;max-height:320px!important;overflow:hidden!important;align-self:stretch!important}
.ec-home-ref-teachers .ec-ref-photo-wrap img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}
.ec-home-ref-teachers .ec-ref-card-details{grid-column:1!important;grid-row:1!important;min-width:0!important}
.ec-home-ref-teachers .ec-ref-teacher-card h2{font-size:clamp(17px,2vw,23px)!important;margin:0!important}
@media(max-width:760px){.ec-home-ref-teachers .ec-ref-teacher-grid{grid-template-columns:1fr!important}.ec-home-ref-teachers .ec-ref-card-upper{grid-template-columns:minmax(0,1fr) 37%!important}.ec-home-ref-teachers .ec-ref-photo-wrap{min-height:175px!important;max-height:280px!important}}
@media(max-width:380px){.ec-home-ref-teachers .ec-ref-teacher-card{padding:10px!important}.ec-home-ref-teachers .ec-ref-card-upper{gap:8px!important}.ec-home-ref-teachers .ec-ref-card-details h2{font-size:16px!important}.ec-home-ref-teachers .ec-ref-detail-line{font-size:11px!important}}

/* 1.11.2 — Student avatar is intentionally tiny; editing happens under Learning Preferences. */
.ec-student-identity{display:flex;align-items:center;gap:11px;min-height:44px;margin-bottom:8px}
.ec-student-identity>div{display:flex;flex-direction:column;gap:2px}
.ec-student-identity strong{font-size:14px;color:#19224d;line-height:1.3}
.ec-student-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;overflow:hidden;border-radius:50%;border:1px solid #e0e8f3;background:#f2f5fb;color:#6c7ea6;font-size:22px}
.ec-student-avatar img{display:block;width:100%!important;height:100%!important;object-fit:cover}
.ec-student-preferences-panel .ec-media-student-panel{max-width:460px;margin-top:18px;padding:14px;border:1px solid #e2e8f2;border-radius:16px;background:#fff}
.ec-student-preferences-panel .ec-media-student-panel h2{font-size:17px;margin:0 0 5px}
.ec-student-preferences-panel .ec-media-student-panel .ec-media-current{max-width:96px;max-height:96px;object-fit:cover;border-radius:50%}
