/* The rendered help center (contracts/teams.md "Help center addresses"). It keeps the
   look of the web app: the tokens of web/src/styles/app.css, Geist, white-first
   surfaces, soft tinted chips, and subtle motion that honours reduced motion. */

@font-face { font-family: "Geist Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(geist-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(geist-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(geist-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geist Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(geist-cyrillic-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Geist Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(geist-vietnamese-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Geist Mono Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(geist-mono-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --surface: #ffffff;
  --sunken: #fafafa;
  --hover: #f4f4f4;
  --active: #ededed;
  --line: #e4e4e4;
  --line-soft: #f0f0f0;
  --line-strong: #d6d6d6;
  --fg: #0a0a0a;
  --fg-2: #4a4a4a;
  --fg-3: #737373;
  --fg-4: #a3a3a3;
  --focus: rgb(10 10 10 / 0.14);
  --shadow-xs: 0 1px 2px rgb(10 10 10 / 0.04);
  --shadow-pop: 0 4px 12px -2px rgb(10 10 10 / 0.08), 0 2px 4px rgb(10 10 10 / 0.04);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: "Geist Variable", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono Variable", ui-monospace, monospace;
  --tone-blue-solid: #2b6cf0;
  --tone-indigo-solid: #4c5fd5;
  --tone-violet-solid: #7048e8;
  --tone-pink-solid: #d6336c;
  --tone-orange-solid: #e8590c;
  --tone-amber-solid: #d48806;
  --tone-lime-solid: #5c940d;
  --tone-green-solid: #12a150;
  --tone-teal-solid: #0c9488;
  --tone-cyan-solid: #0c8599;
  --tone-gray-solid: #737373;
}
.dark {
  color-scheme: dark;
  --surface: #1b1c1f;
  --sunken: #17181a;
  --hover: #232427;
  --active: #2b2c30;
  --line: #2e2f33;
  --line-soft: #252629;
  --line-strong: #3c3d42;
  --fg: #f7f7f7;
  --fg-2: #c4c4c4;
  --fg-3: #8f8f8f;
  --fg-4: #5f5f5f;
  --focus: rgb(255 255 255 / 0.16);
  --shadow-xs: 0 1px 2px rgb(0 0 0 / 0.4);
  --shadow-pop: 0 4px 12px -2px rgb(0 0 0 / 0.5), 0 2px 4px rgb(0 0 0 / 0.3);
  --tone-blue-solid: #6b9bff;
  --tone-indigo-solid: #91a7ff;
  --tone-violet-solid: #9d85ff;
  --tone-pink-solid: #f472b6;
  --tone-orange-solid: #ff8a4c;
  --tone-amber-solid: #f5b53d;
  --tone-lime-solid: #a9e34b;
  --tone-green-solid: #3dd68c;
  --tone-teal-solid: #2dd4bf;
  --tone-cyan-solid: #66d9e8;
  --tone-gray-solid: #a3a3a3;
}

*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--line); }
* { margin: 0; padding: 0; }
html {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--fg);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  -webkit-text-size-adjust: 100%;
}
body {
  font-size: 13px;
  line-height: 20px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input { font: inherit; color: inherit; background: none; }
button { cursor: pointer; }
::selection { background: color-mix(in srgb, var(--fg) 14%, transparent); }
:focus-visible { outline: none; box-shadow: 0 0 0 1px var(--surface), 0 0 0 3px var(--focus); }
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.label-caps {
  font-size: 10px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-4);
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.rise { animation: rise-in 420ms var(--ease-out-expo) both; }
.d1 { animation-delay: 32ms; }
.d2 { animation-delay: 64ms; }
.d3 { animation-delay: 96ms; }
.d4 { animation-delay: 128ms; }
.d5 { animation-delay: 160ms; }
.d6 { animation-delay: 192ms; }
.d7 { animation-delay: 224ms; }
.d8 { animation-delay: 256ms; }

/* Identity hues (toneFor in web/src/lib/tones.ts). */
.t-blue { --tone: var(--tone-blue-solid); }
.t-indigo { --tone: var(--tone-indigo-solid); }
.t-violet { --tone: var(--tone-violet-solid); }
.t-pink { --tone: var(--tone-pink-solid); }
.t-orange { --tone: var(--tone-orange-solid); }
.t-amber { --tone: var(--tone-amber-solid); }
.t-lime { --tone: var(--tone-lime-solid); }
.t-green { --tone: var(--tone-green-solid); }
.t-teal { --tone: var(--tone-teal-solid); }
.t-cyan { --tone: var(--tone-cyan-solid); }
.t-gray { --tone: var(--tone-gray-solid); }

/* Layout */
.wrap { width: 100%; margin-inline: auto; padding-inline: 20px; }
.wrap-wide { max-width: 960px; }
.wrap-narrow { max-width: 760px; }
.wrap-read { max-width: 720px; }
main { flex: 1; display: flex; flex-direction: column; }
.fill { display: flex; flex: 1; flex-direction: column; }

/* Header */
.hc-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.is-home .hc-header { border-bottom-color: transparent; background: color-mix(in srgb, var(--sunken) 90%, transparent); }
.hc-bar { display: flex; align-items: center; gap: 16px; height: 56px; }
.hc-brand { display: flex; min-width: 0; align-items: center; gap: 10px; border-radius: 5px; }
.hc-brand bdi { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; letter-spacing: -0.015em; }
.glyph {
  display: flex;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}
span.glyph { background: var(--tone); }
img.glyph { object-fit: contain; }
.hc-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.hc-actions .search { display: none; width: 240px; }
@media (min-width: 640px) { .hc-actions .search { display: block; } }
.icon-btn {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: var(--fg-3);
  transition: background-color 150ms, color 150ms, transform 150ms;
}
.icon-btn:hover { background: var(--hover); color: var(--fg); }
.icon-btn:active { transform: scale(0.96); }
.icon-btn svg { width: 16px; height: 16px; }
.theme-toggle .sun { display: none; }
.dark .theme-toggle .sun { display: block; }
.dark .theme-toggle .moon { display: none; }

/* Search */
.search { position: relative; width: 100%; }
.search svg {
  pointer-events: none;
  position: absolute;
  top: 50%;
  inset-inline-start: 10px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  color: var(--fg-4);
  transition: color 150ms;
}
.search:focus-within svg { color: var(--fg-2); }
.search input {
  width: 100%;
  height: 32px;
  padding-inline: 32px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  font-size: 13px;
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
  -webkit-appearance: none;
  appearance: none;
}
.search input::placeholder { color: var(--fg-4); }
.search input:hover { border-color: var(--line-strong); }
.search input:focus { border-color: var(--fg-4); box-shadow: 0 0 0 3px var(--focus); }
.search input::-webkit-search-cancel-button { display: none; }
.search-lg svg { inset-inline-start: 16px; width: 18px; height: 18px; }
.search-lg input { height: 48px; padding-inline: 44px 16px; border-radius: 7px; font-size: 15px; box-shadow: var(--shadow-xs); }
.search-lg input:focus { box-shadow: 0 0 0 3px var(--focus), var(--shadow-xs); }

/* Home */
.hero { border-bottom: 1px solid var(--line-soft); background: var(--sunken); }
.hero-in { max-width: 680px; margin-inline: auto; padding: 56px 20px 64px; text-align: center; }
@media (min-width: 640px) { .hero-in { padding-top: 80px; } }
.hero h1 { font-size: 30px; line-height: 1.25; font-weight: 600; letter-spacing: -0.035em; }
@media (min-width: 640px) { .hero h1 { font-size: 36px; } }
.hero p { margin-top: 8px; font-size: 14px; color: var(--fg-3); }
.hero .search { max-width: 560px; margin: 32px auto 0; }
.home-body { flex: 1; padding-block: 48px; }
@media (min-width: 640px) { .home-body { padding-block: 56px; } }
.section-title { margin-bottom: 16px; }
.section-title.tight { margin-bottom: 8px; }
.section + .section { margin-top: 56px; }

.grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  padding: 16px;
  transition: border-color 150ms, box-shadow 150ms, transform 150ms;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-xs); }
.card:active { transform: scale(0.995); }
.chip {
  display: flex;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: color-mix(in oklab, var(--tone) 82%, var(--fg));
  background: color-mix(in oklab, var(--tone) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--tone) 18%, transparent);
}
.chip svg { width: 16px; height: 16px; }
.chip-lg { width: 36px; height: 36px; }
.chip-lg svg { width: 18px; height: 18px; }
.card-title { font-size: 14px; font-weight: 600; letter-spacing: -0.015em; }
.card-desc {
  margin-top: 4px;
  font-size: 13px;
  line-height: 20px;
  color: var(--fg-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
  color: var(--fg-4);
  transition: color 150ms;
}
.card:hover .card-meta { color: var(--fg-2); }
.arrow { width: 12px; height: 12px; opacity: 0; transform: translateX(-2px); transition: opacity 150ms, transform 150ms; }
.card:hover .arrow, .row:hover .arrow { opacity: 1; transform: none; }
[dir="rtl"] .arrow { transform: scaleX(-1) translateX(-2px); }
[dir="rtl"] .card:hover .arrow, [dir="rtl"] .row:hover .arrow { transform: scaleX(-1); }

/* Article rows: hairlines without boxing them in. */
.rows { list-style: none; }
.rows li { border-bottom: 1px solid var(--line-soft); }
.rows li:last-child { border-bottom: 0; }
.row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-inline: -12px;
  padding: 14px 12px;
  border-radius: 5px;
  transition: background-color 150ms;
}
.rows.compact .row { padding-block: 10px; }
.row:hover { background: var(--sunken); }
.row-icon { margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; color: var(--fg-4); transition: color 150ms; }
.row:hover .row-icon { color: var(--fg-2); }
.row-main { min-width: 0; flex: 1; }
.row-title { display: block; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.row-excerpt {
  display: -webkit-box;
  margin-top: 2px;
  font-size: 13px;
  line-height: 20px;
  color: var(--fg-3);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.row-date { display: none; flex-shrink: 0; margin-top: 2px; font-size: 12px; color: var(--fg-4); font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .row-date { display: block; } }
.row .arrow { margin-top: 3px; width: 14px; height: 14px; flex-shrink: 0; color: var(--fg-3); transform: translateX(-4px); }

/* Pages */
.page { padding-top: 40px; padding-bottom: 80px; }
.page-article { padding-bottom: 96px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 24px; font-size: 12.5px; color: var(--fg-3); }
.crumbs a { border-radius: 4px; transition: color 150ms; }
.crumbs a:hover { color: var(--fg); }
.crumbs span { display: flex; min-width: 0; align-items: center; gap: 4px; }
.crumbs svg { width: 12px; height: 12px; flex-shrink: 0; color: var(--fg-4); }
[dir="rtl"] .crumbs svg { transform: scaleX(-1); }
.crumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg-2); }
.page h1 { font-size: 28px; line-height: 1.25; font-weight: 600; letter-spacing: -0.03em; }
.page-article h1 { font-size: 30px; line-height: 1.15; }
@media (min-width: 640px) { .page-article h1 { font-size: 34px; } }
.lede { margin-top: 8px; font-size: 14.5px; line-height: 24px; color: var(--fg-3); }
.count { margin-top: 12px; font-size: 12px; color: var(--fg-4); font-variant-numeric: tabular-nums; }
.list-top { margin-top: 24px; padding-top: 8px; border-top: 1px solid var(--line); }
.meta { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12.5px; color: var(--fg-3); }
.meta .who { font-weight: 500; color: var(--fg-2); }
.meta .dot { color: var(--fg-4); }
.avatar { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.avatar.glyph { font-size: 9px; }
.more { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.results { margin-top: 32px; }
.results .count { margin: 0 0 8px; }

/* Article bodies: the stored, sanitized HTML. A calm measure, room around headings,
   logical (RTL-aware) list and quote indents. */
.prose { margin-top: 40px; max-width: 68ch; font-size: 15.5px; line-height: 1.7; color: var(--fg-2); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1em; }
.prose p:empty { min-height: 1em; }
.prose :is(h1, h2, h3, strong) { color: var(--fg); }
.prose strong { font-weight: 600; }
.prose h1 { font-size: 1.45em; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin-top: 2em; }
.prose h2 { font-size: 1.25em; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; margin-top: 1.9em; }
.prose h3 { font-size: 1.05em; font-weight: 600; margin-top: 1.6em; }
.prose :is(h1, h2, h3) + * { margin-top: 0.6em; }
.prose :is(h1, h2, h3) { scroll-margin-top: 72px; }
.prose a { color: var(--fg); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line-strong); }
.prose a:hover { text-decoration-color: var(--fg); }
.prose ul { list-style: disc; padding-inline-start: 1.4em; }
.prose ol { list-style: decimal; padding-inline-start: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--fg-4); }
.prose blockquote { border-inline-start: 2px solid var(--line-strong); padding-inline-start: 1em; color: var(--fg-2); }
.prose code { font-family: var(--font-mono); font-size: 0.9em; background: var(--hover); padding: 0.1em 0.35em; border-radius: 4px; }
.prose pre { font-family: var(--font-mono); font-size: 13px; line-height: 1.6; background: var(--sunken); border: 1px solid var(--line); padding: 14px 16px; border-radius: 7px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; font-size: inherit; }
.prose img { max-width: 100%; height: auto; border-radius: 7px; border: 1px solid var(--line); margin-block: 1.5em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9em; }
.prose :is(th, td) { border-bottom: 1px solid var(--line-soft); padding: 8px 10px; text-align: start; }
.prose th { color: var(--fg); font-weight: 600; border-bottom-color: var(--line); }
.prose .mention { font-weight: 500; background: var(--hover); border-radius: 4px; padding: 0 3px; }

/* Empty states: the module mark with one lit tile, a title and a line. */
.empty { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 64px 24px; text-align: center; }
.empty.compact { padding-block: 32px; }
.art { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 72px; height: 72px; }
.compact .art { width: 40px; height: 40px; gap: 4px; }
.art span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
  animation: rise-in 420ms var(--ease-out-expo) both;
}
.art span:nth-child(2) { border-radius: 999px; animation-delay: 60ms; }
.art span:nth-child(3) { animation-delay: 120ms; }
.art span:nth-child(4) { animation-delay: 180ms; }
.art i { display: block; height: 3px; border-radius: 99px; background: var(--line-strong); }
.art i + i { background: var(--line); }
.art i.w50 { width: 50%; }
.art i.w34 { width: 34%; }
.art span:nth-child(2) i { width: 30%; height: auto; aspect-ratio: 1; }
.art span.lit {
  border: 0;
  color: var(--tone);
  background: color-mix(in oklab, var(--tone) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--tone) 34%, transparent), 0 1px 2px rgb(0 0 0 / 0.06);
}
.art span.lit svg { width: 46%; height: 46%; }
.empty h2 { margin-top: 20px; font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.empty p { margin-top: 6px; max-width: 420px; font-size: 12.5px; line-height: 20px; color: var(--fg-3); }
.compact h2 { margin-top: 10px; font-size: 13px; font-weight: 500; letter-spacing: 0; }
.compact p { margin-top: 2px; font-size: 12px; line-height: 18px; }
.empty .action {
  margin-top: 20px;
  display: inline-flex;
  height: 32px;
  align-items: center;
  padding-inline: 12px;
  border-radius: 5px;
  background: var(--fg);
  color: var(--surface);
  font-size: 13px;
  font-weight: 500;
}

/* Footer */
.hc-footer { border-top: 1px solid var(--line-soft); }
.hc-footer .bar { display: flex; height: 56px; align-items: center; gap: 12px; font-size: 12px; color: var(--fg-4); }
.hc-footer .copy { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.powered { display: flex; align-items: center; gap: 6px; border-radius: 5px; transition: color 150ms; white-space: nowrap; }
.powered:hover { color: var(--fg-2); }
.powered svg { height: 11px; width: auto; }

/* Language picker: a quiet footer popover. */
.lang { position: relative; margin-inline-start: auto; }
.lang summary {
  display: flex;
  height: 28px;
  align-items: center;
  gap: 6px;
  padding-inline: 8px;
  border-radius: 5px;
  list-style: none;
  cursor: pointer;
  color: var(--fg-4);
  transition: background-color 150ms, color 150ms;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--hover); color: var(--fg-2); }
.lang summary svg { width: 14px; height: 14px; }
.lang ul {
  position: absolute;
  bottom: calc(100% + 6px);
  inset-inline-end: 0;
  z-index: 20;
  width: 188px;
  max-height: 320px;
  overflow-y: auto;
  padding: 4px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  animation: rise-in 160ms var(--ease-out-expo) both;
}
.lang a {
  display: flex;
  height: 32px;
  align-items: center;
  gap: 8px;
  padding-inline: 10px;
  border-radius: 5px;
  font-size: 13px;
  color: var(--fg-2);
}
.lang a:hover, .lang a:focus-visible { background: var(--hover); color: var(--fg); box-shadow: none; }
.lang a span { flex: 1; }
.lang a svg { width: 14px; height: 14px; color: var(--fg); }

/* Scripts Geist does not cover. */
:root:lang(ja) body { font-family: "Geist Variable", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", "Noto Sans JP", system-ui, sans-serif; }
:root:lang(zh-CN) body { font-family: "Geist Variable", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }
:root:lang(ko) body { font-family: "Geist Variable", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif; }
:root:lang(ar) body { font-family: "Geist Variable", "SF Arabic", "Geeza Pro", "Segoe UI", "Noto Sans Arabic", Tahoma, system-ui, sans-serif; }
/* Negative tracking breaks Arabic joining and crowds CJK; they read better a touch looser. */
:root:is(:lang(ar), :lang(ja), :lang(zh-CN), :lang(ko)) body * { letter-spacing: 0 !important; }
:root:is(:lang(ar), :lang(ja), :lang(zh-CN), :lang(ko)) body { line-height: 1.6; }
:root:lang(ar) h1 { line-height: 1.35; }
:root:is(:lang(ar), :lang(ja), :lang(zh-CN), :lang(ko)) .label-caps { font-size: 12px; text-transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
@media print {
  .hc-header, .hc-footer, .more { display: none; }
  .prose { max-width: none; }
}
