/* ProfilePress LMS — course pages, focus mode and quizzes */
.ppress-lms {
    --l-accent: var(--ppress-lms-accent, #2563eb);
    --l-accent-soft: color-mix(in srgb, var(--l-accent) 10%, #fff);
    --l-accent-strong: color-mix(in srgb, var(--l-accent) 85%, #000);
    --l-text: #0f172a;
    --l-muted: #64748b;
    --l-border: #e2e8f0;
    --l-soft: #f8fafc;
    --l-bg: #fff;
    --l-success: #16a34a;
    --l-success-soft: #f0fdf4;
    --l-danger: #dc2626;
    --l-danger-soft: #fef2f2;
    --l-border-strong: #cbd5e1;
    --l-success-border: #86efac;
    --l-danger-border: #fca5a5;
    --l-bar-bg: rgba(255, 255, 255, .96);
    --l-radius: 12px;
    --l-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 16px rgba(15, 23, 42, .06);
    --l-sidebar: 340px;
    --l-header: 64px;
    color: var(--l-text);
    line-height: 1.6;
}

.ppress-lms *,
.ppress-lms *:before,
.ppress-lms *:after {
    box-sizing: border-box;
}

.ppress-lms [hidden] {
    display: none !important;
}

.ppress-lms .screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.ppress-lms-icon {
    flex: none;
    vertical-align: middle;
}

.ppress-lms-muted {
    color: var(--l-muted);
    font-size: .9em;
}

.ppress-lms-h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 0 0 1rem;
}

.ppress-lms-h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 0 0 .75rem;
}

.ppress-lms-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--l-muted);
    margin: 0;
}

/* buttons */
.ppress-lms .ppress-lms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 10px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, transform .05s;
    font-family: inherit;
    white-space: nowrap;
    box-shadow: none;
}

.ppress-lms .ppress-lms-btn:active {
    transform: translateY(1px);
}

.ppress-lms .ppress-lms-btn-primary {
    background: var(--l-accent);
    color: #fff;
}

.ppress-lms .ppress-lms-btn-primary:hover,
.ppress-lms .ppress-lms-btn-primary:focus {
    background: var(--l-accent-strong);
    color: #fff;
}

.ppress-lms .ppress-lms-btn-success {
    background: var(--l-success-soft);
    color: var(--l-success);
    border-color: var(--l-success-border);
}

.ppress-lms .ppress-lms-btn-ghost {
    background: transparent;
    color: var(--l-text);
    border-color: var(--l-border);
}

.ppress-lms .ppress-lms-btn-ghost:hover,
.ppress-lms .ppress-lms-btn-ghost:focus {
    background: var(--l-soft);
    color: var(--l-text);
    border-color: var(--l-border-strong);
}

.ppress-lms .ppress-lms-btn-disabled {
    background: var(--l-soft);
    color: var(--l-muted);
    border-color: var(--l-border);
    cursor: default;
}

.ppress-lms .ppress-lms-btn-block {
    display: flex;
    width: 100%;
    /* a long label wraps instead of being cut off at the card's edges. */
    white-space: normal;
    text-align: center;
}

.ppress-lms .ppress-lms-btn-lg {
    padding: 14px 22px;
    font-size: 16px;
}

.ppress-lms .ppress-lms-btn.is-busy {
    opacity: .7;
    pointer-events: none;
}

.ppress-lms-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 0;
    background: transparent;
    color: var(--l-text);
    cursor: pointer;
    padding: 0;
}

.ppress-lms-icon-btn:hover,
.ppress-lms-icon-btn:focus-visible {
    background: var(--l-soft);
}

.ppress-lms a:focus-visible,
.ppress-lms button:focus-visible,
.ppress-lms summary:focus-visible,
.ppress-lms label:focus-within {
    outline: 2px solid var(--l-accent);
    outline-offset: 2px;
}

/* progress */
.ppress-lms-progress {
    height: 8px;
    border-radius: 999px;
    background: var(--l-border);
    overflow: hidden;
}

.ppress-lms-progress span {
    display: block;
    height: 100%;
    background: var(--l-accent);
    border-radius: inherit;
    transition: width .4s ease;
}

.ppress-lms-progress-label {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.ppress-lms-progress-label strong {
    font-size: 1.5rem;
}

.ppress-lms-progress-label span {
    color: var(--l-muted);
    font-size: 14px;
}

.ppress-lms-progress-summary {
    margin-bottom: 16px;
}

/* meta list */
.ppress-lms .ppress-lms-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--l-muted);
    font-size: 14px;
}

.ppress-lms .ppress-lms-meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.ppress-lms-instructor img {
    border-radius: 50%;
}

.ppress-lms-badge {
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--l-accent-soft);
    color: var(--l-accent);
    white-space: nowrap;
}

.ppress-lms-box,
.ppress-lms-card {
    background: var(--l-bg);
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius);
    padding: 24px;
    margin-bottom: 24px;
}

.ppress-lms-card {
    box-shadow: var(--l-shadow);
}

.ppress-lms-video {
    position: relative;
    margin: 0 0 24px;
    border-radius: var(--l-radius);
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
}

.ppress-lms-video iframe,
.ppress-lms-video video,
.ppress-lms-video .wp-video,
.ppress-lms-video .mejs-container {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* ---------------------------------------------------------------- course page */
.ppress-lms-course {
    container-type: inline-size;
}

.ppress-lms-course-hero {
    margin-bottom: 28px;
}

.ppress-lms-course-subtitle {
    font-size: 1.2rem;
    color: var(--l-muted);
    margin: 0 0 14px;
}

.ppress-lms-course-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.ppress-lms-course-aside {
    order: -1;
}

@container (min-width: 760px) {
    .ppress-lms-course-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        align-items: start;
    }

    .ppress-lms-course-aside {
        order: 0;
        position: sticky;
        top: 32px;
    }
}

.ppress-lms-enroll-card {
    padding: 0;
    overflow: hidden;
}

.ppress-lms-enroll-card-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.ppress-lms-enroll-card-body {
    padding: 22px;
}

.ppress-lms-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 16px;
}

.ppress-lms-price-amount {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.ppress-lms-price-billing {
    color: var(--l-muted);
}

.ppress-lms-plan-options {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ppress-lms-plan-options a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--l-border);
    border-radius: 8px;
    color: var(--l-text);
    text-decoration: none;
    font-size: 14px;
}

.ppress-lms-plan-options a:hover {
    border-color: var(--l-accent);
}

.ppress-lms-secondary-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
}

.ppress-lms-includes {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--l-border);
    font-size: 14px;
}

.ppress-lms-includes ul {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.ppress-lms-includes li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    color: var(--l-muted);
}

.ppress-lms-outcomes ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px 24px;
}

@container (min-width: 560px) {
    .ppress-lms-outcomes ul {
        grid-template-columns: 1fr 1fr;
    }
}

.ppress-lms-outcomes li {
    display: flex;
    gap: 10px;
    margin: 0;
}

.ppress-lms-outcomes .ppress-lms-icon {
    color: var(--l-success);
    margin-top: 3px;
}

.ppress-lms-course-description {
    margin-bottom: 32px;
}

.ppress-lms-course-content-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 14px;
}

.ppress-lms-course-content-header .ppress-lms-h2 {
    margin: 0;
}

/* ---------------------------------------------------------------- curriculum */
.ppress-lms-curriculum {
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius);
    overflow: hidden;
    background: var(--l-bg);
}

.ppress-lms-section + .ppress-lms-section {
    border-top: 1px solid var(--l-border);
}

.ppress-lms-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    background: var(--l-soft);
    user-select: none;
}

.ppress-lms-section-header::-webkit-details-marker {
    display: none;
}

.ppress-lms-section-header::marker {
    content: "";
}

.ppress-lms-section-title {
    flex: 1;
    font-weight: 600;
}

.ppress-lms-section-meta {
    color: var(--l-muted);
    font-size: 13px;
    white-space: nowrap;
}

.ppress-lms-section-header .ppress-lms-icon-chevron-down {
    color: var(--l-muted);
    transition: transform .2s;
}

.ppress-lms-section[open] > .ppress-lms-section-header .ppress-lms-icon-chevron-down {
    transform: rotate(180deg);
}

.ppress-lms .ppress-lms-lessons {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}

.ppress-lms .ppress-lms-lesson {
    margin: 0;
    padding: 0;
}

.ppress-lms-lesson-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    color: var(--l-text);
    text-decoration: none;
    position: relative;
}

a.ppress-lms-lesson-link:hover {
    background: var(--l-soft);
    color: var(--l-text);
}

.ppress-lms-lesson-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--l-border);
    color: var(--l-muted);
    font-size: 12px;
    font-weight: 600;
    flex: none;
    background: var(--l-bg);
}

.ppress-lms-lesson.is-completed .ppress-lms-lesson-status {
    background: var(--l-accent);
    border-color: var(--l-accent);
    color: #fff;
}

.ppress-lms-lesson.is-current .ppress-lms-lesson-status {
    border-color: var(--l-accent);
    color: var(--l-accent);
}

.ppress-lms-lesson.is-completed.is-current .ppress-lms-lesson-status {
    color: #fff;
}

.ppress-lms-lesson.is-locked .ppress-lms-lesson-status {
    background: var(--l-soft);
}

.ppress-lms-lesson.is-locked .ppress-lms-lesson-title {
    color: var(--l-muted);
}

.ppress-lms-lesson-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ppress-lms-lesson-title {
    font-size: 15px;
    line-height: 1.4;
}

.ppress-lms-lesson-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    color: var(--l-muted);
    font-size: 12px;
    margin-top: 2px;
}

.ppress-lms-curriculum-sidebar {
    border: 0;
    border-radius: 0;
}

.ppress-lms-curriculum-sidebar .ppress-lms-section-header {
    padding: 14px 20px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.ppress-lms-curriculum-sidebar .ppress-lms-lesson-link {
    padding: 10px 20px;
}

.ppress-lms-curriculum-sidebar .ppress-lms-lesson.is-current .ppress-lms-lesson-link {
    background: var(--l-accent-soft);
}

.ppress-lms-curriculum-sidebar .ppress-lms-lesson.is-current .ppress-lms-lesson-link:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--l-accent);
}

.ppress-lms-curriculum-sidebar .ppress-lms-lesson.is-current .ppress-lms-lesson-title {
    font-weight: 600;
}

/* ---------------------------------------------------------------- focus mode */
body.ppress-lms-focus-mode {
    margin: 0;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
}

.ppress-lms-focus {
    --l-top: var(--wp-admin--admin-bar--height, 0px);
    min-height: 100vh;
}

.ppress-lms-focus-header {
    position: fixed;
    top: var(--l-top);
    left: 0;
    right: 0;
    height: var(--l-header);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    background: var(--l-bg);
    border-bottom: 1px solid var(--l-border);
}

.ppress-lms .ppress-lms-focus-course {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    color: var(--l-text);
    text-decoration: none;
    line-height: 1.3;
}

.ppress-lms-focus-course strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
}

.ppress-lms-focus-course .ppress-lms-eyebrow {
    font-size: 11px;
}

.ppress-lms-focus-progress {
    width: 240px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ppress-lms-focus-progress .ppress-lms-progress-text {
    font-size: 13px;
    color: var(--l-muted);
    text-align: right;
}

.ppress-lms-focus-progress .ppress-lms-progress {
    height: 6px;
}

.ppress-lms .ppress-lms-focus-exit {
    padding: 8px 14px;
    font-size: 14px;
}

.ppress-lms-focus-body {
    padding-top: var(--l-header);
}

.ppress-lms-focus-sidebar {
    position: fixed;
    top: calc(var(--l-top) + var(--l-header));
    bottom: 0;
    left: 0;
    width: var(--l-sidebar);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--l-bg);
    border-right: 1px solid var(--l-border);
    z-index: 90;
    transition: transform .25s ease;
}

.ppress-lms-sidebar-head {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--l-border);
}

.ppress-lms-sidebar-head strong {
    display: block;
}

.ppress-lms-focus-main {
    margin-left: var(--l-sidebar);
    min-height: calc(100vh - var(--l-header) - var(--l-top));
    display: flex;
    flex-direction: column;
    transition: margin-left .25s ease;
}

.ppress-lms-focus.is-sidebar-collapsed .ppress-lms-focus-sidebar {
    transform: translateX(-100%);
}

.ppress-lms-focus.is-sidebar-collapsed .ppress-lms-focus-main {
    margin-left: 0;
}

.ppress-lms-lesson-article {
    flex: 1;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 32px 48px;
}

.ppress-lms-lesson-header {
    margin-bottom: 28px;
}

.ppress-lms-lesson-header .ppress-lms-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-bottom: 8px;
}

.ppress-lms-lesson-header .ppress-lms-eyebrow span + span:before {
    content: "•";
    margin-right: 14px;
    opacity: .5;
}

.ppress-lms .ppress-lms-lesson-title-heading {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--l-text);
    letter-spacing: -.01em;
}

.ppress-lms-lesson-content {
    font-size: 17px;
    line-height: 1.75;
}

.ppress-lms-lesson-content > *:first-child {
    margin-top: 0;
}

.ppress-lms-lesson-content img,
.ppress-lms-lesson-content video,
.ppress-lms-lesson-content iframe {
    max-width: 100%;
    height: auto;
}

.ppress-lms-lesson-content h2,
.ppress-lms-lesson-content h3 {
    line-height: 1.3;
    margin: 2em 0 .6em;
}

.ppress-lms-lesson-content pre,
.ppress-lms-lesson-content code {
    background: var(--l-soft);
    border-radius: 6px;
    font-size: .9em;
}

.ppress-lms-lesson-content pre {
    padding: 16px;
    overflow-x: auto;
    border: 1px solid var(--l-border);
}

.ppress-lms-lesson-content code {
    padding: .15em .35em;
}

.ppress-lms-lesson-content pre code {
    padding: 0;
    background: none;
}

.ppress-lms-lesson-content blockquote {
    margin: 1.5em 0;
    padding: 4px 20px;
    border-left: 4px solid var(--l-accent);
    background: var(--l-soft);
    border-radius: 0 8px 8px 0;
}

.ppress-lms-lesson-content a {
    color: var(--l-accent);
}

.ppress-lms-resources {
    margin-top: 36px;
}

.ppress-lms-resources ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.ppress-lms-resources li {
    margin: 0;
}

.ppress-lms-resources a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--l-border);
    border-radius: 10px;
    color: var(--l-text);
    text-decoration: none;
}

.ppress-lms-resources a span {
    flex: 1;
}

.ppress-lms-resources a:hover {
    border-color: var(--l-accent);
    color: var(--l-accent);
}

.ppress-lms-comments {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--l-border);
}

/* video progress */
.ppress-lms-video-notes {
    margin: -12px 0 20px;
}

.ppress-lms-video-note {
    margin: 0 0 4px;
    font-size: 14px;
    color: var(--l-muted);
}

.ppress-lms-video-note:empty {
    display: none;
}

.ppress-lms-text-btn {
    border: 0;
    background: none;
    padding: 0;
    color: var(--l-accent);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.ppress-lms .ppress-lms-complete-btn.is-locked,
.ppress-lms .ppress-lms-complete-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* lesson nav */
.ppress-lms-lesson-actions {
    position: sticky;
    bottom: 0;
    background: var(--l-bar-bg);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--l-border);
    z-index: 50;
}

.ppress-lms-lesson-actions-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
    padding: 14px 32px calc(14px + env(safe-area-inset-bottom));
}

.ppress-lms-nav-spacer {
    width: 1px;
}

.ppress-lms-complete-btn {
    min-width: 220px;
}

.ppress-lms-complete-btn .ppress-lms-icon {
    display: none;
}

.ppress-lms-complete-btn.ppress-lms-btn-success .ppress-lms-icon {
    display: inline-block;
}

.ppress-lms-lesson-inline .ppress-lms-lesson-actions {
    position: static;
    background: none;
    border: 0;
    margin: 32px 0;
}

.ppress-lms-lesson-inline .ppress-lms-lesson-actions-inner {
    padding: 0;
    max-width: none;
}

.ppress-lms-breadcrumb {
    margin: 0 0 20px;
    font-size: 14px;
}

.ppress-lms-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

/* locked */
.ppress-lms-locked {
    text-align: center;
    padding: 48px 24px;
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius);
    background: linear-gradient(180deg, var(--l-soft), var(--l-bg));
}

.ppress-lms-locked-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--l-accent-soft);
    color: var(--l-accent);
    margin-bottom: 16px;
}

.ppress-lms-locked p {
    color: var(--l-muted);
    max-width: 460px;
    margin: 0 auto 20px;
}

.ppress-lms-locked .ppress-lms-price {
    justify-content: center;
}

.ppress-lms-locked-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------------------------------------------------------------- focus mode: mobile */
.ppress-lms-sidebar-overlay {
    display: none;
}

@media (max-width: 959px) {
    .ppress-lms-focus {
        --l-header: 56px;
    }

    .ppress-lms-focus-header {
        gap: 8px;
        padding: 0 8px;
    }

    .ppress-lms-focus-progress {
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        width: auto;
    }

    .ppress-lms-focus-progress .ppress-lms-progress-text {
        display: none;
    }

    .ppress-lms-focus-progress .ppress-lms-progress {
        height: 3px;
        border-radius: 0;
    }

    .ppress-lms .ppress-lms-focus-exit span {
        display: none;
    }

    .ppress-lms .ppress-lms-focus-exit {
        border: 0;
        padding: 8px;
    }

    .ppress-lms-focus-sidebar {
        top: var(--l-top);
        width: min(380px, 88vw);
        z-index: 200;
        transform: translateX(-100%);
        box-shadow: 0 0 40px rgba(15, 23, 42, .2);
        border-right: 0;
    }

    .ppress-lms-focus.is-sidebar-open .ppress-lms-focus-sidebar {
        transform: none;
    }

    .ppress-lms-sidebar-head {
        display: flex;
        position: sticky;
        top: 0;
        background: var(--l-bg);
        z-index: 2;
    }

    .ppress-lms-curriculum-sidebar .ppress-lms-section-header {
        position: static;
    }

    .ppress-lms-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, .5);
        z-index: 150;
        opacity: 0;
        transition: opacity .25s;
    }

    .ppress-lms-focus.is-sidebar-open .ppress-lms-sidebar-overlay {
        opacity: 1;
    }

    .ppress-lms-focus-main,
    .ppress-lms-focus.is-sidebar-collapsed .ppress-lms-focus-main {
        margin-left: 0;
    }

    .ppress-lms-lesson-article {
        padding: 24px 18px 32px;
    }

    .ppress-lms-video {
        margin-left: -18px;
        margin-right: -18px;
        border-radius: 0;
    }

    .ppress-lms-lesson-content {
        font-size: 16px;
    }

    .ppress-lms-focus .ppress-lms-lesson-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .ppress-lms-focus .ppress-lms-lesson-article {
        padding-bottom: 110px;
    }

    .ppress-lms-lesson-actions-inner {
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        gap: 8px;
    }

    .ppress-lms-lesson-actions .ppress-lms-nav-prev span,
    .ppress-lms-lesson-actions .ppress-lms-nav-next span {
        display: none;
    }

    .ppress-lms-lesson-actions .ppress-lms-nav-prev,
    .ppress-lms-lesson-actions .ppress-lms-nav-next {
        width: 48px;
        padding: 12px 0;
        flex: none;
    }

    .ppress-lms-complete-btn {
        flex: 1;
        min-width: 0;
        padding: 12px;
    }

    body.ppress-lms-sidebar-is-open {
        overflow: hidden;
    }
}

@media (min-width: 960px) {
    .ppress-lms-sidebar-overlay {
        display: none !important;
    }
}

/* ---------------------------------------------------------------- quiz */
.ppress-lms-quiz {
    margin: 8px 0 24px;
}

.ppress-lms-quiz-intro {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.ppress-lms-quiz-intro > div:nth-child(2) {
    flex: 1;
    min-width: 200px;
}

.ppress-lms-quiz-intro .ppress-lms-h3 {
    margin-bottom: 4px;
}

.ppress-lms-quiz-intro p {
    margin: 0;
}

.ppress-lms-quiz-intro-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--l-accent-soft);
    color: var(--l-accent);
    flex: none;
}

.ppress-lms-quiz-last {
    font-weight: 600;
    margin-top: 6px !important;
    font-size: 14px;
}

.ppress-lms-quiz-last.is-passed {
    color: var(--l-success);
}

.ppress-lms-quiz-last.is-failed {
    color: var(--l-danger);
}

.ppress-lms-quiz-stage {
    background: var(--l-bg);
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius);
    box-shadow: var(--l-shadow);
    overflow: hidden;
}

.ppress-lms-quiz-top {
    padding: 18px 24px 0;
}

.ppress-lms-quiz-top .ppress-lms-progress {
    height: 6px;
    margin-top: 10px;
}

.ppress-lms-quiz-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--l-muted);
}

.ppress-lms-quiz-question {
    padding: 22px 24px 8px;
}

.ppress-lms-quiz-question-text {
    font-size: 1.25rem;
    line-height: 1.45;
    font-weight: 600;
    margin: 0 0 6px;
}

.ppress-lms-quiz-question-text p {
    margin: 0 0 .5em;
}

.ppress-lms-quiz-hint {
    color: var(--l-muted);
    font-size: 14px;
    margin: 0 0 16px;
}

.ppress-lms-quiz-options {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.ppress-lms .ppress-lms-quiz-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 2px solid var(--l-border);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .12s, background .12s;
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

.ppress-lms-quiz-option:hover {
    border-color: var(--l-border-strong);
    background: var(--l-soft);
}

.ppress-lms-quiz-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ppress-lms-quiz-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--l-border);
    background: var(--l-bg);
    font-weight: 700;
    font-size: 13px;
    color: var(--l-muted);
    flex: none;
}

.ppress-lms-quiz-option.is-selected {
    border-color: var(--l-accent);
    background: var(--l-accent-soft);
}

.ppress-lms-quiz-option.is-selected .ppress-lms-quiz-letter {
    background: var(--l-accent);
    border-color: var(--l-accent);
    color: #fff;
}

.ppress-lms-quiz-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.ppress-lms-quiz-timer {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 14px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--l-soft);
    border: 1px solid var(--l-border);
}

.ppress-lms-quiz-timer.is-low {
    color: var(--l-danger);
    border-color: var(--l-danger-border);
    background: var(--l-danger-soft);
}

.ppress-lms .ppress-lms-quiz-text {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid var(--l-border);
    border-radius: 12px;
    font-family: inherit;
    color: var(--l-text);
    background: var(--l-bg);
}

.ppress-lms .ppress-lms-quiz-text:focus {
    outline: none;
    border-color: var(--l-accent);
}

.ppress-lms-quiz-matching {
    display: grid;
    gap: 10px;
}

.ppress-lms .ppress-lms-quiz-match {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 2px solid var(--l-border);
    border-radius: 12px;
    margin: 0;
}

.ppress-lms-quiz-match select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--l-border);
    border-radius: 8px;
    font: inherit;
    background: var(--l-bg);
    color: var(--l-text);
}

@media (max-width: 600px) {
    .ppress-lms .ppress-lms-quiz-match {
        grid-template-columns: 1fr;
    }
}

.ppress-lms .ppress-lms-quiz-order {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.ppress-lms .ppress-lms-quiz-order li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 12px;
    border: 2px solid var(--l-border);
    border-radius: 12px;
    margin: 0;
}

.ppress-lms-quiz-order-text {
    flex: 1;
}

.ppress-lms-quiz-order .ppress-lms-icon-btn {
    width: 34px;
    height: 34px;
    border: 1px solid var(--l-border);
    font-size: 16px;
}

.ppress-lms-quiz-order .ppress-lms-icon-btn:disabled {
    opacity: .35;
    cursor: default;
}

.ppress-lms-quiz-note {
    margin: -8px 0 16px !important;
    font-size: 14px;
}

.ppress-lms-quiz-review-label {
    margin: 0 0 6px 34px;
    font-size: 13px;
    color: var(--l-muted);
}

.ppress-lms-quiz-review ul.is-ordered {
    counter-reset: ppress-lms-order;
}

.ppress-lms-quiz-review ul.is-ordered li {
    justify-content: flex-start;
}

.ppress-lms-quiz-review ul.is-ordered li:before {
    counter-increment: ppress-lms-order;
    content: counter(ppress-lms-order) ".";
    font-weight: 600;
    margin-right: 8px;
}

.ppress-lms-quiz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 18px 24px 22px;
}

.ppress-lms-quiz-error {
    color: var(--l-danger);
    font-size: 14px;
    flex: 1;
    text-align: center;
}

.ppress-lms-quiz-result {
    text-align: center;
    padding: 32px 24px 24px;
}

.ppress-lms-quiz-score {
    --score: 0;
    --ring: var(--l-danger);
    width: 132px;
    height: 132px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    background: radial-gradient(closest-side, var(--l-bg) 79%, transparent 80% 100%), conic-gradient(var(--ring) calc(var(--score) * 1%), var(--l-border) 0);
}

.ppress-lms-quiz-score.is-passed {
    --ring: var(--l-success);
}

.ppress-lms-quiz-score strong {
    font-size: 2rem;
}

/* submitted, with answers waiting to be graded by hand */
.ppress-lms-quiz-score.is-pending {
    --score: 100;
    --ring: var(--l-accent-soft);
}

.ppress-lms-quiz-last.is-pending {
    color: var(--l-muted, inherit);
}

.ppress-lms-quiz-result h3 {
    font-size: 1.4rem;
    margin: 0 0 6px;
}

.ppress-lms-quiz-result p {
    color: var(--l-muted);
    margin: 0 0 20px;
}

.ppress-lms-quiz-result-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ppress-lms-quiz-review {
    border-top: 1px solid var(--l-border);
    padding: 20px 24px 24px;
    text-align: left;
}

.ppress-lms-quiz-review h4 {
    margin: 0 0 14px;
    font-size: 1rem;
}

.ppress-lms-quiz-review-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--l-border);
}

.ppress-lms-quiz-review-item:last-child {
    border-bottom: 0;
}

.ppress-lms-quiz-review-q {
    display: flex;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 10px;
}

.ppress-lms-quiz-review-q p {
    margin: 0;
}

.ppress-lms-quiz-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex: none;
    color: #fff;
    background: var(--l-danger);
    margin-top: 1px;
}

.ppress-lms-quiz-mark.is-correct {
    background: var(--l-success);
}

.ppress-lms-quiz-review ul {
    list-style: none;
    margin: 0 0 0 34px;
    padding: 0;
    display: grid;
    gap: 6px;
}

.ppress-lms-quiz-review li {
    margin: 0;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--l-border);
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.ppress-lms-quiz-review li small {
    font-weight: 600;
    white-space: nowrap;
}

.ppress-lms-quiz-review li.is-answer {
    border-color: var(--l-success-border);
    background: var(--l-success-soft);
}

.ppress-lms-quiz-review li.is-answer small {
    color: var(--l-success);
}

.ppress-lms-quiz-review li.is-wrong {
    border-color: var(--l-danger-border);
    background: var(--l-danger-soft);
}

.ppress-lms-quiz-review li.is-wrong small {
    color: var(--l-danger);
}

.ppress-lms-quiz-explanation {
    margin: 10px 0 0 34px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--l-soft);
    color: var(--l-muted);
    font-size: 14px;
}

.ppress-lms-quiz-explanation p {
    margin: 0;
}

/* ---------------------------------------------------------------- blocks */
.ppress-lms-progress-card {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ppress-lms-progress-card-text {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ppress-lms-block-enroll .ppress-lms-enroll-card {
    max-width: 380px;
}

/* ---------------------------------------------------------------- course grid */
.ppress-lms-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 24px;
    margin: 0 0 24px;
}

@media (min-width: 900px) {
    .ppress-lms-course-grid {
        grid-template-columns: repeat(var(--ppress-lms-columns, 3), minmax(0, 1fr));
    }
}

.ppress-lms-course-card {
    display: flex;
    flex-direction: column;
    background: var(--l-bg);
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.ppress-lms-course-card:hover {
    box-shadow: var(--l-shadow);
    transform: translateY(-2px);
}

.ppress-lms-course-card-media {
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--l-accent-soft);
}

.ppress-lms-course-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ppress-lms-course-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--l-accent);
}

.ppress-lms-course-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    flex: 1;
}

.ppress-lms .ppress-lms-course-card-title {
    font-size: 1.1rem;
    line-height: 1.35;
    margin: 0;
}

.ppress-lms-course-card-title a {
    color: var(--l-text);
    text-decoration: none;
}

.ppress-lms-course-card-title a:hover {
    color: var(--l-accent);
}

.ppress-lms-course-card-excerpt {
    color: var(--l-muted);
    font-size: 14px;
    margin: 0;
}

.ppress-lms-course-card .ppress-lms-meta {
    font-size: 13px;
}

.ppress-lms-course-card-footer {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.ppress-lms-course-card-footer .ppress-lms-progress-summary {
    width: 100%;
    margin: 0;
}

.ppress-lms-course-card-footer .ppress-lms-progress {
    margin-bottom: 6px;
}

.ppress-lms-course-card-price {
    font-weight: 700;
    font-size: 1.05rem;
}

.ppress-lms-course-card-price small {
    color: var(--l-muted);
    font-weight: 400;
    font-size: 13px;
    margin-left: 4px;
}

.ppress-lms-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: var(--l-accent);
}

.ppress-lms-empty {
    text-align: center;
    padding: 40px 20px;
    border: 1px dashed var(--l-border);
    border-radius: var(--l-radius);
    color: var(--l-muted);
}

.ppress-lms-empty .ppress-lms-icon {
    color: var(--l-accent);
}

@media (prefers-reduced-motion: reduce) {
    .ppress-lms *,
    .ppress-lms *:before,
    .ppress-lms *:after {
        transition: none !important;
        animation: none !important;
    }
}

/* access rules */
.ppress-lms-enroll-notes {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    font-size: 14px;
}

.ppress-lms-enroll-notes li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 8px;
    color: var(--l-muted);
}

.ppress-lms-enroll-notes .ppress-lms-icon {
    flex: none;
    margin-top: 2px;
}

.ppress-lms-locked.ppress-lms-locked-protected {
    text-align: left;
}

/* student preview */
.ppress-lms-preview-bar {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: calc(100% - 32px);
    padding: 10px 16px;
    border-radius: 12px;
    background: #0f172a;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .3);
}

.ppress-lms-preview-bar a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    white-space: nowrap;
}

@media (max-width: 782px) {
    .ppress-lms-preview-bar {
        right: 16px;
        bottom: 90px;
        font-size: 13px;
    }
}

/* catalog filters */
.ppress-lms-catalog-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
}

.ppress-lms-catalog-search {
    position: relative;
    flex: 1 1 260px;
    display: flex;
    align-items: center;
}

.ppress-lms-catalog-search .ppress-lms-icon {
    position: absolute;
    left: 12px;
    color: var(--l-muted);
    pointer-events: none;
}

.ppress-lms-catalog-filters input[type="search"],
.ppress-lms-catalog-filters select {
    box-sizing: border-box;
    height: 42px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--l-border);
    border-radius: 10px;
    background: var(--l-bg);
    color: inherit;
    font: inherit;
    font-size: 15px;
}

.ppress-lms-catalog-filters input[type="search"] {
    width: 100%;
    padding-left: 38px;
}

.ppress-lms-catalog-filters select {
    flex: 0 1 auto;
    max-width: 100%;
}

.ppress-lms-catalog-filters .ppress-lms-btn {
    height: 42px;
}

.ppress-lms-catalog-count {
    flex-basis: 100%;
    margin: 0;
    font-size: 14px;
}

.ppress-lms-catalog-empty {
    padding: 40px 20px;
    border: 1px dashed var(--l-border);
    border-radius: var(--l-radius);
    text-align: center;
}

.ppress-lms-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 8px 0 24px;
    padding: 0;
    list-style: none;
}

.ppress-lms-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--l-border);
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
}

.ppress-lms-pagination .page-numbers.current {
    background: var(--ppress-lms-accent);
    border-color: var(--ppress-lms-accent);
    color: #fff;
}

/* instructors */
.ppress-lms-avatar-stack {
    display: inline-flex;
}

.ppress-lms-avatar-stack img + img {
    margin-left: -8px;
    box-shadow: 0 0 0 2px var(--l-bg);
}

.ppress-lms-course-instructors {
    margin-top: 32px;
}

.ppress-lms-instructor-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--l-border);
}

.ppress-lms-instructor-card img {
    flex: none;
    border-radius: 50%;
}

.ppress-lms-instructor-bio {
    margin-top: 4px;
    color: var(--l-muted);
}

.ppress-lms-instructor-bio p {
    margin: 0 0 8px;
}

/* course archive */
.ppress-lms-archive:not(.wp-block-group) {
    box-sizing: border-box;
    max-width: 1240px;
    margin: 0 auto;
    padding: 32px 20px 48px;
}

.ppress-lms-archive.wp-block-group {
    padding-top: 32px;
    padding-bottom: 48px;
}

.ppress-lms-archive-header {
    margin-bottom: 24px;
}

.ppress-lms-archive-title {
    margin: 0 0 8px;
}

.ppress-lms-archive-description {
    color: var(--l-muted, #64748b);
}

/* ---------------------------------------------------------------- focus mode dark theme
 * html[data-ppress-lms-theme] is set on focus mode pages: "dark", "light", or "auto" to follow the device. */
html[data-ppress-lms-theme="dark"] body.ppress-lms-focus-mode {
    background: #0f172a;
    color: #e2e8f0;
    color-scheme: dark;
}

html[data-ppress-lms-theme="dark"] .ppress-lms {
    --l-accent-soft: color-mix(in srgb, var(--l-accent) 22%, #0f172a);
    --l-accent-strong: color-mix(in srgb, var(--l-accent) 80%, #fff);
    --l-text: #e2e8f0;
    --l-muted: #94a3b8;
    --l-border: #334155;
    --l-border-strong: #475569;
    --l-soft: #1e293b;
    --l-bg: #0f172a;
    --l-success: #4ade80;
    --l-success-soft: color-mix(in srgb, #16a34a 18%, #0f172a);
    --l-success-border: #166534;
    --l-danger: #f87171;
    --l-danger-soft: color-mix(in srgb, #dc2626 18%, #0f172a);
    --l-danger-border: #991b1b;
    --l-bar-bg: rgba(15, 23, 42, .94);
    --l-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .35);
}

@media (prefers-color-scheme: dark) {
    html[data-ppress-lms-theme="auto"] body.ppress-lms-focus-mode {
        background: #0f172a;
        color: #e2e8f0;
        color-scheme: dark;
    }

    html[data-ppress-lms-theme="auto"] .ppress-lms {
        --l-accent-soft: color-mix(in srgb, var(--l-accent) 22%, #0f172a);
        --l-accent-strong: color-mix(in srgb, var(--l-accent) 80%, #fff);
        --l-text: #e2e8f0;
        --l-muted: #94a3b8;
        --l-border: #334155;
        --l-border-strong: #475569;
        --l-soft: #1e293b;
        --l-bg: #0f172a;
        --l-success: #4ade80;
        --l-success-soft: color-mix(in srgb, #16a34a 18%, #0f172a);
        --l-success-border: #166534;
        --l-danger: #f87171;
        --l-danger-soft: color-mix(in srgb, #dc2626 18%, #0f172a);
        --l-danger-border: #991b1b;
        --l-bar-bg: rgba(15, 23, 42, .94);
        --l-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .35);
    }
}

/* lesson content written for light pages (e.g. block colors) stays readable. */
html[data-ppress-lms-theme="dark"] .ppress-lms-focus .ppress-lms-lesson-content :where(a) {
    color: color-mix(in srgb, var(--l-accent) 70%, #fff);
}

.ppress-lms-theme-toggle .ppress-lms-icon-sun,
html[data-ppress-lms-theme="dark"] .ppress-lms-theme-toggle .ppress-lms-icon-moon {
    display: none;
}

html[data-ppress-lms-theme="dark"] .ppress-lms-theme-toggle .ppress-lms-icon-sun {
    display: inline;
}

/* ---------------------------------------------------------------- community */
.ppress-lms-qa,
.ppress-lms-reviews {
    margin-top: 40px;
}

.ppress-lms-qa h2 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ppress-lms-qa-form,
.ppress-lms-review-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 24px;
}

.ppress-lms-qa-form textarea,
.ppress-lms-review-form textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--l-border);
    border-radius: 10px;
    background: var(--l-bg);
    color: var(--l-text);
    font: inherit;
}

.ppress-lms-qa-list,
.ppress-lms-qa-replies,
.ppress-lms-review-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ppress-lms-qa-item {
    padding: 16px 0;
    border-top: 1px solid var(--l-border);
}

.ppress-lms-qa-replies {
    margin: 12px 0 0 48px;
}

.ppress-lms-qa-replies li {
    padding-top: 12px;
}

.ppress-lms-qa-entry,
.ppress-lms-review {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ppress-lms-qa-entry img,
.ppress-lms-review img {
    flex: none;
    border-radius: 50%;
}

.ppress-lms-qa-meta,
.ppress-lms-review-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.ppress-lms-qa-text p,
.ppress-lms-review p {
    margin: 6px 0 0;
}

.ppress-lms-qa-reply {
    margin: 8px 0 0 48px;
}

.ppress-lms-qa-reply summary {
    color: var(--l-accent);
    font-size: 14px;
    cursor: pointer;
}

.ppress-lms-qa-reply .ppress-lms-qa-form {
    margin: 10px 0 0;
}

.ppress-lms-stars {
    display: inline-flex;
    gap: 1px;
    vertical-align: middle;
}

.ppress-lms-star {
    display: inline-flex;
    color: #f59e0b;
}

.ppress-lms-star .ppress-lms-icon {
    fill: currentColor;
}

.ppress-lms-star.is-empty {
    color: var(--l-border-strong);
}

.ppress-lms-star.is-empty .ppress-lms-icon {
    fill: none;
}

.ppress-lms-star.is-half .ppress-lms-icon {
    fill: currentColor;
    fill-opacity: .45;
}

.ppress-lms-rating a {
    color: inherit;
    text-decoration: none;
}

.ppress-lms-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ppress-lms-reviews-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px 40px;
    margin: 0 0 24px;
}

.ppress-lms-reviews-average {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.ppress-lms-reviews-average strong {
    font-size: 44px;
    line-height: 1;
}

.ppress-lms-reviews-bars {
    flex: 1 1 260px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.ppress-lms-reviews-bars li {
    display: grid;
    grid-template-columns: 56px 1fr 40px;
    align-items: center;
    gap: 10px;
    margin: 4px 0;
}

.ppress-lms-review {
    padding: 16px 0;
    border-top: 1px solid var(--l-border);
}

.ppress-lms-star-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 2px;
    margin: 0;
    padding: 0;
    border: 0;
}

.ppress-lms-star-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ppress-lms-star-input label {
    color: var(--l-border-strong);
    cursor: pointer;
}

.ppress-lms-star-input label .ppress-lms-icon {
    fill: currentColor;
}

.ppress-lms-star-input label:hover,
.ppress-lms-star-input label:hover ~ label,
.ppress-lms-star-input input:checked ~ label {
    color: #f59e0b;
}

.ppress-lms-star-input input:focus-visible + label {
    outline: 2px solid var(--l-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.ppress-lms-notice {
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--l-success-soft);
    color: var(--l-success);
}

.ppress-lms-notice.is-error {
    background: var(--l-danger-soft);
    color: var(--l-danger);
}

/* Course bundles */
.ppress-lms-bundle {
    display: grid;
    gap: 24px;
    margin: 24px 0;
}

.ppress-lms-bundle-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius);
    background: var(--l-soft);
    align-items: center;
}

@media (max-width: 720px) {
    .ppress-lms-bundle-summary {
        grid-template-columns: 1fr;
    }
}

.ppress-lms-bundle-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--l-accent);
}

.ppress-lms .ppress-lms-bundle-title {
    margin: 4px 0 8px;
    font-size: 1.6em;
    line-height: 1.25;
}

.ppress-lms-bundle-description {
    color: var(--l-muted);
}

.ppress-lms-bundle-description p:last-child {
    margin-bottom: 0;
}

.ppress-lms-bundle-buy {
    display: grid;
    gap: 12px;
}

.ppress-lms-bundle-savings {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.ppress-lms-bundle-save {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--l-success-soft);
    color: var(--l-success);
    border: 1px solid var(--l-success-border);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* Courses a purchase unlocked: payment success page and orders in My Account */
.ppress-lms-order-courses {
    margin: 0 0 24px;
    padding: 18px 20px;
    border: 1px solid var(--l-border);
    border-radius: var(--l-radius);
    background: var(--l-soft);
}

.ppress-lms-order-courses h3 {
    margin: 0 0 12px;
    font-size: 1.1em;
}

.ppress-lms-order-courses ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ppress-lms-order-courses li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--l-border);
}

.ppress-lms-order-courses li:first-child {
    border-top: 0;
    padding-top: 0;
}

.ppress-lms-order-course-title {
    font-weight: 600;
    color: var(--l-text);
    text-decoration: none;
}
