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;
    }
}


/* ------------------------------------------------------------------
   Help Center mobile menu (hamburger + side drawer)
   Hidden on desktop, shown on tablet/mobile (<= 1080px).
   ------------------------------------------------------------------ */
.help-mobile-fab {
    display: none;
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 1200;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
}
.help-mobile-fab-line {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #f8fafc;
}
.help-mobile-fab[aria-expanded="true"] {
    background: #0b1220;
}

.help-mobile-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1300;
    pointer-events: none;
}
.help-mobile-drawer[aria-hidden="false"] {
    pointer-events: auto;
}
.help-mobile-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 16, 0.55);
    opacity: 0;
    transition: opacity 0.22s ease;
}
.help-mobile-drawer[aria-hidden="false"] .help-mobile-drawer-backdrop {
    opacity: 1;
}
.help-mobile-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 340px);
    background: #0b1220;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.45);
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 1rem 1.1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.help-mobile-drawer[aria-hidden="false"] .help-mobile-drawer-panel {
    transform: translateX(0);
}
.help-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.help-mobile-drawer-title {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
}
.help-mobile-drawer-close {
    background: none;
    border: 0;
    color: #f8fafc;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.1rem 0.45rem;
    border-radius: 8px;
}
.help-mobile-drawer-close:hover { background: rgba(255, 255, 255, 0.06); }

.help-mobile-drawer-actions {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.25rem;
}
.help-mobile-drawer-cta {
    display: block;
    text-align: center;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.15s ease, border-color 0.15s ease;
}
.help-mobile-drawer-cta:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.22);
}
.help-mobile-drawer-cta--primary {
    background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%);
    border-color: transparent;
    color: #022c1a;
}
.help-mobile-drawer-cta--primary:hover {
    filter: brightness(1.05);
}
.help-mobile-drawer-cta--secondary {
    background: rgba(255, 255, 255, 0.02);
}

.help-mobile-drawer-section-label {
    margin: 0.5rem 0 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}
.help-mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}
.help-mobile-drawer-link {
    display: block;
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
    color: #e2e8f0;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.help-mobile-drawer-link:last-child { border-bottom: 0; }
.help-mobile-drawer-link:hover,
.help-mobile-drawer-link:focus-visible {
    background: rgba(74, 222, 128, 0.10);
    color: #f8fafc;
}

@media (max-width: 1080px) {
    .help-mobile-fab { display: flex; }
    .help-mobile-drawer { display: block; }
}
