/* AI Fluency Course Styles */

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf3 100%);
    min-height: 100vh;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1a202c;
}

.course-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 20px 60px;
}

/* ── Views ── */
.view { display: none; }
.view.active { display: block; }

/* ── Picker ── */
.picker-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(102,126,234,0.12);
    padding: 56px 48px;
    text-align: center;
    max-width: 580px;
    margin: 60px auto 0;
}

.picker-card h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #4d59c5 0%, #5b3082 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.picker-card .picker-subtitle {
    font-size: 1.05rem;
    color: #4a5568;
    margin-bottom: 36px;
    line-height: 1.7;
}

.picker-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.picker-form label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    display: block;
}

.picker-form select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    color: #1a202c;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: auto;
}

.picker-form select:focus {
    outline: none;
    border-color: #4d59c5;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.picker-form select.picker-error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229,62,62,0.1);
}

.picker-btn {
    margin-top: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #4d59c5 0%, #5b3082 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.picker-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102,126,234,0.4);
}

.picker-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4d59c5 0%, #5b3082 100%);
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* ── Course Hero ── */
.course-hero {
    text-align: center;
    margin-bottom: 32px;
}

.course-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4d59c5 0%, #5b3082 100%);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.course-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #4d59c5 0%, #5b3082 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.course-hero-subtitle {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 20px;
}

.course-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.context-badge {
    background: #eef2ff;
    color: #4c51bf;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

.change-link {
    color: #4d59c5;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
}

.change-link:hover { text-decoration: underline; }

.progress-overview {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(102,126,234,0.08);
    padding: 20px 28px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.progress-bar-container {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, #4d59c5 0%, #5b3082 100%);
    border-radius: 8px;
    transition: width 0.3s;
}

.progress-text {
    font-size: 0.88rem;
    color: #718096;
    font-weight: 600;
    white-space: nowrap;
}

/* ── Knowledge Score Badge ── */
.knowledge-score-badge {
    display: inline-block;
    background: #eef2ff;
    color: #4c51bf;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-top: 8px;
}

/* ── Competency Group Headers ── */
.competency-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #f8f9ff;
    border-left: 4px solid #718096;
    font-size: 0.82rem;
    font-weight: 700;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #f0f0f5;
}

.competency-group-header:first-child {
    border-radius: 20px 20px 0 0;
}

.competency-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.competency-group-count {
    margin-left: auto;
    font-size: 0.78rem;
    font-weight: 600;
    color: #a0aec0;
    text-transform: none;
    letter-spacing: 0;
}

/* ── Lesson List ── */
.lesson-list {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.08);
    overflow: hidden;
}

/* ── Time Estimate ── */
.lesson-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: #a0aec0;
    font-weight: 600;
    margin-left: 10px;
}

.lesson-time svg {
    width: 12px;
    height: 12px;
}

/* ── Learning Objectives ── */
.learning-objectives {
    margin-top: 12px;
    margin-bottom: 16px;
    padding: 0;
    list-style: none;
}

.learning-objectives li {
    font-size: 0.88rem;
    color: #4a5568;
    line-height: 1.6;
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}

.learning-objectives li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4d59c5;
}

.lesson-row {
    display: flex;
    align-items: flex-start;
    padding: 20px 28px;
    border-bottom: 1px solid #f0f0f5;
    cursor: pointer;
    transition: background 0.15s;
    gap: 20px;
}

.lesson-row:last-child { border-bottom: none; }
.lesson-row:hover { background: #fafbff; }

.lesson-info {
    flex: 1;
    min-width: 0;
}

.lesson-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 3px;
}

.lesson-desc {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.5;
}

.lesson-links {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.lesson-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4d59c5;
    text-decoration: none;
}

.lesson-link:hover {
    text-decoration: underline;
}

.lesson-status-label {
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    padding: 4px 12px;
    border-radius: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.lesson-status-label.status-completed {
    background: #c6f6d5;
    color: #276749;
}

.lesson-status-label.status-in_progress {
    background: #bee3f8;
    color: #2b6cb0;
}

.lesson-status-label.status-not_started {
    background: #edf2f7;
    color: #a0aec0;
}

/* ── Certificate button ── */
.certificate-row {
    margin-top: 24px;
    text-align: center;
}

.certificate-btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #4d59c5 0%, #5b3082 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.certificate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102,126,234,0.4);
}

/* ── Lesson Detail ── */
.lesson-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4d59c5;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 20px;
}

.lesson-back:hover { text-decoration: underline; }

.lesson-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.lesson-progress-bar {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.lesson-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #4d59c5 0%, #5b3082 100%);
    border-radius: 6px;
}

.lesson-progress-label {
    font-size: 0.82rem;
    color: #a0aec0;
    font-weight: 600;
    white-space: nowrap;
}

.lesson-detail-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(102,126,234,0.10);
    overflow: hidden;
}

.lesson-detail-header {
    padding: 36px 40px 28px;
    border-bottom: 1px solid #f0f0f5;
}

.lesson-detail-header h1 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.lesson-detail-body {
    padding: 36px 40px 40px;
}

.lesson-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a0aec0;
    margin-bottom: 14px;
    margin-top: 36px;
}

.lesson-section-title:first-child { margin-top: 0; }

.lesson-text {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ── Industry variant card ── */
.variant-card {
    background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);
    border: 1px solid #c3d0f8;
    border-radius: 16px;
    padding: 28px 32px;
    margin: 24px 0;
}

.variant-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4d59c5;
    margin-bottom: 12px;
}

.variant-card p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 12px;
}

.variant-card p:last-child { margin-bottom: 0; }

.variant-scenario-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5b3082;
    margin-top: 16px;
    margin-bottom: 8px;
}

/* ── Takeaways ── */
.takeaways-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.takeaways-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f5;
}

.takeaways-list li:last-child { border-bottom: none; }

.takeaway-check {
    color: #48bb78;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── MCQ ── */
.mcq-section {
    margin-top: 36px;
}

.mcq-item {
    background: #f8f9ff;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 20px;
}

.mcq-question {
    font-size: 0.98rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    line-height: 1.5;
}

.mcq-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mcq-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    font-size: 0.92rem;
    color: #4a5568;
}

.mcq-option:hover { border-color: #4d59c5; background: #fafbff; }
.mcq-option.selected { border-color: #4d59c5; background: #eef2ff; }
.mcq-option.correct { border-color: #48bb78; background: #f0fff4; }
.mcq-option.incorrect { border-color: #fc8181; background: #fff5f5; }
.mcq-option.disabled { pointer-events: none; opacity: 0.7; }
.mcq-option.correct.disabled, .mcq-option.incorrect.disabled { opacity: 1; }

.mcq-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s;
}

.mcq-option.selected .mcq-radio {
    border-color: #4d59c5;
}

.mcq-option.selected .mcq-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #4d59c5;
    border-radius: 50%;
}

.mcq-option.correct .mcq-radio { border-color: #48bb78; }
.mcq-option.correct .mcq-radio::after { background: #48bb78; }
.mcq-option.incorrect .mcq-radio { border-color: #fc8181; }

.mcq-check-btn {
    margin-top: 12px;
    padding: 10px 24px;
    background: #4d59c5;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.mcq-check-btn:hover { background: #5a67d8; }
.mcq-check-btn:disabled { background: #cbd5e0; cursor: not-allowed; }

.mcq-explanation {
    margin-top: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.6;
    display: none;
}

.mcq-explanation.correct {
    background: #f0fff4;
    border-left: 3px solid #48bb78;
    color: #276749;
    display: block;
}

.mcq-explanation.incorrect {
    background: #fff5f5;
    border-left: 3px solid #fc8181;
    color: #9b2c2c;
    display: block;
}

/* ── Module tags ── */
.module-cc { background: #eef2ff; color: #4c51bf; }
.module-aa { background: #fef3e0; color: #c05621; }
.module-dc { background: #e6ffed; color: #276749; }

/* ── Practice Page ── */
.practice-page-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(102,126,234,0.10);
    overflow: hidden;
    margin-top: 16px;
}

.practice-page-header {
    padding: 36px 40px 28px;
    border-bottom: 1px solid #f0f0f5;
}

.practice-page-header h1 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #1a202c;
}

.practice-page-badge {
    display: inline-block;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 16px;
    margin-bottom: 14px;
}

.practice-page-subtitle {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.6;
}

.practice-page-options {
    padding: 28px 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.practice-page-option {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 28px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.practice-page-option:hover {
    border-color: #4d59c5;
    box-shadow: 0 4px 16px rgba(102,126,234,0.10);
}

.practice-page-option-header {
    margin-bottom: 10px;
}

.practice-page-module-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 10px;
    display: inline-block;
}

.practice-page-option-topic {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 6px;
}

.practice-page-option-hook {
    font-size: 0.92rem;
    color: #2d3748;
    line-height: 1.6;
    margin-bottom: 10px;
    font-style: italic;
}

.practice-page-option-tip {
    font-size: 0.82rem;
    color: #4d59c5;
    line-height: 1.5;
    margin-bottom: 16px;
    padding: 8px 12px;
    background: #f0f4ff;
    border-radius: 8px;
    border-left: 3px solid #4d59c5;
}

.practice-page-launch-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, #4d59c5 0%, #5b3082 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.practice-page-launch-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.35);
}

.practice-page-launch-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.practice-page-skip {
    padding: 0 40px 32px;
    text-align: center;
}

.practice-page-skip a {
    color: #4d59c5;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.practice-page-finish p {
    color: #718096;
    font-size: 0.92rem;
    margin-bottom: 10px;
}

.practice-page-finish a {
    font-size: 1rem;
}

.practice-page-skip a:hover {
    text-decoration: underline;
}

/* ── Source link ── */
.source-attribution {
    margin-top: 32px;
    padding: 16px 20px;
    background: #f7fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: #718096;
}

.source-attribution a {
    color: #4d59c5;
    text-decoration: none;
    font-weight: 600;
}

.source-attribution a:hover { text-decoration: underline; }

/* ── Lesson nav ── */
.lesson-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f5;
}

.lesson-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    color: #4a5568;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.15s;
}

.lesson-nav-btn:hover { border-color: #4d59c5; color: #4d59c5; }
.lesson-nav-btn.disabled { opacity: 0.4; pointer-events: none; }

/* ── Certificate ── */
.certificate-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(102,126,234,0.12);
    padding: 60px 48px;
    text-align: center;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.certificate-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 27px;
    background: linear-gradient(135deg, #4d59c5, #5b3082, #48bb78, #4d59c5);
    z-index: -1;
}

.certificate-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.certificate-card h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 6px;
}

.certificate-card h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4d59c5;
    margin-bottom: 28px;
}

.certificate-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.cert-detail {
    text-align: center;
}

.cert-detail-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a0aec0;
    margin-bottom: 4px;
}

.cert-detail-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a202c;
}

.certificate-note {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 20px 24px;
    font-size: 0.88rem;
    color: #4a5568;
    line-height: 1.7;
    margin-top: 24px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.certificate-back {
    display: inline-block;
    margin-top: 28px;
    color: #4d59c5;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
}

.certificate-back:hover { text-decoration: underline; }

/* ── Certificate Gating ── */
.certificate-row-note {
    font-size: 0.78rem;
    color: #a0aec0;
    margin-top: 8px;
}

.certificate-btn.disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    opacity: 0.7;
}

.certificate-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ── Practice Interstitial Modal ── */
.practice-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.practice-modal {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-width: 520px;
    width: 100%;
    padding: 40px;
    text-align: center;
}

.practice-modal h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 16px;
}

.practice-modal-label {
    font-size: 1rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 6px;
}

.practice-modal-hook {
    font-size: 0.92rem;
    color: #718096;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
}

.practice-modal-info {
    font-size: 0.88rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 28px;
    padding: 14px 18px;
    background: #f8f9ff;
    border-radius: 12px;
    border-left: 3px solid #4d59c5;
    text-align: left;
}

.practice-modal-launch {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #4d59c5 0%, #5b3082 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.practice-modal-launch:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102,126,234,0.4);
}

.practice-modal-launch:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.practice-modal-cancel {
    display: block;
    margin-top: 14px;
    color: #a0aec0;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    background: none;
    border: none;
}

/* ── Loading ── */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: #a0aec0;
    font-size: 0.95rem;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e2e8f0;
    border-top-color: #4d59c5;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Reports awaiting review (dashboard banner) ── */
.report-nudge {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.report-nudge-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f59e0b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.report-nudge-icon svg { width: 22px; height: 22px; }
.report-nudge-body { flex: 1; min-width: 0; }
.report-nudge-title {
    font-size: 1rem;
    font-weight: 800;
    color: #78350f;
    line-height: 1.35;
    margin-bottom: 4px;
}
.report-nudge-subtitle {
    font-size: 0.85rem;
    color: #92400e;
    line-height: 1.5;
}
.report-nudge-btn {
    background: #92400e;
    color: white !important;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.2s;
    white-space: nowrap;
}
.report-nudge-btn:hover { background: #78350f; }

/* ── Pending report inline link on lesson row ── */
.lesson-link-pending {
    background: #fef3c7;
    color: #92400e !important;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid #fde68a;
}
.lesson-link-pending::before {
    content: '● ';
    color: #f59e0b;
    margin-right: 2px;
}
.lesson-link-pending::after {
    content: ' →';
    font-weight: 800;
}
.lesson-link-pending:hover {
    background: #fde68a;
    text-decoration: none;
}

/* ── Reviewed report inline link on lesson row ── */
.lesson-link-reviewed {
    background: #dcfce7;
    color: #166534 !important;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid #bbf7d0;
}
.lesson-link-reviewed::before {
    content: '✓ ';
    font-weight: 800;
}
.lesson-link-reviewed:hover {
    background: #bbf7d0;
    text-decoration: none;
}

/* ── Coaching Session Report block (lesson page primary action) ── */
.report-block {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-radius: 18px;
    padding: 28px;
    margin-top: 28px;
    position: relative;
    overflow: hidden;
}
.report-block.report-reviewed {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #bbf7d0;
}
.report-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #f59e0b;
}
.report-block.report-reviewed::before { background: #22c55e; }
.report-block-eyebrow {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #92400e;
    margin-bottom: 8px;
}
.report-block.report-reviewed .report-block-eyebrow { color: #166534; }
.report-block-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 8px;
}
.report-block-subtitle {
    font-size: 0.92rem;
    color: #4a5568;
    line-height: 1.65;
    margin-bottom: 18px;
}
.report-block-subtitle strong { color: #1a202c; }
.report-block-meta {
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 18px;
}
.report-block-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #4a5568;
    line-height: 1.55;
    padding: 4px 0;
}
.report-block-meta-row strong { color: #1a202c; }
.report-block-meta-icon {
    flex-shrink: 0;
    color: #92400e;
    margin-top: 1px;
}
.report-block.report-reviewed .report-block-meta-icon { color: #166534; }
.report-block-meta-icon svg { width: 18px; height: 18px; }
.report-block-btn {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: white !important;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.98rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 18px rgba(217,119,6,0.28);
    display: inline-block;
}
.report-block.report-reviewed .report-block-btn {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 6px 18px rgba(22,163,74,0.28);
}
.report-block-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(217,119,6,0.4);
}
.report-block.report-reviewed .report-block-btn:hover {
    box-shadow: 0 10px 26px rgba(22,163,74,0.4);
}
.report-block-state {
    margin-left: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #166534;
}

/* ── Demoted "try another scenario" link below report block ── */
.now-practice-secondary {
    text-align: center;
    margin-top: 14px;
    padding: 10px 0;
}
.now-practice-secondary a {
    color: #4d59c5;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}
.now-practice-secondary a:hover { text-decoration: underline; }

/* ── Retake card (below report block on completed lessons) ── */
.retake-card {
    background: white;
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    padding: 20px 24px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.retake-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.retake-card-icon svg { width: 22px; height: 22px; }
.retake-card-body { flex: 1; min-width: 0; }
.retake-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 4px;
}
.retake-card-subtitle {
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.55;
    margin: 0;
}
.retake-card-subtitle strong { color: #b91c1c; font-weight: 800; }
.retake-card-btn {
    flex-shrink: 0;
    background: white;
    color: #4f46e5 !important;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: 2px solid #c7d2fe;
    transition: border-color 0.2s, background 0.2s;
    white-space: nowrap;
}
.retake-card-btn:hover {
    border-color: #4f46e5;
    background: #f5f3ff;
}

/* ── Retake banner on practice page ── */
.retake-banner {
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #78350f;
    font-size: 0.9rem;
    line-height: 1.55;
}
.retake-banner-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f59e0b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.retake-banner-icon svg { width: 20px; height: 20px; }
.retake-banner-text { flex: 1; }
.retake-banner-text strong { color: #78350f; font-weight: 800; }

/* ── Continue Lesson primary action card ── */
.continue-card {
    background: white;
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    border: 1px solid #e0e7ff;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}
.continue-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #4d59c5 0%, #5b3082 100%);
}
.continue-card-body { flex: 1; min-width: 0; }
.continue-card-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4f46e5;
    margin-bottom: 6px;
}
.continue-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 4px;
    line-height: 1.35;
}
.continue-card-meta {
    font-size: 0.85rem;
    color: #718096;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}
.continue-card-meta-tag {
    background: #eef2ff;
    color: #4c51bf;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 700;
}
.continue-card-btn {
    flex-shrink: 0;
    background: linear-gradient(135deg, #4d59c5 0%, #5b3082 100%);
    color: white !important;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 18px rgba(102,126,234,0.28);
    white-space: nowrap;
}
.continue-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(102,126,234,0.4);
}

/* ── Knowledge Score 4-quadrant grid ── */
.know-grid {
    background: white;
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(102,126,234,0.06);
}
.know-grid-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}
.know-grid-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a202c;
}
.know-grid-overall {
    font-size: 0.82rem;
    color: #718096;
    font-weight: 600;
}
.know-grid-overall strong {
    color: #4f46e5;
    font-size: 1rem;
    font-weight: 800;
}
.know-grid-cells {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.know-cell {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.know-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cell-color, #4d59c5);
}
.know-cell-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--cell-color, #4d59c5);
    line-height: 1.1;
    margin-bottom: 2px;
}
.know-cell-value.empty {
    color: #cbd5e0;
    font-size: 1.2rem;
}
.know-cell-label {
    font-size: 0.7rem;
    color: #4a5568;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 4px;
}
.know-cell-detail {
    font-size: 0.7rem;
    color: #a0aec0;
    margin-top: 2px;
}
.know-grid-footnote {
    font-size: 0.75rem;
    color: #a0aec0;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f5;
    line-height: 1.55;
}
.know-grid-footnote a { color: #4d59c5; font-weight: 700; text-decoration: none; }
.know-grid-footnote a:hover { text-decoration: underline; }

/* ── Lesson TL;DR card ── */
.lesson-tldr {
    background: #f8f9ff;
    border-radius: 14px;
    padding: 18px 22px;
    margin: 0 0 24px;
    border-left: 4px solid #4d59c5;
}
.lesson-tldr-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4f46e5;
    margin-bottom: 8px;
}
.lesson-tldr-body {
    font-size: 0.95rem;
    color: #2d3748;
    line-height: 1.6;
    margin-bottom: 12px;
}
.lesson-tldr-by-end {
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.6;
}
.lesson-tldr-by-end strong { color: #1a202c; }
.lesson-tldr-bullets {
    margin: 6px 0 0;
    padding: 0 0 0 18px;
    list-style: disc;
}
.lesson-tldr-bullets li {
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.6;
    padding: 1px 0;
}

/* ── Now Practice card (bottom of lesson) ── */
.now-practice {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
    border-radius: 18px;
    padding: 28px;
    margin-top: 28px;
    border: 1px solid #e0e7ff;
}
.now-practice-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4f46e5;
    margin-bottom: 6px;
}
.now-practice-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 6px;
}
.now-practice-subtitle {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 18px;
}
.now-practice-options {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}
.now-practice-option {
    background: white;
    border-radius: 12px;
    padding: 14px 18px;
    border: 1px solid #e0e7ff;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.now-practice-option.clickable {
    cursor: pointer;
    user-select: none;
}
.now-practice-option.clickable:hover {
    border-color: #4d59c5;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(102,126,234,0.18);
}
.now-practice-option.clickable:hover .now-practice-option-arrow {
    transform: translateX(3px);
}
.now-practice-option.clickable:focus-visible {
    outline: 2px solid #4d59c5;
    outline-offset: 2px;
}
.now-practice-option-arrow {
    transition: transform 0.2s;
}
.now-practice-pickone {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4f46e5;
    margin: 0 0 10px;
}
.now-practice-meta {
    font-size: 0.85rem;
    color: #718096;
    margin: 0 0 18px;
}
.now-practice-more-link {
    display: inline-block;
    margin-top: 8px;
    color: #4d59c5;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
}
.now-practice-more-link:hover { text-decoration: underline; }
.now-practice-option-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.now-practice-option-tag {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}
.now-practice-option-tag.module-cc { background: #e0e7ff; color: #4338ca; }
.now-practice-option-tag.module-aa { background: #fce7f3; color: #be185d; }
.now-practice-option-tag.module-dc { background: #d1fae5; color: #065f46; }
.now-practice-option-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a202c;
    flex: 1;
    min-width: 0;
}
.now-practice-option-arrow {
    color: #4f46e5;
    font-weight: 800;
    flex-shrink: 0;
}
.now-practice-cta {
    display: inline-block;
    background: linear-gradient(135deg, #4d59c5 0%, #5b3082 100%);
    color: white !important;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 18px rgba(102,126,234,0.25);
}
.now-practice-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(102,126,234,0.4);
}
.now-practice-more {
    margin-left: 16px;
    color: #4d59c5;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
}
.now-practice-more:hover { text-decoration: underline; }

/* ── MCQ one-at-a-time stepping ── */
.mcq-stepper-progress {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    align-items: center;
}
.mcq-step-pip {
    width: 22px;
    height: 4px;
    border-radius: 2px;
    background: #e2e8f0;
    transition: background 0.2s;
}
.mcq-step-pip.active { background: #4d59c5; }
.mcq-step-pip.done { background: #48bb78; }
.mcq-step-counter {
    margin-left: 10px;
    font-size: 0.78rem;
    color: #718096;
    font-weight: 600;
}
.mcq-item.mcq-hidden { display: none; }
.mcq-next-btn {
    margin-top: 14px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #4d59c5 0%, #5b3082 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.mcq-next-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(102,126,234,0.32);
}

/* ── Back link ── */
.course-back-link {
    display: inline-block;
    color: #4d59c5;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 16px;
}
.course-back-link:hover { text-decoration: underline; }

/* ── Demo Banner ── */
.demo-banner {
    background: #f5f3ff;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.88rem;
    color: #4338ca;
    line-height: 1.5;
}
.demo-banner-text { flex: 1; }
.demo-banner-tag {
    display: inline-block;
    background: #4f46e5;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 8px;
    vertical-align: middle;
}
.demo-banner-cta {
    background: #4338ca;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}
.demo-banner-cta:hover { background: #312e81; }

/* ── In-Production Callout ── */
.demo-note {
    background: #f0f4ff;
    border-left: 3px solid #4d59c5;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    color: #4a5568;
    line-height: 1.55;
    margin: 12px 0;
}
.demo-note strong { color: #4c51bf; font-weight: 700; }
.demo-note a { color: #4c51bf; font-weight: 700; text-decoration: none; }
.demo-note a:hover { text-decoration: underline; }
.demo-note-inline {
    font-size: 0.78rem;
    color: #718096;
    margin-top: 6px;
    line-height: 1.5;
}
.demo-note-inline a { color: #4d59c5; font-weight: 700; text-decoration: none; }
.demo-note-inline a:hover { text-decoration: underline; }

/* ── Enterprise CTA Card ── */
.enterprise-cta-card {
    background: linear-gradient(135deg, #4d59c5 0%, #5b3082 100%);
    color: white;
    border-radius: 16px;
    padding: 36px 32px;
    margin-top: 32px;
    text-align: center;
}
.enterprise-cta-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 12px;
    color: #ffffff !important;
}
.enterprise-cta-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.95) !important;
    margin: 0 auto 22px;
    max-width: 580px;
}
.enterprise-cta-btn {
    display: inline-block;
    background: white;
    color: #4d59c5;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.enterprise-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.enterprise-cta-btn-secondary {
    display: inline-block;
    color: white;
    margin-left: 18px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: 2px;
}
.enterprise-cta-btn-secondary:hover { border-bottom-color: white; }

/* ── Mobile ── */
@media (max-width: 768px) {
    .course-container { padding: 90px 16px 40px; }

    .picker-card { padding: 36px 24px; }
    .picker-card h1 { font-size: 1.5rem; }

    .course-hero h1 { font-size: 1.5rem; }
    .course-hero-subtitle { font-size: 0.9rem; }

    .lesson-row { padding: 16px 18px; flex-direction: column; gap: 8px; }
    .lesson-status-label { align-self: flex-start; }

    .lesson-detail-header,
    .lesson-detail-body { padding: 24px 20px; }
    .lesson-detail-header h1 { font-size: 1.3rem; }

    .variant-card { padding: 20px 22px; }

    .practice-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .practice-page-header { padding: 24px 20px 20px; }
    .practice-page-header h1 { font-size: 1.3rem; }
    .practice-page-options { padding: 20px; }
    .practice-page-option { padding: 20px; }
    .practice-page-skip { padding: 0 20px 24px; }

    .competency-group-header { padding: 12px 18px; font-size: 0.78rem; }

    .practice-modal { padding: 28px 22px; }
    .practice-modal h2 { font-size: 1.1rem; }

    .certificate-card { padding: 40px 24px; }
    .certificate-details { gap: 20px; }
    .certificate-card h1 { font-size: 1.3rem; }

    .demo-banner { flex-direction: column; align-items: flex-start; padding: 12px 14px; }
    .demo-banner-cta { align-self: stretch; text-align: center; }

    .enterprise-cta-card { padding: 28px 22px; }
    .enterprise-cta-card h3 { font-size: 1.15rem; }
    .enterprise-cta-btn-secondary { display: block; margin: 14px 0 0; }

    .continue-card { flex-direction: column; align-items: stretch; padding: 20px; gap: 16px; }
    .continue-card-btn { text-align: center; padding: 14px 22px; }

    .know-grid { padding: 18px 18px; }
    .know-grid-cells { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .know-cell { padding: 12px 8px; }
    .know-cell-value { font-size: 1.2rem; }

    .lesson-tldr { padding: 16px 18px; }

    .now-practice { padding: 22px 20px; }
    .now-practice-title { font-size: 1.05rem; }
    .now-practice-cta { display: block; text-align: center; }
    .now-practice-more { display: block; margin: 14px 0 0; text-align: center; }

    .report-nudge { flex-direction: column; align-items: flex-start; padding: 16px 18px; }
    .report-nudge-btn { align-self: stretch; text-align: center; }

    .report-block { padding: 22px 20px; }
    .report-block-title { font-size: 1.1rem; }
    .report-block-btn { display: block; text-align: center; padding: 14px 22px; }
    .report-block-state { display: block; margin: 10px 0 0; text-align: center; }

    .retake-card { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 20px; }
    .retake-card-btn { text-align: center; }
    .retake-banner { flex-direction: column; align-items: flex-start; }
}
