:root {
    --help-ink: #0b333c;
    --help-muted: #627a80;
    --help-deep: #043f50;
    --help-deep-hover: #062f3b;
    --help-accent: #52bdb5;
    --help-accent-soft: #dff2ef;
    --help-coral: #e97e5f;
    --help-bg: #f1f7f5;
    --help-line: #cfe1df;
    --help-white: #fff;
    --help-shadow: 0 18px 45px rgba(6, 54, 64, .1);
}

.app-main:has(.help-shell) { min-height: 100vh; }
.help-shell { min-height: 100vh; color: var(--help-ink); background: var(--help-bg); font-family: "Nunito", sans-serif; }
.help-shell *, .help-shell *::before, .help-shell *::after { box-sizing: border-box; }
.help-shell a { color: inherit; text-decoration: none; }
.help-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.help-header { position: sticky; top: 0; z-index: 50; background: var(--help-deep); border-bottom: 1px solid rgba(255,255,255,.14); }
.help-header-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.help-brand { display: inline-flex; align-items: center; gap: 18px; color: #fff !important; font-weight: 800; font-size: 19px; white-space: nowrap; }
.help-brand img { display: block; width: 60px; height: 61px; flex: 0 0 auto; object-fit: contain; }
.help-brand span { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.34); }
.help-header-actions { display: flex; align-items: center; gap: 24px; color: #e8f4f2; font-weight: 700; }
.help-header-actions a { transition: color .2s ease, background-color .2s ease; }
.help-header-actions a:not(.help-account-link):hover { color: #fff; }
.help-account-link { padding: 11px 20px; color: var(--help-deep) !important; background: #fff; border-radius: 8px; }
.help-account-link:hover { background: var(--help-accent-soft); }

.help-search-band { padding: 72px 0 78px; color: #fff; background: var(--help-deep); border-top: 1px solid rgba(255,255,255,.05); }
.help-search-copy { max-width: 900px; text-align: center; }
.help-kicker { margin: 0 0 9px; color: var(--help-accent); font-size: 13px; line-height: 1.4; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.help-search-copy h1 { margin: 0; font-family: "Inter", sans-serif; font-size: clamp(38px, 6vw, 66px); line-height: 1.04; letter-spacing: 0; }
.help-search-copy > p:not(.help-kicker) { margin: 16px 0 30px; color: #d3e4e4; font-size: 19px; }
.help-search { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 13px; width: min(790px, 100%); min-height: 64px; margin: 0 auto; padding: 7px 8px 7px 22px; color: var(--help-ink); background: #fff; border: 2px solid transparent; border-radius: 8px; box-shadow: var(--help-shadow); }
.help-search:focus-within { border-color: var(--help-accent); }
.help-search > img { width: 21px; height: 21px; opacity: .65; }
.help-search input { width: 100%; min-width: 0; height: 46px; padding: 0; color: var(--help-ink); background: transparent; border: 0; outline: 0; font: inherit; font-size: 17px; }
.help-search input::placeholder { color: #849598; opacity: 1; }
.help-search button { min-height: 48px; padding: 0 25px; color: #fff; background: var(--help-coral); border: 0; border-radius: 7px; font: inherit; font-weight: 800; cursor: pointer; }
.help-search button:hover { background: #d96a4c; }
.help-search-results { position: absolute; top: calc(100% + 8px); right: 0; left: 0; z-index: 70; max-height: min(470px, 60vh); overflow: auto; padding: 8px; text-align: left; color: var(--help-ink); background: #fff; border: 1px solid var(--help-line); border-radius: 8px; box-shadow: 0 22px 50px rgba(2, 39, 48, .24); }
.help-search-results a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 13px 14px; border-radius: 6px; }
.help-search-results a:hover, .help-search-results a[aria-selected="true"] { background: var(--help-accent-soft); }
.help-search-results strong { min-width: 0; font-size: 15px; }
.help-search-results span { color: var(--help-muted); font-size: 13px; }
.help-search-results small { grid-column: 1 / -1; overflow: hidden; color: #778c90; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.help-search-results .is-empty { display: block; padding: 18px; color: var(--help-muted); text-align: center; }

.help-section { padding: 58px 0 66px; }
.help-section-muted { background: #e6f1ef; border-block: 1px solid var(--help-line); }
.help-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.help-section-heading h2 { margin: 0; font-size: 30px; line-height: 1.18; font-weight: 800; letter-spacing: 0; }
.help-section-heading > span { color: var(--help-muted); font-size: 14px; font-weight: 700; }
.help-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.help-category-card { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 22px; align-items: center; gap: 16px; min-height: 130px; padding: 23px; background: #fff; border: 1px solid var(--help-line); border-radius: 8px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.help-category-card:hover { border-color: #82c9c3; box-shadow: 0 12px 28px rgba(6,54,64,.08); transform: translateY(-2px); }
.help-category-icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--help-accent-soft); border-radius: 8px; }
.help-category-icon img { width: 24px; height: 24px; filter: invert(20%) sepia(24%) saturate(1480%) hue-rotate(145deg) brightness(88%); }
.help-category-body { display: flex; flex-direction: column; min-width: 0; }
.help-category-body strong { margin-bottom: 5px; font-size: 18px; font-weight: 800; }
.help-category-body span { color: var(--help-muted); font-size: 14px; line-height: 1.45; }
.help-category-count { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; color: var(--help-deep); background: #edf7f5; border-radius: 16px; font-size: 13px; font-weight: 800; }
.help-arrow { width: 18px; height: 18px; opacity: .6; }
.help-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.help-article-card { display: flex; flex-direction: column; min-height: 190px; padding: 24px; background: #fff; border: 1px solid var(--help-line); border-radius: 8px; transition: border-color .2s ease, box-shadow .2s ease; }
.help-article-card:hover { border-color: #82c9c3; box-shadow: 0 12px 26px rgba(6,54,64,.08); }
.help-article-meta { margin-bottom: 20px; color: var(--help-coral); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.help-article-card strong { margin-bottom: 9px; font-size: 18px; line-height: 1.3; }
.help-article-card > span:last-child { color: var(--help-muted); font-size: 14px; line-height: 1.5; }

.help-page-head { padding: 43px 0 45px; background: #e3f2ef; border-bottom: 1px solid var(--help-line); }
.help-page-head h1 { max-width: 900px; margin: 11px 0 10px; font-family: "Inter", sans-serif; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: 0; }
.help-page-head p { max-width: 780px; margin: 0; color: var(--help-muted); font-size: 18px; line-height: 1.55; }
.help-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--help-muted); font-size: 13px; font-weight: 700; }
.help-breadcrumbs a { color: var(--help-deep); }
.help-breadcrumbs a:hover { text-decoration: underline; }
.help-category-title { display: flex; align-items: center; gap: 22px; margin-top: 25px; }
.help-category-title h1 { margin-top: 0; }
.help-category-title .help-category-icon { width: 66px; height: 66px; flex: 0 0 66px; background: #fff; }
.help-category-title .help-category-icon img { width: 30px; height: 30px; }
.help-category-article-list { overflow: hidden; background: #fff; border: 1px solid var(--help-line); border-radius: 8px; }
.help-category-article-list > a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 22px; align-items: center; gap: 16px; padding: 19px 22px; border-bottom: 1px solid #e2ecea; transition: background-color .2s ease; }
.help-category-article-list > a:last-child { border-bottom: 0; }
.help-category-article-list > a:hover { background: #f4faf8; }
.help-category-article-list > a > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.help-category-article-list strong { font-size: 16px; font-weight: 800; }
.help-category-article-list small { margin-top: 4px; color: var(--help-muted); font-size: 14px; line-height: 1.4; }
.help-category-article-list > a > img { width: 17px; height: 17px; opacity: .58; }
.help-list-number { width: 36px; height: 36px; display: grid; place-items: center; color: var(--help-deep); background: var(--help-accent-soft); border-radius: 7px; font-size: 13px; font-weight: 800; }
.help-list-number img { width: 17px; height: 17px; }
.help-audience { padding: 5px 9px; color: var(--help-deep); background: #ebf4f2; border-radius: 5px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.help-audience-head { display: inline-flex; margin-top: 23px; color: #873f2c; background: #fee8e0; }

.help-reading-progress { position: fixed; top: 78px; left: 0; z-index: 55; width: 100%; height: 3px; pointer-events: none; }
.help-reading-progress span { display: block; width: 0; height: 100%; background: var(--help-coral); transition: width .1s linear; }
.help-article-layout { display: grid; grid-template-columns: minmax(0, 820px) 250px; align-items: start; justify-content: space-between; gap: 48px; padding-top: 46px; padding-bottom: 68px; }
.help-article-content { min-width: 0; padding: 38px 42px; background: #fff; border: 1px solid var(--help-line); border-radius: 8px; box-shadow: 0 12px 32px rgba(6,54,64,.06); font-size: 17px; line-height: 1.72; }
.help-article-content > *:first-child { margin-top: 0; }
.help-article-content > *:last-child { margin-bottom: 0; }
.help-article-content h2 { scroll-margin-top: 104px; margin: 42px 0 14px; font-size: 27px; line-height: 1.25; font-weight: 800; letter-spacing: 0; }
.help-article-content h3 { scroll-margin-top: 104px; margin: 30px 0 10px; font-size: 21px; font-weight: 800; }
.help-article-content p { margin: 0 0 17px; }
.help-article-content ul, .help-article-content ol { margin: 0 0 22px; padding-left: 25px; }
.help-article-content li { margin: 0 0 12px; padding-left: 4px; }
.help-article-content li::marker { color: var(--help-coral); font-weight: 800; }
.help-article-content blockquote { margin: 24px 0; padding: 18px 20px; color: #174951; background: var(--help-accent-soft); border-left: 4px solid var(--help-accent); border-radius: 0 7px 7px 0; }
.help-article-content figure { margin: 32px 0; }
.help-article-content figure img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: contain; background: #eef5f3; border: 1px solid var(--help-line); border-radius: 8px; }
.help-article-content figcaption { margin-top: 9px; color: var(--help-muted); font-size: 13px; line-height: 1.5; text-align: center; }
.help-article-content table { width: 100%; margin: 24px 0; border-collapse: collapse; }
.help-article-content th, .help-article-content td { padding: 12px; border: 1px solid var(--help-line); text-align: left; }
.help-article-content th { background: #edf6f4; }
.help-article-content a { color: #087f81; text-decoration: underline; text-underline-offset: 3px; }
.help-toc { position: sticky; top: 104px; padding-top: 4px; }
.help-toc > strong { display: block; margin-bottom: 13px; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.help-toc nav { display: flex; flex-direction: column; border-left: 2px solid var(--help-line); }
.help-toc a { padding: 8px 0 8px 16px; color: var(--help-muted); font-size: 14px; line-height: 1.35; }
.help-toc a:hover, .help-toc a.is-active { color: var(--help-deep); border-left: 2px solid var(--help-coral); margin-left: -2px; }
.help-toc a.is-sub { padding-left: 28px; font-size: 13px; }
.help-to-top { position: fixed; right: 25px; bottom: 25px; z-index: 45; width: 46px; height: 46px; display: grid; place-items: center; background: var(--help-deep); border: 0; border-radius: 8px; box-shadow: 0 12px 30px rgba(4,63,80,.24); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease, background-color .2s ease; }
.help-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.help-to-top:hover { background: var(--help-coral); }
.help-to-top img { width: 18px; height: 18px; filter: brightness(0) invert(1); }

.help-search-compact { width: min(760px, 100%); margin: 25px 0 0; box-shadow: none; }
.help-empty { padding: 65px 24px; text-align: center; background: #fff; border: 1px solid var(--help-line); border-radius: 8px; }
.help-empty img { width: 40px; height: 40px; margin-bottom: 18px; opacity: .55; }
.help-empty h2 { margin: 0 0 7px; font-size: 24px; }
.help-empty p { margin: 0; color: var(--help-muted); }

.help-footer { padding: 34px 0; color: #d9e8e7; background: #062f3b; }
.help-footer .help-container { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.help-footer img { display: block; width: 56px; height: 57px; object-fit: contain; }
.help-footer p { margin: 0; color: #a9c2c3; font-size: 14px; }
.help-footer nav { display: flex; gap: 22px; font-size: 14px; font-weight: 700; }
.help-footer a:hover { color: #fff; }

@media (max-width: 900px) {
    .help-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .help-article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .help-toc { position: static; grid-row: 1; margin-bottom: 24px; padding: 20px; background: #fff; border: 1px solid var(--help-line); border-radius: 8px; }
    .help-toc nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .help-container { width: min(100% - 28px, 1180px); }
    .help-header-row { min-height: 68px; }
    .help-brand { gap: 12px; font-size: 15px; }
    .help-brand img { width: 50px; height: 51px; }
    .help-brand span { padding-left: 12px; }
    .help-header-actions > a:first-child { display: none; }
    .help-account-link { padding: 9px 12px; font-size: 13px; }
    .help-search-band { padding: 45px 0 53px; }
    .help-search-copy h1 { font-size: 38px; }
    .help-search-copy > p:not(.help-kicker) { font-size: 16px; }
    .help-search { grid-template-columns: 20px minmax(0, 1fr); min-height: 58px; padding: 6px 14px; }
    .help-search button { grid-column: 1 / -1; width: 100%; }
    .help-search-results { top: calc(100% + 6px); }
    .help-section { padding: 38px 0 44px; }
    .help-section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 20px; }
    .help-section-heading h2 { font-size: 25px; }
    .help-category-grid, .help-article-grid { grid-template-columns: minmax(0, 1fr); }
    .help-category-card { grid-template-columns: 46px minmax(0, 1fr) 19px; gap: 13px; min-height: 116px; padding: 18px; }
    .help-category-icon { width: 46px; height: 46px; }
    .help-category-count { display: none; }
    .help-article-card { min-height: 0; }
    .help-page-head { padding: 30px 0 34px; }
    .help-page-head h1 { font-size: 34px; }
    .help-page-head p { font-size: 16px; }
    .help-category-title { align-items: flex-start; gap: 15px; }
    .help-category-title .help-category-icon { width: 52px; height: 52px; flex-basis: 52px; }
    .help-category-article-list > a { grid-template-columns: 34px minmax(0, 1fr) 18px; gap: 12px; padding: 16px 14px; }
    .help-category-article-list .help-audience { display: none; }
    .help-category-article-list small { font-size: 13px; }
    .help-article-layout { padding-top: 24px; padding-bottom: 42px; }
    .help-article-content { padding: 25px 20px; font-size: 16px; }
    .help-article-content h2 { font-size: 23px; }
    .help-toc nav { grid-template-columns: minmax(0, 1fr); }
    .help-reading-progress { top: 68px; }
    .help-footer .help-container { grid-template-columns: 1fr auto; }
    .help-footer p { display: none; }
    .help-footer nav { gap: 14px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .help-shell *, .help-shell *::before, .help-shell *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
