.sofl-video-page,
.sofl-admin-video-page {
    --hlv-ink: #162033;
    --hlv-muted: #667085;
    --hlv-line: #e7edf5;
    --hlv-gold: #c99a2e;
}

.student-hlv-page {
    --student-navy: #061a36;
    --student-navy-2: #0b2a56;
    --student-gold: #d99a16;
    --student-gold-soft: #fff4d8;
    --student-ink: #07142d;
    --student-muted: #4d4d4d;
    --student-line: #e3e9f2;
    display: grid;
    gap: 24px;
}

.student-hlv-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 26px;
    overflow: hidden;
    padding: 36px 36px 0;
    border: 1px solid rgba(217, 154, 22, .2);
    border-radius: 8px;
    background:
        radial-gradient(circle at 72% 20%, rgba(217, 154, 22, .18), transparent 28%),
        linear-gradient(135deg, #06142d 0%, #09244b 62%, #041228 100%);
    color: #fff;
    box-shadow: 0 18px 48px rgba(6, 26, 54, .18);
}

.student-hlv-hero-copy {
    position: relative;
    z-index: 2;
    align-self: center;
    padding-bottom: 34px;
}

.student-hlv-hero h1 {
    max-width: 720px;
    margin: 12px 0 14px;
    color: #fff;
    font-size: 42px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
}

.student-hlv-hero h1 span {
    color: #ffc247;
}

.student-hlv-hero p {
    max-width: 590px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.65;
}

.student-hlv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.student-gold-btn,
.student-dark-btn,
.student-outline-btn,
.student-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.student-gold-btn {
    padding: 10px 18px;
    border: 1px solid #c6810c;
    background: linear-gradient(135deg, #ffc247, #d99a16);
    color: #07142d;
}

.student-dark-btn {
    padding: 10px 18px;
    border: 1px solid #07142d;
    background: #07142d;
    color: #fff;
}

.student-outline-btn {
    padding: 10px 16px;
    border: 1px solid var(--student-line);
    background: #fff;
    color: var(--student-ink);
}

.student-outline-btn.is-on-dark {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.student-icon-btn {
    width: 38px;
    height: 38px;
    border: 1px solid var(--student-line);
    background: #fff;
    color: var(--student-ink);
}

.student-icon-btn.is-active {
    border-color: rgba(217, 154, 22, .42);
    background: var(--student-gold-soft);
    color: #a96d00;
}

.student-hlv-visual {
    position: relative;
    min-height: 250px;
    align-self: stretch;
}

.student-hlv-laptop {
    position: absolute;
    right: 18px;
    bottom: 46px;
    width: min(92%, 360px);
    padding: 14px 14px 11px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02));
    box-shadow: 0 24px 55px rgba(0, 0, 0, .36);
}

.student-hlv-screen {
    display: grid;
    min-height: 172px;
    place-items: center;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 194, 71, .12), transparent 48%),
        #0a1f42;
}

.student-hlv-screen i {
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 22px;
}

.student-hlv-controls {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.student-hlv-controls span:first-child {
    width: 52%;
    height: 5px;
    border-radius: 999px;
    background: #ffc247;
}

.student-hlv-controls span:last-child {
    flex: 1;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
}

.student-hlv-chart {
    position: absolute;
    right: 10px;
    top: 20px;
    display: flex;
    align-items: end;
    gap: 10px;
    width: 260px;
    height: 130px;
    opacity: .75;
}

.student-hlv-chart span {
    width: 16px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #ffc247, #1f6feb);
}

.student-hlv-books {
    position: absolute;
    right: 0;
    bottom: 30px;
    display: grid;
    gap: 6px;
}

.student-hlv-books span {
    display: block;
    width: 116px;
    height: 18px;
    border-radius: 4px;
    background: #fff;
    box-shadow: inset 16px 0 0 #ffc247;
}

.student-hlv-metrics {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 0 -36px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .09);
}

.student-hlv-metrics div {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    padding: 16px 24px;
}

.student-hlv-metrics i {
    grid-row: span 2;
    align-self: center;
    color: #ffc247;
}

.student-hlv-metrics strong {
    color: #fff;
    line-height: 1.1;
}

.student-hlv-metrics span {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
}

.student-hlv-login-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(217, 154, 22, .3);
    border-radius: 8px;
    background: #fff9ec;
}

.student-hlv-login-banner div {
    display: grid;
    gap: 4px;
}

.student-hlv-login-banner span {
    color: #a96d00;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.student-section {
    display: grid;
    gap: 16px;
}

.student-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.student-section-header h2 {
    margin: 0;
    color: var(--student-ink);
    font-size: 20px;
    font-weight: 800;
}

.student-section-header p {
    margin: 4px 0 0;
    color: var(--student-muted);
}

.student-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #004aad;
    font-weight: 800;
    text-decoration: none;
}

.student-count-pill,
.student-soft-badge,
.student-hlv-card-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2558a4;
    font-size: 12px;
    font-weight: 800;
}

.student-hlv-continue-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.student-hlv-continue-card,
.student-hlv-feature-card,
.student-hlv-playlist-card {
    overflow: hidden;
    border: 1px solid var(--student-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(16, 24, 40, .07);
}

.student-hlv-continue-media,
.student-hlv-playlist-media,
.student-hlv-feature-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #07142d;
}

.student-hlv-continue-media img,
.student-hlv-playlist-media img,
.student-hlv-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-hlv-play {
    position: absolute;
    inset: 50% auto auto 50%;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    background: rgba(7, 20, 45, .72);
    color: #fff;
    transform: translate(-50%, -50%);
}

.student-hlv-duration,
.student-hlv-video-count,
.student-hlv-access-pill,
.student-hlv-feature-media span {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(7, 20, 45, .82);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.student-hlv-duration {
    left: auto;
    right: 12px;
}

.student-hlv-access-pill {
    left: auto;
    right: 12px;
    background: rgba(217, 154, 22, .95);
    color: #07142d;
}

.student-hlv-continue-body,
.student-hlv-card-body,
.student-hlv-feature-content {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.student-hlv-continue-body h3,
.student-hlv-card-body h3,
.student-hlv-feature-content h3 {
    margin: 0;
    color: var(--student-ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.student-hlv-continue-body h3 a,
.student-hlv-card-body h3 a,
.student-hlv-feature-content h3 a {
    color: inherit;
    text-decoration: none;
}

.student-hlv-progress-label {
    color: var(--student-muted);
    font-size: 12px;
    font-weight: 700;
}

.student-hlv-progress {
    height: 5px;
    border-radius: 999px;
    background: #e9eef6;
}

.student-hlv-progress .progress-bar {
    border-radius: inherit;
    background: #1f6feb;
}

.student-hlv-featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 18px;
}

.student-hlv-feature-list {
    display: grid;
    gap: 18px;
}

.student-hlv-feature-card.is-compact {
    display: grid;
    grid-template-columns: minmax(180px, 42%) minmax(0, 1fr);
}

.student-hlv-feature-card.is-large .student-hlv-feature-content {
    padding: 18px;
}

.student-hlv-feature-content p {
    margin: 0;
    color: var(--student-muted);
    line-height: 1.55;
}

.student-hlv-saved-mark {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    color: #a96d00;
}

.student-hlv-filterbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 180px auto;
    gap: 14px;
}

.student-hlv-search {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 6px 8px 6px 16px;
    border: 1px solid var(--student-line);
    border-radius: 8px;
    background: #fff;
}

.student-hlv-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--student-ink);
}

.student-hlv-select {
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid var(--student-line);
    border-radius: 8px;
    background: #fff;
    color: var(--student-ink);
    font-weight: 700;
}

.student-hlv-dropdown {
    gap: 10px;
    min-width: 260px;
    padding: 14px;
}

.student-hlv-dropdown.show {
    display: grid;
}

.student-hlv-dropdown label {
    color: var(--student-muted);
    font-size: 12px;
    font-weight: 800;
}

.student-hlv-topic-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.student-hlv-topic-row button {
    min-height: 36px;
    padding: 7px 14px;
    border: 1px solid var(--student-line);
    border-radius: 999px;
    background: #fff;
    color: var(--student-ink);
    font-weight: 800;
}

.student-hlv-topic-row button.is-active {
    border-color: #07142d;
    background: #07142d;
    color: #fff;
}

/*.student-hlv-playlist-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}*/

.student-hlv-card-badges,
.student-hlv-card-meta,
.student-hlv-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.student-hlv-card-meta {
    color: var(--student-muted);
    font-size: 12px;
    font-weight: 700;
}

.student-hlv-card-actions {
    justify-content: space-between;
    margin-top: 4px;
}

.student-hlv-load-wrap {
    display: flex;
    justify-content: center;
}

.student-empty-state {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 48px 20px;
    border: 1px dashed rgba(217, 154, 22, .44);
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.student-empty-icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border-radius: 50%;
    background: var(--student-gold-soft);
    color: #a96d00;
}

.student-empty-state h3 {
    margin: 0;
    color: var(--student-ink);
    font-weight: 800;
}

.student-empty-state p {
    max-width: 420px;
    margin: 0;
    color: var(--student-muted);
}

.student-hlv-playlist-card.is-hidden,
.student-hlv-playlist-card.is-collapsed {
    display: none;
}

.sofl-video-library-hero,
.sofl-admin-video-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid var(--hlv-line);
    border-radius: 8px;
    background: linear-gradient(135deg, #fff, #f7fafc);
}

.sofl-video-library-hero h1,
.sofl-admin-video-hero h1 {
    max-width: 760px;
    margin: 8px 0;
    color: var(--hlv-ink);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
}

.sofl-video-library-hero p,
.sofl-admin-video-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--hlv-muted);
}

.sofl-video-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9b6f12;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 12px;
}

.sofl-btn-gold,
.sofl-btn-outline,
.sofl-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.sofl-btn-gold {
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid #b88217;
    background: #c99a2e;
    color: #fff;
}

.sofl-btn-outline {
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid var(--hlv-line);
    background: #fff;
    color: var(--hlv-ink);
}

.sofl-icon-btn {
    width: 38px;
    height: 38px;
    border: 1px solid var(--hlv-line);
    background: #fff;
    color: var(--hlv-ink);
}

.sofl-video-search,
.sofl-admin-video-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--hlv-line);
    border-radius: 8px;
    background: #fff;
}

.sofl-video-search input,
.sofl-admin-video-filter select {
    flex: 1;
    border: 0;
    outline: 0;
}

.sofl-playlist-card,
.sofl-admin-video-card,
.sofl-video-list-panel,
.sofl-related-learning,
.sofl-watch-content,
.sofl-playlist-sidebar {
    border: 1px solid var(--hlv-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .06);
}

.sofl-playlist-card {
    height: 100%;
    overflow: hidden;
}

.sofl-playlist-card-media,
.sofl-video-player {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #101828;
}

.sofl-playlist-card-media img,
.sofl-video-player img,
.sofl-video-player iframe {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.sofl-playlist-card-body,
.sofl-watch-content,
.sofl-video-list-panel,
.sofl-related-learning,
.sofl-admin-video-card {
    padding: 20px;
}

.sofl-playlist-card h3 {
    margin: 12px 0 8px;
    font-size: 20px;
    font-weight: 800;
}

.sofl-playlist-card h3 a {
    color: var(--hlv-ink);
    text-decoration: none;
}

.sofl-playlist-card p,
.sofl-watch-content p {
    color: var(--hlv-muted);
}

.sofl-video-count,
.sofl-lock-chip {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(16, 24, 40, .82);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.sofl-lock-chip {
    left: auto;
    right: 12px;
}

.sofl-video-badges,
.sofl-related-chips,
.sofl-watch-meta,
.sofl-playlist-meta,
.sofl-playlist-actions,
.sofl-watch-actions,
.sofl-watch-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.sofl-video-badges span,
.sofl-related-chips a,
.sofl-related-chips span,
.sofl-status-pill,
.sofl-order-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f4f7fb;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}

.sofl-related-chips a {
    text-decoration: none;
}

.sofl-status-pill.is-active {
    background: #ecfdf3;
    color: #027a48;
}

.sofl-status-pill.is-inactive {
    background: #fff1f3;
    color: #c01048;
}

.sofl-watch-progress {
    width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf2f7;
}

.sofl-watch-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #c99a2e, #17a2b8);
}

.sofl-video-list {
    display: grid;
    gap: 12px;
}

.sofl-related-blog-grid {
    display: grid;
    gap: 12px;
}

.sofl-related-blog-card {
    display: block;
    padding: 14px;
    border: 1px solid var(--hlv-line);
    border-radius: 8px;
    color: var(--hlv-ink);
    text-decoration: none;
}

.sofl-related-blog-card span {
    display: block;
    margin-top: 4px;
    color: var(--hlv-muted);
    font-size: 13px;
}

.sofl-admin-thumb {
    width: 82px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    background: #eef2f6;
}

.sofl-admin-video-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--hlv-ink);
}

.sofl-admin-toggle-list,
.sofl-admin-check-grid {
    display: grid;
    gap: 10px;
}

.sofl-tag-selector-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sofl-tag-color-dot {
    width: 14px;
    height: 14px;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
}

.sofl-admin-sticky-save {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding: 14px 0;
    background: rgba(248, 250, 252, .92);
    backdrop-filter: blur(10px);
}

@media (max-width: 991.98px) {
    .student-hlv-hero {
        grid-template-columns: 1fr;
        padding: 28px 28px 0;
    }

    .student-hlv-visual {
        min-height: 220px;
    }

    .student-hlv-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0 -28px;
    }

    .student-hlv-continue-grid,
    .student-hlv-featured-grid {
        grid-template-columns: 1fr;
    }

    .student-hlv-playlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .student-hlv-filterbar {
        grid-template-columns: 1fr;
    }

    .sofl-video-library-hero,
    .sofl-admin-video-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .sofl-video-search {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .student-hlv-hero {
        padding: 22px 18px 0;
    }

    .student-hlv-hero h1 {
        font-size: 32px;
    }

    .student-hlv-actions,
    .student-hlv-login-banner,
    .student-section-header {
        align-items: stretch;
        flex-direction: column;
    }

    .student-hlv-actions > *,
    .student-hlv-login-banner .student-dark-btn {
        width: 100%;
    }

    .student-hlv-visual {
        min-height: 170px;
    }

    .student-hlv-laptop {
        right: 0;
        bottom: 38px;
        width: 100%;
    }

    .student-hlv-screen {
        min-height: 126px;
    }

    .student-hlv-chart,
    .student-hlv-books {
        display: none;
    }

    .student-hlv-metrics {
        grid-template-columns: 1fr;
        margin: 0 -18px;
    }

    .student-hlv-playlist-grid,
    .student-hlv-continue-grid,
    .student-hlv-feature-card.is-compact {
        grid-template-columns: 1fr;
    }

    .student-hlv-search {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .student-hlv-search .student-gold-btn {
        width: 100%;
    }

    .sofl-playlist-card-body,
    .sofl-watch-content,
    .sofl-video-list-panel,
    .sofl-related-learning,
    .sofl-admin-video-card,
    .sofl-video-library-hero,
    .sofl-admin-video-hero {
        padding: 16px;
    }
}

/* Final HLV library composition: scoped refinements on the shared student hero/card system. */
.student-hlv-page .module-theme-hlv.student-module-hero { min-height: 296px; background: linear-gradient(105deg,#f7fbff 0%,#eef6ff 55%,#e2f0ff 100%); border-color:#d9e9ff; }
.student-hlv-page .module-theme-hlv.student-module-hero::before { background:radial-gradient(circle at 76% 45%,rgba(79,151,255,.16),transparent 47%); }
.student-hlv-page .student-module-hero-stats > div { display:grid; grid-template-columns:42px 1fr; column-gap:10px; }
.student-hlv-page .student-module-stat-icon { grid-row:1 / span 2; width:38px; height:38px; display:grid; place-items:center; border-radius:10px; background:#fff; color:#00255c; box-shadow:0 4px 15px rgba(20,102,220,.12); }
.student-hlv-page .student-module-hero-stats span { margin-top:4px; font-size:.75rem; }
.student-hlv-page .student-module-hero-actions .student-module-btn:first-child { background:#00255c; border-color:#00255c; color:#fff; }
.student-hlv-page .student-module-hero-actions .student-module-btn:first-child i { color:#fff; }
.student-hlv-page .student-section { margin-top:24px; }
.student-hlv-page .student-hlv-continue-grid { display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; padding:2px; }
.student-hlv-page .student-hlv-continue-grid::-webkit-scrollbar { display:none; }
.student-hlv-page .student-hlv-continue-card { flex:0 0 calc((100% - 48px)/5); scroll-snap-align:start; box-shadow:0 6px 18px rgba(16,24,40,.06); }
.student-hlv-page .student-hlv-continue-body { padding:10px; gap:8px; }
.student-hlv-page .student-hlv-continue-body h3 { min-height:38px; font-size:13px; }
.student-hlv-carousel-shell { position:relative; }
.student-hlv-carousel-control { position:absolute; z-index:2; top:38%; width:34px; height:34px; border:1px solid #d7e4f7; border-radius:50%; background:#fff; color:#00255c; box-shadow:0 4px 14px rgba(15,40,80,.12); transform:translateY(-50%); }
.student-hlv-carousel-control.is-prev { left:-16px; } .student-hlv-carousel-control.is-next { right:-16px; }
.student-hlv-list-header { align-items:flex-end; }
.student-hlv-page .student-hlv-filterbar { display:flex; grid-template-columns:none; gap:12px; }
.student-hlv-page .student-hlv-search { width:min(320px,38vw); min-height:46px; padding:6px 16px; }
.student-hlv-page .student-hlv-topic-row { margin-top:16px; }
.student-hlv-topic-row a, .student-hlv-topic-row button { display:inline-flex; align-items:center; min-height:36px; padding:7px 14px; border:1px solid var(--student-line); border-radius:10px; background:#fff; color:var(--student-ink); font-weight:800; text-decoration:none; }
.student-hlv-topic-row a.is-active, .student-hlv-topic-row button.is-active { border-color:#00255c; background:#00255c; color:#fff; }
.student-hlv-page .student-hlv-playlist-grid { display:flex; margin-top:12px; }
.student-hlv-page .student-hlv-playlist-card { height:100%; display:flex; flex-direction:column; box-shadow:0 6px 18px rgba(16,24,40,.06); }
.student-hlv-page .student-hlv-card-body { flex:1; padding:12px; gap:8px; }
.student-hlv-card-description { min-height:40px; margin:0; color:var(--student-muted); font-size:13px; line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.student-hlv-page .student-hlv-card-actions { margin-top:auto; }
.student-hlv-pagination { margin-top:24px; }
@media(max-width:991.98px){.student-hlv-page .student-hlv-continue-card{flex-basis:calc((100% - 24px)/3)} }
@media(max-width:767.98px){.student-hlv-list-header{align-items:stretch}.student-hlv-page .student-hlv-filterbar{width:100%}.student-hlv-page .student-hlv-search{width:100%}.student-hlv-page .student-hlv-continue-card{flex-basis:82%}.student-hlv-page .student-module-hero-stats>div{grid-template-columns:34px 1fr}.student-hlv-carousel-control{display:none}}

/* Keep the original Student layout within narrow viewports. */
.student-hlv-page { grid-template-columns:minmax(0,1fr); min-width:0; }

.student-hlv-page > * { min-width:0; }



/* Rich video descriptions use the same content width on every screen. */
.sofl-video-description { overflow-wrap: anywhere; }
.sofl-video-description :is(img, video) { max-width: 100%; height: auto; }
.sofl-video-description table { display: block; max-width: 100%; overflow-x: auto; }

/* Shared playlist information dialog on the video details page. */
.hlv-playlist-about .modal-content { border:1px solid #dce3ee; border-radius:12px; background:#fff; color:#08264c; box-shadow:0 24px 70px #08264c30; }
.hlv-playlist-about .modal-header { align-items:flex-start; padding:28px 32px 10px; border:0; }
.hlv-playlist-about-eyebrow { margin:0 0 8px; font-size:13px; font-weight:700; letter-spacing:.06em; color:#4d4d4d; }
.hlv-playlist-about #hlvPlaylistDetailsTitle { color:#08264c; font-size:44px; line-height:1.2; font-weight:700; overflow-wrap:anywhere; }
.hlv-playlist-about .btn-close { margin:0 0 0 16px; flex-shrink:0; }
.hlv-playlist-about .modal-body { padding:0 32px 18px; }
.hlv-playlist-about-meta { display:flex; flex-wrap:wrap; align-items:center; gap:14px; padding:10px 0 22px; margin-bottom:22px; border-bottom:1px solid #dce3ee; font-size:16px; }
.hlv-playlist-about-meta > span { display:inline-flex; align-items:center; gap:10px; }
.hlv-playlist-about-dot { color:#8290a5; }
.hlv-playlist-about-summary {
    margin: 0 0 22px;
    font-size: 20px;
    line-height: 1.6;
    color: #4d4d4d;
    font-weight: 500;
} }
.hlv-playlist-about-topics h3 { color:#08264c; font-size:22px; font-weight:700; margin:0 0 14px; }
.hlv-playlist-about-description { font-size:17px; line-height:1.65; overflow-wrap:anywhere; }
.hlv-playlist-about-description :is(ul,ol) { list-style:none; padding:0; margin:0; }
/*.hlv-playlist-about-description li { position:relative; padding:18px 0 18px 64px; min-height:72px; border-bottom:1px solid #e6ebf2; }*/
.hlv-playlist-about-description li:last-child { border-bottom:0; }
/*.hlv-playlist-about-description li::before { content:"\f02d"; font-family:"Font Awesome 7 Free","Font Awesome 6 Free"; font-weight:900; position:absolute; left:0; top:14px; display:grid; place-items:center; width:44px; height:44px; border-radius:9px; color:#08264c; background:#eaf4ff; }*/
.hlv-playlist-about-description li p { margin:0; }
.hlv-playlist-about .modal-footer { padding:16px 24px; border-top:1px solid #dce3ee; }
.hlv-playlist-about .modal-footer button { min-width:90px; justify-content:center; }
@media(max-width:575px) { .hlv-playlist-about .modal-header { padding:22px 20px 8px; } .hlv-playlist-about .modal-body { padding:0 20px 16px; } .hlv-playlist-about #hlvPlaylistDetailsTitle { font-size:44px; } .hlv-playlist-about-summary,.hlv-playlist-about-description { font-size:16px; } .hlv-playlist-about-topics h3 { font-size:20px; } }
