:root { color-scheme: light; --ink: #14213d; --muted: #64708a; --line: #d5dcea; --surface: #ffffff; --wash: #f3f6fb; --accent: #e85d4a; --accent-dark: #b43a32; --blue: #3157c8; --blue-dark: #203b91; --shadow: 0 18px 45px #14213d14; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--wash); font: 1rem/1.6 Inter, ui-sans-serif, system-ui, sans-serif; }
.site-header { color: white; background: var(--ink); border-bottom: 4px solid var(--accent); }
.site-header .page { padding-top: 1rem; padding-bottom: 1rem; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: white; font-size: 1.05rem; letter-spacing: -.02em; text-decoration: none; }
.brand:hover { color: white; }
.brand__mark { display: grid; width: 2rem; height: 2rem; place-items: center; color: var(--ink); background: var(--accent); border-radius: .35rem; font-size: .75rem; }
.brand__note { color: #b6c1dc; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.page { max-width: 72rem; margin: 0 auto; padding: 4.5rem 1.5rem; }
main.page { min-height: calc(100vh - 5rem); }
a { color: var(--blue); font-weight: 700; text-underline-offset: .2em; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.045em; }
h1 { margin: .5rem 0 1rem; font-family: Georgia, serif; font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 400; }
h2 { margin-top: 2.75rem; font-size: clamp(1.5rem, 3vw, 2.15rem); }
.page-header { max-width: 46rem; margin-bottom: 3rem; }
.page-header h1 { margin: .35rem 0 .8rem; }
.page-header > p:last-child { color: var(--muted); font-size: 1.15rem; }
.badge { display: inline-flex; margin: 0; padding: .3rem .65rem; color: var(--accent-dark); background: #ffe1da; border-radius: .25rem; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.breadcrumb { margin-bottom: 1.25rem; font-size: .9rem; }
.breadcrumb a { color: var(--muted); font-weight: 700; }
.breadcrumb a:hover { color: var(--blue-dark); }
.breadcrumb a::before { content: "← "; }
.course-catalog { max-width: 86rem; }
.catalog-header { max-width: 46rem; margin-bottom: 1.75rem; }
.catalog-header h1 { margin: .35rem 0 .8rem; font-size: clamp(3rem, 7vw, 5rem); }
.catalog-header > p:last-child { color: var(--muted); font-size: 1.1rem; }
.course-grid { display: grid; gap: 1rem; }
.course-card { position: relative; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; min-height: 0; padding: 1.35rem 1.5rem; overflow: hidden; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-left: .35rem solid var(--accent); border-radius: .7rem; box-shadow: var(--shadow); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.course-card:hover { color: var(--ink); transform: translateY(-.2rem); box-shadow: 0 22px 48px #14213d1c; }
.course-card__index { color: var(--accent-dark); font: 700 1rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.course-card__body { min-width: 0; }
.course-card h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 2rem); }
.course-card__body p { margin: .35rem 0 0; color: var(--muted); }
.course-card__action { justify-self: end; margin: 0; padding-bottom: .2rem; color: var(--blue); border-bottom: 2px solid var(--accent); font-weight: 800; white-space: nowrap; }
.course-card__action span { display: inline-block; margin-left: .4rem; transition: transform .18s ease; }
.course-card:hover .course-card__action span { transform: translateX(.25rem); }
.course-hero { margin-bottom: 2rem; }
.course-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.video-section { max-width: 58rem; margin-bottom: 1rem; padding: 1.25rem 1.5rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: .7rem; box-shadow: 0 8px 24px #14213d0a; }
.video-section summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; }
.video-section summary::-webkit-details-marker { display: none; }
.video-section summary::after { display: grid; width: 1.8rem; height: 1.8rem; flex: none; place-items: center; content: "+"; color: var(--blue); border: 1px solid var(--line); border-radius: 50%; font-size: 1.2rem; line-height: 1; }
.video-section[open] summary::after { content: "−"; color: var(--accent-dark); }
.video-section h2 { margin: .2rem 0 0; font-size: clamp(1.35rem, 3vw, 1.85rem); }
.section-label { display: block; color: var(--accent-dark); font-size: .7rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.section-meta { flex: none; color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.video-section--extra h2 { color: var(--muted); }
.video-list { max-width: 52rem; margin: 1.25rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.video-list__item { border-bottom: 1px solid var(--line); }
.video-list__item:last-child { border-bottom: 0; }
.video-list__link { display: flex; align-items: flex-start; gap: 1rem; padding: .75rem 0; color: var(--ink); text-decoration: none; }
.video-list__link:hover { color: var(--blue); }
.video-list__thumb { width: 9rem; aspect-ratio: 16 / 9; flex: none; object-fit: cover; border-radius: .3rem; background: #dfe5f2; }
.video-list__thumb--empty { display: grid; place-items: center; color: var(--muted); font-size: 1.25rem; }
.video-list__details { display: flex; min-width: 0; flex-direction: column; gap: .2rem; padding-top: .15rem; }
.video-list__details strong { font-size: 1.1rem; line-height: 1.3; }
.video-list__details span { color: var(--muted); font-size: .95rem; }
.video-list__details .video-list__meta { color: var(--accent-dark); font: 800 .78rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: .7rem; padding: 1.5rem; margin: 1.25rem 0; }
.watch-page { max-width: 76rem; padding-top: 2rem; }
.watch-heading { max-width: 70rem; margin: 1rem 0 1.5rem; }
.watch-heading .eyebrow { margin-bottom: .55rem; }
.watch-heading .badge { margin-bottom: .9rem; }
.watch-heading h1 { margin: 0 0 .65rem; font-size: clamp(2.35rem, 5vw, 4rem); }
.watch-heading p:last-child { color: var(--muted); }
.player { max-width: 70rem; margin-top: 0; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: .7rem; box-shadow: var(--shadow); }
.player .video-js { border-radius: .35rem; background: var(--ink); }
.player-video { position: relative; }
.watch-page h2 { margin-top: 2.5rem; }
.quality { display: flex; align-items: center; gap: .75rem; margin: .9rem 0 0; }
.quality label { margin: 0; color: var(--muted); font-size: .85rem; font-weight: 800; }
.quality select { width: auto; min-width: 9rem; }
.autoplay-countdown[hidden] { display: none; }
.autoplay-countdown { position: absolute; right: .75rem; bottom: 3.75rem; z-index: 3; display: flex; width: min(25rem, calc(100% - 1.5rem)); margin: 0; padding: .6rem; color: white; background: #101b35f2; border: 1px solid #ffffff26; border-radius: .3rem; box-shadow: 0 .5rem 1.5rem #00000066; }
.autoplay-countdown img { width: 7.5rem; aspect-ratio: 16 / 9; flex: none; align-self: center; object-fit: cover; border-radius: .2rem; background: #25375c; }
.autoplay-countdown__body { min-width: 0; padding: .15rem .5rem .15rem .75rem; }
.autoplay-countdown strong { display: block; overflow: hidden; font-size: .9rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.autoplay-countdown p { margin: .25rem 0 .55rem; color: #d7def0; font-size: .82rem; }
.autoplay-countdown [data-countdown-value] { color: var(--accent); font: 800 1rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.autoplay-countdown__actions { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.autoplay-countdown__actions button { margin: 0; padding: .35rem .55rem; font-size: .78rem; }
.chapters { max-width: 70rem; padding-left: 0; list-style: none; border: 1px solid var(--line); border-radius: .7rem; background: var(--surface); overflow: hidden; }
.chapters li { margin: 0; }
.chapters li + li { border-top: 1px solid var(--line); }
.chapters button { display: flex; align-items: baseline; gap: .9rem; width: 100%; min-height: 0; margin: 0; padding: .8rem 1.1rem; text-align: left; background: transparent; color: var(--ink); border: 0; border-left: .3rem solid transparent; border-radius: 0; font-weight: 700; }
.chapters button:hover { background: #edf3fb; border-left-color: var(--accent); }
.chapters span { flex: none; min-width: 4rem; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 400; }
.next-videos { max-width: 70rem; margin-top: 3.5rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-top: .35rem solid var(--accent); border-radius: .7rem; box-shadow: var(--shadow); }
.next-videos__heading h2 { margin: .2rem 0 1.25rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.next-videos .video-list { max-width: none; }
.next-videos__featured { margin-top: 0; }
.next-videos h3 { margin: 1.5rem 0 .75rem; font-size: 1rem; letter-spacing: -.02em; }
.next-videos__list { margin-top: 0; }
.admin-shell { max-width: 58rem; }
.not-found-page { position: relative; max-width: 58rem; padding-top: 8rem; padding-bottom: 8rem; overflow: hidden; }
.not-found-orbit { position: absolute; top: 3rem; right: 4rem; width: 11rem; height: 11rem; border: 1px solid var(--accent); border-radius: 50%; opacity: .45; }
.not-found-orbit span { position: absolute; top: 50%; left: 50%; width: 1.1rem; height: 1.1rem; transform: translate(-50%, -50%) translate(var(--orbit-x, 0), var(--orbit-y, 0)); background: var(--accent); border-radius: 50%; transition: transform .16s ease-out; }
.not-found-mark { position: relative; z-index: 1; margin-bottom: 2rem; color: var(--accent); font: 800 clamp(4.5rem, 16vw, 10rem)/.8 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.12em; }
.not-found-page h1 { max-width: 34rem; margin: .4rem 0 1rem; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.not-found-copy { max-width: 30rem; margin: 0 0 2rem; color: var(--muted); font-size: 1.1rem; }
@media (max-width: 40rem) { .not-found-page { padding-top: 5rem; padding-bottom: 5rem; } .not-found-orbit { top: 2rem; right: -4rem; } }
@media (prefers-reduced-motion: reduce) { .not-found-orbit span { transition: none; } }
.course-editor { max-width: 86rem; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.admin-toolbar form { margin: 0; }
.admin-toolbar button { margin-top: 0; }
.watch-admin-toolbar { max-width: 58rem; color: var(--muted); font-size: .85rem; }
.watch-admin-toolbar > span:last-child { display: flex; flex-wrap: wrap; gap: 1rem; }
.admin-login { max-width: 32rem; }
.admin-shell > h1 { max-width: 38rem; font-family: inherit; font-size: clamp(2rem, 4vw, 3rem); font-weight: 750; letter-spacing: -.05em; }
.admin-shell h2 { font-size: 1.8rem; }
.admin-shell form p { margin: 0 0 1rem; }
.admin-shell input[type="checkbox"] { width: auto; margin: 0 .45rem 0 0; vertical-align: middle; }
.admin-shell label { margin-bottom: .35rem; }
.admin-list { padding: 0; list-style: none; }
.admin-list li { margin: .65rem 0; padding: 1rem 1.15rem; background: var(--surface); border: 1px solid var(--line); border-left: .3rem solid var(--blue); border-radius: .5rem; box-shadow: 0 8px 24px #14213d0d; }
.pill { display: inline-flex; align-items: center; margin: 0 .25rem; padding: .15rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pill--published { color: #176b42; background: #e4f6eb; }
.pill--draft { color: var(--accent-dark); background: #ffe1da; }
.pill--state { color: var(--blue-dark); background: #dfe5f2; }
.pill--ready { color: #176b42; background: #e4f6eb; }
.pill--failed { color: #9d2d27; background: #ffe8e5; }
.action-link { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; color: white; background: var(--blue); border-radius: .35rem; text-decoration: none; font-weight: 800; }
.action-link:hover { color: white; background: var(--blue-dark); }
.action-link--small { min-height: 0; margin: 0; padding: .45rem .7rem; font-size: .82rem; }
.section-row { display: flex; align-items: stretch; gap: .6rem; }
.section-form { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: .6rem; margin: .6rem 0; padding: .8rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: .5rem; }
.section-delete-form { display: flex; align-items: center; margin: .6rem 0; }
.section-delete-form button { margin-top: 0; min-height: 0; padding: .5rem .8rem; }
.section-form input { width: auto; flex: 1 1 10rem; max-width: none; padding: .5rem .6rem; }
.section-form input[type="number"] { flex: 0 1 6rem; }
.section-form button { margin-top: 0; min-height: 0; padding: .5rem .8rem; }
input, textarea, button, select { font: inherit; }
input, textarea, select { width: 100%; max-width: 42rem; border: 1px solid #aeb8c8; border-radius: .35rem; padding: .7rem .8rem; background: var(--surface); color: var(--ink); }
textarea { min-height: 7rem; }
label { display: block; margin-bottom: .35rem; font-weight: 750; }
button { min-height: 2.75rem; margin-top: .5rem; border: 0; border-radius: .35rem; padding: .65rem 1rem; background: var(--blue); color: white; font-weight: 800; cursor: pointer; }
button:hover { background: var(--blue-dark); }
.video-js button { min-height: 0; margin: 0; padding: 0; border-radius: 0; background: transparent; font-weight: inherit; }
.video-js button:hover { background: transparent; }
button.danger { background: var(--accent-dark); }
button.secondary { background: #dfe5f2; color: var(--ink); }
form { margin: 1.25rem 0; }
form p { max-width: 42rem; }
.status { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: .35rem solid var(--blue); border-radius: 0 .5rem .5rem 0; background: var(--surface); box-shadow: var(--shadow); }
.status > p { margin: 0 0 .75rem; }
.status > p:last-child { margin-bottom: 0; }
.status-error { margin: 1rem 0; padding: .8rem .9rem; color: #9d2d27; background: #fff5f3; border: 1px solid #ffd8d3; border-radius: .35rem; }
.status-error strong { display: block; }
.log-button { min-height: 0; margin: .75rem 0 0; padding: 0; color: var(--blue-dark); background: transparent; font-size: .8rem; text-decoration: underline; }
.log-button:hover { background: transparent; color: var(--blue); }
.log-modal { width: min(46rem, calc(100% - 2rem)); max-height: min(80vh, 42rem); padding: 1.25rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: .7rem; box-shadow: 0 1.5rem 4rem #111a2e55; }
.log-modal::backdrop { background: #111a2e99; backdrop-filter: blur(3px); }
.log-modal__header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.log-modal h2 { margin: .2rem 0 0; font-size: 1.5rem; }
.log-modal__close { min-width: 2.5rem; min-height: 2.5rem; margin: 0; padding: 0; color: var(--muted); background: transparent; font-size: 1.75rem; line-height: 1; }
.log-modal__close:hover { color: var(--ink); background: #edf3fb; }
.log-modal pre { max-height: 55vh; margin: 1.25rem 0 0; padding: 1rem; overflow: auto; color: #d7def0; background: var(--ink); border-radius: .35rem; white-space: pre-wrap; overflow-wrap: anywhere; font: .78rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.encoding-progress { display: grid; gap: .75rem; margin-top: 1.25rem; }
.encoding-progress__item > div { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; font-weight: 800; }
.encoding-progress progress { display: block; width: 100%; height: .55rem; margin-top: .25rem; accent-color: var(--blue); }
.encoding-progress progress::-webkit-progress-bar { border-radius: 999px; background: #dfe5f2; }
.encoding-progress progress::-webkit-progress-value { border-radius: 999px; background: var(--blue); }
.encoding-progress progress::-moz-progress-bar { border-radius: 999px; background: var(--blue); }
.alert { border-radius: .35rem; padding: .75rem 1rem; }
.error { color: #9d2d27; background: #ffe8e5; font-weight: 700; }
.success { color: #176b42; background: #e4f6eb; font-weight: 700; }
:focus-visible { outline: 3px solid #f0a500; outline-offset: 3px; }
.editor-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.editor-heading h1 { margin: .35rem 0 .7rem; }
.editor-index { color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.eyebrow, .card-kicker { margin: 0; color: var(--accent-dark); font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.editor-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(15rem, .8fr); gap: 1.25rem; }
.editor-card { padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: .7rem; box-shadow: var(--shadow); }
.editor-player { margin-bottom: 1.25rem; padding-bottom: 1.25rem; }
.editor-player h2 { margin-bottom: 1rem; }
.editor-player .video-js { border-radius: .35rem; background: var(--ink); }
.player-time { color: var(--muted); font: 800 .85rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
.chapter-capture { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.chapter-capture button { margin: 0; }
.chapter-capture span { color: var(--muted); font-size: .88rem; }
.editor-card--aside { align-self: start; }
.poster-upload { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.poster-upload h3 { margin: 0 0 .75rem; font-size: 1.1rem; }
.poster-preview { display: block; width: 100%; margin-bottom: 1rem; border-radius: .35rem; }
.poster-upload form { margin: 0; }
.poster-upload button { margin-top: 0; }
.editor-card--primary form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
.editor-card--primary form p, .collection-card form p { max-width: none; }
.editor-card--primary form p:nth-child(3), .editor-card--primary .form-footer { grid-column: 1 / -1; }
.collection-card textarea { max-width: 56rem; }
.editor-card h2 { margin: .35rem 0 1.5rem; }
.card-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.card-number { color: #aeb8c8; font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.form-footer button { margin: 0; }
.check-label { margin: 0; }
.check-label input { width: auto; }
.visibility-status { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.editor-card--aside p { color: var(--muted); font-size: .9rem; }
.collection-card { margin-top: 1.25rem; }
.collection-card > .card-heading { align-items: center; }
.collection-card > .card-heading .action-link { margin-left: auto; }
.collection-count { display: inline-grid; min-width: 2rem; height: 2rem; margin-left: .3rem; padding: 0 .45rem; place-items: center; color: var(--blue-dark); background: #dfe5f2; border-radius: 999px; font: 800 .8rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0; vertical-align: middle; }
.video-group { margin-top: 1.75rem; }
.video-group + .video-group { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.video-group h3 { display: flex; align-items: center; gap: .55rem; margin: 0 0 .65rem; font-size: 1rem; letter-spacing: -.02em; }
.video-group h3 span { color: var(--muted); font: 800 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.video-admin-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .55rem 0; padding: .75rem 1rem; background: var(--surface); border: 1px solid var(--line); border-left: .3rem solid var(--blue); border-radius: .5rem; box-shadow: 0 8px 24px #14213d0d; }
.video-admin-row__main { display: flex; min-width: 0; align-items: center; flex-wrap: wrap; gap: .45rem; }
.video-admin-row__main strong { overflow-wrap: anywhere; }
.video-admin-row__actions { display: flex; flex: none; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; }
.video-admin-row__actions form { margin: 0; }
.visibility-toggle__button { min-height: 0; margin: 0; padding: .45rem .7rem; color: var(--blue-dark); background: #dfe5f2; font-size: .82rem; }
.visibility-toggle__button:hover { color: white; background: var(--blue); }
.visibility-toggle__button--published { color: #176b42; background: #e4f6eb; }
.visibility-toggle__button--published:hover { color: white; background: #176b42; }
.empty-state { color: var(--muted); }
.row-actions { display: inline-flex; float: right; align-items: center; flex-wrap: wrap; gap: .4rem; margin-left: 1rem; }
.row-actions form { margin: 0; }
.upload-page { max-width: 70rem; }
.upload-heading > div { flex: 1; min-width: 0; }
.upload-heading > div > p:last-child { max-width: none; margin: 0; color: var(--muted); font-size: 1.1rem; white-space: nowrap; }
.upload-course { max-width: 15rem; padding: .75rem 1rem; border-left: 3px solid var(--accent); color: var(--muted); font-size: .85rem; font-weight: 750; }
.upload-form { margin: 0; }
.upload-card { margin: 1.25rem 0; padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: .7rem; box-shadow: var(--shadow); }
.upload-card--file { background: var(--ink); color: white; border-color: var(--ink); }
.upload-card--file .card-kicker { color: #ff927f; }
.upload-card--file h2 { color: white; }
.file-type { padding: .3rem .55rem; color: var(--ink); background: var(--accent); border-radius: .2rem; font-size: .7rem; font-weight: 900; letter-spacing: .1em; }
.dropzone { position: relative; display: grid; min-height: 14rem; place-items: center; align-content: center; gap: .35rem; padding: 2rem; overflow: hidden; border: 1px dashed #7180a4; border-radius: .45rem; color: #d7def0; text-align: center; cursor: pointer; }
.dropzone::before { position: absolute; inset: 0 auto 0 0; width: var(--upload-fill, 0%); background: #805a3b; content: ""; transition: width .2s ease; }
.dropzone > span, .dropzone > strong { position: relative; z-index: 1; }
.dropzone:hover, .dropzone--active { background: #25375c; border-color: var(--accent); }
.dropzone--selected { border-style: solid; border-color: #63d19a; }
.dropzone__icon { display: grid; width: 3rem; height: 3rem; margin-bottom: .5rem; place-items: center; color: var(--ink); background: var(--accent); border-radius: 50%; font-size: 1.6rem; line-height: 1; }
.dropzone strong { color: white; font-size: 1.15rem; }
.dropzone input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.file-note { margin: .85rem 0 0; color: #aebbd9; font-size: .85rem; }
.upload-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.upload-fields p { margin: 0 0 1.25rem; }
.upload-fields p:nth-child(3), .upload-fields p:nth-child(4) { grid-column: span 2; }
.upload-fields label span { color: var(--muted); font-size: .8rem; font-weight: 500; }
.upload-fields small { display: block; margin-top: .35rem; color: var(--muted); }
.upload-footer { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; }
.upload-footer button { margin: 0; }
.upload-footer button:disabled { cursor: wait; opacity: .7; }
.upload-status { margin: 0 auto 0 0; color: var(--muted); font-size: .9rem; }
.upload-status strong, .upload-status [data-upload-speed], .upload-status [data-upload-eta] { margin-left: .35rem; }
.upload-status progress { display: block; width: min(18rem, 100%); height: .55rem; margin-top: .45rem; accent-color: var(--accent); }
.upload-status--dropzone { margin: .85rem 0 0; color: #d7def0; }
.site-header__context { color: #b6c1dc; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 48rem) { .editor-grid { display: block; } .editor-card--aside { margin-top: 1.25rem; } .video-editor .editor-heading { align-items: start; flex-direction: column; gap: 1rem; } .video-editor .editor-index { max-width: 100%; overflow-wrap: anywhere; text-align: left; } .upload-heading { align-items: start; flex-direction: column; gap: 1rem; } .upload-heading > div > p:last-child { white-space: normal; } .upload-course { max-width: none; } }
@media (max-width: 40rem) { .watch-page { padding-top: 1.25rem; } .player { padding: .55rem; } .next-videos { margin-top: 2.25rem; padding: 1rem; } .editor-card--primary form { display: block; } .chapter-capture { align-items: flex-start; flex-direction: column; gap: .65rem; } .page { padding: 2.5rem 1rem; } .site-header__inner, .admin-toolbar { align-items: flex-start; flex-direction: column; gap: .5rem; } .brand__note { margin-left: 2.7rem; } h1 { font-size: 2.6rem; } .video-list__link { gap: .75rem; } .video-list__thumb { width: 7rem; } .video-list__details strong { font-size: 1rem; } .watch-page .video-js { border-width: .2rem; } .admin-list li { padding: .85rem; } .editor-card, .upload-card { padding: 1.25rem; } .upload-fields { display: block; } .row-actions { float: none; display: flex; margin-top: .5rem; margin-left: 0; } .video-admin-row { align-items: flex-start; flex-direction: column; } .video-admin-row__actions { justify-content: flex-start; } }
@media (max-width: 40rem) { .course-grid { grid-template-columns: 1fr; } .course-card { grid-template-columns: 2rem minmax(0, 1fr); gap: .75rem; padding: 1.15rem; } .course-card__action { grid-column: 2; justify-self: start; margin-top: .75rem; } .video-section { padding: 1rem; } .video-section summary { align-items: flex-start; } .section-meta { max-width: 7rem; text-align: right; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } .course-card { transition: none; } .course-card__action span { transition: none; } }
