body.help-center-page {
    background-color: var(--v2-bg, #030712) !important;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, #030712 0%, #050916 52%, #030712 100%) !important;
    background-size: 48px 48px, 48px 48px, auto !important;
    color: var(--v2-text, #f8fafc);
}

body.help-center-page .app-header {
    background: rgba(3, 7, 18, 0.6) !important;
    border-bottom: 1px solid var(--v2-card-border, rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body.help-center-page .app-footer {
    background: #030712;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.help-shell {
    max-width: 1360px;
}

.help-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    padding: 2rem 0 5rem;
}

.help-sidebar {
    position: sticky;
    top: 92px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid var(--v2-card-border, rgba(255, 255, 255, 0.06));
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.028);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.help-sidebar-label {
    margin: 0 0 0.55rem;
    color: var(--v2-text-muted, #94a3b8);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.help-sidebar-link {
    display: block;
    padding: 0.62rem 0.72rem;
    border-radius: 7px;
    color: var(--v2-text-muted, #94a3b8);
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
    transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.help-sidebar-link:hover,
.help-sidebar-link:focus-visible {
    color: var(--v2-text, #f8fafc);
    background: rgba(249, 115, 22, 0.1);
    transform: translateX(2px);
    outline: none;
}

.help-content {
    min-width: 0;
}

.help-hero {
    padding: 3rem 0 2.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.help-hero h1 {
    max-width: 860px;
    margin: 0.35rem 0 1rem;
    color: var(--v2-text, #f8fafc);
    font-size: clamp(2.25rem, 6vw, 4.9rem);
    line-height: 0.95;
    letter-spacing: 0;
}

.help-hero .lead {
    max-width: 780px;
    color: var(--v2-text-muted, #94a3b8);
}

.help-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.help-search-row a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.68rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 7px;
    color: var(--v2-text, #f8fafc);
    background: rgba(255, 255, 255, 0.028);
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
}

.help-search-row a:hover,
.help-search-row a:focus-visible {
    border-color: rgba(249, 115, 22, 0.34);
    background: rgba(249, 115, 22, 0.1);
    outline: none;
}

.help-section {
    scroll-margin-top: 110px;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.help-section-heading {
    display: grid;
    grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: baseline;
    margin-bottom: 1.25rem;
}

.help-section-heading h2 {
    margin: 0;
    color: var(--v2-text, #f8fafc);
    font-size: clamp(1.55rem, 3vw, 2.45rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.help-executive-summary {
    max-width: 920px;
    margin: 0 0 1.35rem auto;
    padding: 1.35rem;
    border: 1px solid rgba(249, 115, 22, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(110deg, rgba(249, 115, 22, 0.08), transparent 38%),
        rgba(255, 255, 255, 0.028);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.help-executive-summary p {
    margin: 0;
    color: var(--v2-text-muted, #94a3b8);
    font-size: 1rem;
    line-height: 1.68;
}

.help-executive-summary p + p {
    margin-top: 0.95rem;
}

.help-instruction-panel,
.help-subsection {
    margin: 0 0 1.25rem auto;
    padding: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.028);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.help-instruction-panel h3,
.help-subsection h3 {
    margin: 0 0 0.65rem;
    color: var(--v2-text, #f8fafc);
    font-size: 1.16rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.help-instruction-panel p,
.help-subsection-copy {
    margin: 0 0 1rem;
    color: var(--v2-text-muted, #94a3b8);
    font-size: 0.96rem;
    line-height: 1.62;
}

.help-instruction-panel a {
    color: var(--v2-accent, #f97316);
    font-weight: 750;
    text-decoration: none;
}

.help-section-actions {
    display: flex;
    justify-content: flex-start;
    margin: 1rem 0 0;
}

.help-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(249, 115, 22, 0.55);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.98), rgba(245, 158, 11, 0.94));
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 850;
    line-height: 1.1;
    text-decoration: none;
    box-shadow: 0 18px 34px rgba(249, 115, 22, 0.2);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.help-instruction-panel a.help-primary-button {
    color: #ffffff;
}

.help-primary-button:hover,
.help-primary-button:focus-visible {
    border-color: rgba(251, 191, 36, 0.85);
    color: #ffffff;
    box-shadow: 0 20px 38px rgba(249, 115, 22, 0.28);
    transform: translateY(-1px);
}

.help-steps {
    display: grid;
    gap: 0.72rem;
    margin: 0;
    padding-left: 1.2rem;
    color: var(--v2-text-muted, #94a3b8);
}

.help-steps li {
    padding-left: 0.25rem;
    line-height: 1.58;
}

.help-steps strong,
.help-definition-grid strong,
.help-prompt-map dt {
    color: var(--v2-text, #f8fafc);
}

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

.help-definition-grid div {
    min-height: 112px;
    padding: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.024);
}

.help-definition-grid strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.94rem;
}

.help-definition-grid span {
    display: block;
    color: var(--v2-text-muted, #94a3b8);
    font-size: 0.88rem;
    line-height: 1.5;
}

.help-prompt-map {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.help-prompt-map article {
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.024);
}

.help-prompt-map h4 {
    margin: 0 0 0.75rem;
    color: var(--v2-accent, #f97316);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.help-prompt-map dl {
    display: grid;
    gap: 0.55rem;
    margin: 0;
}

.help-prompt-map dt {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.25;
}

.help-prompt-map dd {
    margin: -0.38rem 0 0;
    color: var(--v2-text-muted, #94a3b8);
    font-size: 0.86rem;
    line-height: 1.48;
}

.help-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.help-card-grid--primary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.help-card-grid--primary .help-guide-card:nth-child(n + 4) {
    grid-column: span 1;
}

.help-guide-card {
    min-height: 178px;
    padding: 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.028);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.help-guide-kicker {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--v2-accent, #f97316);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.help-guide-card h3 {
    margin: 0 0 0.62rem;
    color: var(--v2-text, #f8fafc);
    font-size: 1.04rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.help-guide-card p {
    margin: 0;
    color: var(--v2-text-muted, #94a3b8);
    font-size: 0.93rem;
    line-height: 1.58;
}

@media (max-width: 1080px) {
    .help-layout {
        grid-template-columns: 1fr;
    }

    .help-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .help-sidebar-label {
        grid-column: 1 / -1;
    }

    .help-card-grid,
    .help-card-grid--primary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .help-definition-grid,
    .help-prompt-map {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .help-layout {
        padding-top: 1rem;
    }

    .help-sidebar,
    .help-card-grid,
    .help-card-grid--primary,
    .help-section-heading {
        grid-template-columns: 1fr;
    }

    .help-executive-summary {
        margin-left: 0;
        padding: 1rem;
    }

    .help-instruction-panel,
    .help-subsection {
        padding: 1rem;
    }

    .help-primary-button {
        width: 100%;
    }

    .help-definition-grid,
    .help-prompt-map {
        grid-template-columns: 1fr;
    }

    .help-hero {
        padding-top: 2rem;
    }

    .help-guide-card {
        min-height: auto;
    }
}
