.pcore-lesson-controls{display:flex;align-items:center;justify-content:center;gap:12px;padding:6px 12px;background:var(--pcore-site-surface,#fff);border-bottom:1px solid var(--pcore-site-line,#dce3ef)}
.pcore-video-progress{padding:12px 14px;background:var(--pcore-site-surface,#fff);border:1px solid var(--pcore-site-line,#dce3ef);border-bottom:0;color:var(--pcore-site-text,#14213d)}
.pcore-video-progress.is-label-covered .pcore-video-progress-track b{color:#fff;-webkit-text-fill-color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.6)}
.pcore-video-progress-track{position:relative;height:30px;overflow:hidden;border:1px solid #cbd7e9;border-radius:999px;background:#e8edf5;box-shadow:inset 0 1px 3px rgba(20,33,61,.1)}.pcore-video-progress-track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#315cf4 0%,#6b4be8 52%,#12aaa7 100%);transition:width .25s ease}.pcore-video-progress-track b{position:absolute;inset:0;display:grid;place-items:center;color:#17233b;font-size:12px;font-weight:900;line-height:1;text-shadow:0 1px 2px rgba(255,255,255,.85)}.pcore-video-progress.is-completed .pcore-video-progress-track i{background:linear-gradient(90deg,#07865f,#20bd83)}
.tutor-mark-as-complete-button.pcore-lesson-complete-action{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label icon" "hint icon";column-gap:8px;row-gap:2px;align-items:center;height:auto!important;min-height:50px;padding-top:8px!important;padding-bottom:8px!important;white-space:normal!important}.tutor-mark-as-complete-button.pcore-lesson-complete-action>.tutor-text-center{grid-area:label}.tutor-mark-as-complete-button.pcore-lesson-complete-action>svg{grid-area:icon}.tutor-mark-as-complete-button.pcore-lesson-complete-action>[data-pcore-complete-requirement]{grid-area:hint;display:block;width:100%;color:inherit;font-size:10px;font-weight:600;line-height:1.3;text-align:center;opacity:.82}
.pcore-lesson-control{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:58px;height:44px;padding:6px 11px;border:1px solid #7397ed!important;border-radius:6px;background:#eaf0ff!important;color:#194daf!important;-webkit-text-fill-color:#194daf!important;font:700 12px/1.2 Arial,sans-serif;letter-spacing:0;cursor:pointer;box-shadow:none!important;transition:border-color .15s ease,background-color .15s ease,transform .1s ease}
.pcore-lesson-control:disabled{opacity:.45;cursor:not-allowed}
.pcore-lesson-control svg,.pcore-lesson-control>span:first-child{display:block;width:18px;height:18px;font-size:18px;line-height:18px}.pcore-lesson-control:hover:not(:disabled){border-color:#315bea!important;background:#dfe8ff!important;color:#194daf!important;-webkit-text-fill-color:#194daf!important}.pcore-lesson-control:active:not(:disabled),.pcore-lesson-control.is-playing,.pcore-lesson-control[aria-busy=true]{border-color:#7397ed!important;background:#eaf0ff!important;color:#194daf!important;-webkit-text-fill-color:#194daf!important;transform:none!important}.pcore-lesson-control:focus-visible{outline:3px solid rgba(52,108,255,.35);outline-offset:2px}.pcore-lesson-control[aria-busy=true]{cursor:progress}.is-buffering+.pcore-lesson-controls .pcore-lesson-control[aria-busy=true]>span:first-child,.is-buffering+.pcore-lesson-controls .pcore-lesson-control.is-playing>span:first-child{animation:pcore-player-pulse .8s ease-in-out infinite alternate}@keyframes pcore-player-pulse{to{opacity:.45}}
.pcore-video-error{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #e7c56f;border-inline-width:0;background:#fff5d9;color:#684700;font-size:12px;line-height:1.5}.pcore-video-error[hidden]{display:none}.pcore-video-error button{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;min-height:34px;padding:6px 10px;border:1px solid #b57a00;border-radius:6px;background:#fff;color:#704b00;font:700 11px/1.2 Arial,sans-serif;cursor:pointer}
.pcore-owner-content-footer{display:flex!important;align-items:center;justify-content:space-between;gap:12px;position:relative;z-index:1}
.pcore-owner-content-footer .tutor-btn:not([aria-disabled="true"]){min-height:44px;background:#2859ed!important;border-color:#6f62ed!important;color:#fff!important}
.pcore-owner-content-footer [aria-disabled="true"]{pointer-events:none;opacity:.4}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"]) .pcore-lesson-controls{background:#1c222d;border-color:#3a4556}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],body.pcore-theme-dark,body.tutor-theme-dark) .pcore-lesson-control,:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],body.pcore-theme-dark,body.tutor-theme-dark) .pcore-lesson-control:hover:not(:disabled),:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],body.pcore-theme-dark,body.tutor-theme-dark) .pcore-lesson-control:active:not(:disabled),:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],body.pcore-theme-dark,body.tutor-theme-dark) .pcore-lesson-control.is-playing,:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],body.pcore-theme-dark,body.tutor-theme-dark) .pcore-lesson-control[aria-busy=true]{border-color:#648be1!important;background:#263b61!important;color:#edf3ff!important;-webkit-text-fill-color:#edf3ff!important}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],body.pcore-theme-dark,body.tutor-theme-dark) .pcore-video-error{border-color:#735a29;background:#3c311d;color:#ffe7a8}:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"],body.pcore-theme-dark,body.tutor-theme-dark) .pcore-video-error button{border-color:#9d7b35;background:#202938;color:#ffe9ad}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"]) .pcore-video-progress{background:#171e2b;border-color:#344157;color:#f5f7fb}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"]) .pcore-video-progress-track{border-color:#43516a;background:#283246;box-shadow:inset 0 1px 3px rgba(0,0,0,.35)}
:is(html[data-pcore-theme="dark"],html[data-tutor-theme="dark"]) .pcore-video-progress-track b{color:#f7f9ff;text-shadow:0 1px 3px rgba(0,0,0,.85)}
html.pcore-video-full-window-open{overflow:hidden!important}
html.pcore-video-full-window-open :is(.pcore-front-mobile-nav,.pcore-universal-mobile-nav,.tutor-dashboard-nav-mobile){display:none!important}
html.pcore-video-full-window-open .pcore-video-full-window.pcore-video-full-window{position:fixed!important;inset:0!important;z-index:2147483646!important;width:100vw!important;height:calc(100dvh - 56px)!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;margin:0!important;background:#000!important}
html.pcore-video-full-window-open .pcore-video-full-window+.pcore-lesson-controls{position:fixed!important;inset:auto 0 0!important;height:56px;box-sizing:border-box;z-index:2147483647;background:#111827}
.pcore-video-full-window video{object-fit:contain!important}
.pcore-lesson-media:fullscreen{width:100%!important;height:100%!important;aspect-ratio:auto!important;background:#000!important}
.pcore-lesson-media:fullscreen :is(video,iframe,.plyr,.plyr__video-wrapper){width:100%!important;height:100%!important;object-fit:contain!important}

/* Tutor's fixed footer must sit above the app/site navigation, not behind it. */
@media(max-width:1024px){
  .tutor-learning-area .tutor-learning-area-content{padding-bottom:calc(var(--pcore-learning-nav-height,0px) + var(--pcore-learning-footer-height,0px) + 16px)!important}
  .tutor-learning-area-footer{bottom:var(--pcore-learning-nav-height,0px)!important;box-sizing:border-box;max-width:100%}
  .tutor-learning-area-footer[data-lesson]{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px!important;padding:12px 16px!important}
  .tutor-learning-area-footer[data-lesson]>a{min-width:0!important;width:100%!important;min-height:44px;white-space:normal}
  .tutor-learning-area-footer[data-lesson]>a:last-child{grid-column:2;grid-row:1}
  .tutor-learning-area-footer[data-lesson]>form{grid-column:1/-1;grid-row:2;width:100%!important;min-width:0;margin:0!important}
  .tutor-learning-area-footer[data-lesson] .tutor-mark-as-complete-button{width:100%;min-width:0;min-height:50px;height:auto;white-space:normal}
  .pcore-owner-content-footer{box-sizing:border-box;min-width:0;padding:12px 16px!important}
  .pcore-owner-content-footer .tutor-btn{white-space:normal}
  .tutor-learning-area #tutor-lesson-nav-take-note-btn{bottom:calc(var(--pcore-learning-nav-height,0px) + var(--pcore-learning-footer-height,0px) + 12px)!important}
}
@media(max-width:680px){
  .pcore-video-progress{padding:9px 10px}
  .pcore-video-progress-track{height:28px}
  .pcore-lesson-controls{gap:8px;padding:7px 8px}
  .pcore-lesson-control{min-width:55px;height:42px;padding:5px 8px;font-size:11px}
  .pcore-video-error{align-items:stretch;flex-direction:column}.pcore-video-error button{width:100%}
}
@media(prefers-reduced-motion:reduce){.pcore-lesson-control,.pcore-lesson-control>span{animation:none!important;transition:none!important}}
.pcore-sipdora-cloud-lesson{aspect-ratio:16/9;background:#09070f;overflow:hidden;position:relative;width:100%}.pcore-sipdora-cloud-lesson iframe{border:0;height:100%;inset:0;position:absolute;width:100%}.pcore-sipdora-cloud-lesson+.pcore-lesson-controls{display:none!important}
