:root {
    --ocp-bg: #fff8f1;
    --ocp-surface: #ffffff;
    --ocp-surface-soft: #fff2e2;
    --ocp-text: #1f2937;
    --ocp-muted: #475569;
    --ocp-primary: #e85d04;
    --ocp-primary-dark: #c2410c;
    --ocp-accent: #0f766e;
    --ocp-border: #fed7aa;
    --ocp-shadow: 0 18px 44px rgba(120, 53, 15, 0.12);
    --ocp-radius-sm: 10px;
    --ocp-radius-md: 14px;
    --ocp-radius-lg: 16px;
    --ocp-section-space: 20px;
}

.ocp-shell {
    font-family: "Sora", "DM Sans", "Segoe UI", Verdana, sans-serif;
    color: var(--ocp-text);
    background: radial-gradient(circle at 10% 10%, #ffe4c5 0%, var(--ocp-bg) 45%, #fff 100%);
    padding: 14px;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    margin: 0 0 var(--ocp-section-space);
}

.ocp-shell:last-child {
    margin-bottom: 0;
}

.ocp-shell.ocp-theme-earth {
    --ocp-bg: #fff8f1;
    --ocp-surface: #ffffff;
    --ocp-surface-soft: #fff2e2;
    --ocp-text: #1f2937;
    --ocp-muted: #475569;
    --ocp-primary: #e85d04;
    --ocp-primary-dark: #c2410c;
    --ocp-accent: #0f766e;
    --ocp-border: #fed7aa;
}

.ocp-shell.ocp-theme-ocean {
    --ocp-bg: #f5fbff;
    --ocp-surface: #ffffff;
    --ocp-surface-soft: #e0f2fe;
    --ocp-text: #0f172a;
    --ocp-muted: #334155;
    --ocp-primary: #0284c7;
    --ocp-primary-dark: #0369a1;
    --ocp-accent: #0f766e;
    --ocp-border: #bae6fd;
}

.ocp-shell.ocp-theme-forest {
    --ocp-bg: #f7fbf5;
    --ocp-surface: #ffffff;
    --ocp-surface-soft: #ecfdf5;
    --ocp-text: #1f2937;
    --ocp-muted: #334155;
    --ocp-primary: #15803d;
    --ocp-primary-dark: #166534;
    --ocp-accent: #0f766e;
    --ocp-border: #bbf7d0;
}

.ocp-shell,
.ocp-shell *,
.ocp-shell *::before,
.ocp-shell *::after {
    box-sizing: border-box;
}

.elementor-widget-shortcode .elementor-shortcode .ocp-shell {
    display: block;
    width: 100%;
    max-width: 100%;
}

.elementor-widget-shortcode .elementor-shortcode {
    width: 100%;
}

.ocp-shell-embed {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 0;
}

.ocp-shell-embed .ocp-grid,
.ocp-shell-embed .ocp-lesson-course-grid {
    gap: 16px;
}

.ocp-enroll-today-shell {
    border: 1px solid var(--ocp-border);
    border-radius: 16px;
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 229, 197, 0.6) 0%, rgba(255, 229, 197, 0) 36%),
        radial-gradient(circle at 8% 86%, rgba(255, 241, 220, 0.7) 0%, rgba(255, 241, 220, 0) 42%),
        var(--ocp-bg);
    padding: 16px;
}

.ocp-enroll-heading {
    margin-bottom: 14px;
}

.ocp-enroll-eyebrow {
    margin: 0 0 8px;
    color: #9a3412;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ocp-enroll-heading h2 {
    margin: 0 0 6px;
    font-size: clamp(28px, 6vw, 44px);
    line-height: 1.1;
}

.ocp-enroll-heading h3 {
    margin: 0;
    color: #475569;
    font-size: clamp(15px, 3.6vw, 22px);
    line-height: 1.35;
    font-weight: 600;
}

.ocp-enroll-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.ocp-enroll-col {
    min-width: 0;
}

.ocp-hero {
    background: linear-gradient(135deg, #fff0d9 0%, #ffe4bd 56%, #ffd3a5 100%);
    border: 1px solid #fdba74;
    border-radius: 14px;
    padding: 18px 16px;
    margin-bottom: 14px;
    box-shadow: var(--ocp-shadow);
}

.ocp-pill {
    display: inline-block;
    background: rgba(15, 118, 110, 0.12);
    color: var(--ocp-accent);
    border: 1px solid rgba(15, 118, 110, 0.3);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 6px 12px;
}

.ocp-hero h2 {
    margin: 10px 0 6px;
    font-size: clamp(24px, 7.5vw, 36px);
    line-height: 1.08;
    letter-spacing: -0.01em;
}

.ocp-hero p {
    margin: 0;
    max-width: 700px;
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
}

.ocp-notice,
.ocp-login-required {
    background: var(--ocp-surface);
    border: 1px solid var(--ocp-border);
    border-left: 4px solid var(--ocp-primary);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 18px;
}

.ocp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

.ocp-single-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.ocp-reminders {
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #99f6e4;
    background: linear-gradient(135deg, #ecfeff 0%, #f0fdfa 100%);
}

.ocp-reminders h3 {
    margin: 0 0 6px;
    color: #115e59;
}

.ocp-reminders p {
    margin: 0 0 10px;
    color: #0f766e;
}

.ocp-reminders-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.ocp-reminder-card {
    background: #ffffff;
    border: 1px solid #99f6e4;
    border-radius: 12px;
    padding: 12px;
}

.ocp-reminder-card h4 {
    margin: 0 0 6px;
    color: #134e4a;
}

.ocp-reminder-card p {
    margin: 0;
    color: #334155;
}

.ocp-reminder-card .ocp-open-course {
    display: inline-block;
}

.ocp-card {
    background: var(--ocp-surface);
    border: 1px solid #f4b183;
    border-radius: var(--ocp-radius-lg);
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(130, 70, 19, 0.14);
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
}

.ocp-card-main {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.ocp-card-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(145deg, #fff1dd 0%, #ffe3c0 100%);
    overflow: hidden;
}

.ocp-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ocp-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.ocp-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.ocp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ocp-meta span {
    background: var(--ocp-surface-soft);
    color: #7c2d12;
    border: 1px solid #fdba74;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
}

.ocp-meta .ocp-sale-tag {
    background: #dcfce7;
    color: #166534;
    border-color: #86efac;
}

.ocp-card h3 {
    margin: 4px 0;
    font-size: clamp(21px, 5.6vw, 28px);
    line-height: 1.22;
    letter-spacing: -0.01em;
}

.ocp-teaser {
    margin: 0;
    color: #334155;
    font-size: 15px;
    line-height: 1.62;
}

.ocp-author {
    color: #374151;
    font-weight: 600;
}

.ocp-progress {
    width: 100%;
    height: 10px;
    background: #ffedd5;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #fdba74;
}

.ocp-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0f766e 0%, #14b8a6 100%);
}

.ocp-progress-label {
    margin: 4px 0 0;
    color: #334155;
    font-size: 13px;
}

.ocp-feedback-box {
    margin-top: 4px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    border-radius: 10px;
    padding: 8px 10px;
}

.ocp-feedback-box ul {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.ocp-feedback-box li {
    color: #1e293b;
    font-size: 13px;
}

.ocp-feedback-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    margin-right: 6px;
}

.ocp-feedback-pill.is-reviewed {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.ocp-feedback-pill.is-revision {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.ocp-feedback-text {
    margin-top: 4px;
    color: #334155;
    white-space: pre-wrap;
}

.ocp-badge {
    display: inline-block;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    width: fit-content;
}

.ocp-badge.is-starter {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.ocp-badge.is-bronze {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fdba74;
}

.ocp-badge.is-silver {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.ocp-badge.is-gold {
    background: #fef9c3;
    color: #854d0e;
    border: 1px solid #facc15;
}

.ocp-price {
    color: var(--ocp-primary-dark);
    font-size: 26px;
    font-weight: 800;
    margin-top: 4px;
}

.ocp-price-wrap {
    margin-top: 4px;
}

.ocp-price-old {
    font-size: 14px;
    color: #475569;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.ocp-buy-btn,
.ocp-start-course,
.ocp-open-course,
.ocp-login-btn {
    margin-top: 0;
    border: 0;
    border-radius: var(--ocp-radius-sm);
    background: linear-gradient(120deg, var(--ocp-primary), #fb923c);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.01em;
    text-align: center;
    padding: 13px 16px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.ocp-open-course-inline {
    display: inline-flex;
    margin-left: 10px;
    vertical-align: middle;
}

.ocp-buy-btn:hover,
.ocp-start-course:hover,
.ocp-open-course:hover,
.ocp-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(234, 88, 12, 0.28);
}

.ocp-buy-btn:disabled,
.ocp-start-course:disabled {
    opacity: 0.65;
    cursor: wait;
}

.ocp-card-side {
    position: relative;
    border-top: 1px solid #fde7cc;
    background: #fffdf8;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.ocp-card-side-unlocked {
    border: 1px solid #f4b183;
    border-radius: 14px;
    background:
        radial-gradient(circle at 95% 12%, rgba(255, 219, 173, 0.55) 0%, rgba(255, 219, 173, 0) 42%),
        #fffefb;
    box-shadow: 0 14px 32px rgba(124, 45, 18, 0.12);
}

.ocp-card-side-locked {
    background: #fffdf8;
}

.ocp-card-side h4 {
    margin: 0;
    color: #9a3412;
}

.ocp-side-lessons {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.ocp-topic-group {
    list-style: none;
    margin: 0;
}

.ocp-topic-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #fdba74;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff3e2;
    color: #9a3412;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.ocp-topic-toggle::after {
    content: "▾";
    font-size: 14px;
    line-height: 1;
    transition: transform 0.14s ease;
}

.ocp-topic-group:not(.is-open) .ocp-topic-toggle::after {
    transform: rotate(-90deg);
}

.ocp-topic-toggle-text {
    text-align: left;
}

.ocp-topic-toggle-count {
    border: 1px solid #fdba74;
    border-radius: 999px;
    padding: 3px 8px;
    background: #fff;
    color: #7c2d12;
    font-size: 11px;
    font-weight: 700;
}

.ocp-topic-lessons {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ocp-topic-group:not(.is-open) .ocp-topic-lessons {
    display: none;
}

.ocp-side-topic {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9a3412;
    background: #fff3e2;
    border: 1px solid #fdba74;
    border-radius: 999px;
    padding: 6px 10px;
    width: fit-content;
}

.ocp-side-lesson-lock {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #eef2f7;
    color: #334155;
    padding: 10px 12px;
}

.ocp-side-lesson-lock-title {
    font-weight: 700;
    color: #1f2937;
}

.ocp-side-lesson-preview {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
    color: #475569;
    opacity: 0.9;
}

.ocp-side-lock-overlay {
    position: absolute;
    inset: 40px 12px 12px 12px;
    border-radius: 10px;
    background: rgba(107, 114, 128, 0.46);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 6px;
    font-weight: 700;
}

.ocp-side-lock-icon {
    font-size: 20px;
}

.ocp-single-layout .ocp-card {
    height: 100%;
}

.ocp-single-layout .ocp-card-side {
    border: 1px solid #f4b183;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.ocp-hero-premium {
    background:
        radial-gradient(circle at 12% 15%, rgba(255, 233, 206, 0.95) 0%, rgba(255, 233, 206, 0) 45%),
        linear-gradient(135deg, #fff0dc 0%, #ffe4bf 50%, #ffd4a7 100%);
    border-width: 1px;
    border-style: solid;
    border-color: #f2b777;
}

.ocp-overview-grid {
    gap: 20px;
    width: 100%;
}

.ocp-lesson-course-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

.ocp-lesson-course-card {
    background: #fffefb;
    border: 1px solid #f4b183;
    border-radius: var(--ocp-radius-lg);
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(120, 57, 11, 0.12);
    width: 100%;
    min-width: 0;
}

.ocp-lesson-course-head {
    padding: 16px 18px;
    border-bottom: 1px solid #fde7cc;
    background: linear-gradient(180deg, #fff7ea 0%, #fffef9 100%);
}

.ocp-lesson-course-head h3 {
    margin: 0;
    font-size: clamp(19px, 4.8vw, 24px);
    line-height: 1.25;
}

.ocp-lesson-course-head p {
    margin: 6px 0 0;
    color: #475569;
    font-weight: 600;
}

.ocp-lesson-course-card .ocp-card-side {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ocp-hub-shell {
    background:
        radial-gradient(circle at 92% 10%, rgba(255, 214, 170, 0.62) 0%, rgba(255, 214, 170, 0) 36%),
        radial-gradient(circle at 10% 84%, rgba(255, 230, 205, 0.7) 0%, rgba(255, 230, 205, 0) 42%),
        #fff8f1;
}

.ocp-hub-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.ocp-hub-step-card {
    border: 1px solid #f6c892;
    border-radius: var(--ocp-radius-md);
    background: #fffefb;
    padding: 12px;
}

.ocp-hub-step-card span {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a3412;
}

.ocp-hub-step-card h4 {
    margin: 6px 0 6px;
    font-size: 18px;
}

.ocp-hub-step-card p {
    margin: 0;
    color: #334155;
}

.ocp-hub-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.ocp-hub-main,
.ocp-hub-side {
    min-width: 0;
    width: 100%;
    padding: 25px;
    border: 1px solid #f4b183;
    border-radius: 16px;
    background: #fffefb;
    box-sizing: border-box;
}

.ocp-hub-shell .ocp-overview-grid,
.ocp-hub-shell .ocp-hub-lesson-grid {
    grid-template-columns: 1fr;
}

.ocp-hub-title {
    margin: 0 0 10px;
    font-size: clamp(22px, 5.4vw, 30px);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #7c2d12;
}

.ocp-hub-note {
    margin: 0 0 10px;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}

.ocp-hub-lesson-grid {
    grid-template-columns: 1fr;
}

.ocp-featured-wrap {
    border: 1px solid #f4b183;
    border-radius: var(--ocp-radius-lg);
    background: #fffefb;
    padding: 16px;
    box-shadow: 0 14px 30px rgba(120, 57, 11, 0.1);
}

.ocp-featured-head {
    margin-bottom: 10px;
}

.ocp-featured-head h3 {
    margin: 8px 0 0;
    font-size: clamp(22px, 5.8vw, 30px);
    color: #7c2d12;
}

.ocp-compact-list {
    display: grid;
    gap: 12px;
}

.ocp-compact-item {
    border: 1px solid #f6c892;
    border-radius: var(--ocp-radius-md);
    background: #fff;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.ocp-compact-main h4 {
    margin: 0 0 4px;
    font-size: clamp(17px, 4.4vw, 22px);
    line-height: 1.28;
}

.ocp-compact-main p {
    margin: 0;
    color: #475569;
    line-height: 1.55;
}

.ocp-compact-side {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ocp-compact-side strong {
    color: #c2410c;
    font-size: 20px;
}

.ocp-pricing-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.ocp-pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    border: 1px solid #f3c998;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.ocp-pricing-table th,
.ocp-pricing-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #fde7cc;
    text-align: left;
}

.ocp-pricing-table th {
    background: #fff3e4;
    color: #7c2d12;
}

.ocp-instructor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ocp-instructor-card {
    border: 1px solid #f4b183;
    border-radius: 14px;
    background: #fffefb;
    padding: 14px;
    text-align: center;
}

.ocp-instructor-avatar {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #7c2d12;
    background: #ffe7c9;
    border: 1px solid #fdba74;
}

.ocp-instructor-card h4 {
    margin: 0 0 4px;
}

.ocp-instructor-card p {
    margin: 0;
    color: #475569;
}

.ocp-lessons {
    margin-top: 10px;
    border-top: 1px solid #fde7cc;
    padding-top: 10px;
}

.ocp-lessons-unlocked {
    border: 1px solid #fed7aa;
    background: #fffefb;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 10px 26px rgba(124, 45, 18, 0.1);
}

.ocp-lessons h4 {
    margin: 0 0 8px;
}

.ocp-lessons ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.ocp-lesson-link {
    width: 100%;
    text-align: left;
    border: 1px solid #fdba74;
    border-radius: 12px;
    background: linear-gradient(180deg, #fffaf4 0%, #fff3e4 100%);
    color: #7c2d12;
    padding: 12px 14px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.ocp-lesson-link.is-complete {
    border-color: #0f766e;
    background: linear-gradient(180deg, #ecfeff 0%, #d9fbee 100%);
    color: #115e59;
}

.ocp-lesson-link.is-active {
    border-color: #ea580c;
    background: linear-gradient(180deg, #fff3e6 0%, #ffe3c4 100%);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.2);
    transform: translateY(-1px);
}

.ocp-done-badge {
    display: inline-block;
    margin-left: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #0f766e;
}

.ocp-lock-badge {
    display: inline-block;
    margin-left: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #991b1b;
}

.ocp-lesson-link.is-locked {
    opacity: 0.7;
    cursor: not-allowed;
}

.ocp-lesson-link:hover {
    background: linear-gradient(180deg, #fff2e3 0%, #ffe8cb 100%);
    border-color: #fb923c;
    box-shadow: 0 8px 16px rgba(124, 45, 18, 0.14);
    transform: translateY(-1px);
}

.ocp-mark-complete {
    border: 0;
    border-radius: 8px;
    background: #0f766e;
    color: #fff;
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 700;
}

.ocp-submit-quiz {
    border: 0;
    border-radius: 8px;
    background: #1d4ed8;
    color: #fff;
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 700;
}

.ocp-submit-assignment {
    border: 0;
    border-radius: 8px;
    background: #166534;
    color: #fff;
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 700;
}

.ocp-quiz-box {
    margin-top: 14px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    border-radius: 10px;
    padding: 10px 12px;
}

.ocp-quiz-question {
    border: 1px solid #bfdbfe;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.ocp-quiz-question.is-correct {
    border-color: #86efac;
    background: #f0fdf4;
}

.ocp-quiz-question.is-incorrect {
    border-color: #fecaca;
    background: #fef2f2;
}

.ocp-quiz-question-feedback {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
}

.ocp-quiz-lock-msg {
    color: #991b1b;
    font-weight: 700;
}

.ocp-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.ocp-timeline li {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
}

.ocp-lesson-status-done {
    color: #0f766e;
    font-weight: 700;
}

.ocp-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, 0.65);
    z-index: 99999;
    padding: 18px;
}

.ocp-modal.is-open {
    display: flex;
}

.ocp-modal-panel {
    width: min(920px, 100%);
    max-height: 90vh;
    overflow: auto;
    background:
        radial-gradient(circle at 95% 8%, rgba(255, 216, 172, 0.55) 0%, rgba(255, 216, 172, 0) 44%),
        #fffefb;
    border-radius: 18px;
    border: 1px solid #fdba74;
    padding: 16px;
    box-shadow: 0 24px 44px rgba(17, 24, 39, 0.3);
}

.ocp-checkout-modal-panel {
    width: min(560px, 100%);
}

.ocp-topic-modal-panel {
    width: min(860px, 100%);
}

.ocp-checkout-form {
    display: grid;
    gap: 8px;
}

.ocp-checkout-form input[type="text"],
.ocp-checkout-form input[type="email"] {
    width: 100%;
}

.ocp-checkout-help {
    margin: 6px 0 2px;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
}

.ocp-credentials-box form {
    display: grid;
    gap: 8px;
}

.ocp-credentials-box input[type="email"] {
    width: 100%;
}

.ocp-credentials-box select {
    width: 100%;
}

.ocp-copy-credential.button {
    margin-left: 8px;
    min-height: 30px;
    padding: 2px 10px;
    line-height: 1.2;
}

.ocp-toggle-password.button {
    margin-left: 8px;
    min-height: 30px;
    padding: 2px 10px;
    line-height: 1.2;
}

.ocp-modal-close {
    background: #fff;
    color: #7c2d12;
    border: 1px solid #fdba74;
    border-radius: 10px;
    padding: 9px 13px;
    cursor: pointer;
    margin-bottom: 10px;
    font-weight: 700;
}

.ocp-lesson-content {
    background: #fff;
    border: 1px solid #fde7cc;
    border-radius: 14px;
    padding: 16px;
}

.ocp-lesson-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.ocp-lesson-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid #fdba74;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 800;
    color: #9a3412;
    background: #fff3e2;
}

.ocp-lesson-chip-soft {
    border-color: #cbd5e1;
    color: #334155;
    background: #f8fafc;
}

.ocp-lesson-progress-rail {
    position: sticky;
    top: 0;
    z-index: 3;
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    background: rgba(255, 248, 241, 0.95);
    backdrop-filter: blur(4px);
}

.ocp-lesson-progress-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #7c2d12;
}

.ocp-lesson-progress-row strong {
    color: #9a3412;
}

.ocp-lesson-progress-track {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #ffe8cb;
    overflow: hidden;
}

.ocp-lesson-progress-track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #ea580c 0%, #fb923c 100%);
}

.ocp-lesson-nav {
    display: flex;
    gap: 10px;
    margin: 14px 0 10px;
}

.ocp-lesson-prev,
.ocp-lesson-next {
    flex: 1 1 0;
    border: 1px solid #fdba74;
    border-radius: 10px;
    background: #fff8ee;
    color: #7c2d12;
    font-weight: 700;
    padding: 10px 12px;
    cursor: pointer;
}

.ocp-lesson-prev:hover,
.ocp-lesson-next:hover {
    background: #fff0dd;
}

.ocp-lesson-prev:disabled,
.ocp-lesson-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ocp-lesson-content h3 {
    margin: 0 0 8px;
    font-size: clamp(22px, 5.4vw, 30px);
    line-height: 1.2;
}

.ocp-lesson-course-title {
    margin: 0 0 12px;
    color: #475569;
    font-weight: 600;
}

.ocp-shell-secondary {
    margin-top: 14px;
}

.ocp-timeline-title {
    margin: 0 0 10px;
}

.ocp-my-courses {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.ocp-my-courses a {
    display: block;
    border: 1px solid #f4b183;
    border-radius: var(--ocp-radius-sm);
    background: #fff;
    color: #7c2d12;
    text-decoration: none;
    font-weight: 700;
    padding: 14px 16px;
    line-height: 1.4;
}

.ocp-my-courses a:hover {
    background: #fff1df;
}

.ocp-classroom-shell {
    background:
        radial-gradient(circle at 90% 8%, rgba(255, 216, 172, 0.56) 0%, rgba(255, 216, 172, 0) 45%),
        #fff8f1;
}

.ocp-classroom-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.ocp-classroom-side,
.ocp-classroom-main {
    border: 1px solid #f4b183;
    border-radius: 14px;
    background: #fffefb;
    padding: 14px;
}

.ocp-classroom-side h3 {
    margin: 0 0 10px;
    color: #7c2d12;
}

.ocp-classroom-group {
    margin-bottom: 10px;
}

.ocp-classroom-group-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9a3412;
    margin-bottom: 6px;
}

.ocp-classroom-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.ocp-classroom-lesson-link {
    display: block;
    text-decoration: none;
    color: #7c2d12;
    border: 1px solid #fdba74;
    border-radius: 10px;
    background: #fff8ee;
    padding: 10px 12px;
    font-weight: 600;
}

.ocp-classroom-lesson-link.is-active {
    background: linear-gradient(180deg, #fff1df 0%, #ffe2c0 100%);
    border-color: #ea580c;
}

.ocp-classroom-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.ocp-classroom-main h2 {
    margin: 0 0 10px;
    font-size: clamp(24px, 5.6vw, 34px);
}

.ocp-classroom-content {
    color: #334155;
    line-height: 1.65;
}

.ocp-classroom-topics {
    margin-top: 16px;
}

.ocp-classroom-topic-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.ocp-classroom-topic-progress {
    margin: 0;
    font-size: 13px;
    color: #0f766e;
    font-weight: 700;
}

.ocp-classroom-topic-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.ocp-classroom-topic-card {
    border: 1px solid #fdba74;
    border-radius: 12px;
    background: #fff7ed;
    padding: 0;
    overflow: hidden;
}

.ocp-classroom-topic-card.is-complete {
    border-color: #86efac;
    background: #f0fdf4;
}

.ocp-classroom-topic-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    font-weight: 700;
    color: #7c2d12;
    padding: 12px;
    cursor: pointer;
}

.ocp-classroom-topic-toggle:hover {
    background: #fff1df;
}

.ocp-classroom-topic-toggle.is-locked,
.ocp-classroom-topic-toggle:disabled {
    opacity: 0.75;
    cursor: pointer;
    background: #f8fafc;
}

.ocp-classroom-topic-toggle-title {
    display: block;
    font-weight: 700;
}

.ocp-classroom-topic-toggle-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fdba74;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #9a3412;
    background: #fff8ee;
    white-space: nowrap;
}

.ocp-classroom-topic-card.is-complete .ocp-classroom-topic-toggle-meta {
    border-color: #86efac;
    color: #166534;
    background: #ecfdf5;
}

.ocp-classroom-topic-meta {
    margin: 0 0 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}

.ocp-topic-complete-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 13px;
    color: #14532d;
    font-weight: 600;
}

.ocp-topic-modal-content h3 {
    margin: 0 0 8px;
    font-size: clamp(20px, 4.8vw, 30px);
}

.ocp-topic-modal-progress {
    margin: 0 0 10px;
}

.ocp-topic-modal-progress-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #334155;
    margin-bottom: 6px;
}

.ocp-topic-modal-progress-track {
    height: 8px;
    border-radius: 999px;
    background: #fee2c8;
    overflow: hidden;
}

.ocp-topic-modal-progress-track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.ocp-topic-modal-notice {
    margin: 0 0 12px;
    padding: 8px 10px;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 13px;
    font-weight: 600;
}

.ocp-topic-modal-notice.is-error {
    border-color: #fecaca;
    background: #fff1f2;
    color: #991b1b;
}

.ocp-topic-media-wrap {
    margin-top: 12px;
    border: 1px solid #fdba74;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.ocp-topic-media {
    width: 100%;
    min-height: 220px;
    border: 0;
    display: block;
}

.ocp-topic-modal-nav {
    margin: 14px 0 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .ocp-shell {
        padding: 20px;
        border-radius: 16px;
        --ocp-section-space: 24px;
    }

    .ocp-enroll-today-shell {
        padding: 20px;
    }

    .ocp-enroll-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ocp-hero {
        padding: 22px 20px;
        margin-bottom: 18px;
    }

    .ocp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .ocp-single-layout {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .ocp-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ocp-lesson-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ocp-hub-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ocp-hub-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ocp-hub-shell .ocp-overview-grid,
    .ocp-hub-shell .ocp-hub-lesson-grid {
        grid-template-columns: 1fr;
    }

    .ocp-compact-item {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .ocp-instructor-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ocp-reminders-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ocp-classroom-layout {
        grid-template-columns: 0.95fr 1.05fr;
        gap: 20px;
    }

    .ocp-card {
        grid-template-columns: 1fr;
    }

    .ocp-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .ocp-actions .ocp-buy-btn,
    .ocp-actions .ocp-start-course,
    .ocp-actions .ocp-open-course,
    .ocp-actions .ocp-login-btn {
        flex: 1 1 220px;
    }

    .ocp-buy-btn,
    .ocp-start-course,
    .ocp-open-course,
    .ocp-login-btn {
        padding: 14px 18px;
        min-height: 50px;
    }

    .ocp-card-side {
        border-top: 1px solid #fde7cc;
        border-left: 0;
    }

    .ocp-single-layout .ocp-card-side {
        border-top: 1px solid #f4b183;
        border-left: 0;
    }
}

@media (min-width: 1100px) {
    .ocp-shell {
        padding: 24px;
        border-radius: 20px;
        --ocp-section-space: 28px;
    }

    .ocp-enroll-today-shell {
        padding: 24px;
    }

    .ocp-enroll-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        align-items: start;
    }

    .ocp-hero {
        border-radius: 18px;
        padding: 26px 24px;
        margin-bottom: 24px;
    }

    .ocp-hero h2 {
        font-size: clamp(30px, 3vw, 40px);
    }

    .ocp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .ocp-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ocp-lesson-course-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ocp-hub-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .ocp-instructor-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .ocp-single-layout {
        grid-template-columns: 1fr;
    }

    .ocp-classroom-layout {
        grid-template-columns: 360px minmax(0, 1fr);
        gap: 24px;
    }

    .ocp-price {
        font-size: 26px;
    }
}

/* OCP 1.3.3 layout polish override
   Mobile first, then tablet, then desktop */
.ocp-shell a:focus-visible,
.ocp-shell button:focus-visible,
.ocp-shell input:focus-visible,
.ocp-shell textarea:focus-visible,
.ocp-shell select:focus-visible {
    outline: 2px solid #c2410c;
    outline-offset: 2px;
}

.ocp-card,
.ocp-card-main,
.ocp-card-body,
.ocp-card-side,
.ocp-lesson-course-card {
    width: 100%;
    min-width: 0;
}

.ocp-card,
.ocp-lesson-course-card {
    height: 100%;
}

.ocp-card-main,
.ocp-card-body,
.ocp-actions {
    display: flex;
    flex-direction: column;
}

.ocp-card-main,
.ocp-card-body {
    flex: 1 1 auto;
}

.ocp-actions {
    width: 100%;
    gap: 12px;
}

.ocp-buy-btn,
.ocp-start-course,
.ocp-open-course,
.ocp-login-btn {
    min-height: 48px;
    width: 100%;
    padding: 13px 16px;
}

.ocp-actions > .ocp-buy-btn,
.ocp-actions > .ocp-start-course,
.ocp-actions > .ocp-open-course,
.ocp-actions > .ocp-login-btn {
    width: 100%;
}

.ocp-hub-main,
.ocp-hub-side {
    padding: 20px;
}

.ocp-classroom-side,
.ocp-classroom-main {
    padding: 12px;
}

.ocp-classroom-content {
    overflow-wrap: anywhere;
}

.ocp-lesson-nav {
    flex-wrap: wrap;
}

.ocp-lesson-prev,
.ocp-lesson-next {
    min-height: 46px;
    width: 100%;
    flex: 1 1 100%;
    padding: 12px 14px;
}

.ocp-topic-toggle,
.ocp-lesson-link,
.ocp-classroom-topic-toggle,
.ocp-modal-close {
    min-height: 44px;
}

.ocp-modal {
    padding: 12px;
}

.ocp-modal-panel {
    border-radius: 16px;
    padding: 14px;
}

.ocp-topic-media-wrap {
    aspect-ratio: 16 / 9;
}

.ocp-topic-media {
    height: 100%;
}

.ocp-topic-modal-nav .ocp-lesson-prev,
.ocp-topic-modal-nav .ocp-lesson-next {
    flex: 1 1 100%;
}

@media (min-width: 768px) {
    .ocp-buy-btn,
    .ocp-start-course,
    .ocp-open-course,
    .ocp-login-btn {
        min-height: 50px;
        width: auto;
        padding: 14px 18px;
    }

    .ocp-actions .ocp-buy-btn,
    .ocp-actions .ocp-start-course,
    .ocp-actions .ocp-open-course,
    .ocp-actions .ocp-login-btn {
        width: auto;
        flex: 1 1 220px;
    }

    .ocp-hub-main,
    .ocp-hub-side {
        padding: 24px;
    }

    .ocp-classroom-side,
    .ocp-classroom-main {
        padding: 16px;
    }

    .ocp-lesson-nav {
        flex-wrap: nowrap;
    }

    .ocp-lesson-prev,
    .ocp-lesson-next {
        width: auto;
        flex: 1 1 0;
    }

    .ocp-topic-modal-nav .ocp-lesson-prev,
    .ocp-topic-modal-nav .ocp-lesson-next {
        flex: 1 1 0;
    }
}

@media (min-width: 1100px) {
    .ocp-buy-btn,
    .ocp-start-course,
    .ocp-open-course,
    .ocp-login-btn {
        min-height: 52px;
        padding: 15px 20px;
    }

    .ocp-hub-main,
    .ocp-hub-side {
        padding: 25px;
    }

    .ocp-classroom-side,
    .ocp-classroom-main {
        padding: 18px;
    }
}
