/* Education Platform Custom — Interactive Classroom */
body.epcf-classroom-window{margin:0!important;background:#111318!important;overflow-x:hidden}
body.epcf-classroom-window #wpadminbar,
body.epcf-classroom-window #masthead,
body.epcf-classroom-window .site-header,
body.epcf-classroom-window .elementor-location-header,
body.epcf-classroom-window #colophon,
body.epcf-classroom-window .site-footer,
body.epcf-classroom-window .elementor-location-footer,
body.epcf-classroom-window .entry-header{display:none!important}
body.epcf-classroom-window #page,
body.epcf-classroom-window #content,
body.epcf-classroom-window .site-content,
body.epcf-classroom-window .ast-container,
body.epcf-classroom-window .content-area,
body.epcf-classroom-window .site-main,
body.epcf-classroom-window .entry-content,
body.epcf-classroom-window .elementor,
body.epcf-classroom-window .elementor-section-wrap,
body.epcf-classroom-window .e-con{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}

.epcf-classroom{--epcf-red:#d71920;--epcf-red-dark:#a91016;--epcf-dark:#111318;--epcf-panel:#1a1d23;--epcf-panel-2:#22262e;--epcf-text:#f8f9fb;--epcf-muted:#a8afba;--epcf-line:rgba(255,255,255,.11);width:100%;max-width:1500px;margin:22px auto;padding:0 18px 20px;box-sizing:border-box;color:var(--epcf-text);font-family:inherit}.epcf-classroom *{box-sizing:border-box}.epcf-classroom button,.epcf-classroom input{font:inherit}.epcf-classroom button:focus-visible,.epcf-classroom input:focus-visible{outline:3px solid rgba(255,255,255,.35);outline-offset:2px}
body.epcf-classroom-window .epcf-classroom{max-width:none;margin:0;min-height:100vh;padding:0;background:var(--epcf-dark)}
.epcf-classroom-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 18px;border-bottom:1px solid var(--epcf-line);background:#15181e}.epcf-classroom-brand{display:flex;align-items:center;gap:13px;min-width:0}.epcf-classroom-brand>div{min-width:0}.epcf-classroom-mark{flex:0 0 auto;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--epcf-red);color:#fff;font-size:10px;font-weight:950;letter-spacing:.08em}.epcf-classroom-kicker{display:block;color:#f18c90;font-size:9px;font-weight:900;letter-spacing:.14em}.epcf-classroom-topbar h1{margin:3px 0 2px;color:#fff;font-size:17px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.epcf-classroom-topbar p{margin:0;color:var(--epcf-muted);font-size:10px}.epcf-classroom-top-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}.epcf-participant-state,.epcf-room-state{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border:1px solid var(--epcf-line);border-radius:999px;background:#1b1f26;color:#b8bec8;font-size:10px;font-weight:850;white-space:nowrap}.epcf-participant-state.is-complete{background:#15271b;border-color:#244c31;color:#84dfa0}.epcf-room-state.is-live{background:#15271b;border-color:#244c31;color:#84dfa0}.epcf-room-state.is-error{background:#32191c;border-color:#633137;color:#ff9da3}.epcf-room-state.is-connecting{background:#312a18;border-color:#645728;color:#f6d66f}.epcf-window-close{width:36px;height:36px;border:1px solid var(--epcf-line);border-radius:10px;background:#1b1f26;color:#fff;font-size:24px;line-height:1;cursor:pointer}.epcf-window-close:hover{background:#292e37}
.epcf-classroom-setup,.epcf-classroom-gate{max-width:900px;margin:35px auto;padding:24px;border:1px solid #ebd6a6;border-radius:18px;background:#fff9ea;color:#27251f}.epcf-classroom-setup strong,.epcf-classroom-gate strong{font-size:18px}.epcf-classroom-setup p,.epcf-classroom-gate p{margin:6px 0 12px;color:#5d5a51}.epcf-classroom-setup a{color:#a90008;font-weight:800}.epcf-classroom-gate.is-error{border-color:#efc8c8;background:#fff4f4}
.epcf-classroom-workspace{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;background:#101217}.epcf-classroom.is-panel-open .epcf-classroom-workspace{grid-template-columns:minmax(0,1fr) 360px}.epcf-classroom-stage{position:relative;min-width:0;min-height:560px;padding:18px;background:#0c0e12;overflow:hidden}.epcf-classroom-panel{min-width:0;border-left:1px solid var(--epcf-line);background:#171a20;overflow:auto}.epcf-classroom-panel[hidden]{display:none!important}.epcf-panel-shell{padding:0 18px 22px}.epcf-tool-panel-head{position:sticky;top:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 0 14px;background:#171a20;border-bottom:1px solid var(--epcf-line)}.epcf-tool-panel-head span,.epcf-panel-copy>span,.epcf-room-info>span,.epcf-room-awards>span{display:block;color:#f18c90;font-size:9px;font-weight:900;letter-spacing:.13em}.epcf-tool-panel-head h2{margin:3px 0 0;font-size:21px;color:#fff}.epcf-tool-panel-head button{width:34px;height:34px;border:1px solid var(--epcf-line);border-radius:10px;background:#22262d;color:#fff;font-size:23px;cursor:pointer}.epcf-tool-section{padding:17px 0}.epcf-tool-section[hidden]{display:none!important}.epcf-panel-copy h3{margin:5px 0 5px;color:#fff;font-size:19px}.epcf-panel-copy p{margin:0 0 16px;color:var(--epcf-muted);font-size:11px;line-height:1.55}
.epcf-video-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;height:100%;align-content:center}.epcf-video-tile,.epcf-share-stage{position:relative;overflow:hidden;border:1px solid var(--epcf-line);border-radius:18px;background:#191c22}.epcf-media-slot{position:relative;aspect-ratio:16/10;overflow:hidden;background:#101218}.epcf-live-video{width:100%!important;height:100%!important;display:block;object-fit:cover}.epcf-video-tile.is-local .epcf-live-video{transform:scaleX(-1)}.epcf-share-stage{margin-bottom:14px}.epcf-share-stage[hidden]{display:none!important}.epcf-share-stage .epcf-media-slot{aspect-ratio:16/9;max-height:62vh}.epcf-share-stage .epcf-live-video{object-fit:contain;background:#06070a}.epcf-video-placeholder{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:10px;color:#bec2ca;background:radial-gradient(circle at 50% 30%,#252a33,#111318 68%)}.epcf-video-placeholder span{width:92px;height:92px;border-radius:50%;display:grid;place-items:center;background:#303640;color:#fff;font-size:34px;font-weight:900}.epcf-video-placeholder p{margin:0;font-size:12px}.epcf-video-label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;color:#fff;background:#181b20}.epcf-video-label strong{font-size:12px}.epcf-video-label span{font-size:9px;color:#aeb4be}.epcf-classroom.is-screen-sharing .epcf-share-stage{display:block}.epcf-classroom.is-screen-sharing .epcf-video-grid{grid-template-columns:repeat(2,minmax(0,230px));justify-content:end;align-content:start}.epcf-classroom.is-screen-sharing .epcf-video-grid .epcf-media-slot{aspect-ratio:16/10}.epcf-classroom.is-screen-sharing .epcf-video-grid .epcf-video-placeholder span{width:58px;height:58px;font-size:22px}
.epcf-prejoin{position:absolute;inset:0;display:grid;place-items:center;padding:22px;background:rgba(8,9,12,.82);backdrop-filter:blur(9px);z-index:7}.epcf-prejoin[hidden]{display:none}.epcf-prejoin>div{max-width:490px;text-align:center;color:#fff}.epcf-prejoin>div>span{display:block;font-size:52px}.epcf-prejoin h2{margin:8px 0;font-size:31px}.epcf-prejoin p{margin:0 auto 18px;color:#c5c8cf;line-height:1.6;font-size:13px}.epcf-prejoin button{min-height:46px;border:0;border-radius:12px;padding:12px 22px;background:var(--epcf-red);color:#fff;font-weight:900;cursor:pointer}.epcf-prejoin button:hover:not(:disabled){background:var(--epcf-red-dark)}.epcf-prejoin button:disabled{opacity:.45;cursor:not-allowed}.epcf-prejoin small{display:block;margin-top:10px;color:#adb2bc}
.epcf-engagement-overlay{pointer-events:none;position:absolute;inset:22px;z-index:9;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px}.epcf-live-pop{display:flex;align-items:center;gap:12px;max-width:min(90%,520px);padding:12px 16px;border:1px solid rgba(255,255,255,.2);border-radius:18px;background:rgba(255,255,255,.97);color:#1d2026;box-shadow:0 12px 34px rgba(0,0,0,.32);animation:epcfPopIn .24s ease-out}.epcf-live-pop>span{font-size:38px}.epcf-live-pop strong,.epcf-live-pop small,.epcf-live-pop em{display:block}.epcf-live-pop strong{font-size:14px}.epcf-live-pop small{margin-top:2px;color:#777d86;font-size:10px}.epcf-live-pop em{margin-top:5px;font-size:11px;color:#3d4148;font-style:normal}.epcf-live-pop.is-sticker{padding:16px 20px}.epcf-live-pop.is-sticker>span{font-size:50px}.epcf-live-pop.is-award{border:2px solid #e3bd53;background:#fffaf0}.epcf-live-pop.is-award>span{font-size:62px}.epcf-live-pop.is-leaving{opacity:0;transform:translateY(-10px);transition:.25s ease}.epcf-classroom-toast{position:absolute;left:50%;bottom:22px;z-index:10;transform:translateX(-50%);max-width:min(88%,620px);padding:10px 14px;border:1px solid #2f6140;border-radius:12px;background:#17301f;color:#a9f1bd;font-size:11px;font-weight:800;box-shadow:0 10px 28px rgba(0,0,0,.3)}.epcf-classroom-toast.is-error{border-color:#74363e;background:#391c20;color:#ffb0b6}@keyframes epcfPopIn{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
.epcf-classroom-controls{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:11px 15px;border-top:1px solid var(--epcf-line);background:#15181e}.epcf-control-group{display:flex;align-items:center;gap:7px}.epcf-control-group.is-tools{justify-content:center}.epcf-control-group.is-exit{justify-content:flex-end}.epcf-classroom-controls button{min-height:46px;border:1px solid var(--epcf-line);border-radius:11px;padding:7px 12px;background:#22262e;color:#f4f5f7;font-weight:800;cursor:pointer;display:flex;align-items:center;gap:7px}.epcf-classroom-controls button span{font-size:17px}.epcf-classroom-controls button b{font-size:10px}.epcf-classroom-controls button:hover:not(:disabled){background:#2c313b}.epcf-classroom-controls button.is-off{background:#2d2225;color:#d9b1b4}.epcf-classroom-controls button.is-active,.epcf-classroom-controls button.is-selected{background:#273c5a;border-color:#3e608d;color:#cfe2ff}.epcf-classroom-controls button.is-leave{background:#9e171d;border-color:#bd252c;color:#fff}.epcf-classroom-controls button.is-leave:hover:not(:disabled){background:#b51b22}.epcf-classroom-controls button:disabled{opacity:.4;cursor:not-allowed}.epcf-screen-share-status{max-width:230px;color:#9bb8e7;font-size:9px;line-height:1.35;text-align:right}.epcf-screen-share-status.is-error{color:#ff9ea5}
.epcf-reaction-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.epcf-reaction-row button,.epcf-sticker-grid button,.epcf-award-grid button{min-height:78px;border:1px solid var(--epcf-line);border-radius:14px;background:#20242b;color:#fff;padding:9px;cursor:pointer}.epcf-reaction-row button span,.epcf-sticker-grid button span,.epcf-award-grid button span{display:block;font-size:28px}.epcf-reaction-row button small,.epcf-sticker-grid button strong,.epcf-award-grid button strong{display:block;margin-top:5px;font-size:9px;font-weight:800;color:#c7ccd4}.epcf-sticker-grid,.epcf-award-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.epcf-reaction-row button:hover:not(:disabled),.epcf-sticker-grid button:hover:not(:disabled),.epcf-award-grid button:hover:not(:disabled){border-color:#58606d;background:#292e37;transform:translateY(-1px)}.epcf-reaction-row button:disabled,.epcf-sticker-grid button:disabled,.epcf-award-grid button:disabled{opacity:.4;cursor:not-allowed}.epcf-award-reason{display:block;margin:0 0 12px}.epcf-award-reason>span{display:block;color:#d9dde4;font-size:10px;font-weight:800;margin-bottom:6px}.epcf-award-reason input{width:100%;border:1px solid #3a404a;border-radius:11px;padding:11px 12px;background:#111318;color:#fff;font-size:16px}.epcf-classroom-inline-status{margin-top:10px;font-size:11px;font-weight:700}.epcf-classroom-inline-status.is-ok{color:#84dfa0}.epcf-classroom-inline-status.is-error{color:#ff9ea5}
.epcf-room-info,.epcf-room-awards{padding:16px 0;border-bottom:1px solid var(--epcf-line)}.epcf-room-info h3,.epcf-room-awards h3{margin:5px 0 13px;color:#fff;font-size:17px}.epcf-room-info>div{padding:11px 0;border-top:1px solid var(--epcf-line)}.epcf-room-info small{display:block;color:#8f97a3;font-size:9px;font-weight:900;letter-spacing:.08em}.epcf-room-info p{margin:4px 0 0;color:#d2d6dc;font-size:11px;line-height:1.55}.epcf-room-awards [data-room-awards]{display:grid;gap:8px}.epcf-room-award-item{display:flex;align-items:flex-start;gap:10px;padding:10px;border-radius:12px;background:#24231e}.epcf-room-award-item>span{font-size:23px}.epcf-room-award-item p{margin:0;min-width:0}.epcf-room-award-item strong,.epcf-room-award-item small{display:block}.epcf-room-award-item strong{font-size:10px}.epcf-room-award-item small{margin-top:3px;color:#afa995;font-size:9px;line-height:1.4}.epcf-room-empty-awards{margin:0;color:#8f97a3;font-size:10px}

@media(max-width:1050px){.epcf-classroom.is-panel-open .epcf-classroom-workspace{grid-template-columns:minmax(0,1fr) 320px}.epcf-classroom-controls{grid-template-columns:1fr}.epcf-control-group,.epcf-control-group.is-tools,.epcf-control-group.is-exit{justify-content:center;flex-wrap:wrap}.epcf-screen-share-status{text-align:center;max-width:none}.epcf-classroom-stage{min-height:500px}}
@media(max-width:760px){body.epcf-classroom-window{overflow:auto}.epcf-classroom-topbar{align-items:flex-start;flex-direction:column}.epcf-classroom-top-actions{width:100%;flex-wrap:wrap}.epcf-classroom-workspace,.epcf-classroom.is-panel-open .epcf-classroom-workspace{display:block}.epcf-classroom-panel{border-left:0;border-top:1px solid var(--epcf-line);max-height:none}.epcf-classroom-stage{min-height:440px;padding:9px}.epcf-video-grid{grid-template-columns:1fr;align-content:start}.epcf-classroom.is-screen-sharing .epcf-video-grid{grid-template-columns:1fr 1fr;justify-content:stretch}.epcf-media-slot{aspect-ratio:16/9}.epcf-classroom-controls{position:sticky;bottom:0;z-index:20;padding:8px;overflow-x:auto;display:flex;justify-content:flex-start}.epcf-control-group,.epcf-control-group.is-tools,.epcf-control-group.is-exit{flex:0 0 auto;flex-wrap:nowrap}.epcf-classroom-controls button b{display:none}.epcf-classroom-controls button{min-width:46px;justify-content:center}.epcf-screen-share-status{display:none}.epcf-reaction-row{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:460px){.epcf-classroom-topbar{padding:11px}.epcf-participant-state{display:none}.epcf-classroom-mark{width:38px;height:38px}.epcf-classroom-stage{min-height:390px}.epcf-video-placeholder span{width:70px;height:70px;font-size:28px}.epcf-sticker-grid,.epcf-award-grid{grid-template-columns:1fr 1fr}.epcf-reaction-row{grid-template-columns:repeat(3,minmax(0,1fr))}.epcf-prejoin h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){.epcf-live-pop,.epcf-reaction-row button,.epcf-sticker-grid button,.epcf-award-grid button{animation:none!important;transition:none!important}}

/* Teaching tools foundation */
.epcf-lesson-clock{display:grid;grid-template-columns:auto auto;column-gap:7px;align-items:center;min-height:36px;padding:5px 10px;border:1px solid var(--epcf-line);border-radius:11px;background:#1b1f26}.epcf-lesson-clock small{grid-column:1/-1;color:#8f97a3;font-size:7px;font-weight:900;letter-spacing:.12em}.epcf-lesson-clock strong{font-size:13px;color:#fff;font-variant-numeric:tabular-nums}.epcf-lesson-clock span{font-size:8px;color:#a8afba}.epcf-classroom.is-overtime .epcf-lesson-clock{border-color:#7d5b27;background:#302718}.epcf-classroom.is-overtime .epcf-lesson-clock strong{color:#ffd978}
.epcf-whiteboard-stage{position:absolute;inset:18px;z-index:5;display:flex;flex-direction:column;min-height:0;overflow:hidden;border:1px solid #d4d7dd;border-radius:18px;background:#fff;color:#17191d;box-shadow:0 18px 48px rgba(0,0,0,.32)}.epcf-whiteboard-stage[hidden]{display:none!important}.epcf-whiteboard-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 14px;border-bottom:1px solid #e2e4e8;background:#f8f9fb}.epcf-whiteboard-head>div:first-child span{display:block;color:#8f151b;font-size:8px;font-weight:950;letter-spacing:.12em}.epcf-whiteboard-head>div:first-child strong{display:block;margin-top:2px;font-size:13px}.epcf-whiteboard-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.epcf-whiteboard-tools button{min-height:34px;border:1px solid #cfd3d9;border-radius:9px;padding:6px 9px;background:#fff;color:#20242a;font-size:10px;font-weight:800;cursor:pointer}.epcf-whiteboard-tools button.is-active{border-color:#1c2736;background:#202833;color:#fff}.epcf-whiteboard-tools .epcf-wb-color{width:28px;min-width:28px;padding:0;border-radius:50%;background:#111}.epcf-whiteboard-tools .epcf-wb-color.is-red{background:#d71920}.epcf-whiteboard-tools .epcf-wb-color.is-blue{background:#2366d1}.epcf-whiteboard-tools .epcf-wb-color.is-active{box-shadow:0 0 0 2px #fff,0 0 0 4px #555}.epcf-whiteboard-canvas-wrap{flex:1;min-height:360px;background:#fff;overflow:hidden}.epcf-whiteboard-canvas-wrap canvas{display:block;width:100%;height:100%;min-height:360px;background:#fff;touch-action:none;cursor:crosshair}.epcf-whiteboard-status{display:block;padding:7px 12px;border-top:1px solid #e2e4e8;background:#f8f9fb;color:#66707c;font-size:9px}.epcf-whiteboard-status.is-error{color:#b21c24}.epcf-classroom.is-whiteboard .epcf-video-grid{position:absolute;right:28px;bottom:28px;z-index:6;width:min(360px,45%);height:auto;grid-template-columns:1fr 1fr;align-content:initial}.epcf-classroom.is-whiteboard .epcf-video-tile{border-color:rgba(255,255,255,.35);box-shadow:0 8px 24px rgba(0,0,0,.28)}.epcf-classroom.is-whiteboard .epcf-video-label{padding:6px 8px}.epcf-classroom.is-whiteboard .epcf-video-label strong{font-size:9px}.epcf-classroom.is-whiteboard .epcf-media-slot{aspect-ratio:16/10}.epcf-classroom.is-whiteboard .epcf-video-placeholder span{width:44px;height:44px;font-size:17px}
.epcf-resource-form,.epcf-wrapup-form{display:grid;gap:11px;margin:15px 0}.epcf-resource-form label,.epcf-wrapup-form label{display:grid;gap:5px}.epcf-resource-form label>span,.epcf-wrapup-form label>span{color:#d9dde4;font-size:9px;font-weight:850}.epcf-resource-form input,.epcf-wrapup-form textarea{width:100%;border:1px solid #3a404a;border-radius:10px;padding:10px 11px;background:#111318;color:#fff;font-size:16px;resize:vertical}.epcf-resource-form button,.epcf-wrapup-form button{min-height:40px;border:1px solid #49515e;border-radius:10px;padding:8px 12px;background:#262b33;color:#fff;font-size:10px;font-weight:900;cursor:pointer}.epcf-wrapup-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.epcf-wrapup-form button.is-complete{border-color:#7f1d22;background:#a2171d}.epcf-resource-form small,.epcf-wrapup-form>small{min-height:16px;color:#9fb2ce;font-size:9px}.epcf-resource-list{display:grid;gap:8px;margin-top:13px}.epcf-resource-empty{margin:0;color:#8f97a3;font-size:10px}.epcf-resource-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:stretch}.epcf-resource-item>a{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px;border:1px solid var(--epcf-line);border-radius:11px;background:#20242b;color:#fff;text-decoration:none}.epcf-resource-item>a span{font-size:18px}.epcf-resource-item>a strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.epcf-resource-item>a small{color:#9fb2ce;font-size:8px}.epcf-resource-item>button{width:36px;border:1px solid #5d3337;border-radius:10px;background:#2d1d20;color:#ffb2b7;font-size:20px;cursor:pointer}.epcf-student-wrapup{display:grid;gap:10px}.epcf-student-wrapup>div{padding:12px;border:1px solid var(--epcf-line);border-radius:12px;background:#20242b}.epcf-student-wrapup small{color:#f18c90;font-size:8px;font-weight:900;letter-spacing:.1em}.epcf-student-wrapup p{margin:6px 0 0;color:#dce0e6;font-size:11px;line-height:1.55;white-space:pre-line}
.epcf-history-resources a{font-weight:800}.epcf-history-summary p{white-space:normal}
@media(max-width:900px){.epcf-lesson-clock{order:3}.epcf-whiteboard-head{align-items:flex-start;flex-direction:column}.epcf-whiteboard-tools{justify-content:flex-start}.epcf-classroom.is-whiteboard .epcf-video-grid{width:min(320px,52%)}}
@media(max-width:760px){.epcf-whiteboard-stage{inset:9px}.epcf-whiteboard-canvas-wrap,.epcf-whiteboard-canvas-wrap canvas{min-height:420px}.epcf-classroom.is-whiteboard .epcf-video-grid{position:absolute;right:18px;bottom:20px;width:220px;grid-template-columns:1fr}.epcf-classroom.is-whiteboard .epcf-video-tile.is-local{display:none}.epcf-wrapup-actions{grid-template-columns:1fr}}
@media(max-width:460px){.epcf-lesson-clock{width:100%}.epcf-whiteboard-tools button{font-size:9px;padding:5px 7px}.epcf-whiteboard-canvas-wrap,.epcf-whiteboard-canvas-wrap canvas{min-height:360px}.epcf-classroom.is-whiteboard .epcf-video-grid{width:150px}.epcf-resource-item>a{grid-template-columns:auto minmax(0,1fr)}.epcf-resource-item>a small{display:none}}

/* =========================================================
   v2.9.0 — Advanced Classroom UX
   Familiar meeting controls + teaching tools
   ========================================================= */
.epcf-classroom-v4{--epcf-control:#242830;--epcf-control-hover:#30353f;--epcf-blue:#3974d9;--epcf-green:#24a765}
.epcf-classroom-v4 .epcf-classroom-stage{min-height:590px}
.epcf-classroom-v4 .epcf-video-tile{transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.epcf-classroom-v4 .epcf-video-tile.is-speaking{border-color:#53b879;box-shadow:0 0 0 2px rgba(83,184,121,.28),0 16px 40px rgba(0,0,0,.2)}
.epcf-classroom-v4 .epcf-video-label{position:relative;flex-wrap:wrap}
.epcf-hand-indicator{display:inline-flex;align-items:center;gap:4px;margin-left:auto;padding:4px 7px;border-radius:999px;background:#3b3218;color:#ffe28a;font-size:8px!important;font-style:normal;font-weight:900;white-space:nowrap}
.epcf-hand-indicator[hidden]{display:none!important}

/* Meeting control bar */
.epcf-classroom-v4 .epcf-classroom-controls{position:relative;display:flex;align-items:center;justify-content:center;gap:16px;padding:12px 16px;background:#14171c;box-shadow:0 -10px 30px rgba(0,0,0,.18)}
.epcf-classroom-v4 .epcf-control-group{display:flex;align-items:center;gap:8px}
.epcf-classroom-v4 .epcf-control-group.is-exit{margin-left:0}
.epcf-classroom-v4 .epcf-classroom-controls button{min-width:70px;min-height:52px;flex-direction:column;justify-content:center;gap:3px;padding:7px 10px;border-radius:13px;background:var(--epcf-control)}
.epcf-classroom-v4 .epcf-classroom-controls button:hover:not(:disabled){background:var(--epcf-control-hover)}
.epcf-classroom-v4 .epcf-classroom-controls button span{font-size:19px;line-height:1}
.epcf-classroom-v4 .epcf-classroom-controls button b{font-size:9px;line-height:1.1}
.epcf-classroom-v4 .epcf-classroom-controls button.is-off{background:#352428;color:#e8c0c3;border-color:#59343a}
.epcf-classroom-v4 .epcf-classroom-controls button.is-active{background:#263e63;border-color:#3a5e92;color:#d9e9ff}
.epcf-classroom-v4 .epcf-classroom-controls button.is-leave{min-width:76px;background:#a71920;border-color:#c5272f}
.epcf-classroom-v4 .epcf-classroom-controls .epcf-more-trigger span{font-size:24px;letter-spacing:2px;transform:translateY(-2px)}
.epcf-classroom-v4 .epcf-screen-share-status{position:absolute;left:18px;max-width:260px;text-align:left}

/* More menu */
.epcf-more-menu{position:absolute;left:50%;bottom:76px;z-index:40;width:min(700px,calc(100% - 28px));transform:translateX(-50%);border:1px solid rgba(255,255,255,.14);border-radius:18px;background:#1b1e24;color:#fff;box-shadow:0 22px 60px rgba(0,0,0,.48);overflow:hidden}
.epcf-more-menu[hidden]{display:none!important}
.epcf-more-menu-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid var(--epcf-line);background:#171a1f}
.epcf-more-menu-head strong{font-size:12px}
.epcf-more-menu-head button{min-width:34px!important;width:34px!important;min-height:34px!important;height:34px!important;display:grid!important;place-items:center!important;padding:0!important;border-radius:10px!important;font-size:20px!important}
.epcf-more-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px}
.epcf-more-menu-grid>button{min-width:0!important;min-height:64px!important;display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;align-items:center!important;justify-items:start!important;gap:8px!important;padding:10px 11px!important;text-align:left!important;flex-direction:row!important;border-radius:12px!important;background:#22262d!important}
.epcf-more-menu-grid>button:hover:not(:disabled){background:#2c313a!important}
.epcf-more-menu-grid>button>span{font-size:21px!important}
.epcf-more-menu-grid>button>div{min-width:0}
.epcf-more-menu-grid>button strong,.epcf-more-menu-grid>button small{display:block}
.epcf-more-menu-grid>button strong{font-size:10px;color:#fff}
.epcf-more-menu-grid>button small{margin-top:3px;color:#9ea6b1;font-size:8px;line-height:1.35}

/* Panel layout refinements */
.epcf-classroom-v4.is-panel-open .epcf-classroom-workspace{grid-template-columns:minmax(0,1fr) minmax(320px,380px)}
.epcf-classroom-v4 .epcf-classroom-panel{box-shadow:-12px 0 28px rgba(0,0,0,.18)}
.epcf-classroom-v4 .epcf-tool-panel-head{padding-top:14px}

/* Classroom chat */
.epcf-room-chat{display:flex;flex-direction:column;gap:9px;max-height:360px;min-height:180px;overflow:auto;padding:10px;border:1px solid var(--epcf-line);border-radius:13px;background:#111318}
.epcf-room-chat-empty{margin:auto;color:#7f8792;font-size:10px;text-align:center}
.epcf-room-chat-bubble{max-width:88%;padding:9px 10px;border-radius:13px;background:#252a32;color:#fff}
.epcf-room-chat-bubble.is-mine{align-self:flex-end;background:#283d5d}
.epcf-room-chat-bubble.is-theirs{align-self:flex-start}
.epcf-room-chat-bubble>div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}
.epcf-room-chat-bubble strong{font-size:9px}.epcf-room-chat-bubble span{color:#9ca4af;font-size:8px}.epcf-room-chat-bubble p{margin:0;font-size:11px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.epcf-room-chat-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin-top:10px}
.epcf-room-chat-form textarea{width:100%;min-height:46px;max-height:110px;border:1px solid #3a404a;border-radius:11px;padding:10px 11px;background:#111318;color:#fff;font-size:16px;resize:vertical}
.epcf-room-chat-form button{min-height:46px;border:1px solid #466597;border-radius:11px;padding:8px 14px;background:#294b78;color:#fff;font-size:10px;font-weight:900;cursor:pointer}
.epcf-room-chat-form button:disabled{opacity:.45;cursor:not-allowed}

/* Device settings */
.epcf-device-settings{display:grid;gap:12px}
.epcf-device-settings label{display:grid;gap:6px}.epcf-device-settings label span{color:#d9dde4;font-size:9px;font-weight:850}
.epcf-device-settings select{width:100%;min-height:44px;border:1px solid #3a404a;border-radius:11px;padding:8px 10px;background:#111318;color:#fff;font-size:15px}
.epcf-device-settings button{min-height:42px;border:1px solid #49515e;border-radius:10px;background:#262b33;color:#fff;font-size:10px;font-weight:900;cursor:pointer}
.epcf-device-settings small{color:#9fb2ce;font-size:9px;line-height:1.4}

/* Reactions */
.epcf-classroom-v4 .epcf-reaction-row{grid-template-columns:repeat(3,minmax(0,1fr))}
.epcf-classroom-v4 .epcf-reaction-row button{min-height:72px}

/* Advanced whiteboard */
.epcf-classroom-v4 .epcf-whiteboard-head{align-items:flex-start}
.epcf-classroom-v4 .epcf-whiteboard-tools{max-width:72%;justify-content:flex-end}
.epcf-classroom-v4 .epcf-whiteboard-tools button span{font-size:9px}
.epcf-classroom-v4 .epcf-whiteboard-tools .epcf-wb-color.is-green{background:#16834c}
.epcf-classroom-v4 .epcf-whiteboard-tools button.is-danger-soft{border-color:#e5b7ba;background:#fff5f6;color:#9f1e25}
.epcf-wb-text-control{display:flex;align-items:center;gap:5px}
.epcf-wb-text-control input{width:120px;min-height:34px;border:1px solid #cfd3d9;border-radius:9px;padding:6px 8px;background:#fff;color:#20242a;font-size:13px}
.epcf-whiteboard-canvas-wrap canvas{cursor:crosshair}

/* Presentation focus */
.epcf-classroom-v4.is-screen-sharing .epcf-share-stage{border-color:rgba(90,135,205,.55);box-shadow:0 14px 38px rgba(0,0,0,.3)}
.epcf-classroom-v4.is-screen-sharing .epcf-video-grid{gap:9px}
.epcf-classroom-v4.is-whiteboard .epcf-video-grid{gap:7px}

/* Top bar polish */
.epcf-classroom-v4 .epcf-classroom-topbar{padding:12px 16px}
.epcf-classroom-v4 .epcf-classroom-mark{border-radius:11px;box-shadow:0 6px 18px rgba(215,25,32,.18)}

@media(max-width:1050px){
  .epcf-classroom-v4.is-panel-open .epcf-classroom-workspace{grid-template-columns:minmax(0,1fr) 330px}
  .epcf-classroom-v4 .epcf-screen-share-status{display:none}
}
@media(max-width:820px){
  .epcf-classroom-v4{padding-left:0;padding-right:0}
  .epcf-classroom-v4 .epcf-classroom-topbar{gap:10px}
  .epcf-classroom-v4 .epcf-classroom-top-actions{gap:6px}
  .epcf-classroom-v4 .epcf-participant-state{display:none}
  .epcf-classroom-v4 .epcf-classroom-controls{position:sticky;bottom:0;z-index:35;justify-content:space-between;gap:8px;padding:9px 8px;overflow:visible}
  .epcf-classroom-v4 .epcf-control-group{gap:5px}
  .epcf-classroom-v4 .epcf-classroom-controls button{min-width:54px;min-height:50px;padding:6px 7px}
  .epcf-classroom-v4 .epcf-classroom-controls button b{font-size:8px}
  .epcf-more-menu{position:fixed;left:8px;right:8px;bottom:72px;width:auto;transform:none;border-radius:18px 18px 12px 12px;max-height:66vh;overflow:auto}
  .epcf-more-menu-grid{grid-template-columns:1fr 1fr}
  .epcf-classroom-v4 .epcf-classroom-workspace,.epcf-classroom-v4.is-panel-open .epcf-classroom-workspace{display:block}
  .epcf-classroom-v4 .epcf-classroom-panel{border-left:0;border-top:1px solid var(--epcf-line);box-shadow:none}
  .epcf-classroom-v4 .epcf-classroom-stage{min-height:470px}
  .epcf-classroom-v4 .epcf-whiteboard-tools{max-width:none;justify-content:flex-start}
}
@media(max-width:620px){
  .epcf-classroom-v4 .epcf-classroom-topbar{align-items:flex-start;flex-direction:column}
  .epcf-classroom-v4 .epcf-classroom-top-actions{width:100%;justify-content:space-between;flex-wrap:wrap}
  .epcf-classroom-v4 .epcf-room-state{margin-left:auto}
  .epcf-classroom-v4 .epcf-video-grid{grid-template-columns:1fr;align-content:start}
  .epcf-classroom-v4 .epcf-classroom-controls{gap:4px}
  .epcf-classroom-v4 .epcf-classroom-controls button{min-width:47px;padding:5px}
  .epcf-classroom-v4 .epcf-classroom-controls button b{display:none}
  .epcf-classroom-v4 .epcf-classroom-controls button span{font-size:18px}
  .epcf-classroom-v4 .epcf-control-group.is-exit{margin-left:auto}
  .epcf-more-menu-grid{grid-template-columns:1fr}
  .epcf-more-menu-grid>button{min-height:58px!important}
  .epcf-room-chat-form{grid-template-columns:1fr}.epcf-room-chat-form button{width:100%}
  .epcf-classroom-v4 .epcf-whiteboard-stage{inset:5px}
  .epcf-classroom-v4 .epcf-whiteboard-head{padding:9px;gap:8px}
  .epcf-classroom-v4 .epcf-whiteboard-tools{gap:4px}
  .epcf-classroom-v4 .epcf-whiteboard-tools button{min-height:32px;padding:5px 7px}
  .epcf-classroom-v4 .epcf-whiteboard-tools button span{display:none}
  .epcf-wb-text-control input{width:96px}
  .epcf-classroom-v4.is-whiteboard .epcf-video-grid{right:10px;bottom:16px;width:145px}
}
@media(max-width:390px){
  .epcf-classroom-v4 .epcf-classroom-controls button{min-width:43px}
  .epcf-classroom-v4 .epcf-classroom-mark{width:34px;height:34px}
  .epcf-classroom-v4 .epcf-classroom-topbar h1{font-size:15px}
  .epcf-classroom-v4 .epcf-lesson-clock{padding:4px 7px}
  .epcf-wb-text-control input{width:82px}
}
@media(prefers-reduced-motion:reduce){.epcf-classroom-v4 .epcf-video-tile{transition:none!important}}

.epcf-classroom-v4 textarea,.epcf-classroom-v4 select{font:inherit}
