/* Help-centre layer over the OWL design-system foundations.
   Tokens and layout follow the "OWL Help Center" design canvas. */

:root {
    --hc-page: #f6f8fa; --hc-surface: #ffffff; --hc-surface-2: #eff2f5;
    --hc-border: #e0e6eb; --hc-border-2: #eff2f5; --hc-border-hover: #c8d1da; --hc-border-dash: #d1d9e0;
    --hc-text: #25292e; --hc-text-body: #393f46; --hc-text-2: #59636e; --hc-text-3: #656d76;
    --hc-link: #0969da; --hc-link-hover: #0a58ca;
    --hc-brand: #f1582b; --hc-brand-tint: #fff0eb; --hc-brand-ink: #9e2f1c;
    /* Brand orange is too light for white text, so filled buttons use a darker shade */
    --hc-primary: #c4432b; --hc-primary-hover: #9e2f1c; --hc-danger: #cf222e;
    --hc-note-bg: #ddf4ff; --hc-note-border: #b6e3ff;
    --hc-btn: #393f46; --hc-btn-hover: #1f2328;
    --hc-hero: #1c1f24;
    --hc-kind-new-fg: #0969da; --hc-kind-new-bg: #ddf4ff;
    --hc-kind-improved-fg: #1a7f37; --hc-kind-improved-bg: #dafbe1;
    --hc-kind-fixed-fg: #59636e; --hc-kind-fixed-bg: #eff2f5;
    --hc-kind-breaking-fg: #a40e26; --hc-kind-breaking-bg: #ffebe9;
    /* Topic colours, picked by a topic's place among its product's topics */
    --hc-tone-0: #1b7c83; --hc-tone-0-tint: #d8f3f5;
    --hc-tone-1: #0969da; --hc-tone-1-tint: #ddf4ff;
    --hc-tone-2: #1a7f37; --hc-tone-2-tint: #dafbe1;
    --hc-tone-3: #8250df; --hc-tone-3-tint: #fbefff;
    --hc-tone-4: #bc4c00; --hc-tone-4-tint: #fff1e5;
    --hc-tone-5: #bf3989; --hc-tone-5-tint: #ffeff7;
    --hc-tone-6: #9a6700; --hc-tone-6-tint: #fff8c5;
    --hc-tone-7: #59636e; --hc-tone-7-tint: #eff2f5;
}
[data-theme="dark"] {
    --hc-page: #0d1117; --hc-surface: #151b23; --hc-surface-2: #212830;
    --hc-border: #2a313c; --hc-border-2: #212830; --hc-border-hover: #3d444d; --hc-border-dash: #3d444d;
    --hc-text: #f0f6fc; --hc-text-body: #d1d7e0; --hc-text-2: #b7bdc8; --hc-text-3: #9198a1;
    --hc-link: #388bfd; --hc-link-hover: #1f6feb;
    --hc-brand-tint: #3a1a12; --hc-brand-ink: #ffb4a1;
    --hc-danger: #da3633;
    --hc-note-bg: #12263c; --hc-note-border: #1f4b7a;
    --hc-btn: #262c36; --hc-btn-hover: #2f3742;
    --hc-kind-new-fg: #79c0ff; --hc-kind-new-bg: #12263c;
    --hc-kind-improved-fg: #56d364; --hc-kind-improved-bg: #0f2c17;
    --hc-kind-fixed-fg: #b7bdc8; --hc-kind-fixed-bg: #212830;
    --hc-kind-breaking-fg: #ff9492; --hc-kind-breaking-bg: #3c1618;
    --hc-tone-0: #39c5cf; --hc-tone-0-tint: #0d2a2e;
    --hc-tone-1: #79c0ff; --hc-tone-1-tint: #12263c;
    --hc-tone-2: #56d364; --hc-tone-2-tint: #0f2c17;
    --hc-tone-3: #c297ff; --hc-tone-3-tint: #2a1d45;
    --hc-tone-4: #f0883e; --hc-tone-4-tint: #3a2210;
    --hc-tone-5: #ff80c8; --hc-tone-5-tint: #3a1430;
    --hc-tone-6: #e3b341; --hc-tone-6-tint: #33270a;
    --hc-tone-7: #b7bdc8; --hc-tone-7-tint: #212830;
}

body { background: var(--hc-page); color: var(--hc-text); }
a { color: var(--hc-link); text-decoration: none; }
a:hover { color: var(--hc-link-hover); }
::placeholder { color: var(--hc-text-3); }

.hc-icon { width: 1em; height: 1em; stroke-width: 1.75; display: block; flex: 0 0 auto; }
.hc-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--hc-page); }
.hc-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* ---------- header ---------- */
.hc-header { position: sticky; top: 0; z-index: var(--z-sticky); background: var(--hc-surface); border-bottom: 1px solid var(--hc-border); box-shadow: 0 1px 2px rgba(31,35,40,.05); }
.hc-header-row { height: 64px; display: flex; align-items: center; gap: 18px; }
.hc-logo img { width: 116px; height: 38px; object-fit: contain; display: block; }
.hc-logo img.logo-wide { width: 172px; }
:is(.hc-logo, .hc-chooser-logo) .logo-dark { display: none; }
[data-theme="dark"] :is(.hc-logo, .hc-chooser-logo) .logo-light { display: none; }
[data-theme="dark"] :is(.hc-logo, .hc-chooser-logo) .logo-dark { display: block; }
.hc-logo-text { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--hc-text); white-space: nowrap; }
.hc-header-divider { width: 1px; height: 24px; background: var(--hc-border); flex: 0 0 auto; }
.hc-nav { display: flex; align-items: center; gap: 16px; align-self: stretch; }
.hc-nav a { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; white-space: nowrap; color: var(--hc-text); border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 22px 0 20px; }
.hc-nav a.active { border-bottom-color: var(--hc-brand); font-weight: 500; }
.hc-spacer { flex: 1; }

.hc-product-switch { display: flex; gap: 2px; padding: 2px; background: var(--hc-surface-2); border-radius: var(--radius-pill); }
.hc-product-switch a { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 500; color: var(--hc-text-2); }
.hc-product-switch a.active { background: var(--hc-surface); color: var(--hc-text); box-shadow: 0 1px 2px rgba(31,35,40,.14); }

.hc-header-search { display: flex; align-items: center; gap: 8px; height: 32px; width: 240px; min-width: 120px; flex: 0 1 240px; padding: 0 10px; background: var(--hc-page); border: 1px solid var(--hc-border); border-radius: var(--radius-md); color: var(--hc-text-3); }
.hc-header-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; color: var(--hc-text); }

.hc-btn-launch { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; flex: 0 0 auto; white-space: nowrap; border-radius: var(--radius-md); background: var(--hc-btn); color: #fff; font-size: 13px; font-weight: 500; transition: background var(--duration-normal) var(--ease-standard); }
.hc-btn-launch:hover { background: var(--hc-btn-hover); color: #fff; }
.hc-menu { position: relative; flex: 0 0 auto; }
.hc-menu > summary { list-style: none; cursor: pointer; }
.hc-menu > summary::-webkit-details-marker { display: none; }
.hc-menu > summary.hc-btn-quiet { gap: 6px; white-space: nowrap; }
.hc-menu-list { position: absolute; top: calc(100% + 8px); right: 0; z-index: var(--z-overlay); display: flex; flex-direction: column; min-width: 280px; padding: 6px; background: var(--hc-surface); border: 1px solid var(--hc-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-surface-hover); }
.hc-menu-list a { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: var(--radius-md); color: var(--hc-text); font-size: 13px; font-weight: 500; }
.hc-menu-list a:hover { background: var(--hc-surface-2); color: var(--hc-text); }
.hc-menu-list a span { font-size: 12px; font-weight: 400; color: var(--hc-text-2); }
.hc-menu-list hr { margin: 6px -6px; border: 0; border-top: 1px solid var(--hc-border-2); }
.hc-menu-list a.hc-menu-row { flex-direction: row; align-items: center; gap: 10px; height: 36px; padding: 0 10px; }
.hc-menu-row .hc-icon { font-size: 16px; color: var(--hc-text-2); }
.hc-menu-list .hc-count { margin-left: auto; padding: 0 7px; line-height: 20px; border-radius: var(--radius-pill); background: var(--hc-brand-tint); color: var(--hc-brand-ink); font-family: var(--font-mono-accent); font-weight: 500; }

/* The account menu: an avatar of the first letter of their email */
.hc-account > summary { border-radius: 50%; }
.hc-account > summary:focus-visible { outline: 2px solid var(--hc-link); outline-offset: 2px; }
.hc-avatar { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--hc-brand-tint); color: var(--hc-brand-ink); font-size: 14px; font-weight: 600; }
.hc-account[open] > summary .hc-avatar { box-shadow: 0 0 0 2px var(--hc-surface), 0 0 0 4px var(--hc-border-hover); }
.hc-avatar-dot { position: absolute; top: -1px; right: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--hc-brand); box-shadow: 0 0 0 2px var(--hc-surface); }
.hc-avatar-lg { flex: 0 0 auto; width: 40px; height: 40px; font-size: 16px; }
.hc-account-list { width: 296px; max-width: calc(100vw - 32px); }
.hc-account-who { display: flex; align-items: center; gap: 12px; padding: 8px 10px 10px; }
.hc-account-who > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hc-account-who .name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-account-who .role { font-size: 12px; line-height: 16px; color: var(--hc-text-2); }

.hc-theme { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 4px 10px; font-size: 13px; color: var(--hc-text); }
.hc-theme-picker { display: flex; gap: 2px; padding: 2px; background: var(--hc-surface-2); border-radius: var(--radius-pill); }
.hc-theme-picker label { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: var(--radius-pill); color: var(--hc-text-2); font-size: 12px; font-weight: 500; cursor: pointer; }
.hc-theme-picker label:hover { color: var(--hc-text); }
.hc-theme-picker label .hc-icon { font-size: 13px; }
.hc-theme-picker input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.hc-theme-picker label:has(:checked) { background: var(--hc-surface); color: var(--hc-text); box-shadow: 0 1px 2px rgba(31,35,40,.14); }
.hc-theme-picker label:has(:focus-visible) { outline: 2px solid var(--hc-link); outline-offset: 2px; }

/* ---------- hero (product home) ---------- */
.hc-hero { background: var(--hc-hero); padding: 64px 24px 72px; }
.hc-hero-inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.hc-hero h1 { margin: 0; font-family: var(--font-display); font-size: 44px; font-weight: 600; letter-spacing: -0.025em; color: #fff; }
.hc-hero p { margin: 0; font-size: 15px; line-height: 1.6; color: #b8c0ca; max-width: 540px; text-wrap: pretty; }
.hc-hero-search { width: 100%; max-width: 580px; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 8px 0 16px; background: var(--hc-surface); border-radius: var(--radius-lg); box-shadow: 0 6px 20px rgba(0,0,0,.28); color: var(--hc-text-3); }
.hc-hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--hc-text); }
.hc-hero-search button { height: 38px; padding: 0 16px; border: 0; border-radius: var(--radius-md); background: var(--hc-primary); color: #fff; font-size: 13px; font-weight: 500; transition: background var(--duration-normal) var(--ease-standard); flex: 0 0 auto; }
.hc-hero-search button:hover { background: var(--hc-primary-hover); }
.hc-hero-suggestions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.hc-hero-suggestions span { font-size: 12px; color: #818b98; }
.hc-hero-suggestions a { font-size: 12px; color: #d0d7de; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-pill); padding: 5px 12px; transition: background var(--duration-normal) var(--ease-standard); }
.hc-hero-suggestions a:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ---------- home sections ---------- */
.hc-section { padding-top: 40px; }
.hc-section-title { margin: 0 0 4px; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.hc-section-sub { margin: 0 0 20px; font-size: 13px; color: var(--hc-text-2); }

.hc-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hc-topic-card { display: flex; flex-direction: column; gap: 10px; background: var(--hc-surface); border: 1px solid var(--hc-border); border-radius: var(--radius-lg); padding: 18px; transition: border-color var(--duration-normal) var(--ease-standard), box-shadow var(--duration-normal) var(--ease-standard); }
.hc-topic-card:hover { border-color: var(--hc-border-hover); box-shadow: 0 3px 8px rgba(31,35,40,.06); }
.hc-topic-card-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--hc-brand-tint); color: var(--hc-brand); font-size: 17px; }
.hc-topic-card-name { font-size: 16px; font-weight: 600; color: var(--hc-text); letter-spacing: -0.005em; }
.hc-topic-card-blurb { font-size: 13px; line-height: 1.55; color: var(--hc-text-2); text-wrap: pretty; }
.hc-topic-card-count { font-family: var(--font-mono-accent); font-size: 11px; color: var(--hc-text-3); margin-top: 2px; }

/* ---------- product chooser ("/"): the cards sit in the middle of the space below the hero ---------- */
.hc-chooser-page { flex: 1; display: flex; flex-direction: column; }
.hc-chooser { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-content: center; gap: 20px; max-width: 960px; margin: 0 auto; padding-top: 48px; padding-bottom: 48px; }
.hc-product-card { --hc-product: #2957ff; --hc-product-ink: #2957ff; --hc-product-tint: #eef2ff;
    position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--hc-surface); border: 1px solid var(--hc-border); border-radius: var(--radius-xl); box-shadow: 0 8px 24px rgba(31,35,40,.10);
    transition: border-color var(--duration-normal) var(--ease-standard), box-shadow var(--duration-normal) var(--ease-standard); }
.hc-product-card[data-product="owl"] { --hc-product: #38d5ba; --hc-product-ink: #0e7c69; --hc-product-tint: #e6f8f4; }
[data-theme="dark"] .hc-product-card { --hc-product-ink: #8fa5ff; --hc-product-tint: #141b36; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
[data-theme="dark"] .hc-product-card[data-product="owl"] { --hc-product-ink: #5fe0c9; --hc-product-tint: #0b2622; }
.hc-product-card:hover { border-color: var(--hc-product); box-shadow: 0 12px 32px rgba(31,35,40,.16); }
.hc-product-card:has(.hc-product-card-open:focus-visible) { outline: 2px solid var(--hc-product-ink); outline-offset: 2px; }
.hc-product-card-head { display: flex; align-items: center; height: 132px; padding: 0 28px; border-bottom: 1px solid var(--hc-border);
    background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--hc-product) 30%, transparent), transparent 60%), var(--hc-product-tint); }
.hc-chooser-logo img { height: 48px; width: auto; display: block; }
.hc-product-card-body { flex: 1; padding: 22px 28px 26px; }
.hc-product-card-body p { margin: 0 0 18px; font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--hc-text); }
.hc-product-card-body ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hc-product-card-body li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--hc-text-2); }
.hc-product-card-body .icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border-radius: var(--radius-md); background: var(--hc-product-tint); color: var(--hc-product-ink); font-size: 16px; }
.hc-product-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 16px 28px; border-top: 1px solid var(--hc-border-2); }
.hc-product-card-open { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--hc-product-ink); }
.hc-product-card-open::after { content: ""; position: absolute; inset: 0; }
.hc-product-card-open .hc-icon { transition: transform var(--duration-normal) var(--ease-standard); }
.hc-product-card:hover .hc-product-card-open .hc-icon { transform: translateX(3px); }
.hc-product-card-more { display: flex; gap: 16px; }
.hc-product-card-more a { position: relative; z-index: 1; font-size: 13px; white-space: nowrap; color: var(--hc-text-2); }
.hc-product-card-more a:hover { color: var(--hc-text); text-decoration: underline; }

.hc-home-panels { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.hc-panel { background: var(--hc-surface); border: 1px solid var(--hc-border); border-radius: var(--radius-lg); }
.hc-panel-head { padding: 14px 18px; border-bottom: 1px solid var(--hc-border); display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.hc-panel-head .hc-icon { font-size: 15px; color: var(--hc-text-2); }
.hc-panel-head .brand { color: var(--hc-brand); }
.hc-popular-row { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--hc-border-2); transition: background var(--duration-normal) var(--ease-standard); color: var(--hc-text); }
.hc-popular-row:hover { background: var(--hc-page); color: var(--hc-text); }
.hc-popular-row .hc-icon { font-size: 15px; color: var(--hc-text-3); }
.hc-popular-row .title { flex: 1; min-width: 0; font-size: 13px; }
.hc-popular-row .topic { font-size: 11px; color: var(--hc-text-3); }
.hc-update-row { display: flex; flex-direction: column; gap: 3px; padding: 10px 18px; transition: background var(--duration-normal) var(--ease-standard); }
.hc-update-row:hover { background: var(--hc-page); }
.hc-update-row .date { font-family: var(--font-mono-accent); font-size: 11px; color: var(--hc-text-3); }
.hc-update-row .title { font-size: 13px; line-height: 1.45; color: var(--hc-text); }
.hc-btn-brand { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: var(--radius-md); background: var(--hc-primary); color: #fff; font-size: 13px; font-weight: 500; transition: background var(--duration-normal) var(--ease-standard); border: 0; }
.hc-btn-brand:hover { background: var(--hc-primary-hover); color: #fff; }
.hc-btn-quiet { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: var(--radius-md); background: var(--hc-surface); border: 1px solid var(--hc-border); color: var(--hc-text); font-size: 13px; font-weight: 500; transition: background var(--duration-normal) var(--ease-standard); }
.hc-btn-quiet:hover { background: var(--hc-surface-2); color: var(--hc-text); }

/* ---------- inner layout (sidebar + main) ---------- */
.hc-inner { flex: 1; display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 32px; align-items: start; }
.hc-sidebar { position: sticky; top: 64px; align-self: start; max-height: calc(100vh - 64px); overflow-y: auto; padding: 24px 0 40px; display: flex; flex-direction: column; gap: 2px; }
.hc-sidebar-back { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--hc-text-2); padding: 6px 8px; border-radius: var(--radius-md); margin-bottom: 8px; }
.hc-sidebar-back:hover { background: var(--hc-surface-2); color: var(--hc-text); }
.hc-tree-section > a { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: var(--radius-md); font-size: 13px; font-weight: 500; color: var(--hc-text); transition: background var(--duration-normal) var(--ease-standard); }
.hc-tree-section > a:hover { background: var(--hc-surface-2); color: var(--hc-text); }
.hc-tree-section .hc-icon { font-size: 14px; color: var(--hc-text-3); }
.hc-tree-children { display: flex; flex-direction: column; margin: 2px 0 6px 15px; border-left: 1px solid var(--hc-border); padding-left: 8px; }
.hc-tree-children a { display: block; padding: 6px 8px; border-radius: var(--radius-md); font-size: 13px; line-height: 1.4; color: var(--hc-text-2); transition: background var(--duration-normal) var(--ease-standard); }
.hc-tree-children a:hover { background: var(--hc-surface-2); color: var(--hc-text); }
.hc-tree-children a.active { background: var(--hc-surface-2); color: var(--hc-text); }
.hc-main { padding: 24px 0 64px; min-width: 0; }

/* ---------- breadcrumbs ---------- */
.hc-crumbs { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--hc-text-3); flex-wrap: wrap; }
.hc-crumbs a { color: var(--hc-text-2); }
.hc-crumbs .current { color: var(--hc-text); }

/* ---------- topic page ---------- */
.hc-topic-head { display: flex; align-items: flex-start; gap: 14px; }
.hc-topic-head-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-lg); background: var(--hc-brand-tint); color: var(--hc-brand); font-size: 20px; flex: 0 0 auto; }
.hc-topic-head h1 { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.hc-topic-head p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--hc-text-2); max-width: 640px; text-wrap: pretty; }
.hc-article-list { background: var(--hc-surface); border: 1px solid var(--hc-border); border-radius: var(--radius-lg); display: flex; flex-direction: column; overflow: hidden; }
.hc-article-list a { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--hc-border-2); transition: background var(--duration-normal) var(--ease-standard); }
.hc-article-list a:last-child { border-bottom: 0; }
.hc-article-list a:hover { background: var(--hc-page); }
.hc-article-list .hc-icon { font-size: 15px; color: var(--hc-text-3); margin-top: 2px; }
.hc-article-list .title { font-size: 14px; font-weight: 500; color: var(--hc-text); }
.hc-article-list .summary { font-size: 13px; line-height: 1.5; color: var(--hc-text-2); }

/* ---------- article page ---------- */
.hc-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 40px; align-items: start; }
.hc-article { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hc-article h1 { margin: 0; font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.022em; line-height: 1.2; text-wrap: pretty; }
.hc-article-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--hc-text-3); }
.hc-article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hc-article-meta .hc-icon { font-size: 13px; }
.hc-edit-link { margin-left: auto; color: var(--hc-link); }
.hc-lede { margin: 0; font-size: 16px; line-height: 1.7; color: var(--hc-text-body); text-wrap: pretty; }

.hc-prose { display: flex; flex-direction: column; gap: 12px; }
.hc-prose h2 { margin: 8px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--hc-text); }
.hc-prose h3 { margin: 4px 0 0; font-size: 16px; font-weight: 600; color: var(--hc-text); }
.hc-prose p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--hc-text-body); text-wrap: pretty; }
.hc-prose ul, .hc-prose ol { margin: 0; padding-left: 22px; font-size: 15px; line-height: 1.75; color: var(--hc-text-body); }
.hc-prose li { margin: 2px 0; }
.hc-prose img { max-width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--hc-border); }
/* Embedded video (VideoEmbeds.cs): the player at 16:9, captioned with the video's title */
.hc-prose .hc-video { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.hc-prose .hc-video-player { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); border: 1px solid var(--hc-border); overflow: hidden; background: var(--hc-surface-2); }
.hc-prose .hc-video-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.hc-prose .hc-video figcaption { font-size: 13px; line-height: 1.5; color: var(--hc-text-2); }
.hc-prose code { font-size: .9em; background: var(--hc-surface-2); border-radius: var(--radius-sm); padding: .1em .35em; }
.hc-prose pre { background: var(--hc-surface-2); border: 1px solid var(--hc-border); border-radius: var(--radius-lg); padding: 14px; overflow-x: auto; }
.hc-prose pre code { background: transparent; padding: 0; }
/* Mermaid draws into its own <pre>; until it does, the source stays legible as a
   code block, so a CDN that never answers degrades to readable text. */
.hc-prose pre.mermaid[data-processed] { background: none; border: 0; padding: 0; text-align: center; }
.hc-prose pre.mermaid[data-processed] svg { max-width: 100%; height: auto; }
.hc-prose blockquote { display: flex; gap: 10px; background: var(--hc-note-bg); border: 1px solid var(--hc-note-border); border-radius: var(--radius-md); padding: 12px 14px; margin: 0; }
.hc-prose blockquote p { font-size: 13px; line-height: 1.6; color: var(--hc-text); }
.hc-prose table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.hc-prose th, .hc-prose td { border: 1px solid var(--hc-border); padding: 8px 10px; text-align: left; }
.hc-prose th { background: var(--hc-surface-2); }

.hc-prevnext { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.hc-prevnext a { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; background: var(--hc-surface); border: 1px solid var(--hc-border); border-radius: var(--radius-lg); padding: 12px 14px; transition: border-color var(--duration-normal) var(--ease-standard); }
.hc-prevnext a:hover { border-color: var(--hc-border-hover); }
.hc-prevnext a.next { align-items: flex-end; text-align: right; }
.hc-prevnext .label { font-size: 11px; color: var(--hc-text-3); }
.hc-prevnext .title { font-size: 13px; font-weight: 500; color: var(--hc-text); }

.hc-toc { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 8px; padding-left: 20px; border-left: 1px solid var(--hc-border); }
.hc-toc .head { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hc-text-3); }
.hc-toc a { font-size: 13px; line-height: 1.45; color: var(--hc-text-2); }
.hc-toc a:hover { color: var(--hc-text); }

/* ---------- search page ---------- */
.hc-search-page { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.hc-search-page h1 { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.hc-search-count { margin: 0; font-size: 13px; color: var(--hc-text-2); }
.hc-search-input { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; background: var(--hc-surface); border: 1px solid var(--hc-border); border-radius: var(--radius-lg); color: var(--hc-text-3); }
.hc-search-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--hc-text); }
.hc-result { display: flex; flex-direction: column; gap: 4px; background: var(--hc-surface); border: 1px solid var(--hc-border); border-radius: var(--radius-lg); padding: 14px 16px; transition: border-color var(--duration-normal) var(--ease-standard); }
.hc-result:hover { border-color: var(--hc-border-hover); }
.hc-result .topic { font-size: 11px; color: var(--hc-text-3); }
.hc-result .title { font-size: 15px; font-weight: 500; color: var(--hc-link); }
.hc-result .summary { font-size: 13px; line-height: 1.55; color: var(--hc-text-2); }
.hc-empty { background: var(--hc-surface); border: 1px solid var(--hc-border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.hc-empty .hc-icon { font-size: 22px; color: var(--hc-text-3); }

/* ---------- releases ---------- */
/* The list of release notes: a timeline of updates, month by month */
.hc-tone-0 { --tone: var(--hc-tone-0); --tone-tint: var(--hc-tone-0-tint); }
.hc-tone-1 { --tone: var(--hc-tone-1); --tone-tint: var(--hc-tone-1-tint); }
.hc-tone-2 { --tone: var(--hc-tone-2); --tone-tint: var(--hc-tone-2-tint); }
.hc-tone-3 { --tone: var(--hc-tone-3); --tone-tint: var(--hc-tone-3-tint); }
.hc-tone-4 { --tone: var(--hc-tone-4); --tone-tint: var(--hc-tone-4-tint); }
.hc-tone-5 { --tone: var(--hc-tone-5); --tone-tint: var(--hc-tone-5-tint); }
.hc-tone-6 { --tone: var(--hc-tone-6); --tone-tint: var(--hc-tone-6-tint); }
.hc-tone-7 { --tone: var(--hc-tone-7); --tone-tint: var(--hc-tone-7-tint); }
.hc-updates { padding-top: 48px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 20px; }
.hc-updates-head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.hc-updates-head h1 { margin: 0; font-family: var(--font-display); font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.hc-updates-head p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--hc-text-body); }
.hc-topic-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-topic-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--hc-border);
    background: var(--hc-surface); color: var(--hc-text-body); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.hc-topic-chip:hover { border-color: var(--hc-border-hover); }
.hc-topic-chip[aria-pressed="true"] { background: var(--hc-text); border-color: var(--hc-text); color: var(--hc-surface); }
.hc-topic-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tone); }
.hc-updates-grid { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 56px; align-items: start; margin-top: 24px; }
.hc-month { margin: 0 0 28px; display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    color: var(--hc-text-2); scroll-margin-top: 88px; }
.hc-month::after { content: ""; flex: 1; height: 1px; background: var(--hc-border); }
.hc-update { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 40px; }
.hc-update-when { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }
.hc-update-when .date { font-size: 15px; font-weight: 600; color: var(--hc-text); }
.hc-update-when .version { font-family: var(--font-mono-accent); font-size: 13px; color: var(--hc-text-3); }
.hc-latest { align-self: flex-start; margin-top: 4px; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--hc-brand-tint); color: var(--hc-brand-ink);
    font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
/* The timeline: a line down the left of each update, with a dot at its title */
.hc-update-body { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 0 0 56px 36px; border-left: 1px solid var(--hc-border); }
.hc-update-body::before { content: ""; position: absolute; left: -6px; top: 12px; width: 11px; height: 11px; box-sizing: border-box; border-radius: 50%;
    background: var(--hc-surface); border: 2px solid var(--hc-border-hover); box-shadow: 0 0 0 4px var(--hc-page); }
.hc-update-body.latest::before { background: var(--hc-brand); border-color: var(--hc-brand); }
.hc-update-body h3 { margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.hc-update-body h3 a { color: var(--hc-text); }
.hc-update-body h3 a:hover { color: var(--hc-link); }
.hc-update-body .summary { margin: 0; max-width: 680px; font-size: 16px; line-height: 1.65; color: var(--hc-text-body); text-wrap: pretty; }
.hc-highlights { list-style: none; margin: 4px 0 0; padding: 0; background: var(--hc-surface); border: 1px solid var(--hc-border); border-radius: var(--radius-xl); overflow: hidden; }
.hc-highlights li { display: flex; gap: 14px; padding: 16px 18px; }
.hc-highlights li + li { border-top: 1px solid var(--hc-border); }
.hc-highlights .text { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.hc-highlights .title { font-size: 15px; font-weight: 600; color: var(--hc-text); }
.hc-highlights .line { font-size: 14px; line-height: 1.55; color: var(--hc-text-2); }
.hc-highlights .guide { flex: 0 0 auto; align-self: center; font-size: 13px; font-weight: 500; }
.hc-topic-tile { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius-md); font-size: 17px;
    color: var(--tone, var(--hc-text-2)); background: var(--tone-tint, var(--hc-surface-2)); }
.hc-update-more { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; line-height: 1.6; color: var(--hc-text-2); }
.hc-update-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.hc-update-more .hc-icon { font-size: 14px; }
.hc-updates-empty { margin: 0; font-size: 13px; color: var(--hc-text-3); }
.hc-months { position: sticky; top: 88px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.hc-months .head { padding-bottom: 2px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hc-text-3); }
.hc-months a { font-size: 14px; color: var(--hc-text-2); }
.hc-months a:hover { color: var(--hc-text); }

/* A release note: when and what about, then the note on the timeline's line, a section per highlight */
.hc-release-page { padding-top: 28px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.hc-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: 14px; color: var(--hc-text-2); }
.hc-back:hover { color: var(--hc-text); }
.hc-back .hc-icon { font-size: 15px; }
.hc-release-grid { display: grid; grid-template-columns: 170px minmax(0, 1fr) 190px; gap: 40px; align-items: start; }
.hc-release-about { display: flex; flex-direction: column; gap: 22px; padding-top: 10px; }
.hc-release-about .when { display: flex; flex-direction: column; gap: 6px; }
.hc-release-about .date { font-size: 15px; font-weight: 600; color: var(--hc-text); }
.hc-release-about .version { font-family: var(--font-mono-accent); font-size: 13px; color: var(--hc-text-3); }
.hc-release-about .topics { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.hc-release-about .head { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hc-text-3); }
.hc-release-about .topics a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--hc-text-body); }
.hc-release-about .topics a:hover { color: var(--hc-text); }
.hc-release-about .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tone); }
.hc-release-about .hc-edit-link { margin-left: 0; font-size: 13px; }
.hc-release-body { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 44px; padding: 0 0 8px 36px; border-left: 1px solid var(--hc-border); }
.hc-release-body::before { content: ""; position: absolute; left: -6px; top: 18px; width: 11px; height: 11px; box-sizing: border-box; border-radius: 50%;
    background: var(--hc-surface); border: 2px solid var(--hc-border-hover); box-shadow: 0 0 0 4px var(--hc-page); }
.hc-release-body.latest::before { background: var(--hc-brand); border-color: var(--hc-brand); }
.hc-release-head { display: flex; flex-direction: column; gap: 16px; }
.hc-release-head h1 { margin: 0; font-family: var(--font-display); font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.hc-release-head .hc-lede { font-size: 18px; line-height: 1.65; }
.hc-rn-section { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; }
.hc-rn-section > .content { grid-column: 2; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.hc-topic-tile.big { width: 40px; height: 40px; border-radius: 10px; font-size: 19px; }
.hc-rn-label { display: flex; gap: 10px; padding-top: 2px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hc-text-2); }
.hc-rn-label .breaking { color: var(--hc-kind-breaking-fg); }
.hc-rn-section h2 { margin: 0; font-family: var(--font-display); font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; color: var(--hc-text); scroll-margin-top: 88px; }
.hc-rn-section .hc-prose p, .hc-rn-section .hc-prose ul, .hc-rn-section .hc-prose ol { font-size: 16px; }
.hc-rn-find { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--hc-text-2); }
.hc-rn-find strong { font-weight: 600; color: var(--hc-text); }
.hc-rn-fixes { padding-top: 40px; border-top: 1px solid var(--hc-border); }
.hc-rn-fixes h2 { padding-top: 6px; }
.hc-rn-fixes h3 { margin: 6px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hc-text-3); }
.hc-rn-fixes ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.65; color: var(--hc-text-body); }

.hc-page-title { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.hc-page-sub { margin: 0; font-size: 14px; line-height: 1.6; color: var(--hc-text-2); }
.hc-revised { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 2px; font-size: 12px; }
.hc-revised .label { color: var(--hc-text-3); }

/* ---------- roadmap ---------- */
.hc-roadmap-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.hc-roadmap-col-head { display: flex; align-items: center; gap: 8px; padding: 0 2px 10px; font-size: 13px; font-weight: 600; }
.hc-roadmap-col-head .dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.hc-roadmap-col-head .count { font-family: var(--font-mono-accent); font-size: 11px; color: var(--hc-text-3); font-weight: 400; }
.hc-roadmap-items { display: flex; flex-direction: column; gap: 8px; }
.hc-roadmap-note { margin: 0; max-width: 620px; background: var(--hc-note-bg); border: 1px solid var(--hc-note-border); border-radius: var(--radius-md); padding: 10px 14px; font-size: 13px; color: var(--hc-text); }
.hc-roadmap-none { margin: 0; border: 1px dashed var(--hc-border); border-radius: var(--radius-lg); padding: 12px 14px; font-size: 13px; color: var(--hc-text-3); }
.hc-roadmap-item { display: flex; gap: 12px; background: var(--hc-surface); border: 1px solid var(--hc-border); border-radius: var(--radius-lg); padding: 12px 14px; transition: border-color var(--duration-normal) var(--ease-standard); }
.hc-roadmap-item:hover { border-color: var(--hc-border-hover); }
.hc-vote { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 40px; flex: 0 0 auto; border: 1px solid var(--hc-border); border-radius: var(--radius-md); padding: 5px 0; color: var(--hc-text-2); background: transparent; }
.hc-vote .hc-icon { font-size: 13px; }
.hc-vote .n { font-family: var(--font-mono-accent); font-size: 12px; color: var(--hc-text); }
.hc-roadmap-item .body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.hc-roadmap-item .title { font-size: 13px; line-height: 1.45; font-weight: 500; color: var(--hc-text); }
.hc-roadmap-item .area { font-size: 11px; color: var(--hc-text-3); }

/* ---------- footer ---------- */
.hc-footer { border-top: 1px solid var(--hc-border); background: var(--hc-surface); margin-top: auto; }
.hc-footer-row { padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hc-footer-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 12px; }
.hc-footer-links span { color: var(--hc-text-3); }
.hc-footer-links a { color: var(--hc-text-2); }
.hc-endorsement { display: inline-flex; align-items: center; background: #fff; border-radius: var(--radius-sm); padding: 5px 8px; }
.hc-endorsement img { height: 20px; display: block; }

/* ---------- loading splash ---------- */
.hc-splash { min-height: 100vh; display: grid; place-items: center; color: var(--hc-text-3); font-size: 13px; }

/* ---------- responsive ---------- */
/* Signed-out Connect's header needs 1034px with the Launch button */
@media (max-width: 1040px) {
    .hc-btn-launch { display: none; }
}
@media (max-width: 900px) {
    .hc-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hc-home-panels { grid-template-columns: 1fr; }
    .hc-inner { grid-template-columns: 1fr; }
    .hc-sidebar { position: static; max-height: none; padding-bottom: 0; }
    .hc-article-grid { grid-template-columns: 1fr; }
    .hc-toc { display: none; }
    .hc-roadmap-cols { grid-template-columns: 1fr; }
    .hc-updates-grid { grid-template-columns: 1fr; }
    .hc-months { display: none; }
    .hc-update { grid-template-columns: 1fr; }
    .hc-update-when { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 0 0 6px; }
    .hc-latest { margin-top: 0; }
    .hc-update-body { padding-left: 24px; }
    .hc-release-grid { grid-template-columns: 1fr; gap: 24px; }
    .hc-release-about { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; padding-top: 0; }
    .hc-release-about .when { flex-direction: row; align-items: baseline; gap: 12px; }
    .hc-release-about .topics { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
    .hc-release-about .topics .head { display: none; }
    .hc-release-body { padding-left: 24px; }
    .hc-release-head h1 { font-size: 32px; }
    .hc-rn-section { grid-template-columns: minmax(0, 1fr); }
    .hc-rn-section > .hc-topic-tile { display: none; }
    .hc-rn-section > .content { grid-column: 1; }
    .hc-updates-head h1 { font-size: 32px; }
    .hc-header-search { display: none; }
    .hc-hero h1 { font-size: 32px; }
}
