.ep-math-teacher{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#102033;margin:0 auto 24px;max-width:1180px}.ep-math-teacher *{box-sizing:border-box}.ep-math-teacher-card{display:flex;align-items:center;gap:18px;padding:22px;border-radius:28px;background:linear-gradient(135deg,#f8fbff,#eef4ff 55%,#fff6fb);border:1px solid #dbe6ff;box-shadow:0 18px 45px rgba(16,24,40,.1);margin-bottom:18px}.ep-math-teacher-card__icon{width:62px;height:62px;border-radius:22px;display:grid;place-items:center;font-size:34px;background:linear-gradient(135deg,#42b7ff,#7547ff);color:#fff;box-shadow:0 14px 30px rgba(66,93,255,.28)}.ep-math-kicker{display:inline-flex;padding:4px 10px;border-radius:999px;background:#eaf1ff;color:#285fe8;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.ep-math-teacher h2{margin:5px 0 6px;font-size:28px;line-height:1.08;color:#102033}.ep-math-teacher p{font-size:16px;line-height:1.55;color:#4f6380;margin:0}.ep-math-primary,.ep-math-secondary,.ep-math-open-button{border:0;border-radius:999px;padding:12px 18px;font-weight:900;cursor:pointer;box-shadow:0 10px 26px rgba(16,24,40,.12);transition:.18s transform,.18s opacity}.ep-math-primary,.ep-math-open-button{background:linear-gradient(135deg,#28a6ff,#7a4cff);color:#fff}.ep-math-secondary{background:#fff;border:1px solid #d7e5ff;color:#173150}.ep-math-primary:hover,.ep-math-secondary:hover{transform:translateY(-1px)}.ep-math-teacher-modal{border-radius:28px;background:linear-gradient(135deg,#f7fbff,#eef5ff);border:1px solid #dbe6ff;overflow:hidden}.ep-math-teacher-layout{display:grid;grid-template-columns:minmax(260px,350px) 1fr;gap:20px;padding:20px}.ep-math-teacher-avatar{min-height:560px;border-radius:26px;background:radial-gradient(circle at 25% 18%,#ffd9eb,transparent 28%),radial-gradient(circle at 80% 20%,#c2f5ed,transparent 25%),linear-gradient(180deg,#fff,#edf7ff);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px;border:1px solid #cfe0ff;position:relative;overflow:hidden}.ep-teacher-face{width:190px;height:230px;border-radius:90px 90px 74px 74px;background:linear-gradient(135deg,#ffd7bd,#efaa88);position:relative;box-shadow:0 20px 44px rgba(16,24,40,.18);animation:epFloat 4.6s ease-in-out infinite}.ep-teacher-hair{position:absolute;left:10px;right:10px;top:-26px;height:90px;border-radius:90px 90px 45px 45px;background:linear-gradient(135deg,#311421,#7c3f58);transform:rotate(-4deg)}.ep-teacher-eye{position:absolute;top:100px;width:32px;height:18px;border-radius:50%;background:#fff;box-shadow:inset 0 -5px 0 rgba(0,0,0,.05);animation:epBlink 6s infinite}.ep-eye-left{left:48px}.ep-eye-right{right:48px}.ep-teacher-eye:after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:#20121b;left:12px;top:5px}.ep-teacher-mouth{position:absolute;left:50%;bottom:54px;width:46px;height:16px;border-radius:0 0 50px 50px;background:#a52f51;transform:translateX(-50%);transition:.16s}.ep-teacher-face.is-speaking .ep-teacher-mouth{height:28px;border-radius:50%;animation:epTalk .23s ease-in-out infinite alternate}.ep-teacher-face.is-listening{box-shadow:0 0 0 8px rgba(42,166,255,.1),0 0 0 18px rgba(120,76,255,.08),0 20px 44px rgba(16,24,40,.18)}.ep-teacher-wave{display:flex;gap:5px;align-items:flex-end;margin:24px 0 12px;padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.75)}.ep-teacher-wave i{display:block;width:6px;height:10px;border-radius:9px;background:linear-gradient(180deg,#ff5d9d,#654cff);animation:epWave .8s ease-in-out infinite alternate}.ep-teacher-wave i:nth-child(2){animation-delay:.12s}.ep-teacher-wave i:nth-child(3){animation-delay:.24s}.ep-teacher-wave i:nth-child(4){animation-delay:.36s}.ep-math-credit-warning{margin-top:14px;display:inline-flex;padding:8px 12px;border-radius:999px;background:#fff8e1;color:#8a5c00;font-weight:800;font-size:12px}.ep-math-teacher-workspace{display:flex;flex-direction:column;gap:14px;min-width:0}.ep-math-input-tabs{display:flex;gap:8px;flex-wrap:wrap}.ep-math-input-tabs button{border:1px solid #d8e6ff;background:#fff;color:#20405f;border-radius:999px;padding:10px 14px;font-weight:900;cursor:pointer}.ep-math-input-tabs button.is-active{background:linear-gradient(135deg,#2ca9ff,#7b4dff);color:#fff;border-color:transparent}.ep-math-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ep-math-controls label{font-size:12px;font-weight:900;color:#40566f;text-transform:uppercase;letter-spacing:.04em}.ep-math-controls select,.ep-math-pane textarea,.ep-voice-box textarea{display:block;width:100%;margin-top:6px;border:1px solid #d5e2f7;border-radius:16px;padding:12px 14px;background:#fff;color:#102033;font-size:15px;outline:none}.ep-math-pane{display:none}.ep-math-pane.is-active{display:block}.ep-math-pane textarea{min-height:116px;resize:vertical}.ep-math-pane input[type=file]{display:block;width:100%;border:1px dashed #8fb6ff;border-radius:20px;background:#fff;padding:18px;margin-bottom:10px}.ep-math-pane img,.ep-math-camera-box img,.ep-math-camera-box video{max-width:100%;max-height:290px;border-radius:18px;border:1px solid #dce8ff;background:#fff;display:block;margin:10px auto}.ep-math-camera-box{min-height:120px;border-radius:20px;background:#f7fbff;border:1px dashed #bfd4ff;display:flex;align-items:center;justify-content:center;padding:10px;margin-bottom:10px}.ep-voice-box{position:relative}.ep-voice-box .ep-math-primary{margin-top:8px}.ep-math-detected,.ep-math-status,.ep-math-whiteboard{border-radius:22px;background:#fff;border:1px solid #dbe6ff;padding:16px;box-shadow:0 12px 28px rgba(16,24,40,.06)}.ep-math-status{font-weight:800;color:#31516f}.ep-math-actions,.ep-math-doubt-buttons{display:flex;gap:9px;flex-wrap:wrap}.ep-math-doubt-buttons button{border:1px solid #d8e5ff;background:#fff;color:#173150;border-radius:999px;padding:9px 13px;font-weight:800;cursor:pointer}.ep-board-title{font-size:20px;font-weight:1000;margin-bottom:10px;color:#102033}.ep-board-question,.ep-math-step,.ep-math-formula,.ep-math-final-answer,.ep-math-common-mistake,.ep-math-teacher-says,.ep-math-similar{border-radius:16px;padding:12px 14px;margin:10px 0;background:#f7fbff;border:1px solid #e1ebff;color:#102033}.ep-math-step{animation:epStepIn .35s ease both;animation-delay:var(--ep-step-delay,0ms)}.ep-math-step strong{display:block;color:#2457d6;margin-bottom:4px}.ep-math-step code{display:block;white-space:pre-wrap;background:#102033;color:#fff;border-radius:12px;padding:10px;margin-top:8px}.ep-math-final-answer{background:#eafff1;border-color:#b9f2c8;color:#065e24;font-weight:800}.ep-math-common-mistake{background:#fff8e7;border-color:#ffd891;color:#7a4a00}.ep-math-formula{background:#eef4ff;border-color:#c8dbff;color:#1d3d85}.ep-math-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.ep-math-meta span{padding:7px 10px;border-radius:999px;background:#eef4ff;color:#2553b8;font-weight:800}.ep-math-livebar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding:10px 12px;border-radius:18px;background:linear-gradient(135deg,#eefbff,#f7f3ff);border:1px solid #cde9ff}.ep-math-livebar span{font-weight:900}.ep-math-livebar button{border:0;border-radius:999px;background:linear-gradient(135deg,#7752ff,#17bfe0);color:#fff;font-weight:900;padding:10px 14px;cursor:pointer}.ep-math-error{background:#fff4e6;border:1px solid #ffd3a4;color:#7a3600;padding:14px;border-radius:16px;font-weight:800}.ep-math-disclaimer{font-size:13px!important;color:#60758d!important;margin:4px 0 0!important}.ep-math-short-answer{padding:12px 14px;border-radius:16px;background:#effff8;border:1px solid #b9f2d4;color:#074b31;font-weight:800;margin:10px 0}@keyframes epFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes epBlink{0%,48%,50%,100%{transform:scaleY(1)}49%{transform:scaleY(.08)}}@keyframes epTalk{from{transform:translateX(-50%) scaleY(.7)}to{transform:translateX(-50%) scaleY(1.3)}}@keyframes epWave{to{height:25px}}@keyframes epStepIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}html[data-theme="dark"] .ep-math-teacher,body[data-ai-study-theme="dark"] .ep-math-teacher{color:#eaf3ff}html[data-theme="dark"] .ep-math-teacher-card,body[data-ai-study-theme="dark"] .ep-math-teacher-card,html[data-theme="dark"] .ep-math-teacher-modal,body[data-ai-study-theme="dark"] .ep-math-teacher-modal{background:linear-gradient(135deg,#0d1c31,#10213a);border-color:#264d79}html[data-theme="dark"] .ep-math-teacher h2,body[data-ai-study-theme="dark"] .ep-math-teacher h2,html[data-theme="dark"] .ep-board-title,body[data-ai-study-theme="dark"] .ep-board-title{color:#fff}html[data-theme="dark"] .ep-math-teacher p,body[data-ai-study-theme="dark"] .ep-math-teacher p{color:#c9d8ef}html[data-theme="dark"] .ep-math-teacher-avatar,body[data-ai-study-theme="dark"] .ep-math-teacher-avatar,html[data-theme="dark"] .ep-math-detected,body[data-ai-study-theme="dark"] .ep-math-detected,html[data-theme="dark"] .ep-math-status,body[data-ai-study-theme="dark"] .ep-math-status,html[data-theme="dark"] .ep-math-whiteboard,body[data-ai-study-theme="dark"] .ep-math-whiteboard{background:#102238;border-color:#28527f;color:#eaf3ff}html[data-theme="dark"] .ep-math-controls label,body[data-ai-study-theme="dark"] .ep-math-controls label{color:#dcecff}html[data-theme="dark"] .ep-math-controls select,html[data-theme="dark"] .ep-math-pane textarea,html[data-theme="dark"] .ep-voice-box textarea,body[data-ai-study-theme="dark"] .ep-math-controls select,body[data-ai-study-theme="dark"] .ep-math-pane textarea,body[data-ai-study-theme="dark"] .ep-voice-box textarea{background:#07182b;color:#fff;border-color:#2b5b88}html[data-theme="dark"] .ep-math-controls select option,body[data-ai-study-theme="dark"] .ep-math-controls select option{background:#07182b;color:#fff}html[data-theme="dark"] .ep-math-pane textarea::placeholder,html[data-theme="dark"] .ep-voice-box textarea::placeholder,body[data-ai-study-theme="dark"] .ep-math-pane textarea::placeholder,body[data-ai-study-theme="dark"] .ep-voice-box textarea::placeholder{color:#a9c3e2}html[data-theme="dark"] .ep-math-step,html[data-theme="dark"] .ep-board-question,html[data-theme="dark"] .ep-math-teacher-says,html[data-theme="dark"] .ep-math-similar,body[data-ai-study-theme="dark"] .ep-math-step,body[data-ai-study-theme="dark"] .ep-board-question,body[data-ai-study-theme="dark"] .ep-math-teacher-says,body[data-ai-study-theme="dark"] .ep-math-similar{background:#0b1b30;border-color:#28527f;color:#eaf3ff}html[data-theme="dark"] .ep-math-secondary,html[data-theme="dark"] .ep-math-doubt-buttons button,body[data-ai-study-theme="dark"] .ep-math-secondary,body[data-ai-study-theme="dark"] .ep-math-doubt-buttons button{background:#0d2036;border-color:#2c5c8a;color:#fff}html[data-theme="dark"] .ep-math-livebar,body[data-ai-study-theme="dark"] .ep-math-livebar{background:#0b1c31;border-color:#2b5b88;color:#fff}@media(max-width:860px){.ep-math-teacher-card{align-items:flex-start;flex-direction:column}.ep-math-teacher-layout{grid-template-columns:1fr}.ep-math-teacher-avatar{min-height:360px}.ep-math-controls{grid-template-columns:1fr}.ep-math-actions button,.ep-math-doubt-buttons button{flex:1 1 100%}} .ep-math-livebar{flex-wrap:wrap}
.ep-math-livebar button{white-space:nowrap;margin-left:6px}
.ep-math-livebar button[data-ep-math-did-open]{background:linear-gradient(135deg,#111827,#0ea5e9)}
html[data-theme="dark"] .ep-math-livebar button[data-ep-math-did-open],body[data-ai-study-theme="dark"] .ep-math-livebar button[data-ep-math-did-open]{background:linear-gradient(135deg,#2563eb,#14b8a6);color:#fff} .ep-math-teacher-options{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr);gap:12px;align-items:end;margin:2px 0 0}.ep-math-teacher-options label{font-size:12px;font-weight:900;color:#40566f;text-transform:uppercase;letter-spacing:.04em}.ep-math-teacher-options select{display:block;width:100%;margin-top:6px;border:1px solid #d5e2f7;border-radius:16px;padding:12px 14px;background:#fff;color:#102033;font-size:15px;outline:none}.ep-math-toggle{align-self:stretch;display:flex!important;align-items:center;gap:10px;padding:12px 14px;border-radius:16px;background:linear-gradient(135deg,#eefbff,#f7f4ff);border:1px solid #d8e6ff;color:#102033!important;text-transform:none!important;letter-spacing:0!important}.ep-math-toggle input{width:18px;height:18px;accent-color:#654cff}.ep-math-coach-panel{margin-top:14px;padding:14px;border-radius:18px;background:linear-gradient(135deg,#f3fbff,#fff8fc);border:1px solid #cde9ff;box-shadow:0 12px 28px rgba(16,24,40,.06)}.ep-coach-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.ep-coach-head strong{font-size:17px;color:#102033}.ep-coach-head span{padding:5px 9px;border-radius:999px;background:#eaf1ff;color:#285fe8;font-size:12px;font-weight:900}.ep-coach-actions{display:flex;flex-wrap:wrap;gap:8px}.ep-coach-actions button{border:0;border-radius:999px;background:linear-gradient(135deg,#fff,#eef8ff);border:1px solid #d7e5ff;color:#173150;font-weight:900;padding:9px 12px;cursor:pointer}.ep-coach-actions button:first-child{background:linear-gradient(135deg,#28a6ff,#7a4cff);border-color:transparent;color:#fff}.ep-coach-current{margin-top:12px;border-radius:14px;padding:12px;background:#fff;border:1px solid #dce8ff;color:#102033}.ep-coach-current p{margin:6px 0;color:#314966}.ep-coach-current code{display:block;white-space:pre-wrap;background:#102033;color:#fff;border-radius:12px;padding:10px;margin-top:8px}.ep-math-teacher-avatar.is-voice-active:before{content:"Teacher Voice ON";position:absolute;top:16px;right:16px;padding:7px 10px;border-radius:999px;background:rgba(16,32,51,.86);color:#fff;font-size:11px;font-weight:900;letter-spacing:.04em}.ep-math-teacher-avatar.is-voice-active .ep-teacher-wave i{animation-duration:.32s}.ep-teacher-face.is-speaking{animation:epFloat 2.2s ease-in-out infinite,epVoiceGlow 1s ease-in-out infinite alternate}@keyframes epVoiceGlow{from{box-shadow:0 0 0 8px rgba(42,166,255,.12),0 20px 44px rgba(16,24,40,.18)}to{box-shadow:0 0 0 12px rgba(42,166,255,.18),0 0 0 23px rgba(120,76,255,.10),0 20px 44px rgba(16,24,40,.18)}}
html[data-theme="dark"] .ep-math-teacher-options label,body[data-ai-study-theme="dark"] .ep-math-teacher-options label{color:#dcecff}html[data-theme="dark"] .ep-math-teacher-options select,body[data-ai-study-theme="dark"] .ep-math-teacher-options select{background:#07182b;color:#fff;border-color:#2b5b88}html[data-theme="dark"] .ep-math-toggle,body[data-ai-study-theme="dark"] .ep-math-toggle{background:#102238;border-color:#28527f;color:#fff!important}html[data-theme="dark"] .ep-math-coach-panel,body[data-ai-study-theme="dark"] .ep-math-coach-panel{background:#102238;border-color:#28527f;color:#eaf3ff}html[data-theme="dark"] .ep-coach-head strong,body[data-ai-study-theme="dark"] .ep-coach-head strong{color:#fff}html[data-theme="dark"] .ep-coach-current,body[data-ai-study-theme="dark"] .ep-coach-current{background:#07182b;border-color:#2b5b88;color:#fff}html[data-theme="dark"] .ep-coach-current p,body[data-ai-study-theme="dark"] .ep-coach-current p{color:#dcecff}html[data-theme="dark"] .ep-coach-actions button,body[data-ai-study-theme="dark"] .ep-coach-actions button{background:#0a1a2e;border-color:#2b5b88;color:#fff}
@media (max-width:760px){.ep-math-teacher-options{grid-template-columns:1fr}.ep-coach-actions button{flex:1 1 calc(50% - 8px)}} .ep-math-teacher-options{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(180px,1fr)}
.ep-math-teacher-options [data-ep-voice-pronunciation]{font-weight:800}
.ep-math-status[data-ep-math-status]{transition:background .18s ease,color .18s ease}
@media (max-width:980px){.ep-math-teacher-options{grid-template-columns:1fr}} .ep-math-controls select,
.ep-math-teacher-options select{
min-height:54px !important;
height:auto !important;
line-height:1.35 !important;
padding:14px 46px 14px 16px !important;
font-size:15px !important;
font-weight:800 !important;
overflow:visible !important;
text-overflow:clip !important;
-webkit-appearance:none;
-moz-appearance:none;
appearance:none;
background-image:linear-gradient(45deg,transparent 50%,#694cff 50%),linear-gradient(135deg,#694cff 50%,transparent 50%),linear-gradient(to right,#dce8ff,#dce8ff) !important;
background-position:calc(100% - 20px) calc(50% - 2px),calc(100% - 14px) calc(50% - 2px),calc(100% - 38px) 50% !important;
background-size:6px 6px,6px 6px,1px 26px !important;
background-repeat:no-repeat !important;
}
.ep-math-controls label,
.ep-math-teacher-options label{min-width:0;overflow:visible!important;}
.ep-math-controls select option,
.ep-math-teacher-options select option{font-size:15px;line-height:1.5;padding:8px 12px;}
.ep-math-teacher-avatar.is-listening:after{
content:"Listening";
position:absolute;
top:16px;
left:16px;
padding:7px 11px;
border-radius:999px;
background:rgba(40,166,255,.92);
color:#fff;
font-size:11px;
font-weight:900;
letter-spacing:.04em;
text-transform:uppercase;
box-shadow:0 10px 22px rgba(40,166,255,.24);
}
.ep-math-teacher-avatar.is-listening .ep-teacher-wave i{animation:epWave .28s ease-in-out infinite alternate;}
.ep-math-teacher-avatar.is-voice-active .ep-teacher-wave,
.ep-math-teacher-avatar.is-listening .ep-teacher-wave{transform:scale(1.08);}
.ep-coach-actions button[data-ep-teach-concept],
.ep-coach-actions button[data-ep-mistake-drill],
.ep-coach-actions button[data-ep-practice-set]{background:linear-gradient(135deg,#f9fbff,#eaf5ff);}
@media (max-width:1100px){.ep-math-controls{grid-template-columns:1fr!important}.ep-math-teacher-options{grid-template-columns:1fr!important}}
html[data-theme="dark"] .ep-math-controls select,
body[data-ai-study-theme="dark"] .ep-math-controls select,
html[data-theme="dark"] .ep-math-teacher-options select,
body[data-ai-study-theme="dark"] .ep-math-teacher-options select{
background-color:#07182b !important;
color:#fff !important;
border-color:#2b5b88 !important;
background-image:linear-gradient(45deg,transparent 50%,#7dd3fc 50%),linear-gradient(135deg,#7dd3fc 50%,transparent 50%),linear-gradient(to right,#2b5b88,#2b5b88) !important;
}
html[data-theme="dark"] .ep-coach-actions button[data-ep-teach-concept],
html[data-theme="dark"] .ep-coach-actions button[data-ep-mistake-drill],
html[data-theme="dark"] .ep-coach-actions button[data-ep-practice-set],
body[data-ai-study-theme="dark"] .ep-coach-actions button[data-ep-teach-concept],
body[data-ai-study-theme="dark"] .ep-coach-actions button[data-ep-mistake-drill],
body[data-ai-study-theme="dark"] .ep-coach-actions button[data-ep-practice-set]{background:#0a1a2e;color:#fff;border-color:#2b5b88;} .ep-math-actions button[data-ep-class-wise],
.ep-math-actions button[data-ep-stop-voice]{white-space:nowrap;}
.ep-math-actions button[data-ep-stop-voice]{background:#fff3f3;border-color:#ffd1d1;color:#b42318;}
.ep-math-actions button[data-ep-math-speak]{box-shadow:0 8px 22px rgba(40,166,255,.16)}
.ep-math-teacher-avatar.is-voice-active .ep-teacher-mouth{animation:epTeacherTalk .18s ease-in-out infinite alternate;}
@keyframes epTeacherTalk{from{transform:scaleX(1) scaleY(.65)}to{transform:scaleX(1.28) scaleY(1.35)}}
.ep-math-coach-panel .ep-coach-actions button[data-ep-class-wise],
.ep-math-coach-panel .ep-coach-actions button[data-ep-answer-check-trick]{background:linear-gradient(135deg,#fff7ed,#eef8ff);}
html[data-theme="dark"] .ep-math-actions button[data-ep-stop-voice],
body[data-ai-study-theme="dark"] .ep-math-actions button[data-ep-stop-voice]{background:#351515;border-color:#7f1d1d;color:#fecaca;}
html[data-theme="dark"] .ep-math-coach-panel .ep-coach-actions button[data-ep-class-wise],
html[data-theme="dark"] .ep-math-coach-panel .ep-coach-actions button[data-ep-answer-check-trick],
body[data-ai-study-theme="dark"] .ep-math-coach-panel .ep-coach-actions button[data-ep-class-wise],
body[data-ai-study-theme="dark"] .ep-math-coach-panel .ep-coach-actions button[data-ep-answer-check-trick]{background:#0a1a2e;color:#fff;border-color:#2b5b88;} .ep-math-class-method,
.ep-math-check-trick,
.ep-math-practice-set{
margin:12px 0;
padding:13px 15px;
border-radius:16px;
border:1px solid rgba(37,99,235,.18);
background:linear-gradient(135deg,rgba(239,246,255,.95),rgba(255,255,255,.95));
color:#102033;
line-height:1.55;
box-shadow:0 8px 22px rgba(15,23,42,.06);
}
.ep-math-check-trick{border-color:rgba(22,163,74,.25);background:linear-gradient(135deg,rgba(240,253,244,.98),rgba(255,255,255,.96));}
.ep-math-practice-set{border-color:rgba(124,58,237,.22);background:linear-gradient(135deg,rgba(245,243,255,.98),rgba(255,255,255,.96));}
.ep-math-teacher-avatar.is-voice-active .ep-math-bars i,
.ep-math-teacher-face.is-speaking + .ep-math-bars i{
animation:epMathBars .42s ease-in-out infinite alternate;
} .ep-math-teacher-options label small{display:block;margin-top:6px;font-size:11px;line-height:1.35;color:#60708a;font-weight:600;text-transform:none;letter-spacing:0}
.ep-math-teacher-options select[data-ep-voice-pronunciation]{min-height:54px;padding-right:46px;line-height:1.35;font-weight:800}
.ep-math-teacher-avatar.is-voice-active .ep-math-avatar-caption::after{content:' • speaking';color:#0ea5e9;font-weight:900}
.ai-study-dark .ep-math-teacher-options label small{color:#d7e8ff} .ep-math-teacher-layout{grid-template-columns:minmax(180px,240px) 1fr!important;gap:16px!important}
.ep-math-teacher-avatar{min-height:430px!important;padding:18px 14px!important}
.ep-teacher-face{width:150px!important;height:185px!important;border-radius:72px 72px 58px 58px!important}
.ep-teacher-hair{left:8px!important;right:8px!important;top:-18px!important;height:72px!important;border-radius:72px 72px 38px 38px!important}
.ep-teacher-eye{top:80px!important;width:28px!important;height:16px!important}
.ep-eye-left{left:34px!important}.ep-eye-right{right:34px!important}
.ep-teacher-eye:after{left:10px!important;top:4px!important}
.ep-teacher-mouth{bottom:40px!important;width:38px!important;height:14px!important}
.ep-math-teacher-avatar strong{font-size:16px!important}
.ep-math-teacher-avatar p{font-size:14px!important;line-height:1.5!important}
.ep-real-avatar-wrap{position:relative;width:min(100%,168px);height:220px;border-radius:28px;overflow:hidden;background:#eef3ff;box-shadow:0 18px 38px rgba(16,24,40,.18);display:flex;align-items:center;justify-content:center}
.ep-real-avatar-wrap video,.ep-real-avatar-wrap img{width:100%;height:100%;object-fit:cover;display:block}
.ep-real-avatar-wrap:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,0));pointer-events:none}
.ep-real-avatar-eye{position:absolute;top:var(--ep-eye-top,39%);width:var(--ep-eye-width,12%);height:var(--ep-eye-height,4.5%);border-radius:999px;background:rgba(11,17,35,.85);transform:translate(-50%,-50%);box-shadow:0 0 0 2px rgba(255,255,255,.16)}
.ep-real-avatar-eye--left{left:var(--ep-eye-left,40%)}
.ep-real-avatar-eye--right{left:var(--ep-eye-right,60%)}
.ep-real-avatar-wrap.has-blink .ep-real-avatar-eye{animation:epRealBlink 6.6s infinite}
.ep-real-avatar-mouth{position:absolute;left:var(--ep-mouth-left,50%);top:var(--ep-mouth-top,68%);width:var(--ep-mouth-width,18%);height:var(--ep-mouth-height,5.8%);transform:translate(-50%,-50%);border-radius:999px;background:radial-gradient(circle at 50% 78%,#ff9bb3 0 26%,#8b1636 27% 100%);opacity:.84;transition:transform .14s ease,height .14s ease,opacity .14s ease}
.ep-math-teacher-avatar.is-voice-active .ep-real-avatar-mouth,.ep-math-teacher-avatar.is-listening .ep-real-avatar-mouth{animation:epRealTalk .22s ease-in-out infinite alternate;opacity:.96}
@keyframes epRealBlink{0%,47%,49%,100%{transform:translate(-50%,-50%) scaleY(1)}48%{transform:translate(-50%,-50%) scaleY(.08)}}
@keyframes epRealTalk{from{transform:translate(-50%,-50%) scaleY(.72)}to{transform:translate(-50%,-50%) scaleY(1.34)}}
@media(max-width:860px){.ep-math-teacher-layout{grid-template-columns:1fr!important}.ep-math-teacher-avatar{min-height:360px!important}.ep-real-avatar-wrap{width:min(100%,150px);height:198px}} .ep-math-teacher-avatar{justify-content:flex-start!important;padding-top:18px!important;min-height:410px!important}
.ep-math-smart-suggestions{width:100%;margin-top:12px;padding:10px;border-radius:16px;background:rgba(255,255,255,.84);border:1px solid #d9e7ff;box-shadow:0 10px 22px rgba(16,24,40,.06);text-align:left}
.ep-math-smart-suggestions[hidden]{display:none!important}
.ep-math-smart-suggestions strong{display:block;font-size:12px;color:#285fe8;margin-bottom:7px}
.ep-math-smart-suggestions div{display:flex;flex-direction:column;gap:6px}
.ep-math-smart-suggestions button{border:0;border-radius:12px;padding:7px 9px;background:#f4f8ff;color:#102033;font-size:12px;font-weight:800;cursor:pointer;text-align:left;box-shadow:inset 0 0 0 1px #dbe7ff}
.ep-math-smart-suggestions button:hover{background:#e8f1ff}
.ep-math-whiteboard{height:auto!important;min-height:120px!important;max-height:none!important;overflow:visible!important}
.ep-math-teacher-workspace,.ep-math-teacher-modal{overflow:visible!important}
html[data-theme="dark"] .ep-math-smart-suggestions,body[data-ai-study-theme="dark"] .ep-math-smart-suggestions{background:#0d2036;border-color:#2b5b88}
html[data-theme="dark"] .ep-math-smart-suggestions button,body[data-ai-study-theme="dark"] .ep-math-smart-suggestions button{background:#102944;color:#eaf3ff;box-shadow:inset 0 0 0 1px #2b5b88} .ep-math-teacher{max-width:1180px!important;width:100%!important;overflow-x:hidden!important}
.ep-math-teacher-modal,.ep-math-teacher-workspace,.ep-math-whiteboard,.ep-math-pane,.ep-math-camera-box{max-width:100%!important;min-width:0!important;overflow-wrap:anywhere!important}
.ep-math-teacher-layout{grid-template-columns:minmax(170px,230px) minmax(0,1fr)!important;align-items:start!important}
.ep-math-teacher-avatar{align-self:start!important;position:sticky;top:12px;min-height:360px!important;max-height:none!important}
.ep-math-pane img,.ep-math-camera-box img,.ep-math-camera-box video,.ep-math-camera-box canvas{max-width:100%!important;max-height:240px!important;width:auto!important;height:auto!important;object-fit:contain!important;display:block!important;margin:8px auto!important}
.ep-math-whiteboard{height:auto!important;max-height:none!important;overflow:visible!important}
.ep-math-output-expanded{height:auto!important;max-height:none!important;overflow:visible!important}
.ep-math-actions,.ep-math-doubt-buttons,.ep-coach-actions{align-items:center!important}
.ep-math-actions button,.ep-math-doubt-buttons button,.ep-coach-actions button{min-height:42px!important;line-height:1.15!important}
.ep-math-controls select,.ep-math-teacher-options select{min-height:48px!important;line-height:1.35!important;padding:12px 42px 12px 14px!important;text-overflow:ellipsis!important}
@media(max-width:980px){
.ep-math-teacher-layout{grid-template-columns:1fr!important}
.ep-math-teacher-avatar{position:relative!important;top:auto!important;min-height:250px!important}
.ep-math-controls,.ep-math-teacher-options{grid-template-columns:1fr!important}
} .ai-study-traditional-answer{font-family:inherit!important;color:#102033!important;line-height:1.65!important}
.ai-study-traditional-answer__head{padding:16px 18px;border-radius:18px;background:linear-gradient(135deg,#eef6ff,#f7f3ff);border:1px solid #d8e7ff;margin-bottom:14px}
.ai-study-traditional-answer__head span{display:inline-flex;padding:5px 10px;border-radius:999px;background:#e0eaff;color:#2457d6;font-size:12px;font-weight:900}
.ai-study-traditional-answer__head h3{margin:8px 0 2px!important;font-size:clamp(24px,4vw,38px)!important;line-height:1.2!important;color:#102033!important}
.ai-study-traditional-answer__head small{color:#60758d;font-weight:700}
.ai-study-traditional-answer section{margin:12px 0;padding:15px 17px;border:1px solid #dce8f8;border-radius:16px;background:#fff}
.ai-study-traditional-answer section h4{margin:0 0 8px!important;color:#153f8f!important;font-size:17px!important}
.ai-study-traditional-answer section p,.ai-study-traditional-answer li{font-size:15px!important;color:#25384f!important;overflow-wrap:anywhere}
.ai-study-traditional-answer__formula div{padding:13px 15px;border-radius:12px;background:#102033;color:#fff;font-size:clamp(20px,4vw,30px);font-weight:900;text-align:center;overflow-x:auto}
.ai-study-traditional-answer__final{margin-top:12px;padding:12px 14px;border-radius:12px;background:#eafff1;border:1px solid #b9f2c8;color:#065e24;font-weight:900}
html[data-theme="dark"] .ai-study-traditional-answer,body[data-ai-study-theme="dark"] .ai-study-traditional-answer{color:#eaf3ff!important}
html[data-theme="dark"] .ai-study-traditional-answer__head,body[data-ai-study-theme="dark"] .ai-study-traditional-answer__head,html[data-theme="dark"] .ai-study-traditional-answer section,body[data-ai-study-theme="dark"] .ai-study-traditional-answer section{background:#0d2036;border-color:#2b5b88}
html[data-theme="dark"] .ai-study-traditional-answer__head h3,body[data-ai-study-theme="dark"] .ai-study-traditional-answer__head h3,html[data-theme="dark"] .ai-study-traditional-answer section h4,body[data-ai-study-theme="dark"] .ai-study-traditional-answer section h4{color:#fff!important}
html[data-theme="dark"] .ai-study-traditional-answer section p,html[data-theme="dark"] .ai-study-traditional-answer li,body[data-ai-study-theme="dark"] .ai-study-traditional-answer section p,body[data-ai-study-theme="dark"] .ai-study-traditional-answer li{color:#dbeafe!important} .ep-math-camera-box [hidden]{display:none!important}
.ep-math-pane[data-ep-math-pane="camera"] .ep-math-camera-box{width:100%!important;min-height:420px!important;height:min(62vh,620px)!important;padding:0!important;overflow:hidden!important;background:#07111f!important;border:1px solid #2b5b88!important;border-radius:22px!important}
.ep-math-pane[data-ep-math-pane="camera"] .ep-math-camera-box video{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;margin:0!important;border:0!important;border-radius:20px!important;background:#000!important}
.ep-math-pane[data-ep-math-pane="camera"] .ep-math-camera-box img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;margin:0!important;border:0!important;border-radius:20px!important;background:#07111f!important}
@media(max-width:780px){
.ep-math-pane[data-ep-math-pane="camera"] .ep-math-camera-box{height:calc(100svh - 260px)!important;min-height:430px!important;max-height:720px!important;border-radius:18px!important}
.ep-math-pane[data-ep-math-pane="camera"] .ep-math-camera-box video,.ep-math-pane[data-ep-math-pane="camera"] .ep-math-camera-box img{border-radius:16px!important}
.ep-math-pane[data-ep-math-pane="camera"]>button{min-height:48px!important;margin-top:8px!important}
}
@media(max-width:480px){
.ep-math-pane[data-ep-math-pane="camera"] .ep-math-camera-box{height:calc(100svh - 220px)!important;min-height:460px!important}
}.npp-floating-box {
position: fixed;
z-index: 99999;
text-align: center;
}
.npp-position-bottom-right { right: 20px; bottom: 20px; }
.npp-position-bottom-left { left: 20px; bottom: 20px; }
.npp-position-top-right { right: 20px; top: 20px; }
.npp-position-top-left { left: 20px; top: 20px; }
.npp-inline-box {
display: inline-block;
text-align: center;
margin: 12px 0;
}
.npp-floating-subscribe-btn,
.npp-subscribe-btn {
background: linear-gradient(135deg, #2563eb, #7c3aed);
color: #ffffff;
border: none;
padding: 13px 22px;
border-radius: 999px;
font-size: 15px;
font-weight: 800;
cursor: pointer;
box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
transition: all 0.25s ease;
line-height: 1.2;
}
.npp-floating-subscribe-btn:hover,
.npp-subscribe-btn:hover {
transform: translateY(-2px);
box-shadow: 0 12px 26px rgba(37, 99, 235, 0.45);
}
.npp-floating-subscribe-btn:disabled,
.npp-subscribe-btn:disabled {
cursor: not-allowed;
opacity: 0.95;
}
.npp-bell-icon {
display: inline-block;
font-size: 22px;
margin-right: 6px;
transform-origin: top center;
animation: nppBellShake 1.8s infinite;
}
@keyframes nppBellShake {
0% { transform: rotate(0deg) scale(1); }
10% { transform: rotate(15deg) scale(1.25); }
20% { transform: rotate(-15deg) scale(1.25); }
30% { transform: rotate(12deg) scale(1.2); }
40% { transform: rotate(-12deg) scale(1.2); }
50% { transform: rotate(0deg) scale(1); }
100% { transform: rotate(0deg) scale(1); }
}
.npp-subscribed-success {
background: linear-gradient(135deg, #16a34a, #22c55e) !important;
color: #ffffff !important;
box-shadow: 0 8px 22px rgba(22, 163, 74, 0.35) !important;
}
.npp-subscribed-success .npp-bell-icon {
animation: none !important;
}
.npp-subscribe-message {
margin-top: 8px;
font-size: 13px;
font-weight: 700;
background: #ffffff;
padding: 6px 10px;
border-radius: 8px;
display: inline-block;
min-height: 18px;
}
.npp-privacy-note {
color: #64748b;
font-size: 12px;
margin: 8px 0 0;
}
@media screen and (max-width: 480px) {
.npp-position-bottom-right,
.npp-position-bottom-left {
left: 12px;
right: 12px;
bottom: 14px;
}
.npp-floating-subscribe-btn {
width: 100%;
}
} .npp-soft-popup,
.npp-soft-popup * {
box-sizing: border-box;
}
.npp-soft-popup {
position: fixed;
z-index: 2147483000;
opacity: 0;
pointer-events: none;
transition: opacity 0.22s ease, transform 0.22s ease;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.npp-soft-popup.npp-show {
opacity: 1;
pointer-events: auto;
}
.npp-soft-popup-center {
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(15, 23, 42, 0.46);
padding: 18px;
}
.npp-soft-popup-bottom {
left: 16px;
right: 16px;
bottom: 18px;
display: flex;
justify-content: center;
}
.npp-soft-popup-topbar {
top: 14px;
left: 16px;
right: 16px;
display: flex;
justify-content: center;
}
.npp-soft-card {
width: min(420px, 94vw);
position: relative;
overflow: visible;
background: #ffffff;
color: #0f172a;
border-radius: 22px;
padding: 22px 18px 18px;
box-shadow: 0 22px 55px rgba(15, 23, 42, 0.28);
border: 1px solid rgba(148, 163, 184, 0.18);
transform: translateY(8px) scale(0.98);
transition: transform 0.22s ease;
}
.npp-show .npp-soft-card {
transform: translateY(0) scale(1);
}
.npp-soft-close {
all: unset;
box-sizing: border-box;
position: absolute;
right: 12px;
top: 12px;
z-index: 5;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid rgba(148, 163, 184, 0.25);
background: #f8fafc;
color: #334155;
width: 32px;
height: 32px;
border-radius: 999px;
font-size: 24px;
font-weight: 700;
line-height: 1;
cursor: pointer;
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}
.npp-soft-head {
display: flex;
gap: 13px;
align-items: flex-start;
padding-right: 42px;
}
.npp-soft-icon,
.npp-soft-emoji {
width: 48px;
height: 48px;
border-radius: 16px;
background: linear-gradient(135deg, #2563eb, #7c3aed);
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
color: #fff;
flex: 0 0 48px;
object-fit: cover;
}
.npp-soft-head h3 {
margin: 2px 0 5px;
font-size: 19px;
line-height: 1.25;
color: #0f172a;
}
.npp-soft-head p {
margin: 0;
color: #475569;
font-size: 14px;
line-height: 1.5;
}
.npp-soft-image {
display: block;
width: 100%;
max-height: 190px;
object-fit: cover;
border-radius: 16px;
margin-bottom: 14px;
}
.npp-soft-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 16px;
}
.npp-soft-primary,
.npp-soft-action {
border: none;
background: linear-gradient(135deg, #2563eb, #7c3aed);
color: #fff !important;
padding: 10px 15px;
border-radius: 999px;
font-weight: 800;
text-decoration: none !important;
cursor: pointer;
line-height: 1.2;
}
.npp-soft-secondary {
border: 1px solid #cbd5e1;
background: #fff;
color: #334155;
padding: 10px 15px;
border-radius: 999px;
font-weight: 800;
cursor: pointer;
}
.npp-soft-link {
display: inline-block;
margin-top: 12px;
color: #2563eb !important;
font-weight: 700;
text-decoration: none;
}
.npp-blocked-popup .npp-soft-emoji {
background: linear-gradient(135deg, #f97316, #dc2626);
}
.npp-campaign-popup .npp-soft-emoji {
background: linear-gradient(135deg, #059669, #2563eb);
}
@media screen and (max-width: 480px) {
.npp-soft-card {
width: 100%;
border-radius: 18px;
padding: 22px 14px 14px;
}
.npp-soft-popup-center {
align-items: flex-end;
padding: 12px;
}
.npp-soft-actions {
flex-direction: column;
}
.npp-soft-primary,
.npp-soft-action,
.npp-soft-secondary {
width: 100%;
text-align: center;
}
}.ep-smart-filter-shell{--epf-blue:#2563eb;--epf-purple:#7c3aed;--epf-green:#16a34a;--epf-text:#0f172a;--epf-muted:#475569;width:100%;box-sizing:border-box;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;position:relative;z-index:35}.ep-smart-filter-shell *{box-sizing:border-box}.ep-smart-filter{display:flex;align-items:center;gap:16px;width:min(1440px,calc(100% - 28px));margin:12px auto;padding:14px 16px;border:1px solid #dbeafe;border-radius:22px;background:#fff;box-shadow:0 14px 35px rgba(30,64,175,.09);color:var(--epf-text)}.ep-smart-bg-gradient .ep-smart-filter{background:linear-gradient(135deg,#f8fbff,#fff 55%,#f5f3ff)}.ep-smart-bg-blue .ep-smart-filter{background:#eff6ff}.ep-smart-bg-white .ep-smart-filter{background:#fff}.ep-smart-filter-intro{flex:0 0 230px;display:grid;gap:5px}.ep-smart-filter-intro strong{font-size:13px;letter-spacing:.07em;color:#1d4ed8}.ep-smart-filter-intro span{font-size:14px;line-height:1.35;color:#334155;font-weight:700}.ep-smart-filter-form{display:flex;align-items:flex-end;gap:10px;flex:1;min-width:0;position:relative}.ep-smart-filter-form>label{display:grid;gap:5px;flex:1 1 130px;min-width:105px}.ep-smart-filter-form label span{font-size:11px;font-weight:800;color:var(--epf-muted)}.ep-smart-filter select,.ep-smart-filter input{width:100%;max-width:100%;height:42px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;color:var(--epf-text);padding:0 10px;font-size:13px;min-width:0;outline:none}.ep-smart-filter select:focus,.ep-smart-filter input:focus,.ep-smart-filter button:focus-visible{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.16)}.ep-smart-filter select:disabled{opacity:.65;cursor:progress}.ep-smart-submit,.ep-smart-advanced-toggle,.ep-smart-filter-mobile-trigger{height:42px;border:0;border-radius:12px;padding:0 15px;font-weight:850;white-space:nowrap;cursor:pointer}.ep-smart-submit{background:linear-gradient(135deg,var(--epf-blue),var(--epf-purple));color:#fff;box-shadow:0 8px 20px rgba(37,99,235,.22)}.ep-smart-submit:disabled{opacity:.68;cursor:progress}.ep-smart-advanced-toggle{background:#eef2ff;color:#3730a3}.ep-smart-advanced-toggle[aria-expanded="true"] span{display:inline-block;transform:rotate(180deg)}.ep-smart-advanced{position:absolute;top:calc(100% + 10px);right:0;width:min(1000px,calc(100vw - 40px));display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px;border:1px solid #dbeafe;border-radius:18px;background:#fff;box-shadow:0 18px 48px rgba(15,23,42,.16);z-index:8}.ep-smart-advanced[hidden]{display:none}.ep-smart-status{position:absolute;left:0;top:calc(100% + 4px);font-size:12px;color:var(--epf-muted);max-width:100%}.ep-smart-filter-close,.ep-smart-filter-mobile-trigger,.ep-smart-filter-backdrop{display:none}.ep-smart-filter-shell.is-sticky{position:sticky;top:0;z-index:900}.admin-bar .ep-smart-filter-shell.is-sticky{top:32px}.ep-smart-filter-shell.is-loading .ep-smart-filter{cursor:progress}.ep-smart-result-message{padding:12px 15px;border-radius:12px;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}.ep-smart-results{width:min(1240px,calc(100% - 28px));margin:24px auto;padding:20px}.ep-smart-results-header>span{display:inline-block;color:#1d4ed8;font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.ep-smart-results-header h1{margin:.35rem 0}.ep-smart-results .ep-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}.ep-smart-results .ep-course-card{position:relative;background:#fff;border:1px solid #dbeafe;border-radius:18px;padding:20px;box-shadow:0 10px 28px rgba(15,23,42,.07)}.ep-smart-results .ep-course-card small{display:block;padding-right:76px;color:#64748b}.ep-smart-results .ep-course-card h2{margin:10px 0 8px;font-size:20px;line-height:1.3}.ep-smart-results .ep-course-card h2 a{color:#0f172a;text-decoration:none}.ep-smart-results .ep-course-card p{color:#475569}.ep-smart-access{position:absolute;right:16px;top:16px;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800}.ep-smart-access.is-free{background:#dcfce7;color:#166534}.ep-smart-access.is-premium{background:#ede9fe;color:#6d28d9}.ep-smart-course-link{display:inline-flex;margin-top:8px;font-weight:800;color:#1d4ed8;text-decoration:none}.ep-smart-filter-shell.hide-desktop{display:none}
html[data-theme="dark"] .ep-smart-filter,body[data-ai-study-theme="dark"] .ep-smart-filter,html[data-theme="dark"] .ep-smart-advanced,body[data-ai-study-theme="dark"] .ep-smart-advanced,html[data-theme="dark"] .ep-smart-results .ep-course-card,body[data-ai-study-theme="dark"] .ep-smart-results .ep-course-card{background:#0f1b2d;color:#e5e7eb;border-color:#334155}html[data-theme="dark"] .ep-smart-filter-intro span,body[data-ai-study-theme="dark"] .ep-smart-filter-intro span,html[data-theme="dark"] .ep-smart-filter label span,body[data-ai-study-theme="dark"] .ep-smart-filter label span,html[data-theme="dark"] .ep-smart-results .ep-course-card p,body[data-ai-study-theme="dark"] .ep-smart-results .ep-course-card p{color:#cbd5e1}html[data-theme="dark"] .ep-smart-filter select,html[data-theme="dark"] .ep-smart-filter input,body[data-ai-study-theme="dark"] .ep-smart-filter select,body[data-ai-study-theme="dark"] .ep-smart-filter input{background:#111827;color:#f8fafc;border-color:#475569}html[data-theme="dark"] .ep-smart-results .ep-course-card h2 a,body[data-ai-study-theme="dark"] .ep-smart-results .ep-course-card h2 a{color:#f8fafc}
@media(max-width:1180px){.ep-smart-filter{align-items:stretch}.ep-smart-filter-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.ep-smart-submit,.ep-smart-advanced-toggle{width:100%}.ep-smart-filter-intro{flex-basis:190px}.ep-smart-advanced{grid-template-columns:repeat(3,minmax(0,1fr))}.ep-smart-status{position:static;grid-column:1/-1}.ep-smart-results .ep-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:782px){.admin-bar .ep-smart-filter-shell.is-sticky{top:46px}}
@media(max-width:760px){html.ep-filter-open{overflow:hidden}.ep-smart-filter-shell.hide-desktop{display:block}.ep-smart-filter-shell.hide-mobile{display:none}.ep-smart-filter-mobile-trigger{display:flex;align-items:center;justify-content:center;margin:10px auto;width:calc(100% - 24px);background:linear-gradient(135deg,var(--epf-blue),var(--epf-purple));color:#fff}.ep-smart-filter-backdrop{position:fixed;inset:0;border:0;background:rgba(15,23,42,.55);z-index:999998}.ep-smart-filter-shell.is-open .ep-smart-filter-backdrop{display:block}.ep-smart-filter{position:fixed;left:0;right:0;bottom:0;top:auto;width:100%;max-height:min(88dvh,760px);margin:0;padding:16px 14px 20px;border-radius:24px 24px 0 0;display:block;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;transform:translateY(105%);transition:transform .24s ease;z-index:999999}.ep-smart-filter-shell.is-open .ep-smart-filter{transform:translateY(0)}.ep-smart-filter-close{display:grid;place-items:center;position:sticky;top:0;margin:0 0 -36px auto;width:36px;height:36px;border:1px solid #cbd5e1;border-radius:50%;background:#fff;color:#0f172a;font-size:24px;line-height:1;z-index:10}.ep-smart-filter-intro{padding-right:46px;margin-bottom:14px;min-height:38px}.ep-smart-filter-form{display:grid;grid-template-columns:1fr 1fr;gap:11px}.ep-smart-filter-form>label{min-width:0}.ep-smart-submit{grid-column:1/-1}.ep-smart-advanced{position:static;transform:none;width:100%;max-width:100%;grid-column:1/-1;grid-template-columns:1fr 1fr;box-shadow:none;margin-top:3px}.ep-smart-status{position:static;grid-column:1/-1;min-height:18px}.ep-smart-filter-shell.is-sticky{position:relative;top:auto}.ep-smart-results{width:calc(100% - 16px);padding:10px}.ep-smart-results .ep-course-grid{grid-template-columns:1fr}}
@media(max-width:460px){.ep-smart-filter-form,.ep-smart-advanced{grid-template-columns:1fr}.ep-smart-submit,.ep-smart-advanced-toggle,.ep-smart-status{grid-column:1}.ep-smart-filter select,.ep-smart-filter input{height:44px}.ep-smart-filter{max-height:92dvh}.ep-smart-filter-mobile-trigger{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ep-smart-filter{transition:none}} :where(.ai-study-app,.ep-course-experience,.ep-course-showcase,.ep-home-course-showcase,.ep-smart-filter,.ep-quiz-player,.ep-course-module-bridge) :where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #2563eb;outline-offset:3px;box-shadow:0 0 0 2px #fff}
.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media (prefers-reduced-motion: reduce){html:focus-within{scroll-behavior:auto!important}:where(.ai-study-app,.ep-course-experience,.ep-course-showcase,.ep-home-course-showcase,.ep-smart-filter,.ep-quiz-player,.ep-course-module-bridge),:where(.ai-study-app,.ep-course-experience,.ep-course-showcase,.ep-home-course-showcase,.ep-smart-filter,.ep-quiz-player,.ep-course-module-bridge) *{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}} .ep-smart-filter-shell.has-advanced-open{
z-index:90000!important;
overflow:visible!important;
}
.ep-smart-filter-shell.has-advanced-open .ep-smart-filter,
.ep-smart-filter-shell.has-advanced-open .ep-smart-filter-form{
overflow:visible!important;
}
.ep-smart-filter-shell.has-advanced-open .ep-smart-advanced{
z-index:90002!important;
visibility:visible!important;
}
@media(max-width:760px){
.ep-smart-filter-shell.has-advanced-open{z-index:999999!important}
.ep-smart-filter-shell.has-advanced-open .ep-smart-filter{z-index:1000000!important}
.ep-smart-filter-shell.has-advanced-open .ep-smart-advanced{z-index:auto!important}
} @media (min-width:761px){
.ep-smart-filter-shell{
max-width:100%!important;
overflow:visible!important;
}
.ep-smart-filter{
width:min(1200px,calc(100% - 32px))!important;
max-width:1200px!important;
margin-left:auto!important;
margin-right:auto!important;
}
.ep-smart-filter-form,
.ep-smart-filter-form > label{
max-width:100%!important;
min-width:0!important;
}
.ep-smart-advanced{
max-width:min(100%,1000px)!important;
}
} @media (min-width:761px){
.ep-smart-filter-shell.is-guest{
width:min(1200px,calc(100% - 32px))!important;
max-width:1200px!important;
margin-left:auto!important;
margin-right:auto!important;
}
.ep-smart-filter-shell.is-guest > .ep-smart-filter{
width:100%!important;
max-width:100%!important;
margin-left:0!important;
margin-right:0!important;
}
.ep-smart-filter-shell.is-guest .ep-smart-advanced{
max-width:min(100%,1000px)!important;
}
}
@media (max-width:760px){
.ep-smart-filter-shell.is-guest{
width:100%!important;
max-width:none!important;
margin:0!important;
}
} @media (min-width:761px){
.ep-smart-filter-shell.is-guest,
.ep-smart-filter-shell.is-authenticated{
width:min(1200px,calc(100% - 32px))!important;
max-width:1200px!important;
margin-left:auto!important;
margin-right:auto!important;
overflow:visible!important;
}
.ep-smart-filter-shell.is-guest > .ep-smart-filter,
.ep-smart-filter-shell.is-authenticated > .ep-smart-filter{
width:100%!important;
max-width:100%!important;
margin-left:0!important;
margin-right:0!important;
}
}