.hc {
    background: var(--color-canvas, #fff);
    color: var(--color-ink, #172033);
    font: 1rem/1.65 Inter, ui-sans-serif, system-ui, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hc main { flex: 1; }

.hc-wrap {
    width: min(100% - 2rem, 69rem);
    margin-inline: auto;
}

.hc a {
    color: var(--color-brand, #1d4ed8);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.hc :focus-visible {
    outline: 3px solid var(--color-brand, #1d4ed8);
    outline-offset: 3px;
}

.hc-skip {
    position: absolute;
    top: .75rem;
    left: .75rem;
    z-index: 2;
    transform: translateY(-200%);
    background: white;
    padding: .5rem 1rem;
}

.hc-skip:focus { transform: none; }

.hc-header {
    border-bottom: 1px solid var(--color-hairline, #d7dce6);
    background: #fff;
}

.hc-header-inner,
.hc-header nav,
.hc-brand {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .25rem 1rem;
}

.hc-header-inner { justify-content: space-between; padding-block: .5rem; }

.hc-header a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 650;
}

.hc-header .hc-brand {
    color: var(--color-ink, #172033);
    text-decoration: none;
}

.hc-brand span {
    border-left: 1px solid var(--color-hairline, #d7dce6);
    padding-left: 1rem;
    line-height: 1.2;
}

.hc-logo { width: 10.25rem; height: auto; }

.hc h1, .hc h2, .hc h3 {
    color: var(--color-ink, #172033);
    font-weight: 750;
    line-height: 1.2;
    text-wrap: balance;
}

.hc h1 { font-size: clamp(2.15rem, 6vw, 3.5rem); letter-spacing: -.045em; }
.hc h2 { font-size: clamp(1.45rem, 4vw, 1.9rem); letter-spacing: -.023em; }
.hc h3 { font-size: 1.125rem; }

.hc-hero {
    background: #eef5ff;
    border-bottom: 1px solid #dbe7ff;
    padding-block: clamp(2.5rem, 8vw, 5rem);
}

.hc-hero p, .hc-article-head p { color: var(--color-ink-2, #34445e); font-size: 1.125rem; margin-top: .75rem; }

.hc-search { margin-top: 1.65rem; max-width: 40rem; }
.hc-search label { display: block; font-weight: 700; margin-bottom: .35rem; }
.hc-search > div { display: flex; gap: .5rem; }

.hc-search input,
.hc-search button {
    min-height: 48px;
    border: 1px solid var(--color-brand, #1d4ed8);
    border-radius: .45rem;
    padding: .5rem .8rem;
}

.hc-search input { background: white; min-width: 0; flex: 1; }
.hc-search input::placeholder { color: #52627a; }

.hc-search button {
    cursor: pointer;
    background: var(--color-brand, #1d4ed8);
    color: white;
    font-weight: 700;
}

.hc-search button:hover { background: var(--color-brand-ink, #163ca5); }

.hc-index { display: grid; gap: 2.5rem; padding-block: 2.5rem 3.75rem; }
.hc-index h2 + p, .hc-topic { margin-top: .85rem; }
.hc-cards { margin-top: .65rem; display: grid; gap: .75rem; max-width: 42rem; }
.hc-cards li { padding: 1rem 1.2rem; border: 1px solid #d9e2ef; border-radius: .6rem; background: #f8faff; }
.hc-cards a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 750; }
.hc-cards p { color: var(--color-ink-2, #34445e); }
.hc-index p { overflow-wrap: anywhere; }

.hc-footer {
    border-top: 1px solid var(--color-hairline, #d7dce6);
    color: var(--color-ink-2, #34445e);
    padding-block: 1rem;
    font-size: .875rem;
}

.hc-article-wrap { padding-block: 1.25rem 4rem; }
.hc-breadcrumb ol { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .65rem; font-size: .9rem; }
.hc-breadcrumb li + li::before { content: "/"; color: #52627a; margin-right: .65rem; }
.hc-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.hc-article-head { padding-block: 1rem 2rem; border-bottom: 1px solid var(--color-hairline, #d7dce6); margin-bottom: 1.5rem; }
.hc-article-head p { max-width: 52ch; }
.hc-article-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }

.hc-toc {
    align-self: start;
    background: #f1f6ff;
    border: 1px solid #dbe7ff;
    border-radius: .6rem;
    padding: .9rem 1rem;
}

.hc-toc h2 { font-size: 1.05rem; }
.hc-toc ul { margin-top: .4rem; }
.hc-toc a { display: inline-flex; align-items: center; min-height: 36px; }
.hc-guide { min-width: 0; max-width: 72ch; }
.hc-guide section + section { margin-top: 2.35rem; padding-top: 2rem; border-top: 1px solid #d9e2ef; }
.hc-guide h3 { margin-top: 1.25rem; }
.hc-guide p, .hc-guide ul, .hc-guide ol, .hc-guide pre, .hc-guide figure, .hc-note { margin-block: .75rem; }
.hc-guide ul, .hc-guide ol { padding-inline-start: 1.5rem; }
.hc-guide ol { list-style: decimal; }
.hc-guide ul { list-style: disc; }
.hc-guide li + li { margin-top: .4rem; }
.hc-guide [id] { scroll-margin-top: 1rem; }
.hc-guide :is(code, kbd) { overflow-wrap: anywhere; }

.hc-guide pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    padding: .65rem .85rem;
    border-radius: .4rem;
    background: #eff4fc;
    border: 1px solid #e0e8f5;
    font-size: .875rem;
}

.hc-note { border-left: 4px solid var(--color-brand, #1d4ed8); background: #eef5ff; padding: .65rem 1rem; }
.hc-source, .hc-figure figcaption { font-size: .9rem; color: var(--color-ink-2, #34445e); }
.hc-figure figcaption { margin-top: .45rem; }

.hc-shot {
    position: relative;
    container-type: inline-size;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid #bfc9db;
    border-radius: .4rem;
    background: white;
}

.hc-shot img {
    position: absolute;
    left: 0;
    height: auto;
    max-width: none;
}

.hc-shot-users { width: min(100%, 520px); aspect-ratio: 520 / 158; }
.hc-shot-users img { top: 0; width: 265.385%; }
.hc-shot-editor { width: min(100%, 426px); aspect-ratio: 426 / 228; }
.hc-shot-editor img { top: -278.509%; width: 157.277%; }

.hc-marker {
    --marker-size: clamp(16px, 5cqw, 26px);
    position: absolute;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    width: var(--marker-size);
    height: var(--marker-size);
    border-radius: 50%;
    background: #a51232;
    color: white;
    box-shadow: 0 0 0 1px white;
    font-size: clamp(.68rem, 2.8cqw, .85rem);
    font-weight: 800;
    line-height: 1;
}

.hc-marker::before {
    content: "";
    position: absolute;
    right: 90%;
    width: 5.5cqw;
    height: 9px;
    clip-path: polygon(0 50%, 38% 0, 38% 34%, 100% 34%, 100% 66%, 38% 66%, 38% 100%);
    background: #a51232;
}

.hc-pencil { left: 23.08%; top: 79.75%; }
.hc-enabled { left: 39.2%; top: 7.45%; }
.hc-enabled::before { left: 78%; right: auto; top: 80%; transform: rotate(210deg); }
.hc-public-key { left: 58%; top: 53%; }
.hc-username { left: 68.78%; top: 31.58%; }
.hc-save { left: 12.68%; top: 94.3%; }
.hc-save::before { right: auto; bottom: 89%; transform: translateY(-.45rem) rotate(90deg); }
.hc-troubleshooting dt { font-weight: 750; margin-top: .8rem; }

@media (min-width: 52rem) {
    .hc-article-grid { grid-template-columns: 13.5rem minmax(0, 1fr); gap: 2.5rem; }
    .hc-toc { position: sticky; top: 1rem; }
}

@media (max-width: 24rem) {
    .hc-logo { width: 8.4rem; }
    .hc-brand span { padding-left: .65rem; }
}
