#classroomWorkspace{font-family:Pretendard,"Malgun Gothic",sans-serif;color:#476274}.clp-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dce6e7;padding:4px 0 16px;margin-bottom:18px}.clp-heading small{font-size:8px;letter-spacing:1.8px;color:#a4b4b7}.clp-heading h2{font-size:23px!important;letter-spacing:-1px;margin:4px 0 0}.clp-create{display:flex;gap:5px;align-items:center;background:#6d929f;color:#fff;border:1px solid #5e8290;border-radius:6px;padding:10px 16px;font-size:12px;cursor:pointer;box-shadow:0 2px 0 #d0dfe1}.clp-create span{font-size:17px;line-height:1}.clp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.clp-card{border:1px solid #dce6e4;background:#fcfdfb;border-radius:9px;overflow:hidden}.clp-cover{display:block;width:100%;aspect-ratio:16/9;position:relative;overflow:hidden;background:#d7e2dc;border:0;padding:0;cursor:pointer}.clp-cover img{width:100%;height:100%;object-fit:cover}.clp-short-cover img{object-fit:contain;background:#273730}.clp-badge{position:absolute;left:10px;top:9px;background:#ffffffeb;color:#617a76;border-radius:4px;padding:4px 6px;font-size:8px;letter-spacing:.5px}.clp-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid #ffffffa0;border-radius:50%;background:#263e4c70;color:white;width:39px;height:39px;display:grid;place-items:center;font-size:23px;padding-left:2px;backdrop-filter:blur(3px)}.clp-card-info{padding:13px}.clp-card h3{font-size:14px!important;line-height:1.6;margin:0 0 9px!important;color:#4e6c78}.clp-card-info>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.clp-card-info span{font-size:10px;color:#9baeb0}.clp-card-info button{border:0;background:none;color:#7a969e;font-size:10px;cursor:pointer;padding:3px}.clp-player{border:1px solid #d6e3df;border-radius:9px;padding:16px;background:#f4f7f2;margin-bottom:23px}.clp-player header{display:flex;justify-content:space-between;margin-bottom:13px}.clp-player header span{font-size:8px;color:#94aaa1;letter-spacing:1px}.clp-player header h3{font-size:16px;letter-spacing:-.5px;margin:5px 0 0}.clp-player header button{border:0;background:none;font-size:25px;color:#93a9a6;align-self:start;cursor:pointer}.clp-screen{aspect-ratio:16/9;width:100%;max-width:760px;margin:0 auto;background:#182622;border-radius:6px;overflow:hidden}.clp-screen iframe{width:100%;height:100%;border:0;display:block}.clp-short-player .clp-screen{aspect-ratio:9/16;max-width:230px;max-height:410px}.clp-player>a{display:block;text-align:right;font-size:10px;margin-top:11px;color:#89a19b}.clp-empty{padding:45px 15px;text-align:center;font-size:12px;color:#94aaa7}.clp-empty>span{font-size:40px}.clp-empty h3{font-size:17px;color:#6d8b87}.clp-empty p{font-size:11px}#clpMessage{font-size:11px;color:#8b9f9c}.clp-dialog{width:min(440px,calc(100% - 24px));max-height:90dvh;overflow:auto;padding:24px;border:1px solid #b7cdd0;background:#fafcf8;border-radius:13px;color:#526e79;box-shadow:0 20px 70px #1f3b4840}.clp-dialog::backdrop{background:#213c4b50;backdrop-filter:blur(3px)}.clp-dialog header{display:flex;justify-content:space-between;margin-bottom:22px;align-items:center}.clp-dialog h2{font-size:21px;margin:0}.clp-dialog header button{border:0;background:none;font-size:25px;color:#94aaa9}.clp-dialog label{font-size:11px;font-weight:bold;display:block;margin:17px 0 8px}.clp-dialog input,.clp-dialog select{width:100%;padding:11px;border:1px solid #d2dfdb;border-radius:6px;font:12px "Malgun Gothic",sans-serif;background:white;color:#67818b}.clp-dialog p{font-size:10px;color:#9bada7;line-height:1.8}#clpError{color:#b17f63}.clp-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.clp-dialog footer>button{border:1px solid #c8d9d8;background:white;border-radius:6px;padding:9px 17px;font-size:11px;color:#7d9698}.clp-dialog footer>.clp-create{background:#6d929f;color:white;border-color:#6d929f}
@media((max-width:900px) and (not ((hover: hover) and (pointer: fine)))){.clp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}@media((max-width:640px) and (not ((hover: hover) and (pointer: fine)))){.clp-heading{padding-bottom:13px;margin-bottom:13px}.clp-heading h2{font-size:20px!important}.clp-create{padding:9px 11px;font-size:11px}.clp-grid{grid-template-columns:1fr;gap:15px}.clp-card-info{padding:12px}.clp-cover{aspect-ratio:16/9}.clp-card h3{font-size:14px!important}.clp-player{padding:11px}.clp-short-player .clp-screen{max-width:196px;max-height:349px}.clp-player header h3{font-size:14px}.clp-dialog{padding:20px}.clp-dialog input{font-size:11px}}
/* Separate lecture collections while retaining one registration flow. */
.clp-room-tabs{display:flex;gap:6px;margin:0 0 20px;padding:0 0 13px;border-bottom:1px solid #e2eae6}
.clp-room-tabs button{display:flex;align-items:center;gap:9px;border:1px solid #ceddd8;border-radius:6px;background:#f6f9f5;color:#7c9696;font:12px Pretendard,"Malgun Gothic",sans-serif;padding:10px 16px;cursor:pointer}
.clp-room-tabs button[aria-selected="true"]{background:#6e929b;color:white;border-color:#6e929b;box-shadow:0 2px 0 #d2e0dc}
.clp-room-tabs button span{display:grid;place-items:center;font-size:10px;min-width:20px;height:19px;border-radius:4px;background:#e6eeea;color:#839b96}
.clp-room-tabs button[aria-selected="true"] span{background:#ffffff26;color:#fff}
.clp-room-tabs button:focus-visible{outline:2px solid #c28d65;outline-offset:3px}
@media((max-width:640px) and (not ((hover: hover) and (pointer: fine)))){.clp-room-tabs{gap:6px;margin-bottom:16px;padding-bottom:12px}.clp-room-tabs button{flex:1;justify-content:center;font-size:11px;padding:10px 7px;gap:7px}}

/* The embedded boards share the resource-board toolbar and slot geometry. */
:is(#view-vocabulary,#view-studyroom,#view-classroom) :is(.study-board-toolbar,.clp-board-toolbar){display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:nowrap!important;margin:0 0 12px!important;padding:0 0 12px!important;border:0!important;border-bottom:1px solid #e2e8ec!important;min-width:0!important}
:is(#view-vocabulary,#view-studyroom,#view-classroom) .study-board-toolbar-start{flex:1 1 0!important;min-width:0!important;overflow-x:auto!important;scrollbar-width:thin!important}
:is(#view-vocabulary,#view-studyroom,#view-classroom) :is(.sv-board-slots,.sr-board-slots,.clp-board-slots){display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;width:max-content!important;gap:5px!important;margin:0!important;padding:0!important;border:0!important}
:is(#view-vocabulary,#view-studyroom,#view-classroom) :is(.sv-board-slots .sv-btn,.sr-board-slot,.clp-board-slot){display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;gap:0!important;height:32px!important;min-height:32px!important;padding:5px 10px!important;margin:0!important;border:1px solid #d7e0e9!important;border-radius:4px!important;background:#fff!important;color:#536b82!important;font:500 12px/1.3 Pretendard,"Malgun Gothic",sans-serif!important;white-space:nowrap!important;box-shadow:none!important;opacity:1!important}
:is(#view-vocabulary,#view-studyroom,#view-classroom) :is(.sv-board-slots [aria-current="page"],.sr-board-slot.active,.clp-board-slot.active){background:#edf3f8!important;border-color:#94afc4!important;color:#244f72!important}
:is(#view-vocabulary,#view-studyroom,#view-classroom) :is(.sv-board-slots [aria-disabled="true"],.sr-board-slot.locked,.clp-board-slot:disabled){background:#f8fafc!important;color:#8c98a7!important;cursor:not-allowed!important}
:is(#view-vocabulary,#view-studyroom,#view-classroom) .study-lock-label{display:inline-flex!important;align-items:center!important;gap:3px!important;margin-left:4px!important;padding:0!important;background:transparent!important;border:0!important;color:#7d8793!important;font-size:10px!important;line-height:1.2!important}
:is(#view-vocabulary,#view-studyroom,#view-classroom) .study-lock-label svg{width:12px!important;height:12px!important;display:block;flex:none}
:is(#view-vocabulary,#view-studyroom,#view-classroom) .study-toolbar-actions{flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:nowrap!important}
:is(#view-vocabulary,#view-studyroom,#view-classroom) :is(.study-toolbar-actions .sv-btn,#srWriteBtn,.clp-create){height:32px!important;min-height:32px!important;padding:5px 10px!important;border-radius:6px!important;font:600 12px/1.3 Pretendard,"Malgun Gothic",sans-serif!important;box-shadow:none!important;white-space:nowrap!important}
:is(#view-vocabulary,#view-studyroom,#view-classroom) :is(.sv-primary,#srWriteBtn,.clp-create){background:#315d87!important;border:1px solid #315d87!important;color:white!important}
@media((max-width:640px) and (not ((hover: hover) and (pointer: fine)))){
 :is(#view-vocabulary,#view-studyroom,#view-classroom) :is(.study-board-toolbar,.clp-board-toolbar){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;align-items:start!important}
 :is(#view-vocabulary,#view-studyroom,#view-classroom) .study-board-toolbar-start{width:100%!important;max-width:100%!important}
 :is(#view-vocabulary,#view-studyroom,#view-classroom) .study-toolbar-actions{justify-content:flex-end!important}
 :is(#view-vocabulary,#view-studyroom,#view-classroom) :is(.sv-board-slots .sv-btn,.sr-board-slot,.clp-board-slot){font-size:11px!important;padding:5px 8px!important}
}

/* Match the resource board's one-pixel paper edge. */
#view-classroom #clOuter{border:1px solid #dce5ec}

/* Fit each collection's slots to the mobile paper, without horizontal scrolling. */
@media((max-width:640px) and (not ((hover: hover) and (pointer: fine)))){
 :is(#view-vocabulary #svWorkspace,#view-studyroom #srOuter,#view-classroom #clOuter) .study-board-toolbar-start{overflow:visible!important;min-width:0!important}
 :is(#view-vocabulary #svWorkspace,#view-studyroom #srOuter,#view-classroom #clOuter) :is(.sv-board-slots,.sr-board-slots,.clp-board-slots){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
 :is(#view-vocabulary #svWorkspace,#view-studyroom #srOuter,#view-classroom #clOuter) :is(.sv-board-slots .sv-btn,.sr-board-slot,.clp-board-slot){width:100%!important;min-width:0!important;max-width:100%!important;padding:5px 3px!important;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis}
 :is(#view-vocabulary #svWorkspace,#view-studyroom #srOuter,#view-classroom #clOuter) .study-lock-label{margin-left:3px!important;gap:0!important;flex:none}
 :is(#view-vocabulary #svWorkspace,#view-studyroom #srOuter,#view-classroom #clOuter) .study-toolbar-actions{overflow:visible!important;max-width:100%;min-width:0;flex-wrap:wrap!important;row-gap:5px!important}
}
@media((max-width:260px) and (not ((hover: hover) and (pointer: fine)))){
 :is(#view-vocabulary #svWorkspace,#view-studyroom #srOuter,#view-classroom #clOuter) :is(.sv-board-slots,.sr-board-slots,.clp-board-slots){grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
