
/* =========================================================
   CUSTOM LMS - COMPLETE STYLESHEET
   Theme: Royal Elementor Kit Child
   Design: Professional White / Navy / Red
   ========================================================= */


/* =========================================================
   01. GLOBAL LMS STYLES
   ========================================================= */

.clms-wrap {
    max-width: 1450px;
    margin: 24px 25px 40px 6px;
    color: #19273e;
    font-family: Inter, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
}

.clms-wrap * {
    box-sizing: border-box;
}

.clms-kicker {
    color: #be123c !important;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 9px;
}

.clms-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.clms-heading h1 {
    color: #172841;
    font-size: 30px !important;
    font-weight: 750;
    margin: 8px 0;
}

.clms-heading p {
    color: #718199;
    margin: 0;
}

.clms-card {
    background: #fff;
    border: 1px solid #e3e9f1;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 26px rgba(20, 50, 90, .045);
}

.clms-card h2 {
    color: #203550;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 18px;
}


/* =========================================================
   02. DASHBOARD HEADER & DATE FILTER
   ========================================================= */

.clms-dashboard-page {
    max-width: 1450px;
}

.clms-dashboard-page .clms-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.clms-dashboard-page .clms-hero-left h1 {
    font-size: 32px;
    font-weight: 750;
    line-height: 1.2;
    color: #172841;
    margin: 8px 0 10px;
}

.clms-dashboard-page .clms-hero-left p {
    font-size: 14px;
    color: #718199;
    margin: 0;
}

.clms-dashboard-page .clms-hero-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.clms-dashboard-page .clms-range-form {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 9px 14px;
}

.clms-dashboard-page .clms-range-form label {
    color: #52627e;
    font-size: 13px;
    font-weight: 700;
}

.clms-dashboard-page .clms-range-form select {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #19273e;
    font-size: 13px;
    font-weight: 600;
}

.clms-wrap .button-primary,
.clms-dashboard-page .clms-primary-btn {
    background: #be123c !important;
    border-color: #be123c !important;
    color: #fff !important;
    border-radius: 9px;
}

.clms-wrap .button-primary:hover,
.clms-dashboard-page .clms-primary-btn:hover {
    background: #9f1239 !important;
    border-color: #9f1239 !important;
}

.clms-wrap .button {
    border-radius: 8px;
    padding: 5px 15px;
}


/* =========================================================
   03. DASHBOARD STATISTICS CARDS
   ========================================================= */

.clms-dashboard-page .clms-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.clms-dashboard-page .clms-stat-box {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    min-height: 118px;
    padding: 22px;
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .035);
}

.clms-dashboard-page .clms-stat-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff1f2;
    border-radius: 13px;
    font-size: 23px;
}

.clms-dashboard-page .clms-stat-box span {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 7px;
}

.clms-dashboard-page .clms-stat-box strong {
    display: block;
    color: #182b45;
    font-size: 30px;
    font-weight: 750;
    line-height: 1.2;
}

.clms-dashboard-page .clms-stat-box small {
    display: block;
    color: #8895a7;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 6px;
}


/* =========================================================
   04. DASHBOARD ANALYTICS LAYOUT
   ========================================================= */

.clms-dashboard-page .clms-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.clms-dashboard-page .clms-side-stack {
    display: grid;
    gap: 20px;
    align-content: start;
}

.clms-dashboard-page .clms-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.clms-dashboard-page .clms-card-head h2 {
    color: #172841;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
}

.clms-dashboard-page .clms-card-head p {
    color: #8290a5;
    font-size: 13px;
    margin: 0;
}

.clms-dashboard-page .clms-card-head a {
    color: #be123c;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   05. DASHBOARD LINE CHART
   ========================================================= */

.clms-dashboard-page .clms-chart-shell {
    width: 100%;
    min-width: 0;
}

.clms-dashboard-page .clms-chart-svg {
    display: block;
    width: 100%;
    height: 290px;
}

.clms-dashboard-page .axis-line {
    stroke: #cbd5e1;
    stroke-width: 1;
}

.clms-dashboard-page .grid-line {
    stroke: #e6edf5;
    stroke-width: 1;
}

.clms-dashboard-page .line-blue {
    fill: none;
    stroke: #2563eb;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clms-dashboard-page .line-green {
    fill: none;
    stroke: #be123c;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clms-dashboard-page .point-blue {
    fill: #2563eb;
}

.clms-dashboard-page .point-green {
    fill: #be123c;
}

.clms-dashboard-page .clms-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.clms-dashboard-page .clms-legend span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.clms-dashboard-page .clms-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.clms-dashboard-page .clms-dot.blue {
    background: #2563eb;
}

.clms-dashboard-page .clms-dot.green {
    background: #be123c;
}

.clms-dashboard-page .clms-chart-labels {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-top: 10px;
}

.clms-dashboard-page .clms-chart-labels span {
    color: #74839a;
    font-size: 12px;
    text-align: center;
}


/* =========================================================
   06. DASHBOARD DONUT CHARTS
   ========================================================= */

.clms-dashboard-page .clms-donut-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.clms-dashboard-page .clms-donut {
    position: relative;
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    border-radius: 50%;
    background: conic-gradient(
        var(--c1) 0 calc(var(--p1) * 1%),
        var(--c2) calc(var(--p1) * 1%)
        calc((var(--p1) + var(--p2)) * 1%),
        var(--c3) calc((var(--p1) + var(--p2)) * 1%) 100%
    );
}

.clms-dashboard-page .clms-donut::after {
    content: "";
    position: absolute;
    inset: 18px;
    background: #fff;
    border-radius: 50%;
}

.clms-dashboard-page .clms-donut-center {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.clms-dashboard-page .clms-donut-center strong {
    color: #172841;
    font-size: 29px;
    line-height: 1.1;
}

.clms-dashboard-page .clms-donut-center span {
    color: #8290a5;
    font-size: 12px;
    margin-top: 5px;
}

.clms-dashboard-page .clms-donut-legend {
    flex: 1;
    min-width: 140px;
}

.clms-dashboard-page .clms-donut-legend p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #475569;
    font-size: 13px;
    margin: 0 0 12px;
}

.clms-dashboard-page .clms-donut-legend span {
    font-weight: 700;
    color: #172841;
}

.clms-dashboard-page .clms-color {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 7px;
}

.clms-dashboard-page .clms-color.blue {
    background: #2563eb;
}

.clms-dashboard-page .clms-color.green {
    background: #be123c;
}

.clms-dashboard-page .clms-color.gray {
    background: #d9e5f4;
}

.clms-dashboard-page .clms-color.light {
    background: #93c5fd;
}


/* =========================================================
   07. RECENT ACTIVITY TABLE
   ========================================================= */

.clms-dashboard-page .clms-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e7edf5;
}

.clms-dashboard-page .clms-table th,
.clms-dashboard-page .clms-table td {
    padding: 14px 12px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid #e9eef5;
}

.clms-dashboard-page .clms-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.clms-dashboard-page .clms-table td {
    color: #475569;
    font-size: 13px;
}

.clms-dashboard-page .clms-status {
    display: inline-block;
    padding: 6px 11px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}

.clms-dashboard-page .status-publish {
    color: #15803d;
    background: #dcfce7;
}

.clms-dashboard-page .status-draft {
    color: #a16207;
    background: #fef3c7;
}

.clms-dashboard-page .status-pending {
    color: #be123c;
    background: #ffe4e6;
}


/* =========================================================
   08. EXISTING COURSE MANAGEMENT
   ========================================================= */

.clms-card label {
    display: block;
    color: #34445e;
    font-size: 13px;
    font-weight: 650;
    margin: 19px 0 8px;
}

.clms-card .clms-input,
.clms-card textarea,
.clms-card select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 11px 13px;
    background: #fff;
    border: 1px solid #d7e0ed;
    border-radius: 9px;
}

.clms-card textarea {
    resize: vertical;
}

.clms-card .widefat {
    margin-top: 20px;
    border: 1px solid #e3e9f0;
}

.clms-card .widefat th {
    background: #f7f9fc;
    font-weight: 700;
}

.clms-card .widefat th,
.clms-card .widefat td {
    padding: 14px 12px;
    vertical-align: middle;
}

.clms-search {
    width: 290px;
    max-width: 100%;
    padding: 7px 10px !important;
}

.clms-image-preview img {
    display: block;
    max-width: 280px;
    height: auto;
    border-radius: 11px;
    margin: 10px 0;
}


/* =========================================================
   09. COURSE BUILDER TABS & FORMS
   ========================================================= */

.clms-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 13px;
    margin-bottom: 19px;
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 12px;
}

.clms-tabs a {
    color: #52617c;
    text-decoration: none;
    font-size: 13px;
    font-weight: 650;
    padding: 12px 15px;
    border-radius: 8px;
    transition: background .2s ease, color .2s ease;
}

.clms-tabs a:hover {
    color: #be123c;
    background: #fff1f2;
}

.clms-tabs a.active {
    background: #be123c;
    color: #fff;
}

.clms-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #edf0f5;
}

.clms-card .clms-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.clms-check input {
    margin: 0;
}


/* =========================================================
   10. CURRICULUM, CHAPTERS & LESSONS
   ========================================================= */

.clms-chapter {
    background: #f7f9fc;
    border: 1px solid #e4eaf2;
    border-left: 3px solid #be123c;
    padding: 18px;
    border-radius: 12px;
    margin: 18px 0;
}

.clms-chapter h3 {
    color: #172841;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 7px;
}

.clms-lesson-row {
    background: #fff;
    border: 1px solid #edf1f6;
    margin: 9px 0;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.clms-lesson-row a {
    color: #be123c;
    font-weight: 600;
    margin-left: auto;
    text-decoration: none;
}

.clms-lesson-row a:hover {
    color: #881337;
}


/* =========================================================
   11. STUDENT-FACING COURSE PAGE
   ========================================================= */

.clms-public {
    background: #f5f7fb;
    min-height: 70vh;
    padding: 50px 20px;
    color: #21324c;
}

.clms-public-shell {
    max-width: 1200px;
    margin: auto;
}

.clms-public h1 {
    font-size: clamp(30px, 4vw, 46px);
    color: #172841;
    margin: 20px 0 30px;
}

.clms-cover img {
    max-height: 440px;
    object-fit: cover;
    width: 100%;
    border-radius: 18px;
}

.clms-public-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 25px;
    margin-top: 30px;
}

.clms-public-card {
    background: #fff;
    padding: 30px;
    border: 1px solid #e3e9f2;
    border-radius: 16px;
    margin-bottom: 20px;
}

.clms-public-chapter {
    background: #f8fafc;
    border-left: 3px solid #be123c;
    padding: 16px;
    border-radius: 10px;
    margin: 15px 0;
}

.clms-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}


/* =========================================================
   12. RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1200px) {
    .clms-dashboard-page .clms-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clms-dashboard-page .clms-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .clms-dashboard-page .clms-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .clms-dashboard-page .clms-side-stack {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   13. RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 700px) {
    .clms-wrap {
        margin: 16px 12px;
    }

    .clms-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .clms-card {
        padding: 18px;
    }

    .clms-dashboard-page .clms-stat-grid {
        grid-template-columns: 1fr;
    }

    .clms-dashboard-page .clms-side-stack {
        grid-template-columns: 1fr;
    }

    .clms-dashboard-page .clms-chart-svg {
        height: 220px;
    }

    .clms-dashboard-page .clms-chart-labels span {
        font-size: 10px;
    }

    .clms-tabs a {
        padding: 9px 11px;
    }

    .clms-card .widefat {
        display: block;
        overflow-x: auto;
    }

    .clms-public-grid {
        grid-template-columns: 1fr;
    }

    .clms-public-card {
        padding: 20px;
    }
}


/* ======================================================
   CUSTOM LMS - PREMIUM DASHBOARD & SIDEBAR DESIGN
   Colors: Navy / Royal Blue / Emerald / Violet / Amber
   ====================================================== */

/* ===== LMS WORKSPACE ===== */

.clms-app-shell {
    display: flex;
    min-height: calc(100vh - 32px);
    background: #f5f8fd;
    color: #14243d;
    font-family: Inter, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
}

.clms-app-shell * {
    box-sizing: border-box;
}

/* ===== WHITE SIDEBAR ===== */

.clms-app-sidebar {
    width: 265px;
    flex: 0 0 265px;
    background: #fff;
    border-right: 1px solid #e5ebf3;
    display: flex;
    flex-direction: column;
    padding: 18px 13px;
    gap: 12px;
}

.clms-app-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px;
    border-bottom: 1px solid #eef2f7;
    color: #132441;
    font-size: 20px;
    font-weight: 800;
}

.clms-app-brand .dashicons {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: linear-gradient(135deg, #183c83, #3476dd);
    color: #fff;
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.clms-side-label {
    padding: 12px 12px 2px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.clms-app-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 0;
}

/* Equal-sized sidebar boxes */

.clms-app-sidebar .clms-side-link {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    min-height: 53px;
    padding: 13px 15px;
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 13px;
    color: #41536e;
    text-decoration: none;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
    box-shadow: 0 2px 9px rgba(20, 43, 80, .025);
    transition: background .2s, border-color .2s,
        box-shadow .2s;
}

.clms-app-sidebar .clms-side-link .dashicons {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    font-size: 20px;
    color: #6681a5;
}

.clms-app-sidebar .clms-side-link:hover {
    background: #f3f7ff;
    border-color: #cadcf8;
    color: #245ac2;
}

.clms-app-sidebar .clms-side-link.is-active {
    background: #eaf2ff;
    border-color: #c9defb;
    color: #2055b7;
    box-shadow: 0 4px 14px rgba(50, 108, 211, .09);
}

.clms-app-sidebar .clms-side-link.is-active .dashicons {
    color: #2055b7;
}

.clms-app-sidebar .clms-back-wp {
    margin-top: auto;
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 13px 15px;
    background: #f7f9fd;
    border: 1px solid #e5ebf3;
    border-radius: 13px;
    color: #536982;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

/* ===== TOP HEADER ===== */

.clms-app-main {
    flex: 1;
    min-width: 0;
}

.clms-app-top {
    min-height: 76px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #fff;
    border-bottom: 1px solid #e8edf5;
    padding: 16px 28px;
}

.clms-app-top > strong {
    color: #172b4b;
    font-size: 21px;
    font-weight: 800;
}

.clms-app-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.clms-app-top-actions a {
    padding: 10px 16px;
    background: #f8faff;
    border: 1px solid #e0e8f4;
    border-radius: 11px;
    color: #345475;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.clms-app-user {
    padding: 11px 17px;
    background: #edf4ff;
    color: #2456b1;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 700;
}

.clms-app-content {
    padding: 30px;
    min-width: 0;
}

/* ===== WELCOME BANNER ===== */

.clms-dashboard-v3 .clms-welcome-panel {
    padding: 38px;
    margin-bottom: 28px;
    border: 1px solid #dbe7fd;
    border-radius: 22px;
    background: linear-gradient(
        115deg,
        #eaf2ff 0%,
        #f0f5ff 65%,
        #f7faff 100%
    );
    box-shadow: 0 8px 25px rgba(41, 87, 161, .045);
}

.clms-dashboard-v3 .clms-welcome-date {
    color: #3869c7;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 13px;
}

.clms-dashboard-v3 .clms-welcome-panel h1 {
    margin: 0 0 14px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
    color: #102440;
    font-weight: 800;
}

.clms-dashboard-v3 .clms-welcome-panel > p:last-child {
    max-width: 850px;
    margin: 0;
    color: #5b708e;
    font-size: 15px;
    line-height: 1.75;
}

/* ===== DASHBOARD HEADING ===== */

.clms-dashboard-v3 .clms-dashboard-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 22px;
}

.clms-dashboard-v3 .clms-dashboard-heading h2 {
    margin: 0 0 5px;
    color: #142742;
    font-size: 22px;
    font-weight: 800;
}

.clms-dashboard-v3 .clms-dashboard-heading p {
    margin: 0;
    color: #8291a7;
    font-size: 13px;
}

.clms-dashboard-v3 .clms-dash-add {
    padding: 13px 20px;
    background: #315fcd;
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.clms-dashboard-v3 .clms-dash-add:hover {
    background: #214aab;
    color: #fff;
}

/* ===== FOUR STATISTICS CARDS ===== */

.clms-dashboard-v3 .clms-dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 19px;
    margin-bottom: 27px;
}

.clms-dashboard-v3 .clms-metric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 225px;
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(19, 47, 83, .04);
    transition: transform .2s, box-shadow .2s;
}

.clms-dashboard-v3 .clms-metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(19, 47, 83, .08);
}

.clms-dashboard-v3 .clms-metric-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    margin-bottom: 22px;
}

.clms-dashboard-v3 .clms-metric-icon .dashicons {
    width: 26px;
    height: 26px;
    font-size: 26px;
}

.clms-dashboard-v3 .clms-metric-icon.blue {
    background: #e9f0fc;
    color: #2861ba;
}

.clms-dashboard-v3 .clms-metric-icon.green {
    background: #e1f7ef;
    color: #07966d;
}

.clms-dashboard-v3 .clms-metric-icon.purple {
    background: #f0e9ff;
    color: #8248d4;
}

.clms-dashboard-v3 .clms-metric-icon.orange {
    background: #fff1df;
    color: #d58527;
}

.clms-dashboard-v3 .clms-metric > strong {
    color: #10243f;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 9px;
}

.clms-dashboard-v3 .clms-metric > span:not(.clms-metric-icon) {
    color: #536781;
    font-size: 15px;
    font-weight: 650;
}

.clms-dashboard-v3 .clms-metric > small {
    color: #91a0b4;
    font-size: 12px;
    margin-top: 10px;
    line-height: 1.5;
}

/* ===== CONTENT PANELS ===== */

.clms-dashboard-v3 .clms-dashboard-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}

.clms-dashboard-v3 .clms-dash-panel {
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 18px;
    padding: 27px;
    margin-bottom: 0;
    min-width: 0;
    box-shadow: 0 6px 22px rgba(18, 44, 80, .04);
}

.clms-dashboard-v3 .clms-panel-head h2 {
    margin: 0 0 7px;
    color: #172b48;
    font-size: 19px;
    font-weight: 800;
}

.clms-dashboard-v3 .clms-panel-head p {
    margin: 0 0 22px;
    color: #8a99ad;
    font-size: 13px;
}

.clms-dashboard-v3 .clms-publication-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #506580;
    font-size: 13px;
}

.clms-dashboard-v3 .clms-publication-label strong {
    color: #245fc6;
}

.clms-dashboard-v3 .clms-publication-bar {
    height: 12px;
    overflow: hidden;
    background: #edf2f9;
    border-radius: 30px;
}

.clms-dashboard-v3 .clms-publication-bar > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #315fcd, #5c9af4);
    border-radius: 30px;
}

.clms-dashboard-v3 .clms-publish-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.clms-dashboard-v3 .clms-publish-stats > div {
    flex: 1;
    min-width: 82px;
    background: #f6f8fc;
    border: 1px solid #edf1f6;
    border-radius: 11px;
    padding: 14px;
    text-align: center;
}

.clms-dashboard-v3 .clms-publish-stats b {
    display: block;
    font-size: 24px;
    color: #172b48;
}

.clms-dashboard-v3 .clms-publish-stats span {
    color: #8292a7;
    font-size: 12px;
}

.clms-dashboard-v3 .clms-note {
    color: #8d9bad;
    font-size: 12px;
    line-height: 1.6;
    margin-top: 20px;
}

/* ===== QUICK ACTIONS ===== */

.clms-dashboard-v3 .clms-quick-links {
    display: grid;
    gap: 10px;
}

.clms-dashboard-v3 .clms-quick-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 49px;
    padding: 13px 16px;
    color: #345778;
    background: #f8faff;
    border: 1px solid #e7edf6;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.clms-dashboard-v3 .clms-quick-links a:hover {
    color: #245fc6;
    border-color: #cbdcf5;
    background: #eef5ff;
}

/* ===== RECENT ACTIVITY ===== */

.clms-dashboard-v3 > .clms-dash-panel:last-child {
    margin-top: 2px;
}

.clms-dashboard-v3 .clms-activity-table {
    width: 100%;
    overflow-x: auto;
}

.clms-dashboard-v3 .clms-activity-table table {
    width: 100%;
    border-collapse: collapse;
}

.clms-dashboard-v3 .clms-activity-table th,
.clms-dashboard-v3 .clms-activity-table td {
    padding: 15px 13px;
    border-bottom: 1px solid #edf1f6;
    text-align: left;
    font-size: 13px;
}

.clms-dashboard-v3 .clms-activity-table th {
    background: #f7f9fd;
    color: #60748e;
    font-weight: 750;
}

.clms-dashboard-v3 .clms-activity-table td {
    color: #53657c;
}

.clms-dashboard-v3 .clms-activity-table a {
    color: #285cc0;
    font-weight: 650;
    text-decoration: none;
}

.clms-dashboard-v3 .clms-activity-status {
    display: inline-block;
    padding: 6px 11px;
    border-radius: 20px;
    background: #eff4fc;
    color: #456999;
    font-size: 12px;
    font-weight: 650;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
    .clms-dashboard-v3 .clms-dashboard-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clms-app-sidebar {
        width: 235px;
        flex-basis: 235px;
    }
}

@media (max-width: 960px) {
    .clms-dashboard-v3 .clms-dashboard-panels {
        grid-template-columns: 1fr;
    }

    .clms-app-content {
        padding: 20px;
    }
}

@media (max-width: 782px) {
    .clms-app-shell {
        flex-direction: column;
    }

    .clms-app-sidebar {
        width: 100%;
        flex-basis: auto;
    }

    .clms-app-sidebar nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clms-app-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .clms-app-sidebar nav,
    .clms-dashboard-v3 .clms-dashboard-metrics {
        grid-template-columns: 1fr;
    }

    .clms-dashboard-v3 .clms-welcome-panel {
        padding: 23px;
    }

    .clms-dashboard-v3 .clms-dash-panel {
        padding: 19px;
    }
}


/* =========================================================
   END OF CUSTOM LMS STYLESHEET
   ========================================================= */

/* ===== DASHBOARD SHELL WRAPPER - FIXED SIZING ===== */
body.wp-admin .clms-dashboard-wrap { max-width: none; margin: 18px 20px 32px 0; padding: 0; }
body.wp-admin .clms-dashboard-wrap .clms-app-shell { width: 100%; min-height: 72vh; border: 1px solid #e5ebf3; border-radius: 18px; overflow: hidden; }
body.wp-admin .clms-dashboard-wrap .clms-app-sidebar { box-sizing: border-box; }
body.wp-admin .clms-dashboard-wrap .clms-app-sidebar nav a.clms-side-link { box-sizing: border-box; }
body.wp-admin .clms-dashboard-wrap .clms-app-content { box-sizing: border-box; }
@media (max-width: 782px) { body.wp-admin .clms-dashboard-wrap { margin: 12px 10px 24px 0; } }



/* ================================================
   PREMIUM COURSE BUILDER - OUTLINE & EDITOR
   ================================================ */

.clms-builder-workspace {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    min-height: 650px;
    background: #fff;
    border: 1px solid #e1e8f2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(25, 47, 84, .04);
}

.clms-builder-outline {
    background: #fbfcff;
    border-right: 1px solid #e2e8f2;
    padding: 18px;
}

.clms-outline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0 20px;
}

.clms-outline-header h3 {
    margin: 0;
    color: #687992;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.clms-outline-header span {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.clms-outline-chapter {
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #e5ebf4;
    border-radius: 10px;
    overflow: hidden;
}

.clms-outline-chapter.is-selected {
    background: #eaf1ff;
    border-color: #c4d7fa;
}

.clms-outline-chapter-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    min-height: 56px;
}

.clms-drag-handle {
    cursor: grab;
    color: #9baac0;
    font-size: 18px;
    border: 0;
    background: transparent;
    padding: 4px;
    flex-shrink: 0;
}

.clms-drag-handle:active {
    cursor: grabbing;
}

.clms-outline-chapter-title {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 750;
    color: #172c50;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clms-outline-count {
    background: #edf2f9;
    color: #50647f;
    border-radius: 20px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 750;
}

.clms-dots-menu {
    position: relative;
    flex-shrink: 0;
}

.clms-dots-menu > summary {
    list-style: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    color: #7789a5;
    font-size: 20px;
}

.clms-dots-menu > summary::-webkit-details-marker {
    display: none;
}

.clms-dots-menu[open] > summary {
    background: #eaf1ff;
    color: #285ac1;
}

.clms-dots-dropdown {
    position: absolute;
    z-index: 50;
    right: 0;
    top: 34px;
    min-width: 150px;
    padding: 6px;
    background: #fff;
    border: 1px solid #dce5f2;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(17, 35, 70, .12);
}

.clms-dots-dropdown a,
.clms-dots-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    font-size: 13px;
    color: #354865;
    cursor: pointer;
    text-decoration: none;
}

.clms-dots-dropdown a:hover,
.clms-dots-dropdown button:hover {
    background: #f1f5fb;
}

.clms-dots-dropdown .is-danger {
    color: #c62848;
}

.clms-outline-lessons {
    background: #f8fafd;
    padding: 4px 10px 12px;
}

.clms-outline-lesson {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    border-bottom: 1px solid #e9eef6;
    color: #344964;
    font-size: 13px;
}

.clms-outline-lesson.is-selected {
    background: #e4eeff;
    color: #1d50b5;
    border-left: 3px solid #356acb;
}

.clms-outline-lesson-title {
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.clms-outline-type {
    font-size: 11px;
    font-weight: 750;
    color: #5073ae;
    background: #edf3ff;
    border-radius: 6px;
    padding: 4px 7px;
}

.clms-outline-add-content {
    display: block;
    text-align: center;
    margin: 12px 0 0;
    padding: 12px;
    border: 1px dashed #d5e0ee;
    border-radius: 9px;
    color: #2f5eae;
    background: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
}

.clms-outline-add-chapter {
    display: block;
    width: 100%;
    text-align: center;
    background: #101a32;
    color: #fff !important;
    padding: 15px;
    border-radius: 10px;
    font-weight: 750;
    text-decoration: none;
    margin-top: 15px;
}

.clms-builder-editor {
    padding: 30px;
    min-width: 0;
    background: #fff;
}

.clms-editor-panel {
    border: 1px solid #e1e8f2;
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
}

.clms-editor-header {
    padding: 26px;
    border-bottom: 1px solid #e9eef5;
}

.clms-editor-header h2 {
    color: #172a46;
    font-size: 23px;
    font-weight: 800;
    margin: 0 0 9px;
}

.clms-editor-header p {
    color: #7889a2;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

.clms-editor-body {
    padding: 26px;
}

.clms-editor-body label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #354a68;
    margin: 18px 0 8px;
}

.clms-editor-body input,
.clms-editor-body textarea,
.clms-editor-body select {
    width: 100%;
    max-width: 100%;
    border: 1px solid #dce5f0;
    background: #fff;
    border-radius: 10px;
    min-height: 44px;
    padding: 11px 14px;
}

.clms-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 26px;
    border-top: 1px solid #e9eef5;
}

.clms-save-outline {
    display: block;
    margin: 15px 0;
    border: 0;
    border-radius: 9px;
    padding: 12px 18px;
    background: #315fc1;
    color: #fff;
    font-weight: 750;
    cursor: pointer;
}

.clms-save-outline[hidden] {
    display: none;
}

.is-dragging {
    opacity: .5;
    outline: 2px dashed #4f75cb;
}

@media (max-width: 1000px) {
    .clms-builder-workspace {
        grid-template-columns: 1fr;
    }

    .clms-builder-outline {
        border-right: 0;
        border-bottom: 1px solid #e2e8f2;
    }

    .clms-builder-editor {
        padding: 18px;
    }
}
/* COURSE BUILDER — Screenshot-style outline and editor. Scoped to Curriculum only. */
.clms-course-builder-v4 .clms-workspace{display:grid;grid-template-columns:minmax(290px,34%) minmax(0,1fr);min-height:670px;background:#fff;border:1px solid #e3eaf3;border-radius:16px;overflow:hidden;margin:0 0 25px;box-shadow:0 8px 24px #192e5309}
.clms-course-builder-v4 .clms-outline{background:#fcfdff;border-right:1px solid #e3eaf3;padding:20px 16px;min-width:0}
.clms-course-builder-v4 .clms-outline-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:20px}
.clms-course-builder-v4 .clms-outline-heading strong{font-size:12px;letter-spacing:1.7px;color:#6d7e99}
.clms-course-builder-v4 .clms-outline-heading p{color:#8a9bb1;font-size:12px;margin:7px 0 0}
.clms-course-builder-v4 .clms-outline-heading>span{color:#657997;white-space:nowrap;font-size:12px;font-weight:700}
.clms-course-builder-v4 .clms-outline-chapters{display:flex;flex-direction:column;gap:8px}
.clms-course-builder-v4 .clms-outline-chapter{background:#fff;border:1px solid #e2e9f2;border-radius:9px;position:relative}
.clms-course-builder-v4 .clms-outline-chapter.is-current{border-color:#c3d5f7}
.clms-course-builder-v4 .clms-outline-row{display:flex;gap:7px;align-items:center;min-height:54px;padding:8px 9px}
.clms-course-builder-v4 .clms-drag-handle,.clms-course-builder-v4 .clms-outline-toggle{border:0;background:none;color:#8da0b8;cursor:grab;font-size:18px;padding:6px;flex-shrink:0}
.clms-course-builder-v4 .clms-outline-toggle{font-size:15px;cursor:pointer}
.clms-course-builder-v4 .clms-outline-title{color:#1b3a68;text-decoration:none;font-size:13px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.clms-course-builder-v4 .clms-outline-count{border-radius:20px;background:#eef2f9;padding:4px 8px;color:#5d7190;font-size:12px;font-weight:750}
.clms-course-builder-v4 .clms-dots{position:relative;flex-shrink:0}
.clms-course-builder-v4 .clms-dots summary{list-style:none;cursor:pointer;border-radius:7px;width:28px;height:30px;display:grid;place-items:center;font-size:20px;color:#788ba5}
.clms-course-builder-v4 .clms-dots summary::-webkit-details-marker{display:none}
.clms-course-builder-v4 .clms-dots[open] summary{background:#e9f1ff}
.clms-course-builder-v4 .clms-dots-panel{position:absolute;right:0;top:33px;width:165px;padding:6px;background:#fff;box-shadow:0 12px 32px #142c5030;border:1px solid #d7e3f0;border-radius:9px;z-index:20}
.clms-course-builder-v4 .clms-dots-panel a,.clms-course-builder-v4 .clms-dots-panel button{width:100%;display:block;min-height:35px;text-align:left;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:#344968;font-size:13px;text-decoration:none;cursor:pointer}
.clms-course-builder-v4 .clms-dots-panel a:hover,.clms-course-builder-v4 .clms-dots-panel button:hover{background:#f0f4fb}
.clms-course-builder-v4 .clms-dots-panel button{color:#bd2848}
.clms-course-builder-v4 .clms-outline-lessons{padding:3px 8px 12px;background:#f7f9fd}
.clms-course-builder-v4 .clms-outline-lessons[hidden],.clms-course-builder-v4 #clms-add-chapter-panel[hidden],.clms-course-builder-v4 #clms-save-order[hidden]{display:none!important}
.clms-course-builder-v4 .clms-outline-lesson{display:flex;gap:8px;align-items:center;padding:11px 5px;border-bottom:1px solid #e9eef6;color:#4d6482;font-size:13px}
.clms-course-builder-v4 .clms-outline-lesson.is-current{background:#e7efff;border-left:3px solid #3768cb;color:#2054a8}
.clms-course-builder-v4 .clms-outline-lesson-name{flex:1;min-width:0;color:inherit;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.clms-course-builder-v4 .clms-outline-add{display:block;border:1px dashed #cad8ed;border-radius:7px;text-align:center;text-decoration:none;color:#2a58a7;padding:10px;font-size:13px;font-weight:750;margin-top:12px;background:#fff}
.clms-course-builder-v4 .clms-new-chapter{background:#10192f;color:white;width:100%;padding:15px;border:0;border-radius:10px;font-weight:800;margin-top:15px;cursor:pointer}
.clms-course-builder-v4 .clms-save-order{margin:14px 0 0!important}
.clms-course-builder-v4 .clms-dragging{opacity:.42;border:2px dashed #4b72c6}
.clms-course-builder-v4 .clms-outline-editor{background:#fff;min-width:0;padding:30px 35px}
.clms-course-builder-v4 .clms-editor-heading{padding:22px 23px;background:#f7faff;border:1px solid #e4ecf8;border-radius:13px;margin-bottom:21px}
.clms-course-builder-v4 .clms-editor-heading span{font-size:11px;letter-spacing:1.7px;color:#7589a5;font-weight:800}
.clms-course-builder-v4 .clms-editor-heading h2{font-size:24px;color:#172c4d;margin:10px 0}
.clms-course-builder-v4 .clms-editor-heading p{font-size:13px;color:#7184a0}
.clms-course-builder-v4 .clms-editor-form,.clms-course-builder-v4 .clms-add-chapter-panel{border:1px solid #e2e9f3;border-radius:13px;padding:25px;background:white}
.clms-course-builder-v4 .clms-editor-tabs{display:flex;gap:8px;border-bottom:1px solid #e5ebf4;padding-bottom:14px;margin-bottom:18px}
.clms-course-builder-v4 .clms-editor-tabs span{padding:9px 15px;border-radius:9px;font-size:13px;font-weight:750;color:#657993}
.clms-course-builder-v4 .clms-editor-tabs span.active{background:#eaf2ff;color:#2856ab}
.clms-course-builder-v4 .clms-editor-form label,.clms-course-builder-v4 .clms-add-chapter-panel label{display:block;font-size:13px;font-weight:750;color:#364d6e;margin:18px 0 8px}
.clms-course-builder-v4 .clms-editor-form input.clms-input,.clms-course-builder-v4 .clms-editor-form select,.clms-course-builder-v4 .clms-editor-form textarea,.clms-course-builder-v4 .clms-add-chapter-panel input,.clms-course-builder-v4 .clms-add-chapter-panel textarea{display:block;max-width:100%;width:100%;min-height:45px;border-radius:10px;border:1px solid #d8e3f0;padding:11px 14px;background:#fff}
.clms-course-builder-v4 .clms-editor-form .clms-inline-check{display:flex;align-items:center;gap:9px}.clms-course-builder-v4 .clms-editor-form .clms-inline-check input{width:auto;min-height:auto}
.clms-course-builder-v4 .clms-editor-footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;border-top:1px solid #eaf0f7;margin-top:26px;padding-top:19px}
.clms-course-builder-v4 .clms-add-chapter-panel{margin-top:20px;background:#f9fbff}
.clms-course-builder-v4 .clms-add-chapter-panel h3{margin:0;color:#193353;font-size:19px}
@media(max-width:950px){.clms-course-builder-v4 .clms-workspace{grid-template-columns:1fr}.clms-course-builder-v4 .clms-outline{border-right:0;border-bottom:1px solid #e2e8f2}.clms-course-builder-v4 .clms-outline-editor{padding:20px}}

/* NEW CLMS ADD CONTENT POPUP - scoped to our modal */
.clms-modal-open{overflow:hidden}
.clms-content-overlay[hidden]{display:none!important}
.clms-content-overlay{position:fixed;inset:0;z-index:999999;background:rgba(18,30,50,.65);display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}
.clms-content-dialog{background:#fff;color:#253653;width:min(752px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:18px;box-shadow:0 30px 100px rgba(4,13,33,.3);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.clms-content-dialog *{box-sizing:border-box}
.clms-content-dialog header{padding:24px 27px;border-bottom:1px solid #edf1f6;position:relative}
.clms-content-dialog header h2{margin:0 40px 7px 0;font-size:21px;color:#172743;line-height:1.3}
.clms-content-dialog header p{margin:0;color:#71819b;line-height:1.5;font-size:14px;max-width:630px}
.clms-content-dialog .clms-modal-close{cursor:pointer}
.clms-content-dialog header .clms-modal-close{position:absolute;right:17px;top:13px;border:0;background:transparent;color:#72839e;font-size:24px;padding:6px 11px}
.clms-content-dialog .clms-modal-body{padding:24px 27px}
.clms-content-dialog .clms-modal-chapter{background:#f6f8fc;border:1px solid #dee6f1;border-radius:12px;padding:13px;color:#637590;font-size:14px;margin-bottom:24px}
.clms-content-dialog .clms-modal-chapter strong{color:#33455f}
.clms-content-dialog .clms-modal-label{display:block;font-weight:700;font-size:14px;margin:17px 0 11px;color:#283b56}
.clms-content-dialog .clms-content-types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.clms-content-dialog .clms-content-type{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;min-height:88px;padding:12px 6px;background:white;border:1px solid #dce5f2;border-radius:13px;cursor:pointer;text-align:center;color:#364964}
.clms-content-dialog .clms-content-type input{position:absolute;opacity:0;pointer-events:none}
.clms-content-dialog .clms-content-type:has(input:checked){background:#edf3ff;border-color:#3569d2;color:#214d9e;box-shadow:0 0 0 1px #3569d2}
.clms-content-dialog .clms-content-type:focus-within{outline:2px solid #436de1;outline-offset:1px}
.clms-content-dialog .clms-content-type .clms-type-icon{font-size:22px}
.clms-content-dialog .clms-content-type strong{font-size:13px}
.clms-content-dialog .clms-content-type.is-locked{background:#f8fafc;color:#9aa9c0;cursor:not-allowed}
.clms-content-dialog .clms-content-type em{position:absolute;right:4px;top:4px;border-radius:20px;background:#fff1be;color:#984309;font-size:10px;font-weight:800;font-style:normal;padding:3px 7px}
.clms-content-dialog .clms-modal-help{color:#7c8ba5;font-size:12px;margin:9px 0 15px}
.clms-content-dialog #clms-modal-item-title{width:100%;max-width:100%;min-height:47px;border:1px solid #bdcce2;border-radius:11px;padding:12px 14px;font-size:15px}
.clms-content-dialog footer{display:flex;justify-content:flex-end;gap:10px;background:#f8faff;border-top:1px solid #edf1f6;padding:17px 27px}
.clms-content-dialog footer .button{border-radius:10px;min-height:43px;padding:8px 17px;font-size:14px}
.clms-course-builder-v4 .clms-outline-add{width:100%;cursor:pointer;font-family:inherit}
.clms-course-builder-v4 .clms-kind-badge{flex-shrink:0;font-weight:700;font-size:10px;background:#eef3fe;color:#355d9d;padding:4px 6px;border-radius:5px}
.clms-course-builder-v4 .clms-outline-lesson .clms-dots-panel{z-index:25}
@media(max-width:620px){.clms-content-overlay{padding:9px}.clms-content-dialog .clms-content-types{grid-template-columns:repeat(2,minmax(0,1fr))}.clms-content-dialog header,.clms-content-dialog .clms-modal-body{padding:18px}.clms-content-dialog footer{padding:14px}}
