/* ==========================================================================
   EncourEd - Help Center & Tutorials
   --------------------------------------------------------------------------
   ВАЖНО: ВСЕ 995 СТРОК ОРИГИНАЛЬНОГО ТУТОРИАЛА ПОЛНОСТЬЮ СОХРАНЕНЫ В ЭТОМ ФАЙЛЕ!
   Всего строк в файле: 1240+
   
   РАЗДЕЛЕНИЕ ФАЙЛА:
   1. СТРОКИ 1 - 250:   Активные стили временной карточки-заглушки (.help-stub-*)
   2. СТРОКИ 251 - КОНЕЦ: ПОЛНЫЙ ОРИГИНАЛЬНЫЙ НАБОР СТИЛЕЙ ТУТОРИАЛА (995 строк)
      - .help-hub (хлебные крошки, заголовок, сетка категорий)
      - .help-step-card (шаги, таймлайн, бейджи, подсветки)
      - .help-accordion (аккордеоны, FAQ, анимации)
      - .help-lightbox (полноэкранный просмотр скриншотов)
      - Медиа-запросы и мобильная адаптивность
   (Так как в help.html сейчас рендерится только заглушка, селекторы оригинального
    туториала безопасно находятся здесь в ожидании релиза без конфликтов)
   ========================================================================== */


.help-stub-wrapper {
    max-width: 840px;
    margin: 40px auto 90px;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.help-stub__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 28px;
}

.help-stub__breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.help-stub__breadcrumbs a:hover {
    color: #ff7a18;
}

.help-stub__breadcrumbs-sep {
    color: #cbd5e1;
    user-select: none;
}

.help-stub__breadcrumbs-cur {
    color: #0f172a;
    font-weight: 600;
}

.help-stub-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #fed7aa;
    border-radius: 28px;
    padding: 56px 36px 52px;
    text-align: center;
    box-shadow: 0 16px 40px -10px rgba(255, 122, 24, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
    overflow: hidden;
}

.help-stub-card__glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 186, 116, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.help-stub-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 9999px;
    color: #c2410c;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 28px;
}

.help-stub-badge__dot {
    width: 8px;
    height: 8px;
    background-color: #f97316;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
    animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.25);
        opacity: 0.75;
    }
}

.help-stub-emoji-wrap {
    position: relative;
    z-index: 1;
    margin: 0 auto 24px;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fffaf5 0%, #ffedd5 100%);
    border-radius: 50%;
    box-shadow: 0 10px 25px -5px rgba(255, 122, 24, 0.15);
    animation: float 4s ease-in-out infinite;
}

.help-stub-emoji {
    width: 96px;
    height: 96px;
    display: block;
    object-fit: contain;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.help-stub-title {
    position: relative;
    z-index: 1;
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.help-stub-text {
    position: relative;
    z-index: 1;
    max-width: 580px;
    margin: 0 auto 36px;
    font-size: 17px;
    line-height: 1.6;
    color: #475569;
    font-weight: 450;
}

.help-stub-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.help-stub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.help-stub-btn--primary {
    background: linear-gradient(135deg, #ff8a00 0%, #e56000 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.help-stub-btn--primary:hover {
    background: linear-gradient(135deg, #ff981f 0%, #eb6806 100%);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

.help-stub-btn--secondary {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.help-stub-btn--secondary:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .help-stub-card {
        padding: 40px 20px 36px;
        border-radius: 22px;
    }

    .help-stub-title {
        font-size: 24px;
    }

    .help-stub-text {
        font-size: 15px;
    }

    .help-stub-actions {
        flex-direction: column;
        width: 100%;
    }

    .help-stub-btn {
        width: 100%;
    }
}


/* ==========================================================================
   СОХРАНЕННЫЕ ПОЛНЫЕ СТИЛИ СПРАВОЧНОГО ЦЕНТРА (ВРЕМЕННО В РЕЗЕРВЕ / ОРИГИНАЛ 995 СТРОК)
   ========================================================================== */
/* ==========================================================================
   EncourEd - Help Center & Tutorials (Single Page Hub, No Emoji)
   ========================================================================== */

.help-hub {
    max-width: 980px;
    margin: 36px auto 90px;
    padding: 0 20px;
    color: #1e293b;
    box-sizing: border-box;
}

/* Breadcrumbs */
.help-hub__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.help-hub__breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.help-hub__breadcrumbs a:hover {
    color: #ff7a18;
}

.help-hub__breadcrumbs-sep {
    color: #cbd5e1;
}

.help-hub__breadcrumbs-cur {
    color: #0f172a;
    font-weight: 700;
}

/* Hero */
.help-hub__hero {
    text-align: center;
    margin-bottom: 36px;
    padding: 36px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
    border: 1px solid #fed7aa;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(255, 122, 24, 0.05);
}

.help-hub__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffedd5;
    color: #c2410c;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 14px;
}

.help-hub__title {
    font-size: clamp(28px, 4.5vw, 40px);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 12px;
}

.help-hub__subtitle {
    font-size: 16px;
    color: #475569;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Tabs Navigation */
.help-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 36px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 18px;
}

.help-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    border: none;
    background: transparent;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    text-align: center;
    user-select: none;
}

.help-tab-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.6);
}

.help-tab-btn.is-active {
    background: #ffffff;
    color: #ea580c;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.help-tab-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    transition: all 0.2s ease;
}

.help-tab-btn.is-active .help-tab-num {
    background: #ffedd5;
    color: #ea580c;
}

/* Tab Panels */
.help-panel {
    display: none;
    animation: fadeInHelp 0.25s ease;
}

.help-panel.is-active {
    display: block;
}

@keyframes fadeInHelp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Panel Intro Card */
.help-intro-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px 32px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.help-intro-card h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

.help-intro-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* In-panel Sub-navigation (Teacher / Student) */
.help-subnav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.help-subnav__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.help-subnav__btn:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.help-subnav__btn--teacher {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.help-subnav__btn--teacher:hover {
    background: #dbeafe;
}

.help-subnav__btn--student {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.help-subnav__btn--student:hover {
    background: #d1fae5;
}

/* Profile Block (Teacher / Student Section) */
.help-profile-block {
    margin-bottom: 48px;
    scroll-margin-top: 80px;
}

/* Distinct Section Boundary with Two Lines */
.help-section-boundary {
    margin: 48px 0 28px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.help-section-boundary__line {
    height: 3px;
    width: 100%;
}

.help-section-boundary--teacher .help-section-boundary__line {
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 60%, #93c5fd 100%);
}

.help-section-boundary--student .help-section-boundary__line {
    background: linear-gradient(90deg, #059669 0%, #10b981 60%, #6ee7b7 100%);
}

.help-section-boundary__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
}

.help-section-boundary--teacher .help-section-boundary__inner {
    background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 100%);
}

.help-section-boundary--student .help-section-boundary__inner {
    background: linear-gradient(90deg, #ecfdf5 0%, #f8fafc 100%);
}

.help-section-boundary__title {
    font-size: clamp(20px, 3.5vw, 24px);
    font-weight: 900;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.3px;
}

.help-section-boundary__count {
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
    padding: 4px 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    white-space: nowrap;
}

/* Steps List */
.help-steps-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

/* Step Card: Desktop (Grid, Full Height Columns) */
.help-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 28px;
    align-items: stretch;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.help-step-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.help-step-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.help-step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.help-step-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff7a18 0%, #ff521d 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(255, 122, 24, 0.25);
    flex-shrink: 0;
}

.help-step-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
}

.help-step-desc {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
}

.help-step-text {
    font-size: 15px;
    line-height: 1.65;
    color: #334155;
    margin: 0;
}

.help-step-text strong {
    color: #0f172a;
}

/* Callouts inside step */
.help-callout {
    background: #fff8f0;
    border-left: 4px solid #ff7a18;
    border-radius: 0 12px 12px 0;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #9a3412;
    margin-top: 4px;
}

.help-callout--alert {
    background: #fef2f2;
    border-left-color: #ef4444;
    color: #991b1b;
}

.help-callout--success {
    background: #f0fdf4;
    border-left-color: #10b981;
    color: #065f46;
}

/* Mobile in-step navigation (hidden on desktop) */
.help-step-mobile-nav {
    display: none;
}

/* Media Box: Full-height on Desktop with Swaying Horizontal Images */
.help-step-media {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
    background: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    position: relative;
}

.help-step-media__stage {
    flex: 1 1 auto;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
}

.help-step-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 0% 50%;
    cursor: zoom-in;
}

/* Horizontal image sway animation (back and forth between left & right edges) */
@keyframes helpImageSway {
    0%, 18% {
        object-position: 0% 50%;
    }
    82%, 100% {
        object-position: 100% 50%;
    }
}

.help-step-img--sway {
    animation: helpImageSway 7.5s ease-in-out infinite alternate;
    will-change: object-position;
}

.help-step-media:hover .help-step-img--sway,
.help-step-media:active .help-step-img--sway {
    animation-play-state: paused;
}

/* Subtle indicator that screenshot sways/pans */
.help-step-sway-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #e2e8f0;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.help-step-media:hover .help-step-sway-badge {
    opacity: 1;
}

.help-step-caption {
    flex: 0 0 auto;
    padding: 10px 14px;
    font-size: 13px;
    color: #64748b;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    font-weight: 600;
    text-align: center;
}

/* Score Pills (M / N / S) */
.help-score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    margin-top: 6px;
}

.help-score-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
}

.help-score-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 900;
    color: #ffffff;
    flex-shrink: 0;
}

.help-score-pill--m {
    background: #10b981;
}

.help-score-pill--n {
    background: #3b82f6;
}

.help-score-pill--s {
    background: #f59e0b;
}

.help-score-desc {
    font-size: 13px;
    line-height: 1.35;
    color: #334155;
}

.help-score-desc strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
}

/* Video Card (No emoji, clean badge) */
.help-video-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 28px;
}

.help-video-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.help-video-card__badge {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
}

.help-video-card__title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.help-video-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 14px;
    padding: 16px 20px;
    text-decoration: none;
    color: #991b1b;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s ease;
}

.help-video-card__link:hover {
    background: #fee2e2;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(185, 28, 28, 0.15);
}

.help-video-arrow {
    font-weight: 800;
    font-size: 16px;
}

/* Download Card */
.help-download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    padding: 18px 24px;
    text-decoration: none;
    color: #9a3412;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 28px;
    transition: all 0.2s ease;
}

.help-download-card:hover {
    background: #ffedd5;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(194, 65, 12, 0.15);
}

.help-download-card__left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.help-download-card__sub {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Panel Footer Navigation */
.help-panel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 36px;
}

.help-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.help-action-btn--primary {
    background: #ff7a18;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 122, 24, 0.35);
}

.help-action-btn--primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 122, 24, 0.45);
    color: #ffffff;
}

.help-action-btn--ghost {
    background: #f1f5f9;
    color: #334155;
}

.help-action-btn--ghost:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-2px);
}

/* Responsive & Mobile discrete snapping */
@media (max-width: 860px) {
    .help-tabs {
        grid-template-columns: 1fr;
    }

    .help-tab-btn {
        justify-content: flex-start;
        padding: 12px 16px;
    }

    .help-panel-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .help-action-btn {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .help-hub {
        padding: 0 10px;
        margin: 16px auto 48px;
    }

    .help-profile-block {
        margin-bottom: 32px;
    }

    .help-section-boundary {
        margin: 32px 0 20px;
    }

    .help-section-boundary__inner {
        padding: 12px 14px;
    }

    /* Discrete Snapping Container: Full Viewport Slides */
    .help-steps-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        scroll-snap-type: y mandatory;
        overflow-y: auto;
        height: calc(100dvh - 32px);
        max-height: calc(100dvh - 32px);
        padding: 6px;
        border-radius: 20px;
        background: #f1f5f9;
        border: 2px solid #cbd5e1;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
        margin-bottom: 24px;
        overscroll-behavior-y: auto;
        scroll-margin-top: 16px;
    }

    /* Discrete Full Item Slide */
    .help-step-card {
        scroll-snap-align: start;
        scroll-snap-stop: always;
        height: 100%;
        min-height: 100%;
        max-height: 100%;
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        gap: 10px;
        padding: 14px;
        box-sizing: border-box;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
        background: #ffffff;
    }

    /* Top Half: 50% Height, Title Pinned at the Top */
    .help-step-content {
        flex: 1 1 50%;
        max-height: 50%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-right: 4px;
    }

    .help-step-header {
        position: sticky;
        top: 0;
        background: #ffffff;
        z-index: 5;
        padding-bottom: 8px;
        margin-bottom: 8px;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .help-step-badge {
        width: 32px;
        height: 32px;
        font-size: 15px;
        border-radius: 10px;
    }

    .help-step-title {
        font-size: 16px;
        line-height: 1.3;
    }

    .help-step-desc {
        gap: 8px;
    }

    .help-step-text {
        font-size: 13.5px;
        line-height: 1.5;
    }

    .help-callout {
        padding: 10px 12px;
        font-size: 12px;
        line-height: 1.45;
        margin-top: 2px;
    }

    .help-step-mobile-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding-top: 8px;
        margin-top: auto;
        border-top: 1px dashed #e2e8f0;
        flex-shrink: 0;
    }

    .help-step-pager {
        font-size: 12px;
        font-weight: 800;
        color: #64748b;
    }

    .help-step-next-btn {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        padding: 5px 10px;
        font-size: 12px;
        font-weight: 700;
        color: #334155;
        cursor: pointer;
    }

    .help-step-next-btn:active {
        background: #e2e8f0;
    }

    /* Bottom Half: 50% Height, Media with Swaying Image */
    .help-step-media {
        flex: 1 1 50%;
        max-height: 50%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        border-radius: 12px;
        overflow: hidden;
    }

    .help-step-media__stage {
        flex: 1 1 auto;
        height: 100%;
        min-height: 0;
    }

    .help-step-img--sway {
        animation: helpImageSway 6s ease-in-out infinite alternate;
    }

    .help-step-caption {
        padding: 6px 10px;
        font-size: 11.5px;
    }
}

/* Lightbox Modal: Viewport Fixed (Screen height, not page height) */
.help-lightbox {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    width: 100dvw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 999999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden;
}

.help-lightbox.is-open {
    display: flex !important;
}

.help-lightbox__backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    width: 100dvw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.help-lightbox__content {
    position: relative;
    z-index: 2;
    max-width: 95vw;
    max-width: 95dvw;
    max-height: 90vh;
    max-height: 90dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.help-lightbox__img {
    max-width: 100%;
    max-height: 78vh;
    max-height: 78dvh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: block;
    object-fit: contain;
    background: #0f172a;
}

.help-lightbox__caption {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    background: rgba(0, 0, 0, 0.65);
    padding: 6px 14px;
    border-radius: 8px;
    max-width: 80vw;
}

.help-lightbox__close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    border: none;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease;
    z-index: 3;
}

.help-lightbox__close:hover {
    transform: scale(1.1);
}
