﻿/**
 * QUARANTINE — Help & Learning Centre
 * Registry: docs/design-system/CSS_QUARANTINE_REGISTRY.md
 * Status: quarantined (still loaded via site-header). Do not delete.
 * Extracted from design-system.css lines 3716-4101 (Phase 2A).
 */

/* ---- Help & Learning Centre ---- */
.vds-page--help-centre .vds-container {
    max-width: 93.75rem;
}

.vds-help-centre {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.vds-help-centre__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.vds-help-centre__title {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: var(--weight-bold);
    line-height: 1.2;
    color: var(--text-primary);
}

.vds-help-centre__subtitle {
    margin: 0;
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 40rem;
}

.vds-help-centre__search {
    max-width: 32rem;
    margin-top: var(--space-2);
}

.vds-help-centre__section {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.vds-help-centre__section-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: var(--weight-bold);
}

.vds-help-centre__grid {
    display: grid;
    gap: var(--space-4);
}

.vds-help-centre__grid--topics {
    grid-template-columns: 1fr;
}

.vds-help-centre__grid--videos {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .vds-help-centre__grid--topics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vds-help-centre__grid--videos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .vds-help-centre__grid--topics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.vds-help-centre__stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.vds-help-centre__empty.is-hidden,
[data-help-search-item].is-hidden {
    display: none !important;
}

.vds-help-centre__empty {
    margin: 0;
    padding: var(--space-4);
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px dashed var(--border);
    color: var(--text-muted);
    text-align: center;
}

.vds-help-topic-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    min-height: 8rem;
    padding: var(--space-6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.vds-help-topic-card:hover,
.vds-help-topic-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: inherit;
}

.vds-help-topic-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    font-size: 1.35rem;
}

.vds-help-topic-card--blue .vds-help-topic-card__icon { background: color-mix(in srgb, #3b82f6 12%, white); color: #2563eb; }
.vds-help-topic-card--green .vds-help-topic-card__icon { background: color-mix(in srgb, #22c55e 12%, white); color: #16a34a; }
.vds-help-topic-card--purple .vds-help-topic-card__icon { background: color-mix(in srgb, var(--accent) 12%, white); color: var(--secondary); }
.vds-help-topic-card--orange .vds-help-topic-card__icon { background: color-mix(in srgb, #f97316 12%, white); color: #ea580c; }
.vds-help-topic-card--slate .vds-help-topic-card__icon { background: color-mix(in srgb, var(--secondary) 10%, white); color: var(--secondary); }

.vds-help-topic-card__body {
    flex: 1;
    min-width: 0;
}

.vds-help-topic-card__title {
    display: block;
    font-size: 1.0625rem;
    font-weight: var(--weight-bold);
    margin-bottom: 0.25rem;
}

.vds-help-topic-card__summary {
    display: block;
    font-size: var(--font-body);
    color: var(--text-muted);
    line-height: 1.45;
}

.vds-help-topic-card__topics {
    margin: var(--space-2) 0 0;
    padding-left: 1.1rem;
    font-size: var(--font-small);
    color: var(--text-muted);
}

.vds-help-topic-card__arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.vds-help-article {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    padding: var(--space-6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.vds-help-article__hero {
    display: flex;
    justify-content: center;
}

.vds-help-article__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-full);
    font-size: 1.75rem;
}

.vds-help-article__icon--blue { background: color-mix(in srgb, #3b82f6 12%, white); color: #2563eb; }
.vds-help-article__icon--green { background: color-mix(in srgb, #22c55e 12%, white); color: #16a34a; }
.vds-help-article__icon--purple { background: color-mix(in srgb, var(--accent) 12%, white); color: var(--secondary); }
.vds-help-article__icon--orange { background: color-mix(in srgb, #f97316 12%, white); color: #ea580c; }
.vds-help-article__icon--slate { background: color-mix(in srgb, var(--secondary) 10%, white); color: var(--secondary); }

.vds-help-article__heading {
    margin: 0 0 var(--space-2);
    font-size: 1.25rem;
    font-weight: var(--weight-bold);
}

.vds-help-article__body {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.vds-help-article__example {
    margin: var(--space-3) 0 0;
    padding: var(--space-3) var(--space-4);
    border-left: 4px solid var(--primary);
    background: var(--primary-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 1rem;
}

.vds-help-faq-item {
    padding: var(--space-4) var(--space-5);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.vds-help-faq-item__question {
    margin: 0 0 var(--space-2);
    font-size: 1rem;
    font-weight: var(--weight-bold);
}

.vds-help-faq-item__answer {
    margin: 0 0 var(--space-2);
    font-size: var(--font-body);
    line-height: 1.55;
    color: var(--text-primary);
}

.vds-help-faq-item__link {
    font-size: 0.875rem;
    font-weight: var(--weight-semibold);
    color: var(--primary);
    text-decoration: none;
}

.vds-help-tutorial {
    padding: var(--space-6);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.vds-help-tutorial__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.vds-help-tutorial__icon {
    color: var(--primary);
}

.vds-help-tutorial__title {
    margin: 0;
    flex: 1;
    font-size: 1.125rem;
    font-weight: var(--weight-bold);
}

.vds-help-tutorial__guide-link {
    font-size: 0.875rem;
    font-weight: var(--weight-semibold);
    color: var(--primary);
    text-decoration: none;
}

.vds-help-tutorial__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.vds-help-tutorial__step {
    display: grid;
    grid-template-columns: 1fr minmax(8rem, 12rem);
    gap: var(--space-4);
    align-items: start;
}

.vds-help-tutorial__step-label {
    display: block;
    font-size: var(--font-label);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.vds-help-tutorial__step-title {
    margin: 0 0 var(--space-1);
    font-size: 1rem;
    font-weight: var(--weight-bold);
}

.vds-help-tutorial__step-text {
    margin: 0;
    font-size: var(--font-body);
    line-height: 1.5;
    color: var(--text-muted);
}

.vds-help-tutorial__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5rem;
    padding: var(--space-3);
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-muted);
    font-size: var(--font-label);
    color: var(--text-muted);
    text-align: center;
}

.vds-help-video-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 150ms ease, border-color 150ms ease;
}

.vds-help-video-card:hover,
.vds-help-video-card:focus-visible {
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--primary) 25%, var(--border));
    color: inherit;
}

.vds-help-video-card__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-full);
    background: var(--primary-soft);
    color: var(--primary);
}

.vds-help-video-card__title {
    display: block;
    font-size: var(--font-body);
    font-weight: var(--weight-bold);
}

.vds-help-video-card__duration,
.vds-help-video-card__note {
    display: block;
    font-size: var(--font-small);
    color: var(--text-muted);
}

@media (max-width: 767.98px) {
    .vds-help-tutorial__step {
        grid-template-columns: 1fr;
    }
}
