/* StanLoop student-facing course experience — v0.1.88.18.23.1 */

body.stanloop-course-experience-page {
    --sl-course-green: #5ea72f;
    --sl-course-green-deep: #3f8f24;
    --sl-course-green-soft: #edf8e5;
    --sl-course-orange: #ff7417;
    --sl-course-orange-deep: #e85d05;
    --sl-course-orange-soft: #fff0df;
    --sl-course-ink: #172033;
    --sl-course-muted: #667085;
    --sl-course-line: rgba(23, 32, 51, .11);
    --sl-course-shadow: 0 22px 62px rgba(35, 48, 77, .11);
    margin: 0;
    background:
        radial-gradient(circle at 8% 4%, rgba(94, 167, 47, .15), transparent 31%),
        radial-gradient(circle at 92% 12%, rgba(255, 116, 23, .12), transparent 27%),
        linear-gradient(145deg, #f7fbf4, #fffaf5 48%, #f7fafc);
    color: var(--sl-course-ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.stanloop-course-experience-page .site-header,
body.stanloop-course-experience-page .site-footer {
    display: none !important;
}

body.stanloop-course-experience-page > .wp-site-blocks,
body.stanloop-course-experience-page .wp-site-blocks {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

body.stanloop-course-experience-page .stanloop-loop-site-header {
    margin-bottom: 10px;
}

body.stanloop-course-experience-page .stanloop-loop-site-footer {
    margin-top: 24px;
}

body.stanloop-course-experience-page .tutor-wrap.tutor-course-top-info {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 24px 18px 30px;
    background: transparent;
}

body.stanloop-course-experience-page .tutor-course-details-page.tutor-container {
    width: min(1240px, 100%);
    max-width: 1240px !important;
    margin: 0 auto;
    padding: 0 !important;
}

.stanloop-course-backlink {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    padding: 10px 14px;
    border: 1px solid rgba(94, 167, 47, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .84);
    color: var(--sl-course-green-deep) !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 10px 26px rgba(44, 76, 39, .07);
    transition: transform .18s ease, box-shadow .18s ease;
}

.stanloop-course-backlink:hover,
.stanloop-course-backlink:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(44, 76, 39, .12);
}

body.stanloop-course-experience-page .tutor-course-details-header {
    position: relative;
    min-height: 190px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
    grid-template-areas:
        "badge ratings"
        "title details"
        "creator details";
    column-gap: 34px;
    row-gap: 9px;
    align-items: center;
    margin: 0 0 20px !important;
    padding: 28px 34px 26px;
    overflow: hidden;
    border: 1px solid rgba(94, 167, 47, .16);
    border-radius: 26px;
    background:
        linear-gradient(115deg, rgba(234, 247, 222, .98), rgba(255, 249, 242, .96) 58%, rgba(255, 255, 255, .96));
    box-shadow: var(--sl-course-shadow);
}

body.stanloop-course-experience-page .tutor-course-details-header::before,
body.stanloop-course-experience-page .tutor-course-details-header::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
}

body.stanloop-course-experience-page .tutor-course-details-header::before {
    width: 230px;
    height: 230px;
    right: -78px;
    top: -108px;
    background: rgba(255, 116, 23, .12);
}

body.stanloop-course-experience-page .tutor-course-details-header::after {
    width: 160px;
    height: 160px;
    right: 88px;
    bottom: -118px;
    background: rgba(94, 167, 47, .13);
}

body.stanloop-course-experience-page .tutor-course-details-header > * {
    position: relative;
    z-index: 1;
}

.stanloop-course-state-badge {
    grid-area: badge;
    justify-self: start;
    align-self: end;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 2px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
}

.stanloop-course-state-badge.is-progress,
.stanloop-course-state-badge.is-complete {
    color: var(--sl-course-green-deep);
    background: rgba(94, 167, 47, .14);
    border: 1px solid rgba(94, 167, 47, .22);
}

.stanloop-course-state-badge.is-ready,
.stanloop-course-state-badge.is-guest,
.stanloop-course-state-badge.is-pending {
    color: var(--sl-course-orange-deep);
    background: rgba(255, 116, 23, .12);
    border: 1px solid rgba(255, 116, 23, .22);
}

body.stanloop-course-experience-page .tutor-course-details-ratings {
    grid-area: ratings;
    justify-self: end;
    align-self: end;
    width: auto;
    margin: 0 4px 2px 0;
}

body.stanloop-course-experience-page .tutor-course-details-title {
    grid-area: title;
    max-width: 790px;
    margin: 0 !important;
    color: var(--sl-course-ink) !important;
    font-size: clamp(32px, 4vw, 52px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.045em;
    font-weight: 900 !important;
}

.stanloop-course-creator-meta {
    grid-area: creator;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    justify-self: start;
    align-self: start;
    margin-top: 1px;
    color: var(--sl-course-muted) !important;
    font-size: 14px;
    text-decoration: none !important;
}

.stanloop-course-creator-meta strong {
    color: var(--sl-course-green-deep);
    font-weight: 900;
}

body.stanloop-course-experience-page .tutor-course-details-top {
    grid-area: details;
    align-self: center;
    width: 100%;
    margin: 0 !important;
}

body.stanloop-course-experience-page .tutor-course-details-top > .tutor-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    margin: 0;
}

body.stanloop-course-experience-page .tutor-course-details-top .tutor-col,
body.stanloop-course-experience-page .tutor-course-details-top .tutor-col-auto {
    width: auto;
    max-width: 100%;
    flex: 0 0 auto;
    padding: 0;
}

body.stanloop-course-experience-page .tutor-course-details-top .tutor-meta {
    justify-content: flex-end;
}

body.stanloop-course-experience-page .tutor-course-details-info {
    color: var(--sl-course-muted);
    font-size: 13px;
    font-weight: 700;
}

body.stanloop-course-experience-page .tutor-course-details-actions {
    display: flex;
    gap: 10px;
}

body.stanloop-course-experience-page .tutor-course-details-actions > .tutor-btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px !important;
    border: 1px solid rgba(23, 32, 51, .10) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .82) !important;
    color: var(--sl-course-ink) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}


body.stanloop-course-experience-page .tutor-course-wishlist-btn .stanloop-course-wishlist-label {
    white-space: nowrap;
}

body.stanloop-course-experience-page .tutor-course-wishlist-btn.stanloop-course-wishlist-saved {
    border-color: rgba(23, 32, 51, .16) !important;
    background: var(--sl-course-ink) !important;
    color: #fff !important;
}

body.stanloop-course-experience-page .tutor-course-wishlist-btn.stanloop-course-wishlist-saved i,
body.stanloop-course-experience-page .tutor-course-wishlist-btn.stanloop-course-wishlist-saved span {
    color: inherit !important;
}

body.stanloop-course-experience-page .tutor-row.tutor-gx-xl-5 {
    display: grid !important;
    grid-template-columns: minmax(0, 1.75fr) minmax(310px, .85fr);
    gap: 28px;
    width: 100%;
    margin: 0 !important;
}

body.stanloop-course-experience-page main.tutor-col-xl-8,
body.stanloop-course-experience-page aside.tutor-col-xl-4 {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

body.stanloop-course-experience-page .tutor-course-thumbnail {
    overflow: hidden;
    border: 1px solid var(--sl-course-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--sl-course-shadow);
}

body.stanloop-course-experience-page .tutor-course-thumbnail img,
body.stanloop-course-experience-page .tutor-course-thumbnail video,
body.stanloop-course-experience-page .tutor-course-thumbnail iframe {
    width: 100% !important;
    min-height: 390px;
    max-height: 500px;
    display: block;
    object-fit: cover;
    border: 0;
}

body.stanloop-course-experience-page .tutor-course-details-tab {
    margin-top: 24px !important;
    padding: 0 30px 32px;
    border: 1px solid var(--sl-course-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 48px rgba(35, 48, 77, .08);
}

body.stanloop-course-experience-page .tutor-course-details-tab > .tutor-is-sticky {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 -30px 22px;
    padding: 12px 30px 0;
    border-bottom: 1px solid var(--sl-course-line);
    background: transparent !important;
    box-shadow: none !important;
}

body.stanloop-course-experience-page .tutor-course-details-tab .tutor-nav {
    gap: 8px;
    border: 0;
}

body.stanloop-course-experience-page .tutor-course-details-tab .tutor-nav-link {
    padding: 13px 15px !important;
    border: 0 !important;
    border-radius: 12px 12px 0 0;
    color: var(--sl-course-muted) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

body.stanloop-course-experience-page .tutor-course-details-tab .tutor-nav-link.is-active,
body.stanloop-course-experience-page .tutor-course-details-tab .tutor-nav-link:hover {
    color: var(--sl-course-green-deep) !important;
    background: var(--sl-course-green-soft) !important;
}

body.stanloop-course-experience-page .tutor-course-details-tab .tutor-nav-link.is-active::after {
    background: var(--sl-course-green) !important;
}

body.stanloop-course-experience-page .tutor-tab {
    padding-top: 0 !important;
}

body.stanloop-course-experience-page .tutor-tab h2,
body.stanloop-course-experience-page .tutor-tab h3,
body.stanloop-course-experience-page .tutor-tab h4 {
    color: var(--sl-course-ink) !important;
    letter-spacing: -.02em;
}

body.stanloop-course-experience-page .tutor-course-details-content,
body.stanloop-course-experience-page .tutor-course-details-widget {
    color: var(--sl-course-muted);
}

body.stanloop-course-experience-page .tutor-course-details-widget {
    padding: 22px 24px;
    border: 1px solid rgba(94, 167, 47, .16);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(237, 248, 229, .88), rgba(255, 255, 255, .96));
}

body.stanloop-course-experience-page .tutor-accordion {
    overflow: hidden;
    border: 1px solid var(--sl-course-line);
    border-radius: 18px;
}

body.stanloop-course-experience-page .tutor-accordion-item-header {
    padding: 18px 20px !important;
    color: var(--sl-course-ink) !important;
    background: #f9fbf8 !important;
    font-weight: 900 !important;
}

body.stanloop-course-experience-page .tutor-course-content-list-item {
    padding: 15px 20px !important;
    border-top: 1px solid var(--sl-course-line) !important;
}

body.stanloop-course-experience-page .tutor-course-content-list-item a {
    color: var(--sl-course-ink) !important;
    font-weight: 800;
}

body.stanloop-course-experience-page .tutor-single-course-sidebar {
    position: sticky;
    top: 24px;
    z-index: 3;
    width: 100%;
    margin-top: 0 !important;
    overflow: visible;
    isolation: isolate;
}

body.stanloop-course-experience-page .tutor-single-course-sidebar.stanloop-course-sidebar-stack > .stanloop-course-creator-card {
    width: 100%;
    box-sizing: border-box;
}

.admin-bar.stanloop-course-experience-page .tutor-single-course-sidebar {
    top: 58px;
}

body.stanloop-course-experience-page .tutor-sidebar-card {
    overflow: hidden;
    border: 1px solid rgba(94, 167, 47, .18) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: var(--sl-course-shadow) !important;
}

body.stanloop-course-experience-page .tutor-sidebar-card .tutor-card-body {
    padding: 28px !important;
}

body.stanloop-course-experience-page .tutor-sidebar-card .tutor-card-footer {
    padding: 22px 28px !important;
    border-top: 1px solid var(--sl-course-line) !important;
    background: #fbfcfa !important;
}

body.stanloop-course-experience-page .tutor-course-single-pricing {
    color: var(--sl-course-green-deep) !important;
}

body.stanloop-course-experience-page .tutor-course-single-pricing .tutor-color-black {
    color: var(--sl-course-green-deep) !important;
}

body.stanloop-course-experience-page .tutor-enroll-course-button,
body.stanloop-course-experience-page .stanloop-course-continue {
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 0 18px;
    border: 0 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--sl-course-orange), var(--sl-course-orange-deep)) !important;
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(255, 116, 23, .24);
    font-size: 15px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease;
}

body.stanloop-course-experience-page .tutor-enroll-course-button:hover,
body.stanloop-course-experience-page .stanloop-course-continue:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(255, 116, 23, .31);
}

body.stanloop-course-experience-page .stanloop-course-lessons-pending {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-top: 18px;
    padding: 15px;
    border: 1px solid rgba(255, 116, 23, .20);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255, 244, 234, .96), rgba(255, 255, 255, .98));
    color: var(--sl-course-ink);
}

body.stanloop-course-experience-page .stanloop-course-lessons-pending__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 116, 23, .13);
    color: var(--sl-course-orange-deep);
    font-size: 20px;
    font-weight: 900;
}

body.stanloop-course-experience-page .stanloop-course-lessons-pending__copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

body.stanloop-course-experience-page .stanloop-course-lessons-pending__copy strong {
    color: var(--sl-course-ink);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 900;
}

body.stanloop-course-experience-page .stanloop-course-lessons-pending__copy > span {
    color: var(--sl-course-muted);
    font-size: 12px;
    line-height: 1.55;
    font-weight: 650;
}

body.stanloop-course-experience-page .tutor-progress-bar {
    height: 10px !important;
    overflow: hidden;
    border-radius: 999px !important;
    background: #e8eee4 !important;
}

body.stanloop-course-experience-page .tutor-progress-value,
body.stanloop-course-experience-page .tutor-progress-bar > span,
body.stanloop-course-experience-page .tutor-progress-bar [style*="width"] {
    background: linear-gradient(90deg, var(--sl-course-green), var(--sl-course-green-deep)) !important;
}

body.stanloop-course-experience-page .tutor-sidebar-card .tutor-ul {
    margin: 0;
}

body.stanloop-course-experience-page .tutor-sidebar-card .tutor-ul li {
    padding: 8px 0;
    color: var(--sl-course-muted);
}

.stanloop-course-native-instructors,
.stanloop-course-native-instructors-wrap {
    display: none !important;
}

.stanloop-course-creator-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    margin-top: 16px;
    padding: 17px;
    border: 1px solid var(--sl-course-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    color: var(--sl-course-ink) !important;
    text-decoration: none !important;
    box-shadow: 0 12px 32px rgba(35, 48, 77, .07);
    transition: transform .18s ease, border-color .18s ease;
}

.stanloop-course-creator-card:hover,
.stanloop-course-creator-card:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(94, 167, 47, .36);
}

.stanloop-course-creator-card__avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 15px;
    background: var(--sl-course-green-soft);
    color: var(--sl-course-green-deep);
    font-size: 18px;
    font-weight: 900;
}

.stanloop-course-creator-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stanloop-course-creator-card__copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.stanloop-course-creator-card__copy small,
.stanloop-course-creator-card__copy span {
    color: var(--sl-course-muted);
    font-size: 11px;
    font-weight: 700;
}

.stanloop-course-creator-card__copy strong {
    overflow: hidden;
    color: var(--sl-course-ink);
    font-size: 14px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stanloop-course-creator-card__arrow {
    color: var(--sl-course-orange);
    font-size: 18px;
    font-weight: 900;
}

body.stanloop-course-experience-page .tutor-modal-content {
    overflow: hidden;
    border: 1px solid var(--sl-course-line) !important;
    border-radius: 22px !important;
    box-shadow: 0 30px 90px rgba(20, 28, 45, .22) !important;
}

body.stanloop-course-experience-page .tutor-modal-body {
    padding: 30px !important;
}

body.stanloop-course-experience-page .tutor-modal .tutor-btn-primary,
body.stanloop-course-experience-page .tutor-write-review-form .tutor-btn-primary {
    border-color: var(--sl-course-orange) !important;
    background: var(--sl-course-orange) !important;
    color: #fff !important;
}

body.stanloop-course-experience-page input:focus,
body.stanloop-course-experience-page textarea:focus,
body.stanloop-course-experience-page select:focus {
    border-color: rgba(94, 167, 47, .62) !important;
    box-shadow: 0 0 0 3px rgba(94, 167, 47, .12) !important;
}

@media (max-width: 1024px) {
    body.stanloop-course-experience-page .tutor-row.tutor-gx-xl-5 {
        grid-template-columns: 1fr;
    }

    body.stanloop-course-experience-page aside.tutor-col-xl-4 {
        order: -1;
    }

    body.stanloop-course-experience-page .tutor-single-course-sidebar {
        position: static;
    }

    body.stanloop-course-experience-page .tutor-course-thumbnail img,
    body.stanloop-course-experience-page .tutor-course-thumbnail video,
    body.stanloop-course-experience-page .tutor-course-thumbnail iframe {
        min-height: 330px;
    }
}

@media (max-width: 860px) {
    body.stanloop-course-experience-page .tutor-course-details-header {
        min-height: 0;
        grid-template-columns: 1fr;
        grid-template-areas:
            "badge"
            "title"
            "creator"
            "ratings"
            "details";
        row-gap: 12px;
    }

    body.stanloop-course-experience-page .tutor-course-details-ratings,
    body.stanloop-course-experience-page .tutor-course-details-top {
        justify-self: start;
        width: 100%;
    }

    body.stanloop-course-experience-page .tutor-course-details-top > .tutor-row {
        align-items: flex-start;
    }

    body.stanloop-course-experience-page .tutor-course-details-top .tutor-meta {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    body.stanloop-course-experience-page .tutor-wrap.tutor-course-top-info {
        padding: 16px 12px 24px;
    }

    body.stanloop-course-experience-page .tutor-course-details-header {
        min-height: 0;
        padding: 28px 22px 24px;
        border-radius: 22px;
    }

    body.stanloop-course-experience-page .tutor-course-details-title {
        font-size: clamp(31px, 10vw, 43px) !important;
    }

    body.stanloop-course-experience-page .tutor-course-details-top > .tutor-row {
        display: grid;
        gap: 13px;
    }

    body.stanloop-course-experience-page .tutor-course-details-top .tutor-col,
    body.stanloop-course-experience-page .tutor-course-details-top .tutor-col-auto {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    body.stanloop-course-experience-page .tutor-course-details-actions {
        justify-content: flex-start;
    }

    body.stanloop-course-experience-page .tutor-course-thumbnail {
        border-radius: 20px;
    }

    body.stanloop-course-experience-page .tutor-course-thumbnail img,
    body.stanloop-course-experience-page .tutor-course-thumbnail video,
    body.stanloop-course-experience-page .tutor-course-thumbnail iframe {
        min-height: 220px;
        max-height: 320px;
    }

    body.stanloop-course-experience-page .tutor-course-details-tab {
        padding: 0 18px 24px;
        border-radius: 20px;
    }

    body.stanloop-course-experience-page .tutor-course-details-tab > .tutor-is-sticky {
        margin: 0 -18px 18px;
        padding: 10px 18px 0;
        overflow-x: auto;
    }

    body.stanloop-course-experience-page .tutor-course-details-tab .tutor-nav {
        width: max-content;
        min-width: 100%;
        flex-wrap: nowrap;
    }

    body.stanloop-course-experience-page .tutor-sidebar-card .tutor-card-body,
    body.stanloop-course-experience-page .tutor-sidebar-card .tutor-card-footer {
        padding: 22px !important;
    }

    body.stanloop-course-experience-page .tutor-modal-body {
        padding: 22px !important;
    }
}

/* -------------------------------------------------------------------------
 * v0.1.88.18.22 — course-author owner state
 * ---------------------------------------------------------------------- */
.stanloop-course-state-badge.is-owner {
    color: var(--sl-course-green-deep);
    background: linear-gradient(135deg, rgba(94, 167, 47, .16), rgba(255, 255, 255, .92));
    border: 1px solid rgba(94, 167, 47, .28);
}

body.stanloop-course-state-owner .stanloop-owner-native-control-hidden,
body.stanloop-course-state-owner .tutor-course-wishlist-btn,
body.stanloop-course-state-owner .stanloop-course-creator-card {
    display: none !important;
}

body.stanloop-course-state-owner .tutor-sidebar-card .tutor-card-body {
    padding: 24px !important;
}

body.stanloop-course-experience-page .stanloop-course-owner-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border: 1px solid rgba(94, 167, 47, .19);
    border-radius: 19px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 116, 23, .12), transparent 36%),
        linear-gradient(135deg, rgba(237, 248, 231, .92), #fff);
}

body.stanloop-course-experience-page .stanloop-course-owner-panel__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 10px;
    border: 1px solid rgba(94, 167, 47, .22);
    border-radius: 999px;
    color: var(--sl-course-green-deep);
    background: rgba(255, 255, 255, .76);
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

body.stanloop-course-experience-page .stanloop-course-owner-panel h2 {
    margin: 13px 0 0;
    color: var(--sl-course-ink);
    font-size: 24px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.035em;
}

body.stanloop-course-experience-page .stanloop-course-owner-panel p {
    margin: 9px 0 0;
    color: var(--sl-course-muted);
    font-size: 13px;
    line-height: 1.65;
    font-weight: 650;
}

body.stanloop-course-experience-page .stanloop-course-owner-panel__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 18px;
}

body.stanloop-course-experience-page .stanloop-course-owner-action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid rgba(20, 32, 56, .10);
    border-radius: 12px;
    color: var(--sl-course-green-deep) !important;
    background: #fff;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    text-decoration: none !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.stanloop-course-experience-page .stanloop-course-owner-action:hover {
    transform: translateY(-1px);
    border-color: rgba(94, 167, 47, .34);
    box-shadow: 0 12px 24px rgba(36, 49, 75, .08);
}

body.stanloop-course-experience-page .stanloop-course-owner-action.is-primary {
    border: 0;
    color: #fff !important;
    background: linear-gradient(135deg, var(--sl-course-orange), var(--sl-course-orange-deep));
    box-shadow: 0 13px 26px rgba(255, 116, 23, .22);
}

body.stanloop-course-experience-page .stanloop-course-owner-action.is-primary:hover {
    box-shadow: 0 17px 32px rgba(255, 116, 23, .29);
}

@media (max-width: 680px) {
    body.stanloop-course-experience-page .stanloop-course-owner-panel {
        padding: 18px;
        border-radius: 17px;
    }

    body.stanloop-course-experience-page .stanloop-course-owner-panel h2 {
        font-size: 21px;
    }
}


/* -------------------------------------------------------------------------
 * v0.1.88.18.23 — public course mobile regression protection
 * ---------------------------------------------------------------------- */
@media (max-width: 767px) {
    html:has(body.stanloop-course-experience-page),
    body.stanloop-course-experience-page {
        width: 100%;
        max-width: 100%;
        overflow-x: clip !important;
    }

    body.stanloop-course-experience-page *,
    body.stanloop-course-experience-page *::before,
    body.stanloop-course-experience-page *::after {
        min-width: 0;
    }

    /* The Loop header's desktop navigation cannot fit on course-detail phones. */
    body.stanloop-course-experience-page .stanloop-loop-site-header {
        width: calc(100% - 16px) !important;
        max-width: none !important;
        margin: 8px auto 6px !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-site-header__inner {
        min-height: 58px !important;
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        padding: 9px 10px !important;
        border-radius: 15px !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-site-nav,
    body.stanloop-course-experience-page .stanloop-loop-site-search {
        display: none !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-site-logo {
        flex: 0 0 auto !important;
        justify-self: auto !important;
        font-size: 24px !important;
        white-space: nowrap !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-site-actions {
        width: auto !important;
        min-width: 0 !important;
        display: flex !important;
        grid-template-columns: none !important;
        align-items: center !important;
        gap: 7px !important;
        margin-left: auto !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-site-login,
    body.stanloop-course-experience-page .stanloop-loop-site-start {
        width: auto !important;
        min-width: 0 !important;
        min-height: 38px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-account-menu__toggle {
        min-height: 38px !important;
        padding: 0 8px !important;
    }

    body.stanloop-course-experience-page .tutor-wrap.tutor-course-top-info,
    body.stanloop-course-experience-page .tutor-course-details-page.tutor-container,
    body.stanloop-course-experience-page .tutor-row.tutor-gx-xl-5,
    body.stanloop-course-experience-page main.tutor-col-xl-8,
    body.stanloop-course-experience-page aside.tutor-col-xl-4,
    body.stanloop-course-experience-page .tutor-single-course-sidebar,
    body.stanloop-course-experience-page .tutor-sidebar-card,
    body.stanloop-course-experience-page .tutor-course-thumbnail,
    body.stanloop-course-experience-page .tutor-course-details-tab {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.stanloop-course-experience-page .tutor-wrap.tutor-course-top-info {
        padding: 10px 10px 22px !important;
    }

    body.stanloop-course-experience-page .stanloop-course-backlink {
        max-width: 100% !important;
        margin-bottom: 12px !important;
        overflow-wrap: anywhere;
        white-space: normal !important;
    }

    body.stanloop-course-experience-page .tutor-course-details-header {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 22px 18px 20px !important;
        border-radius: 20px !important;
    }

    body.stanloop-course-experience-page .tutor-course-details-title {
        max-width: 100% !important;
        overflow-wrap: anywhere;
        font-size: clamp(30px, 9.2vw, 42px) !important;
        line-height: 1.02 !important;
    }

    body.stanloop-course-experience-page .stanloop-course-creator-meta,
    body.stanloop-course-experience-page .tutor-course-details-top,
    body.stanloop-course-experience-page .tutor-course-details-actions,
    body.stanloop-course-experience-page .tutor-course-details-info {
        max-width: 100% !important;
        flex-wrap: wrap !important;
        overflow-wrap: anywhere;
    }

    body.stanloop-course-experience-page .tutor-row.tutor-gx-xl-5 {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        margin: 0 !important;
    }

    body.stanloop-course-experience-page main.tutor-col-xl-8,
    body.stanloop-course-experience-page aside.tutor-col-xl-4 {
        padding: 0 !important;
    }

    body.stanloop-course-experience-page aside.tutor-col-xl-4 {
        order: -1 !important;
    }

    body.stanloop-course-experience-page .tutor-sidebar-card,
    body.stanloop-course-experience-page .tutor-course-thumbnail,
    body.stanloop-course-experience-page .tutor-course-details-tab,
    body.stanloop-course-experience-page .stanloop-course-creator-card,
    body.stanloop-course-experience-page .tutor-course-details-instructors {
        overflow: hidden !important;
        border-radius: 18px !important;
    }

    body.stanloop-course-experience-page .tutor-course-thumbnail img,
    body.stanloop-course-experience-page .tutor-course-thumbnail video,
    body.stanloop-course-experience-page .tutor-course-thumbnail iframe {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 210px !important;
        height: auto !important;
        object-fit: cover !important;
    }

    body.stanloop-course-experience-page .tutor-course-details-tab {
        padding: 0 14px 20px !important;
    }

    body.stanloop-course-experience-page .tutor-course-details-tab > .tutor-is-sticky {
        width: auto !important;
        max-width: none !important;
        margin: 0 -14px 16px !important;
        padding: 9px 14px 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }

    body.stanloop-course-experience-page .tutor-course-details-tab > .tutor-is-sticky::-webkit-scrollbar {
        display: none;
    }

    body.stanloop-course-experience-page .tutor-course-details-tab .tutor-nav {
        width: max-content !important;
        min-width: 100% !important;
        max-width: none !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 2px !important;
    }

    body.stanloop-course-experience-page .tutor-course-details-tab .tutor-nav-item,
    body.stanloop-course-experience-page .tutor-course-details-tab .tutor-nav-link {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    body.stanloop-course-experience-page .tutor-tab,
    body.stanloop-course-experience-page .tutor-tab-item,
    body.stanloop-course-experience-page .tutor-course-details-content,
    body.stanloop-course-experience-page .tutor-course-details-widget,
    body.stanloop-course-experience-page .tutor-accordion,
    body.stanloop-course-experience-page .tutor-accordion-item,
    body.stanloop-course-experience-page .tutor-course-content-list,
    body.stanloop-course-experience-page .tutor-course-content-list-item {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.stanloop-course-experience-page .tutor-tab-item *,
    body.stanloop-course-experience-page .tutor-sidebar-card *,
    body.stanloop-course-experience-page .stanloop-course-creator-card * {
        overflow-wrap: anywhere;
    }

    body.stanloop-course-experience-page .tutor-course-content-list-item {
        align-items: flex-start !important;
        gap: 8px !important;
    }

    body.stanloop-course-experience-page .tutor-course-content-list-item-title {
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    body.stanloop-course-experience-page .tutor-course-content-list-item-title a {
        white-space: normal !important;
    }

    body.stanloop-course-experience-page .tutor-sidebar-card .tutor-card-body,
    body.stanloop-course-experience-page .tutor-sidebar-card .tutor-card-footer {
        padding: 18px !important;
    }

    body.stanloop-course-experience-page .stanloop-course-continue,
    body.stanloop-course-experience-page .tutor-sidebar-card .tutor-btn,
    body.stanloop-course-experience-page .stanloop-course-owner-action {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-site-footer {
        width: calc(100% - 16px) !important;
        max-width: none !important;
        margin: 16px auto !important;
        overflow: hidden !important;
        border-radius: 18px !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-site-footer__inner {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px 12px !important;
        padding: 22px 18px 16px !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-footer-brand {
        grid-column: 1 / -1 !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-site-footer h3,
    body.stanloop-course-experience-page .stanloop-loop-site-footer p,
    body.stanloop-course-experience-page .stanloop-loop-site-footer a {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 420px) {
    body.stanloop-course-experience-page .stanloop-loop-site-logo {
        font-size: 21px !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-site-login {
        display: none !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-account-menu__name {
        display: none !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-site-footer__inner {
        grid-template-columns: 1fr !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-footer-brand {
        grid-column: 1 !important;
    }
}

/* -------------------------------------------------------------------------
 * v0.1.88.18.23.1 — public course mobile shell, tabs, menu, and footer
 * ---------------------------------------------------------------------- */
@media (max-width: 767px) {
    body.stanloop-course-experience-page .stanloop-loop-site-login,
    body.stanloop-course-experience-page .stanloop-loop-site-start {
        display: none !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-account-menu {
        width: auto !important;
        min-width: 0 !important;
        position: relative !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-account-menu__toggle {
        width: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        justify-content: center !important;
        gap: 3px !important;
        padding: 4px !important;
        border-radius: 12px !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-account-menu__name {
        display: none !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-account-menu__chevron {
        font-size: 12px !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-account-menu__dropdown {
        left: auto !important;
        right: 0 !important;
        width: min(280px, calc(100vw - 24px)) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 24px) !important;
        z-index: 250 !important;
        white-space: normal !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-account-menu__identity,
    body.stanloop-course-experience-page .stanloop-loop-account-menu__item {
        width: 100% !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    /* Keep all four course tabs readable without clipping the last item. */
    body.stanloop-course-experience-page .tutor-course-details-tab {
        overflow: visible !important;
    }

    body.stanloop-course-experience-page .tutor-course-details-tab > .tutor-is-sticky {
        width: calc(100% + 28px) !important;
        max-width: calc(100% + 28px) !important;
        margin-inline: -14px !important;
        padding: 8px 10px 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
    }

    body.stanloop-course-experience-page .tutor-course-details-tab .tutor-nav {
        min-width: max-content !important;
        gap: 0 !important;
    }

    body.stanloop-course-experience-page .tutor-course-details-tab .tutor-nav-link {
        min-height: 40px !important;
        padding: 10px 9px !important;
        font-size: 11.5px !important;
        line-height: 1.1 !important;
    }

    /* The custom creator card already supplies the course-author identity. */
    body.stanloop-course-experience-page .tutor-course-details-instructors {
        display: none !important;
    }

    /* Let curriculum titles wrap while duration/status stay aligned. */
    body.stanloop-course-experience-page .tutor-course-content-list-item {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: start !important;
        gap: 9px !important;
        padding-block: 11px !important;
    }

    body.stanloop-course-experience-page .tutor-course-content-list-item > .tutor-d-flex:first-child {
        min-width: 0 !important;
        align-items: flex-start !important;
    }

    body.stanloop-course-experience-page .tutor-course-content-list-item > .tutor-d-flex:last-child {
        align-items: center !important;
        gap: 7px !important;
        white-space: nowrap !important;
    }

    body.stanloop-course-experience-page .tutor-course-content-list-item-status {
        margin-left: 6px !important;
    }

    body.stanloop-course-experience-page .tutor-accordion-item-header {
        padding: 15px 14px !important;
        font-size: 15px !important;
        line-height: 1.25 !important;
    }

    body.stanloop-course-experience-page .tutor-accordion-item-body-content {
        padding-inline: 12px !important;
    }

    /* A compact two-column footer keeps essential links without a 500px tail. */
    body.stanloop-course-experience-page .stanloop-loop-site-footer {
        width: calc(100% - 16px) !important;
        margin: 16px auto !important;
        border-radius: 17px !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-site-footer__inner {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px 16px !important;
        padding: 17px 16px 13px !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-footer-brand {
        grid-column: 1 / -1 !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-footer-brand .stanloop-loop-site-logo {
        font-size: 21px !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-footer-brand p {
        margin: 7px 0 9px !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-footer-socials {
        gap: 9px !important;
        font-size: 12px !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-site-footer h3 {
        margin: 0 0 5px !important;
        font-size: 12px !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-site-footer a {
        margin: 2px 0 !important;
        font-size: 11.5px !important;
        line-height: 1.35 !important;
    }

    body.stanloop-course-experience-page .stanloop-loop-site-footer__bottom {
        padding: 10px 14px 13px !important;
        font-size: 10.5px !important;
    }
}

/* -------------------------------------------------------------------------
 * v0.1.88.18.23.4 — visible course transition without hiding the interface
 * ---------------------------------------------------------------------- */
body.stanloop-course-experience-page.stanloop-course-ui-pending .tutor-wrap.tutor-course-top-info,
body.stanloop-course-experience-page.stanloop-course-ui-ready .tutor-wrap.tutor-course-top-info {
    visibility: visible !important;
    opacity: 1 !important;
}

body.stanloop-course-experience-page.stanloop-course-ui-pending::before,
body.stanloop-course-experience-page.stanloop-course-ui-pending::after {
    position: fixed;
    pointer-events: none;
    z-index: 99990;
    animation: stanloop-course-loader-fallback .18s ease 2.2s forwards;
}

body.stanloop-course-experience-page.stanloop-course-ui-pending::before {
    content: '';
    inset: 0;
    background:
        radial-gradient(circle at 20% 12%, rgba(107, 196, 72, .15), transparent 34%),
        radial-gradient(circle at 84% 18%, rgba(255, 116, 23, .13), transparent 32%),
        #f8faf6;
}

body.stanloop-course-experience-page.stanloop-course-ui-pending::after {
    content: 'StanLoop\A Loading your course…';
    inset: 42% 20px auto;
    color: #14213a;
    white-space: pre;
    text-align: center;
    font-family: Inter, system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 750;
}

@keyframes stanloop-course-loader-fallback {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.stanloop-course-experience-page.stanloop-course-ui-pending::before,
    body.stanloop-course-experience-page.stanloop-course-ui-pending::after {
        animation-duration: .01ms;
    }
}

/* -------------------------------------------------------------------------
 * v0.1.88.18.23.8 — creator-owned course native icon-font cleanup
 * ---------------------------------------------------------------------- */
body.stanloop-course-state-owner .tutor-course-details-ratings,
body.stanloop-course-state-owner .tutor-ratings,
body.stanloop-course-state-owner .tutor-ratings-stars {
    display: none !important;
    visibility: hidden !important;
}

body.stanloop-course-state-owner .tutor-course-details-actions [class*="tutor-icon"],
body.stanloop-course-state-owner .tutor-course-details-actions i[class*="tutor-icon"] {
    display: none !important;
}


/* v0.1.88.22 — manually removed learner access state. */
body.stanloop-course-experience-page .stanloop-course-state-badge.is-removed {
    border-color: rgba(198, 52, 39, .20);
    background: #fff1ef;
    color: #a92e23;
}

body.stanloop-course-experience-page .stanloop-course-access-removed {
    display: grid;
    gap: 9px;
    margin-bottom: 16px;
    padding: 20px;
    border: 1px solid rgba(198, 52, 39, .18);
    border-radius: 18px;
    background: linear-gradient(145deg, #fff8f5, #fff1ef);
}

body.stanloop-course-experience-page .stanloop-course-access-removed__eyebrow {
    color: #a92e23;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.stanloop-course-experience-page .stanloop-course-access-removed h2 {
    margin: 0;
    color: var(--sl-course-ink, #10213d);
    font-size: 19px;
    font-weight: 900;
}

body.stanloop-course-experience-page .stanloop-course-access-removed p {
    margin: 0;
    color: var(--sl-course-muted, #607087);
    font-size: 13px;
    line-height: 1.6;
}

body.stanloop-course-experience-page .stanloop-access-removed-native-control-hidden {
    display: none !important;
}
