/* Help Center — палитра публичного сайта (forest / amber), без новых цветов. */

.help-center-page .public-header {
    border-bottom: 1px solid rgba(18, 61, 52, 0.1);
}

.help-shell {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 0;
    max-width: 1180px;
    margin: 0 auto;
    min-height: 70vh;
}

.help-aside {
    position: sticky;
    top: 0;
    align-self: start;
    max-height: 100vh;
    overflow-y: auto;
    padding: 1.5rem 1.1rem 2rem;
    border-right: 1px solid rgba(18, 61, 52, 0.12);
    background: #f7faf8;
}

.help-aside__home {
    display: inline-block;
    margin-bottom: 1rem;
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--forest-800, #123d34);
    text-decoration: none;
}

.help-aside__home:hover {
    color: var(--amber-600, #c47a1a);
}

.help-aside__nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.help-aside__link {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
    padding: 0.55rem 0.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink-800, #1a2e28);
}

.help-aside__link strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 650;
}

.help-aside__link small {
    display: block;
    margin-top: 0.1rem;
    color: var(--ink-500, #5c6f68);
    font-size: 0.75rem;
    line-height: 1.3;
}

.help-aside__link:hover {
    background: rgba(18, 61, 52, 0.06);
}

.help-aside__link.is-active {
    background: rgba(18, 61, 52, 0.1);
    box-shadow: inset 3px 0 0 var(--amber-500, #c47a1a);
}

.help-aside__dot,
.help-section-card__dot {
    width: 8px;
    height: 8px;
    margin-top: 0.45rem;
    border-radius: 50%;
    background: var(--forest-700, #1a4d42);
}

.help-aside__dot--platform { background: var(--forest-800, #123d34); }
.help-aside__dot--ot { background: #2d5a27; }
.help-aside__dot--works { background: #c47a1a; }
.help-aside__dot--contracts { background: #1f4e78; }
.help-aside__dot--owner { background: #5c4d3a; }
.help-aside__dot--support { background: #5c6f68; }

.help-aside__support {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(18, 61, 52, 0.12);
    font-size: 0.85rem;
}

.help-aside__support p {
    margin: 0 0 0.4rem;
    color: var(--ink-500, #5c6f68);
}

.help-aside__support a {
    display: block;
    margin-top: 0.25rem;
    color: var(--forest-800, #123d34);
}

.help-main {
    padding: 1.75rem 1.5rem 3rem;
    min-width: 0;
}

.help-kicker {
    margin: 0 0 0.35rem;
    color: var(--amber-700, #a86512);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.help-hero h1,
.help-section-head h1,
.help-article__head h1 {
    margin: 0 0 0.65rem;
    font-family: Manrope, sans-serif;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 750;
    color: var(--forest-900, #0d2e27);
    line-height: 1.2;
}

.help-hero__lead,
.help-article__summary {
    margin: 0 0 1.25rem;
    max-width: 42rem;
    color: var(--ink-600, #3d524b);
    font-size: 1.02rem;
    line-height: 1.55;
}

.help-search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 2rem;
    max-width: 40rem;
}

.help-search input[type="search"] {
    flex: 1 1 220px;
    min-height: 44px;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(18, 61, 52, 0.2);
    border-radius: 10px;
    font: inherit;
    background: #fff;
}

.help-search input[type="search"]:focus {
    outline: 2px solid rgba(196, 122, 26, 0.45);
    outline-offset: 1px;
}

.help-start,
.help-sections,
.help-faq,
.help-results {
    margin-top: 2rem;
}

.help-start h2,
.help-sections h2,
.help-faq h2,
.help-results h2 {
    margin: 0 0 0.9rem;
    font-family: Manrope, sans-serif;
    font-size: 1.15rem;
    color: var(--forest-800, #123d34);
}

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

.help-start__card,
.help-section-card {
    display: block;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(18, 61, 52, 0.12);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.help-start__card:hover,
.help-section-card:hover {
    border-color: rgba(196, 122, 26, 0.45);
    background: rgba(18, 61, 52, 0.03);
}

.help-start__card strong,
.help-section-card strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--forest-800, #123d34);
}

.help-start__card span,
.help-section-card p {
    margin: 0;
    color: var(--ink-500, #5c6f68);
    font-size: 0.9rem;
    line-height: 1.4;
}

.help-section-card__dot {
    display: inline-block;
    margin: 0 0 0.55rem;
}

.help-section-card__meta {
    display: inline-block;
    margin-top: 0.7rem;
    color: var(--amber-700, #a86512);
    font-size: 0.78rem;
    font-weight: 650;
}

.help-article-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.help-article-list li + li {
    margin-top: 0.45rem;
}

.help-article-list a {
    display: block;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(18, 61, 52, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    background: #fff;
}

.help-article-list a:hover {
    border-color: rgba(196, 122, 26, 0.4);
}

.help-article-list__section {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--amber-700, #a86512);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.help-article-list strong {
    display: block;
    color: var(--forest-800, #123d34);
    font-size: 1rem;
}

.help-article-list__summary {
    display: block;
    margin-top: 0.25rem;
    color: var(--ink-500, #5c6f68);
    font-size: 0.88rem;
    line-height: 1.4;
}

.help-article-list__audience {
    display: block;
    margin-top: 0.35rem;
    color: var(--ink-400, #7a8c85);
    font-size: 0.78rem;
}

.help-faq__lead,
.help-empty {
    color: var(--ink-500, #5c6f68);
}

.help-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    margin-bottom: 1.1rem;
    color: var(--ink-500, #5c6f68);
    font-size: 0.86rem;
}

.help-crumbs a {
    color: var(--forest-800, #123d34);
    text-decoration: none;
}

.help-crumbs a:hover {
    text-decoration: underline;
}

.help-article {
    max-width: 46rem;
}

.help-article__audience {
    margin: -0.5rem 0 1.25rem;
    color: var(--ink-500, #5c6f68);
    font-size: 0.9rem;
}

.help-article__body {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-800, #1a2e28);
}

.help-article__body h2 {
    margin: 1.6rem 0 0.55rem;
    font-family: Manrope, sans-serif;
    font-size: 1.12rem;
    color: var(--forest-800, #123d34);
}

.help-article__body p,
.help-lead {
    margin: 0 0 0.85rem;
}

.help-lead {
    font-size: 1.05rem;
    color: var(--ink-700, #2a3f38);
}

.help-article__body ol,
.help-article__body ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.help-article__body li + li {
    margin-top: 0.35rem;
}

.help-callout,
.help-guide-hint {
    margin: 1.25rem 0;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(18, 61, 52, 0.14);
    background: rgba(18, 61, 52, 0.05);
}

.help-guide-hint strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--forest-800, #123d34);
}

.help-guide-hint p {
    margin: 0 0 0.55rem;
    color: var(--ink-600, #3d524b);
    font-size: 0.92rem;
}

.help-article__footer {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(18, 61, 52, 0.12);
}

.help-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.help-pager a {
    display: block;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(18, 61, 52, 0.12);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    background: #fff;
}

.help-pager a:hover {
    border-color: rgba(196, 122, 26, 0.4);
}

.help-pager span {
    display: block;
    color: var(--ink-500, #5c6f68);
    font-size: 0.75rem;
}

.help-pager strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--forest-800, #123d34);
    font-size: 0.92rem;
}

.help-pager__next {
    text-align: right;
}

.help-answer a {
    color: var(--forest-800, #123d34);
}

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

    .help-aside {
        position: static;
        max-height: none;
        border-right: 0;
        border-bottom: 1px solid rgba(18, 61, 52, 0.12);
        padding-bottom: 1rem;
    }

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

    .help-start__grid,
    .help-sections__grid {
        grid-template-columns: 1fr;
    }

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

    .help-pager__next {
        text-align: left;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
