.help-page {
    display: grid;
    gap: 1.4rem;
    color: #061d3d;
}

.help-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    border: 1px solid #d5e2f2;
    border-radius: 1rem;
    background: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 0.65rem 1.6rem rgba(15, 40, 80, 0.035);
}

.help-eyebrow {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    background: #edf5ff;
    color: #315d96;
    padding: 0.3rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.help-hero h1,
.help-article-header h1,
.help-form-card h1 {
    margin: 0.65rem 0 0;
    color: #061d3d;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    font-weight: 750;
    line-height: 1.15;
}

.help-hero p,
.help-article-header p,
.help-form-card header p {
    margin: 0.65rem 0 0;
    max-width: 48rem;
    color: #536b8d;
    font-size: 0.98rem;
    line-height: 1.6;
}

.help-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.8rem;
    border-radius: 0.85rem;
    background: #2563eb;
    color: #ffffff;
    padding: 0.6rem 1rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.help-primary-action:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.help-overview-grid,
.help-guide-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.help-overview-card,
.help-guide-card,
.help-form-card,
.help-article-header,
.help-article-content,
.help-empty-state {
    border: 1px solid #d5e2f2;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 0.65rem 1.6rem rgba(15, 40, 80, 0.035);
}

.help-overview-card {
    padding: 1.1rem;
}

.help-overview-card i {
    color: #2563eb;
    font-size: 1.35rem;
}

.help-overview-card h2,
.help-section-heading h2,
.help-guide-card h3 {
    margin: 0.6rem 0 0;
    color: #061d3d;
    font-size: 1.05rem;
    font-weight: 750;
}

.help-overview-card p,
.help-guide-card p {
    margin: 0.45rem 0 0;
    color: #536b8d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.help-guides-section {
    display: grid;
    gap: 1rem;
    margin-top: 0.3rem;
}

.help-section-heading span,
.help-guide-card span {
    color: #536b8d;
    font-size: 0.84rem;
    font-weight: 600;
}

.help-guide-card {
    display: block;
    padding: 1rem;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.help-guide-card:hover {
    border-color: #8bb8f1;
    box-shadow: 0 0.9rem 1.8rem rgba(15, 40, 80, 0.08);
    transform: translateY(-1px);
}

.help-guide-card strong {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.8rem;
    color: #2563eb;
    font-size: 0.88rem;
}

.help-empty-state {
    padding: 1rem;
    color: #536b8d;
    font-weight: 600;
}

.help-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    color: #315d96;
    font-weight: 700;
    text-decoration: none;
}

.help-article-page,
.help-form-page {
    max-width: 980px;
    margin: 0 auto;
    width: 100%;
}

.help-article-header,
.help-article-content,
.help-form-card {
    padding: 1.4rem;
}

.help-article-content {
    color: #1e2f49;
    font-size: 1rem;
    line-height: 1.75;
}

.help-article-content h2,
.help-article-content h3 {
    margin: 1.35rem 0 0.5rem;
    color: #061d3d;
    font-weight: 750;
}

.help-article-content p,
.help-article-content ul,
.help-article-content ol {
    margin-bottom: 0.85rem;
}

.help-guide-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.1rem;
}

.help-form-field {
    display: grid;
    gap: 0.45rem;
}

.help-form-field label,
.help-form-check label {
    color: #1f3a5f;
    font-size: 0.92rem;
    font-weight: 700;
}

.help-form-field .form-control {
    border-color: #cfe0f5;
    border-radius: 0.8rem;
}

.help-form-row {
    display: grid;
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    gap: 1rem;
    align-items: end;
}

.help-form-check {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.8rem;
}

.help-rich-text-editor {
    min-height: 260px;
    border-radius: 0 0 0.8rem 0.8rem;
    background: #ffffff;
}

.ql-toolbar.ql-snow {
    border-color: #cfe0f5;
    border-radius: 0.8rem 0.8rem 0 0;
}

.ql-container.ql-snow {
    border-color: #cfe0f5;
    border-radius: 0 0 0.8rem 0.8rem;
}

.help-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

@media (max-width: 900px) {
    .help-hero {
        display: grid;
    }

    .help-overview-grid,
    .help-guide-list {
        grid-template-columns: 1fr;
    }

    .help-form-row {
        grid-template-columns: 1fr;
    }

    .help-form-actions {
        flex-direction: column-reverse;
    }

    .help-form-actions .btn,
    .help-primary-action {
        width: 100%;
    }
}
