.class-video-library,.class-videos-panel{min-width:0}.class-video-library .panel-head,.class-videos-panel .panel-head{gap:20px}.class-video-library h2,.class-videos-panel h2{margin:5px 0 8px}.class-video-filters{display:grid;grid-template-columns:minmax(160px,1.4fr) minmax(140px,1fr) minmax(110px,.6fr);gap:12px;margin:20px 0 12px}.class-video-filters label{min-width:0}.class-video-filters input,.class-video-filters select{width:100%;box-sizing:border-box}.class-video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:18px;margin-top:18px}.class-video-grid>.empty-small{grid-column:1/-1}.class-video-card{min-width:0;border:1px solid #dae4ed;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 4px 16px #132c4505;display:flex;flex-direction:column}.class-video-preview{display:block;width:100%;border:0;padding:0;text-align:inherit;background:#e8eff7;cursor:pointer}.class-video-preview:disabled{cursor:default}.class-video-preview:focus-visible{outline:4px solid #175cd3;outline-offset:-4px}.class-video-thumbnail{position:relative;display:flex;width:100%;aspect-ratio:16/9;align-items:center;justify-content:center;background:radial-gradient(ellipse at 25% 20%,#d7e9f6 0,#e8eef6 55%,#dce8ef 100%);overflow:hidden}.class-video-thumbnail img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.class-video-thumbnail img[hidden]{display:none}.class-video-play{position:relative;display:grid;place-items:center;width:54px;height:54px;padding-left:3px;border-radius:50%;background:#142c45e8;color:white;font-size:22px;box-shadow:0 4px 12px #142c4524;transition:transform .15s}.class-video-preview:hover .class-video-play{transform:scale(1.06)}.class-video-preview:disabled .class-video-play{opacity:.35}.class-video-duration{position:absolute;right:9px;bottom:9px;border-radius:5px;background:#142c45de;color:white;padding:3px 6px;font-size:12px}.class-video-card-copy{padding:17px;display:flex;flex-direction:column;align-items:flex-start;flex:1;min-width:0}.class-video-card-copy h3{font-size:17px;line-height:1.45;margin:5px 0 9px;max-width:100%;overflow-wrap:anywhere}.class-video-description{line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 13px;color:#475e75}.class-video-card .class-video-description{max-height:8em;overflow:auto;font-size:14px}.class-video-card-copy>.btn{margin-top:auto}.class-video-badges{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:5px}.class-video-badges span,.class-video-type{font-size:11px;color:#52677a;background:#f0f4f8;padding:3px 7px;border-radius:5px}.class-video-badges .is-published{background:#e3f4ed;color:#17644b}.class-video-assigned{margin:2px 0 14px;overflow-wrap:anywhere}.class-video-card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}.class-video-card-actions .btn{font-size:12px;padding:7px 9px;min-height:35px}.class-video-class-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.class-video-player-dialog{width:min(1040px,calc(100vw - 36px));max-width:1040px;padding:24px;box-sizing:border-box}.class-video-player-copy h3{font-size:22px;line-height:1.4;margin:4px 0 9px;overflow-wrap:anywhere}.class-video-player-copy .class-video-description{max-height:130px;overflow:auto}.class-video-stage{position:relative;width:100%;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;background:#0c1521;color:#e7edf5;border-radius:12px;overflow:hidden}.class-video-stage>video,.class-video-stage>iframe{width:100%;height:100%;display:block;border:0;object-fit:contain}.class-video-stage>p{padding:24px;line-height:1.8;text-align:center}.class-video-stage:fullscreen{border-radius:0;width:100vw;height:100vh;aspect-ratio:auto;background:#000}.class-video-player-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px}.class-video-player-tools>label{display:flex;align-items:center;gap:8px;font-size:13px;margin:0}.class-video-player-tools select{width:94px;margin:0;min-height:38px}.class-video-player-tools [hidden]{display:none!important}.class-video-player-status{font-size:13px;color:#52677a;line-height:1.65;min-height:1em;margin:12px 0 0}.class-video-editor-dialog{width:min(800px,calc(100vw - 32px));max-width:800px;box-sizing:border-box}.class-video-form{min-width:0}.class-video-form input[type=url]{max-width:100%;box-sizing:border-box}.class-video-form details{border:1px solid #dae4ed;border-radius:10px;padding:12px 14px;margin:16px 0}.class-video-form summary{font-size:14px;font-weight:650;cursor:pointer;line-height:1.5}.class-video-form details[open]>summary{margin-bottom:13px}.class-video-assignments{max-height:320px;overflow:auto;padding:0 3px}.class-video-assignments fieldset{border:1px solid #e2e9f0;border-radius:8px;margin:9px 0;padding:8px 12px}.class-video-assignments legend{padding:0 4px;max-width:100%}.class-video-assignments legend label{margin:0;flex-wrap:wrap}.class-video-assignments [data-video-class-lessons]{display:flex;flex-wrap:wrap;gap:7px 18px}.class-video-assignments [data-video-class-lessons][hidden],.class-video-form [hidden]{display:none!important}.class-video-assignments .checkbox{font-size:13px;margin:3px 0;line-height:1.6}.class-video-upload-progress{padding:14px;border-radius:9px;background:#eff6fc;margin:15px 0}.class-video-upload-progress progress{display:block;width:100%;height:13px;accent-color:#175cd3}.class-video-upload-progress p{margin:7px 0 0;font-size:13px;line-height:1.5}.class-video-form [data-video-file-check]{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.class-video-form .form-error{white-space:pre-wrap}.class-video-form .form-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:680px){.class-video-library .panel-head,.class-videos-panel .panel-head{align-items:flex-start;flex-direction:column}.class-video-library .panel-head>.button-row{width:100%;flex-wrap:wrap}.class-video-filters{grid-template-columns:1fr 1fr;gap:9px}.class-video-filters>label:first-child{grid-column:1/-1}.class-video-grid,.class-video-class-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.class-video-card-copy{padding:12px}.class-video-card-copy h3{font-size:15px}.class-video-card .class-video-description{font-size:13px;max-height:7em}.class-video-play{width:43px;height:43px;font-size:18px}.class-video-card-actions{gap:5px}.class-video-card-actions .btn{font-size:11px;padding:6px 7px}.class-video-player-dialog{padding:16px;width:calc(100vw - 18px);max-height:calc(100dvh - 20px)}.class-video-player-copy h3{font-size:18px}.class-video-player-copy .class-video-description{font-size:13px;max-height:95px}.class-video-stage{border-radius:8px}.class-video-player-tools{gap:8px}.class-video-player-tools>.btn{font-size:12px}.class-video-editor-dialog{padding:18px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.class-video-form .form-row{grid-template-columns:1fr}.class-video-assignments{max-height:280px}.class-video-assignments [data-video-class-lessons]{flex-direction:column;gap:3px}}
@media(max-width:390px){.class-video-grid,.class-video-class-grid{grid-template-columns:1fr}.class-video-player-tools>label{width:100%}}
@media(prefers-reduced-motion:reduce){.class-video-play{transition:none}}
/* Reserve space for playback tools before sizing the media to the viewport. */
.class-video-player-dialog[open]{display:flex;flex-direction:column;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:hidden}
.class-video-player-dialog>.dialog-heading{flex:0 0 auto;margin-bottom:14px}
.class-video-player-dialog>.class-video-player-copy{flex:0 1 auto;min-height:0;max-height:min(130px,20dvh);overflow:auto;overscroll-behavior:contain}
.class-video-player-dialog .class-video-player-copy .class-video-description{max-height:none;overflow:visible;margin-bottom:12px}
.class-video-player-dialog>.class-video-stage{flex:1 1 auto;min-height:0;min-width:0}
.class-video-player-dialog>.class-video-player-tools{flex:0 0 auto;margin-top:12px}
.class-video-player-dialog>.class-video-player-status{flex:0 0 auto;max-height:3.3em;overflow:auto;overscroll-behavior:contain;margin-top:10px}
.class-video-player-dialog>[data-video-retry]{flex:0 0 auto;margin-top:8px}
.class-video-player-dialog>.class-video-stage:fullscreen{flex:none;width:100vw;height:100vh;height:100dvh;max-height:none;aspect-ratio:auto}
@media(max-width:680px){.class-video-player-dialog[open]{max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px)}.class-video-player-dialog>.dialog-heading{margin-bottom:10px}.class-video-player-dialog>.class-video-player-copy{max-height:min(110px,18dvh)}.class-video-player-dialog>.class-video-player-tools{margin-top:10px}}
@media(max-height:450px){.class-video-player-dialog[open]{overflow:auto;padding-block:12px;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}.class-video-player-dialog>.dialog-heading{margin-bottom:6px}.class-video-player-dialog>.class-video-player-copy{max-height:16dvh}.class-video-player-dialog>.class-video-player-tools{margin-top:8px}.class-video-player-dialog>.class-video-player-status{margin-top:6px;max-height:1.65em}}

