:root {
    --help-ink: #11182f;
    --help-ink-soft: #303a55;
    --help-muted: #6e7891;
    --help-subtle: #939db4;
    --help-border: #e0e5ef;
    --help-border-strong: #ccd4e3;
    --help-canvas: #f5f7fb;
    --help-surface: #ffffff;
    --help-soft: #f0f3f8;
    --help-purple: #6847f5;
    --help-purple-soft: #eeeaff;
    --help-green: #068866;
    --help-green-soft: #e8f8f2;
    --help-cyan: #087fa0;
    --help-cyan-soft: #e8f6fa;
    --help-amber: #b86608;
    --help-amber-soft: #fff4dd;
    --help-red: #c2354f;
    --help-red-soft: #fff0f3;
    --help-header-height: 68px;
    --help-shadow: 0 12px 34px rgba(26, 35, 64, 0.08);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--help-ink);
    background: var(--help-canvas);
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    color: var(--help-ink);
    background: var(--help-canvas);
    font-size: 15px;
    line-height: 1.55;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

svg {
    display: block;
    width: 1.1em;
    height: 1.1em;
}

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

.help-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--help-header-height);
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--help-border);
    backdrop-filter: blur(14px);
}

.help-header__inner {
    display: grid;
    grid-template-columns: auto auto minmax(260px, 520px) auto;
    align-items: center;
    gap: 28px;
    width: min(100%, 1720px);
    height: 100%;
    margin: 0 auto;
    padding: 0 28px;
}

.help-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: max-content;
    font-weight: 750;
}

.help-brand__mark {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    color: var(--help-ink);
}

.help-brand__mark svg {
    width: 29px;
    height: 29px;
}

.help-brand__mark img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
    transform: scale(1.32);
}

.help-brand__name {
    font-size: 16px;
}

.help-brand__divider {
    width: 1px;
    height: 20px;
    margin-left: 2px;
    background: var(--help-border-strong);
}

.help-brand__product {
    color: var(--help-muted);
    font-weight: 650;
}

.help-primary-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.help-primary-nav a {
    padding: 7px 11px;
    color: var(--help-muted);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 650;
}

.help-primary-nav a:hover,
.help-primary-nav a.is-active {
    color: var(--help-ink);
    background: var(--help-soft);
}

.help-header-search,
.help-sidebar-search,
.help-home-search,
.help-results-search {
    position: relative;
    display: flex;
    align-items: center;
}

.help-header-search {
    width: 100%;
    justify-self: center;
}

.help-header-search__icon,
.help-sidebar-search > span,
.help-home-search > span,
.help-results-search > span {
    position: absolute;
    left: 14px;
    z-index: 1;
    color: var(--help-subtle);
    pointer-events: none;
}

.help-header-search__icon svg,
.help-sidebar-search > span svg,
.help-home-search > span svg,
.help-results-search > span svg {
    width: 18px;
    height: 18px;
}

.help-header-search input {
    width: 100%;
    height: 40px;
    padding: 0 72px 0 42px;
    color: var(--help-ink);
    background: var(--help-canvas);
    border: 1px solid var(--help-border);
    border-radius: 8px;
    outline: none;
}

.help-header-search input:focus,
.help-sidebar-search input:focus,
.help-home-search input:focus,
.help-results-search input:focus {
    border-color: var(--help-purple);
    box-shadow: 0 0 0 3px rgba(104, 71, 245, 0.12);
}

.help-header-search__key {
    position: absolute;
    right: 10px;
    padding: 2px 6px;
    color: var(--help-subtle);
    background: var(--help-surface);
    border: 1px solid var(--help-border);
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    pointer-events: none;
}

.help-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: max-content;
}

.help-staff-link,
.help-sign-in {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 12px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
}

.help-staff-link:hover,
.help-staff-link.is-active,
.help-sign-in:hover {
    background: var(--help-soft);
}

.help-avatar {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    color: white;
    background: var(--help-purple);
    border-radius: 50%;
    font-size: 10px;
}

.icon-button {
    display: inline-grid;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    color: var(--help-muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
}

.icon-button:hover {
    color: var(--help-ink);
    background: var(--help-soft);
    border-color: var(--help-border);
}

.icon-button svg {
    width: 18px;
    height: 18px;
}

.icon-button--danger:hover {
    color: var(--help-red);
    background: var(--help-red-soft);
    border-color: #f4cbd3;
}

.help-mobile-nav-button {
    display: none;
}

.help-menu-icon {
    display: grid;
    gap: 4px;
}

.help-menu-icon i {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
}

.help-flash {
    position: fixed;
    top: calc(var(--help-header-height) + 14px);
    left: 50%;
    z-index: 70;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    width: min(calc(100% - 32px), 660px);
    min-height: 48px;
    padding: 7px 8px 7px 13px;
    transform: translateX(-50%);
    background: var(--help-surface);
    border: 1px solid var(--help-border);
    border-left: 4px solid var(--help-green);
    border-radius: 8px;
    box-shadow: var(--help-shadow);
    font-size: 14px;
}

.help-flash--error {
    border-left-color: var(--help-red);
}

.help-flash__icon {
    color: var(--help-green);
}

.help-flash--error .help-flash__icon {
    color: var(--help-red);
}

.help-page {
    display: grid;
    grid-template-columns: 278px minmax(0, 880px) 220px;
    align-items: start;
    gap: 48px;
    width: min(100%, 1600px);
    min-height: calc(100vh - var(--help-header-height));
    margin: 0 auto;
    padding: 0 28px;
}

.help-sidebar {
    position: sticky;
    top: var(--help-header-height);
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--help-header-height));
    padding: 28px 18px 24px 0;
    overflow-y: auto;
    border-right: 1px solid var(--help-border);
    scrollbar-width: thin;
    scrollbar-color: var(--help-border-strong) transparent;
}

.help-sidebar__mobile-head {
    display: none;
}

.help-sidebar-search {
    margin-bottom: 24px;
}

.help-sidebar-search input {
    width: 100%;
    height: 38px;
    padding: 0 12px 0 40px;
    background: var(--help-surface);
    border: 1px solid var(--help-border);
    border-radius: 7px;
    outline: none;
}

.help-doc-nav {
    display: grid;
    gap: 22px;
}

.help-doc-nav__group {
    display: grid;
    gap: 7px;
}

.help-doc-nav__category {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-height: 34px;
    color: var(--help-ink-soft);
    font-size: 13px;
    font-weight: 750;
}

.help-doc-nav__category:hover,
.help-doc-nav__group.is-active .help-doc-nav__category {
    color: var(--help-purple);
}

.help-doc-nav__category-icon {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: var(--help-muted);
    background: var(--help-soft);
    border-radius: 5px;
}

.help-doc-nav__category-icon svg {
    width: 14px;
    height: 14px;
}

.help-doc-nav__articles {
    display: grid;
    gap: 2px;
    margin-left: 33px;
    padding-left: 12px;
    border-left: 1px solid var(--help-border);
}

.help-doc-nav__articles a {
    padding: 5px 7px;
    color: var(--help-muted);
    border-radius: 5px;
    font-size: 12.5px;
    line-height: 1.35;
}

.help-doc-nav__articles a:hover,
.help-doc-nav__articles a.is-active {
    color: var(--help-ink);
    background: var(--help-soft);
}

.help-doc-nav__articles a.is-active {
    box-shadow: inset 2px 0 var(--help-purple);
}

.help-sidebar__footer {
    margin-top: auto;
    padding: 20px 14px 0;
    color: var(--help-muted);
    border-top: 1px solid var(--help-border);
    font-size: 12.5px;
}

.help-sidebar__footer p {
    margin: 0 0 5px;
}

.help-sidebar__footer a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--help-ink);
    font-weight: 700;
}

.help-sidebar__footer svg {
    width: 14px;
    height: 14px;
}

.help-content {
    width: 100%;
    min-width: 0;
    padding: 58px 0 100px;
}

.help-content--wide {
    grid-column: 2 / 4;
    max-width: 1120px;
}

.help-toc {
    position: sticky;
    top: calc(var(--help-header-height) + 48px);
    padding-top: 58px;
}

.help-toc__title {
    margin: 0 0 10px;
    color: var(--help-ink);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.help-toc nav {
    display: grid;
    gap: 2px;
    padding-left: 12px;
    border-left: 1px solid var(--help-border);
}

.help-toc a {
    padding: 4px 7px;
    color: var(--help-muted);
    border-radius: 4px;
    font-size: 12.5px;
}

.help-toc a:hover,
.help-toc a.is-current {
    color: var(--help-purple);
    background: var(--help-purple-soft);
}

.help-toc a.is-nested {
    padding-left: 17px;
    font-size: 12px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--help-purple);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
}

.button svg {
    width: 15px;
    height: 15px;
}

.button--primary {
    color: #fff;
    background: var(--help-purple);
    border-color: var(--help-purple);
    box-shadow: 0 6px 16px rgba(104, 71, 245, 0.18);
}

.button--primary:hover {
    background: #5738e7;
}

.button--secondary {
    color: var(--help-ink);
    background: var(--help-surface);
    border-color: var(--help-border-strong);
}

.button--secondary:hover {
    border-color: var(--help-ink-soft);
}

.button--dark {
    color: #fff;
    background: var(--help-ink);
}

.button--danger {
    color: #fff;
    background: var(--help-red);
}

.button--full {
    width: 100%;
}

.button-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.text-link,
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--help-purple);
    font-size: 13px;
    font-weight: 750;
}

.text-link svg,
.back-link svg {
    width: 15px;
    height: 15px;
}

.help-home-intro {
    padding: 16px 0 54px;
    border-bottom: 1px solid var(--help-border);
}

.help-home-intro h1,
.help-page-heading h1,
.help-article__header h1,
.staff-page-heading h1 {
    margin: 0;
    color: var(--help-ink);
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: 0;
}

.help-home-intro > p:not(.eyebrow),
.help-page-heading > p:not(.eyebrow),
.staff-page-heading > div > p:not(.eyebrow) {
    margin: 12px 0 0;
    color: var(--help-muted);
    font-size: 17px;
}

.help-home-search {
    width: min(100%, 760px);
    margin-top: 28px;
}

.help-home-search input,
.help-results-search input {
    width: 100%;
    height: 52px;
    padding: 0 116px 0 46px;
    color: var(--help-ink);
    background: var(--help-surface);
    border: 1px solid var(--help-border-strong);
    border-radius: 8px;
    box-shadow: 0 8px 26px rgba(24, 33, 61, 0.06);
    outline: none;
}

.help-home-search .button,
.help-results-search .button {
    position: absolute;
    right: 6px;
    min-width: 92px;
}

.help-section {
    padding: 48px 0 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.section-heading h2,
.help-related h2,
.help-feedback h2,
.staff-table-toolbar h2,
.staff-category-section h2,
.staff-editor__block-heading h2,
.staff-editor__sidebar h2 {
    margin: 0;
    color: var(--help-ink);
    font-size: 22px;
    line-height: 1.25;
}

.section-heading--compact {
    margin-bottom: 16px;
}

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

.help-category-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 24px;
    align-items: start;
    gap: 14px;
    min-height: 142px;
    padding: 20px;
    background: var(--help-surface);
    border: 1px solid var(--help-border);
    border-radius: 8px;
    transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.help-category-card:hover {
    transform: translateY(-2px);
    border-color: var(--help-border-strong);
    box-shadow: var(--help-shadow);
}

.help-category-card__icon,
.help-search-results__icon,
.help-heading-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--help-cyan);
    background: var(--help-cyan-soft);
    border-radius: 7px;
}

.help-category-card:nth-child(2n) .help-category-card__icon {
    color: var(--help-green);
    background: var(--help-green-soft);
}

.help-category-card:nth-child(3n) .help-category-card__icon {
    color: var(--help-purple);
    background: var(--help-purple-soft);
}

.help-category-card__icon svg,
.help-search-results__icon svg,
.help-heading-icon svg {
    width: 21px;
    height: 21px;
}

.help-category-card__body {
    display: grid;
    gap: 5px;
}

.help-category-card__body strong {
    font-size: 15px;
}

.help-category-card__body > span {
    color: var(--help-muted);
    font-size: 13px;
    line-height: 1.45;
}

.help-category-card__body small {
    margin-top: 4px;
    color: var(--help-subtle);
    font-size: 11.5px;
    font-weight: 700;
}

.help-category-card__arrow {
    align-self: center;
    color: var(--help-subtle);
}

.help-category-card:hover .help-category-card__arrow {
    color: var(--help-purple);
}

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

.help-link-list {
    overflow: hidden;
    background: var(--help-surface);
    border: 1px solid var(--help-border);
    border-radius: 8px;
}

.help-link-list > a,
.help-related__links > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 78px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--help-border);
}

.help-link-list > a:last-child,
.help-related__links > a:last-child {
    border-bottom: 0;
}

.help-link-list > a:hover,
.help-related__links > a:hover {
    background: var(--help-soft);
}

.help-link-list a > span,
.help-related__links a > span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.help-link-list strong,
.help-related__links strong {
    font-size: 13.5px;
}

.help-link-list small,
.help-related__links small {
    overflow: hidden;
    color: var(--help-muted);
    font-size: 11.5px;
    text-overflow: ellipsis;
}

.help-link-list > a > svg,
.help-related__links > a > svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: var(--help-subtle);
}

.help-developer-band {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-top: 52px;
    padding: 24px;
    color: var(--help-ink);
    background: #e9f5f3;
    border: 1px solid #cce7e2;
    border-radius: 8px;
}

.help-developer-band__icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: white;
    background: var(--help-green);
    border-radius: 7px;
}

.help-developer-band__icon svg {
    width: 25px;
    height: 25px;
}

.help-developer-band h2 {
    margin: 0;
    font-size: 20px;
}

.help-developer-band p:not(.eyebrow) {
    margin: 4px 0 0;
    color: var(--help-ink-soft);
    font-size: 13px;
}

.help-page-heading {
    position: relative;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--help-border);
}

.help-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 28px;
    color: var(--help-subtle);
    font-size: 12.5px;
}

.help-breadcrumbs a:hover {
    color: var(--help-purple);
}

.help-heading-icon {
    position: absolute;
    top: 48px;
    right: 0;
}

.help-results-search {
    margin: 30px 0;
}

.help-empty-state {
    display: grid;
    justify-items: center;
    min-height: 320px;
    padding: 64px 24px;
    text-align: center;
    background: var(--help-surface);
    border: 1px solid var(--help-border);
    border-radius: 8px;
}

.help-empty-state > span:first-child {
    display: grid;
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    place-items: center;
    color: var(--help-purple);
    background: var(--help-purple-soft);
    border-radius: 7px;
}

.help-empty-state h1,
.help-empty-state h2,
.help-empty-state h3 {
    margin: 0;
}

.help-empty-state p {
    max-width: 520px;
    margin: 8px 0 18px;
    color: var(--help-muted);
}

.help-empty-state--inline {
    min-height: 180px;
    padding: 36px 24px;
}

.help-empty-state--large {
    margin-top: 40px;
}

.help-search-results {
    overflow: hidden;
    background: var(--help-surface);
    border: 1px solid var(--help-border);
    border-radius: 8px;
}

.help-search-results > a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 22px;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--help-border);
}

.help-search-results > a:last-child {
    border-bottom: 0;
}

.help-search-results > a:hover {
    background: var(--help-soft);
}

.help-search-results__icon {
    width: 42px;
    height: 42px;
}

.help-search-results__copy {
    display: grid;
    gap: 4px;
}

.help-search-results__copy small {
    color: var(--help-purple);
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
}

.help-search-results__copy strong {
    font-size: 15px;
}

.help-search-results__copy > span {
    color: var(--help-muted);
    font-size: 13px;
}

.help-search-results__arrow {
    align-self: center;
    color: var(--help-subtle);
}

.help-article-list {
    overflow: hidden;
    margin-top: 30px;
    background: var(--help-surface);
    border: 1px solid var(--help-border);
    border-radius: 8px;
}

.help-article-list > a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 18px;
    min-height: 106px;
    padding: 20px;
    border-bottom: 1px solid var(--help-border);
}

.help-article-list > a:last-child {
    border-bottom: 0;
}

.help-article-list > a:hover {
    background: var(--help-soft);
}

.help-article-list__number {
    color: var(--help-subtle);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.help-article-list__copy {
    display: grid;
    gap: 4px;
}

.help-article-list__copy strong {
    font-size: 15px;
}

.help-article-list__copy > span {
    color: var(--help-muted);
    font-size: 13px;
}

.help-article-list__copy small {
    color: var(--help-subtle);
    font-size: 11.5px;
}

.help-developer-notice {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    margin-top: 26px;
    padding: 16px;
    color: #5a3c05;
    background: var(--help-amber-soft);
    border: 1px solid #efd69e;
    border-radius: 8px;
}

.help-developer-notice > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
}

.help-developer-notice p {
    margin: 2px 0 0;
    font-size: 13px;
}

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

.help-update-list {
    display: grid;
    margin-top: 30px;
}

.help-update-list article {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 28px;
    padding: 30px 0;
    border-bottom: 1px solid var(--help-border);
}

.help-update-list time {
    color: var(--help-muted);
    font-size: 12px;
    font-weight: 700;
}

.help-update-list h2 {
    margin: 9px 0 4px;
    font-size: 22px;
}

.help-update-list h2 a:hover {
    color: var(--help-purple);
}

.help-update-list p {
    margin: 0 0 12px;
    color: var(--help-muted);
}

.status-chip {
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-height: 24px;
    padding: 3px 8px;
    color: var(--help-cyan);
    background: var(--help-cyan-soft);
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.status-chip--published {
    color: var(--help-green);
    background: var(--help-green-soft);
}

.status-chip--draft {
    color: var(--help-amber);
    background: var(--help-amber-soft);
}

.status-chip--archived {
    color: var(--help-muted);
    background: var(--help-soft);
}

.status-chip--release {
    color: var(--help-purple);
    background: var(--help-purple-soft);
}

.help-preview-banner {
    margin-bottom: 22px;
    padding: 11px 14px;
    color: #5a3c05;
    background: var(--help-amber-soft);
    border: 1px solid #efd69e;
    border-radius: 7px;
    font-size: 13px;
}

.help-preview-banner span {
    margin-right: 8px;
    font-weight: 800;
}

.help-article__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--help-border);
}

.help-article__header h1 {
    margin-top: 12px;
}

.help-article__header p {
    max-width: 740px;
    margin: 14px 0 0;
    color: var(--help-muted);
    font-size: 17px;
}

.help-copy-button {
    margin-top: 2px;
    background: var(--help-surface);
    border-color: var(--help-border);
}

.help-copy-button.is-copied {
    color: var(--help-green);
    background: var(--help-green-soft);
}

.help-article__meta {
    display: flex;
    gap: 16px;
    padding: 14px 0 0;
    color: var(--help-subtle);
    font-size: 11.5px;
}

.help-article__meta span + span::before {
    content: "·";
    margin-right: 16px;
}

.help-markdown {
    padding: 34px 0 24px;
    color: var(--help-ink-soft);
    font-size: 15.5px;
    line-height: 1.75;
}

.help-markdown h1,
.help-markdown h2,
.help-markdown h3 {
    scroll-margin-top: calc(var(--help-header-height) + 26px);
    color: var(--help-ink);
    line-height: 1.25;
}

.help-markdown h1 {
    display: none;
}

.help-markdown h2 {
    margin: 40px 0 12px;
    padding-top: 10px;
    font-size: 25px;
}

.help-markdown h3 {
    margin: 28px 0 9px;
    font-size: 18px;
}

.help-markdown p {
    margin: 0 0 17px;
}

.help-markdown ul,
.help-markdown ol {
    margin: 0 0 20px;
    padding-left: 25px;
}

.help-markdown li {
    margin: 7px 0;
    padding-left: 5px;
}

.help-markdown strong {
    color: var(--help-ink);
}

.help-markdown a {
    color: var(--help-purple);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.help-markdown code,
.markdown-reference code {
    padding: 2px 5px;
    color: #7d2941;
    background: #f8edf1;
    border: 1px solid #efd9e0;
    border-radius: 4px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 0.9em;
}

.help-markdown pre {
    margin: 22px 0;
    padding: 18px;
    overflow-x: auto;
    color: #e9edf6;
    background: #151b2d;
    border: 1px solid #242d45;
    border-radius: 8px;
}

.help-markdown pre code {
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
}

.help-markdown blockquote {
    margin: 22px 0;
    padding: 15px 18px;
    color: #145c4d;
    background: var(--help-green-soft);
    border: 1px solid #c9eade;
    border-left: 4px solid var(--help-green);
    border-radius: 0 7px 7px 0;
}

.help-markdown hr {
    margin: 34px 0;
    border: 0;
    border-top: 1px solid var(--help-border);
}

.help-related {
    margin-top: 36px;
    padding-top: 34px;
    border-top: 1px solid var(--help-border);
}

.help-related__links {
    margin-top: 16px;
    overflow: hidden;
    background: var(--help-surface);
    border: 1px solid var(--help-border);
    border-radius: 8px;
}

.help-feedback {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-top: 42px;
    padding: 22px;
    background: var(--help-surface);
    border: 1px solid var(--help-border);
    border-radius: 8px;
}

.help-feedback p:not(.eyebrow) {
    margin: 5px 0 0;
    color: var(--help-muted);
    font-size: 13px;
}

.help-feedback__actions {
    display: flex;
    gap: 8px;
}

.help-auth-main {
    display: grid;
    min-height: calc(100vh - var(--help-header-height));
    place-items: center;
    padding: 42px 20px;
}

.help-body--auth .help-header {
    display: none;
}

.help-body--auth .help-auth-main {
    min-height: 100vh;
}

.help-login {
    width: min(100%, 440px);
}

.help-login__brand {
    display: flex;
    width: max-content;
    margin: 0 auto 20px;
}

.help-login__surface {
    padding: 34px;
    background: var(--help-surface);
    border: 1px solid var(--help-border);
    border-radius: 8px;
    box-shadow: var(--help-shadow);
}

.help-login__icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    place-items: center;
    color: var(--help-green);
    background: var(--help-green-soft);
    border-radius: 7px;
}

.help-login h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}

.help-login__surface > p:not(.eyebrow):not(.help-login__note) {
    margin: 9px 0 24px;
    color: var(--help-muted);
}

.help-login__note {
    margin: 18px 0 0;
    color: var(--help-subtle);
    text-align: center;
    font-size: 11.5px;
}

.help-login__note a {
    color: var(--help-purple);
    font-weight: 700;
}

.help-form {
    display: grid;
    gap: 15px;
}

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

.help-form label,
.help-form__editor {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.help-form label > span:first-child,
.help-form__editor > span:first-child {
    color: var(--help-ink-soft);
    font-size: 12px;
    font-weight: 750;
}

.help-form input,
.help-form select,
.help-form textarea,
.help-form__editor textarea {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 10px 12px;
    color: var(--help-ink);
    background: var(--help-surface);
    border: 1px solid var(--help-border-strong);
    border-radius: 7px;
    outline: none;
}

.help-form textarea,
.help-form__editor textarea {
    resize: vertical;
}

.help-form input:focus,
.help-form select:focus,
.help-form textarea:focus,
.help-form__editor textarea:focus {
    border-color: var(--help-purple);
    box-shadow: 0 0 0 3px rgba(104, 71, 245, 0.1);
}

.help-form label > small {
    color: var(--help-subtle);
    font-size: 10.5px;
    text-align: right;
}

.help-form__wide {
    grid-column: 1 / -1;
}

.staff-page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--help-border);
}

.staff-page-heading h1 {
    font-size: 34px;
}

.staff-page-heading--editor {
    align-items: center;
}

.staff-page-heading .back-link {
    margin-bottom: 22px;
}

.staff-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 26px 0;
    overflow: hidden;
    background: var(--help-surface);
    border: 1px solid var(--help-border);
    border-radius: 8px;
}

.staff-stat-grid > div {
    display: grid;
    gap: 3px;
    padding: 18px 20px;
    border-right: 1px solid var(--help-border);
}

.staff-stat-grid > div:last-child {
    border-right: 0;
}

.staff-stat-grid span,
.staff-stat-grid small {
    color: var(--help-muted);
    font-size: 11.5px;
}

.staff-stat-grid strong {
    font-size: 24px;
    line-height: 1.2;
}

.staff-table-section,
.staff-category-section {
    overflow: hidden;
    background: var(--help-surface);
    border: 1px solid var(--help-border);
    border-radius: 8px;
}

.staff-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--help-border);
}

.staff-table-toolbar h2 {
    font-size: 18px;
}

.staff-table-toolbar p {
    margin: 1px 0 0;
    color: var(--help-muted);
    font-size: 11px;
}

.segmented-control {
    display: inline-flex;
    padding: 3px;
    background: var(--help-soft);
    border-radius: 7px;
}

.segmented-control a {
    padding: 6px 10px;
    color: var(--help-muted);
    border-radius: 5px;
    font-size: 11.5px;
    font-weight: 700;
}

.segmented-control a.is-active {
    color: var(--help-ink);
    background: var(--help-surface);
    box-shadow: 0 1px 3px rgba(25, 34, 60, 0.12);
}

.staff-table-wrap {
    overflow-x: auto;
}

.staff-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.staff-table th {
    height: 40px;
    padding: 0 14px;
    color: var(--help-subtle);
    background: #fafbfd;
    border-bottom: 1px solid var(--help-border);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.staff-table td {
    min-height: 64px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--help-border);
    color: var(--help-ink-soft);
    font-size: 12.5px;
    vertical-align: middle;
}

.staff-table tr:last-child td {
    border-bottom: 0;
}

.staff-table td:first-child {
    width: 34%;
}

.staff-table td strong,
.staff-table td small {
    display: block;
}

.staff-table td strong {
    color: var(--help-ink);
}

.staff-table td small {
    margin-top: 2px;
    color: var(--help-subtle);
    font-size: 10.5px;
}

.staff-table__actions {
    display: flex;
    justify-content: flex-end;
    gap: 2px;
    white-space: nowrap;
}

.staff-table__actions form {
    display: inline-flex;
}

.staff-table__actions .icon-button {
    width: 32px;
    height: 32px;
}

.staff-category-section {
    margin-top: 22px;
    padding: 20px;
}

.staff-category-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.staff-category-list > div {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--help-canvas);
    border: 1px solid var(--help-border);
    border-radius: 7px;
}

.staff-category-list .help-category-card__icon {
    width: 36px;
    height: 36px;
}

.staff-category-list .help-category-card__icon svg {
    width: 17px;
    height: 17px;
}

.staff-category-list strong,
.staff-category-list small {
    display: block;
}

.staff-category-list strong {
    font-size: 12.5px;
}

.staff-category-list small {
    color: var(--help-muted);
    font-size: 10.5px;
}

.staff-dialog,
.help-confirm {
    width: min(calc(100% - 32px), 620px);
    max-height: calc(100vh - 40px);
    padding: 0;
    color: var(--help-ink);
    background: transparent;
    border: 0;
    overflow: visible;
}

.staff-dialog::backdrop,
.help-confirm::backdrop {
    background: rgba(16, 23, 43, 0.58);
    backdrop-filter: blur(4px);
}

.staff-dialog__surface,
.help-confirm__surface {
    padding: 24px;
    background: var(--help-surface);
    border: 1px solid var(--help-border);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(12, 18, 36, 0.3);
}

.staff-dialog__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.staff-dialog__header h2,
.help-confirm h2 {
    margin: 0;
    font-size: 22px;
}

.staff-dialog__actions,
.help-confirm__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 24px;
}

.help-confirm {
    width: min(calc(100% - 32px), 460px);
}

.help-confirm__surface {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
}

.help-confirm__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--help-red);
    background: var(--help-red-soft);
    border-radius: 7px;
}

.help-confirm p {
    margin: 7px 0 0;
    color: var(--help-muted);
    font-size: 13px;
}

.help-confirm__actions {
    grid-column: 1 / -1;
    margin-top: 6px;
}

.staff-editor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 22px;
    margin-top: 26px;
}

.staff-editor__main {
    display: grid;
    gap: 18px;
}

.staff-editor__block,
.staff-editor__sidebar > section,
.staff-editor__save {
    padding: 22px;
    background: var(--help-surface);
    border: 1px solid var(--help-border);
    border-radius: 8px;
}

.staff-editor__block-heading {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.staff-editor__block-heading > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--help-purple);
    background: var(--help-purple-soft);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
}

.staff-editor__block-heading h2,
.staff-editor__sidebar h2 {
    font-size: 17px;
}

.staff-editor__block-heading p,
.staff-editor__sidebar p {
    margin: 3px 0 0;
    color: var(--help-muted);
    font-size: 12px;
}

.help-form__editor {
    display: grid;
}

.help-form__editor textarea {
    min-height: 520px;
    padding: 16px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    line-height: 1.65;
}

.markdown-reference {
    display: flex;
    gap: 8px 14px;
    flex-wrap: wrap;
    margin-top: 12px;
    color: var(--help-muted);
    font-size: 10.5px;
}

.staff-editor__sidebar {
    position: sticky;
    top: calc(var(--help-header-height) + 22px);
    display: grid;
    gap: 14px;
}

.checkbox-row {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 9px !important;
    margin-top: 4px;
    padding: 11px;
    background: var(--help-canvas);
    border: 1px solid var(--help-border);
    border-radius: 7px;
}

.checkbox-row input {
    width: 17px;
    min-height: 17px;
    margin: 2px 0 0;
    accent-color: var(--help-purple);
}

.checkbox-row > span {
    display: grid;
}

.checkbox-row strong {
    font-size: 11.5px;
}

.checkbox-row small {
    color: var(--help-muted);
    font-size: 10.5px;
    text-align: left !important;
}

.staff-editor__checklist ul {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.staff-editor__checklist li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--help-ink-soft);
    font-size: 11.5px;
}

.staff-editor__checklist li svg {
    width: 14px;
    height: 14px;
    color: var(--help-green);
}

.staff-editor__save {
    background: #eef8f5;
    border-color: #cce7df;
}

.staff-editor__save p {
    margin: 9px 0 0;
    color: #53746b;
    text-align: center;
    font-size: 10px;
}

.help-nav-backdrop {
    display: none;
}

@media (max-width: 1320px) {
    .help-header__inner {
        grid-template-columns: auto auto minmax(220px, 1fr) auto;
        gap: 16px;
    }

    .help-page {
        grid-template-columns: 250px minmax(0, 1fr) 190px;
        gap: 30px;
    }

    .help-content--wide {
        max-width: none;
    }
}

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

    .help-primary-nav {
        display: none;
    }

    .help-page {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .help-content--wide {
        grid-column: 2;
    }

    .help-toc {
        display: none;
    }

    .staff-category-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    :root {
        --help-header-height: 60px;
    }

    .help-header__inner {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        gap: 7px;
        padding: 0 12px;
    }

    .help-mobile-nav-button {
        display: inline-grid;
    }

    .help-header-search {
        display: none;
    }

    .help-brand {
        justify-self: start;
    }

    .help-brand__name {
        font-size: 15px;
    }

    .help-brand__divider,
    .help-brand__product {
        display: none;
    }

    .help-sign-in,
    .help-staff-link {
        padding: 0 8px;
    }

    .help-staff-link > span:last-child {
        display: none;
    }

    .help-page {
        display: block;
        width: 100%;
        padding: 0;
    }

    .help-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 90;
        width: min(88vw, 330px);
        height: 100vh;
        padding: 16px;
        transform: translateX(-102%);
        background: var(--help-surface);
        border-right: 1px solid var(--help-border);
        box-shadow: 22px 0 60px rgba(12, 18, 36, 0.22);
        transition: transform 180ms ease;
    }

    .help-sidebar.is-open {
        transform: translateX(0);
    }

    .help-sidebar__mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 14px;
    }

    .help-nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 80;
        background: rgba(16, 23, 43, 0.48);
    }

    .help-nav-backdrop.is-open {
        display: block;
    }

    body.has-open-nav {
        overflow: hidden;
    }

    .help-content,
    .help-content--wide {
        width: 100%;
        padding: 36px 18px 72px;
    }

    .help-home-intro {
        padding-top: 6px;
    }

    .help-home-intro h1,
    .help-page-heading h1,
    .help-article__header h1 {
        font-size: 32px;
    }

    .help-home-intro > p:not(.eyebrow),
    .help-page-heading > p:not(.eyebrow) {
        font-size: 15px;
    }

    .help-category-grid,
    .help-home-columns,
    .help-category-grid--developer {
        grid-template-columns: 1fr;
    }

    .help-home-columns {
        gap: 0;
    }

    .help-developer-band {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .help-developer-band__icon {
        width: 44px;
        height: 44px;
    }

    .help-developer-band .button {
        grid-column: 1 / -1;
        width: 100%;
    }

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

    .staff-page-heading {
        align-items: start;
        flex-direction: column;
    }

    .staff-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .staff-stat-grid > div:nth-child(2) {
        border-right: 0;
    }

    .staff-stat-grid > div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--help-border);
    }

    .staff-table-toolbar {
        align-items: start;
        flex-direction: column;
    }

    .segmented-control {
        width: 100%;
        overflow-x: auto;
    }

    .segmented-control a {
        flex: 1 0 auto;
        text-align: center;
    }

    .staff-category-list {
        grid-template-columns: 1fr;
    }

    .staff-editor {
        grid-template-columns: 1fr;
    }

    .staff-editor__sidebar {
        position: static;
    }
}

@media (max-width: 560px) {
    .help-sign-in {
        font-size: 12px;
    }

    .help-home-search input,
    .help-results-search input {
        padding-right: 48px;
    }

    .help-home-search .button,
    .help-results-search .button {
        width: 40px;
        min-width: 40px;
        padding: 0;
        color: transparent;
        overflow: hidden;
    }

    .help-home-search .button::after,
    .help-results-search .button::after {
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        color: white;
        content: "→";
    }

    .help-category-card {
        grid-template-columns: 42px minmax(0, 1fr);
        min-height: 0;
        padding: 16px;
    }

    .help-category-card__icon {
        width: 42px;
        height: 42px;
    }

    .help-category-card__arrow {
        display: none;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }

    .help-article__header {
        grid-template-columns: minmax(0, 1fr);
    }

    .help-copy-button {
        grid-row: 1;
        justify-self: end;
        margin-bottom: -50px;
    }

    .help-article__meta {
        align-items: start;
        flex-direction: column;
        gap: 2px;
    }

    .help-article__meta span + span::before {
        content: none;
    }

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

    .help-feedback__actions .button {
        width: 100%;
        padding: 0 10px;
    }

    .help-article-list > a,
    .help-search-results > a {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
    }

    .help-article-list > a > svg,
    .help-search-results__arrow {
        display: none;
    }

    .help-update-list article {
        grid-template-columns: 1fr;
        gap: 8px;
    }

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

    .help-form__wide {
        grid-column: 1;
    }

    .help-login__surface {
        padding: 24px 20px;
    }

    .staff-page-heading h1 {
        font-size: 28px;
    }

    .staff-page-heading .button-row,
    .staff-page-heading .button {
        width: 100%;
    }

    .staff-stat-grid > div {
        padding: 14px;
    }

    .staff-dialog__surface {
        padding: 20px;
    }

    .help-confirm__surface {
        grid-template-columns: 40px minmax(0, 1fr);
        padding: 20px;
    }

    .help-confirm__icon {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
