/* ============================================================
   edgentia · documentation
   Dark, three-column docs. Built on colors_and_type.css tokens.
   Gradient used only as a thin accent (active nav, links, top
   hairline) — never as a fill. Space Grotesk UI · JetBrains code.
   (Imported from the Claude Design project, verbatim + a small
   `.doc-article > h1 + p` lede rule for MDX-authored content.)
   ============================================================ */

:root {
  --doc-grad: linear-gradient(120deg, #7C3AED 0%, #6366F1 34%, #0891B2 70%, #14B8A6 100%);
  --topbar-h: 60px;
  --sidebar-w: 274px;
  --toc-w: 232px;
  --content-max: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

a { color: inherit; text-decoration: none; }
.doc-shell svg, .doc-top svg { display: block; }
::selection { background: var(--brand-soft-2); color: var(--text); }

/* ============================ TOP BAR ============================ */
.doc-top {
  position: fixed; inset: 0 0 auto 0; height: var(--topbar-h); z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.doc-top::after { /* gradient hairline */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--doc-grad); opacity: 0.9;
}
.doc-top-inner { height: 100%; display: flex; align-items: center; gap: 16px; padding: 0 20px; }
.doc-burger {
  display: none; width: 38px; height: 38px; flex: none; margin-left: -6px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line-2); border-radius: var(--radius-md);
  color: var(--text-dim); cursor: pointer;
}
.doc-burger:hover { color: var(--text); border-color: var(--line-strong); }
.doc-burger svg { width: 18px; height: 18px; }
.doc-logo { display: flex; align-items: center; }
.doc-logo img { height: 30px; width: auto; }
.doc-top-sep { width: 1px; height: 24px; background: var(--line); }
.doc-top-tag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-faint);
}
.doc-top-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.doc-top-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: var(--text-dim);
  padding: 8px 12px; border-radius: var(--radius-md);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.doc-top-link:hover { color: var(--text); background: var(--bg-2); }
.doc-top-link svg { width: 16px; height: 16px; }
.doc-top-icon {
  width: 38px; height: 38px; display: grid; place-items: center;
  color: var(--text-dim); border-radius: var(--radius-md);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.doc-top-icon:hover { color: var(--text); background: var(--bg-2); }
.doc-top-icon svg { width: 19px; height: 19px; }

/* ============================ SHELL ============================ */
.doc-shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr) var(--toc-w);
  max-width: 1380px; margin-inline: auto;
  padding-top: var(--topbar-h);
}
@media (max-width: 1180px) { .doc-shell { grid-template-columns: var(--sidebar-w) minmax(0, 1fr); --toc-w: 0px; } }
@media (max-width: 920px)  { .doc-shell { grid-template-columns: minmax(0, 1fr); --sidebar-w: 0px; } }

/* ============================ SIDEBAR ============================ */
.doc-side {
  position: sticky; top: var(--topbar-h);
  align-self: start; height: calc(100vh - var(--topbar-h));
  overflow-y: auto; overscroll-behavior: contain;
  border-right: 1px solid var(--line);
  padding: 22px 16px 48px;
}
.doc-side-search {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 9px 12px; margin-bottom: 20px;
  background: var(--input-bg); border: 1px solid var(--input-border);
  border-radius: var(--radius-md); color: var(--text-faint);
  font-family: var(--font-ui); font-size: 13px; cursor: text;
}
.doc-side-search svg { width: 15px; height: 15px; flex: none; }
.doc-side-search .kbd {
  margin-left: auto; font-family: var(--font-mono); font-size: 11px;
  color: var(--text-faint); border: 1px solid var(--line-2);
  border-radius: 4px; padding: 1px 6px;
}

.doc-nav-group { margin-bottom: 6px; }
.doc-nav-head {
  width: 100%; display: flex; align-items: center; gap: 8px;
  background: none; border: 0; cursor: pointer;
  padding: 8px 8px; border-radius: var(--radius-md);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint);
  transition: color var(--dur-fast);
}
.doc-nav-head:hover { color: var(--text-dim); }
.doc-nav-head .chev {
  width: 13px; height: 13px; margin-left: auto; color: var(--text-faint);
  transition: transform var(--dur-base) var(--ease-standard);
}
.doc-nav-group.collapsed .chev { transform: rotate(-90deg); }
.doc-nav-list {
  list-style: none; margin: 2px 0 0; padding: 0 0 0 0;
  display: grid; overflow: hidden;
  transition: grid-template-rows var(--dur-base) var(--ease-standard);
  grid-template-rows: 1fr;
}
.doc-nav-group.collapsed .doc-nav-list { grid-template-rows: 0fr; }
.doc-nav-list-inner { min-height: 0; }
.doc-nav-list a {
  position: relative; display: block;
  margin: 1px 0; padding: 7px 12px 7px 18px;
  font-size: 13.5px; color: var(--text-dim); border-radius: var(--radius-md);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.doc-nav-list a:hover { color: var(--text); background: var(--bg-2); }
.doc-nav-list a.active { color: var(--text); background: var(--brand-soft); font-weight: 500; }
.doc-nav-list a.active::before {
  content: ""; position: absolute; left: 2px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 17px; border-radius: 2px; background: var(--doc-grad);
}

/* mobile drawer scrim */
.doc-scrim {
  position: fixed; inset: 0; z-index: 40; background: var(--scrim);
  opacity: 0; visibility: hidden; transition: opacity var(--dur-base), visibility var(--dur-base);
}
body.drawer-open .doc-scrim { opacity: 1; visibility: visible; }

/* ============================ CONTENT ============================ */
.doc-main { min-width: 0; padding: 40px clamp(20px, 4vw, 56px) 96px; }
.doc-article { max-width: var(--content-max); margin-inline: auto; }

.doc-breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-faint);
  margin-bottom: 18px;
}
.doc-breadcrumb .sep { opacity: 0.6; }
.doc-breadcrumb .cur { color: var(--text-dim); }

.doc-article h1 {
  font-size: clamp(30px, 4vw, 40px); font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.1; margin: 0 0 14px; color: var(--text); scroll-margin-top: calc(var(--topbar-h) + 20px);
}
.doc-article .doc-lede,
.doc-article > h1 + p { font-size: 17px; color: var(--text-dim); line-height: 1.6; margin: 0 0 8px; max-width: 64ch; }

.doc-article h2 {
  font-size: 23px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25;
  color: var(--text); margin: 52px 0 16px; padding-top: 8px;
  scroll-margin-top: calc(var(--topbar-h) + 20px);
}
.doc-article h3 {
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text); margin: 32px 0 12px;
  scroll-margin-top: calc(var(--topbar-h) + 20px);
}
/* anchor affordance on hover */
.doc-h { position: relative; }
.doc-anchor {
  position: absolute; left: -24px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; display: grid; place-items: center;
  color: var(--text-faint); opacity: 0; transition: opacity var(--dur-fast), color var(--dur-fast);
}
.doc-h:hover .doc-anchor { opacity: 1; }
.doc-anchor:hover { color: var(--brand-strong); }
.doc-anchor svg { width: 15px; height: 15px; }
@media (max-width: 920px) { .doc-anchor { display: none; } }

.doc-article p { color: var(--text-dim); margin: 0 0 18px; }
.doc-article p, .doc-article li { font-size: 15px; line-height: 1.7; }
.doc-article strong { color: var(--text); font-weight: 600; }
.doc-article a.doc-link {
  color: var(--brand-strong); text-decoration: none;
  background-image: linear-gradient(var(--brand-strong), var(--brand-strong));
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 1.15em;
  transition: opacity var(--dur-fast);
}
.doc-article a.doc-link:hover { opacity: 0.78; }

.doc-article ul, .doc-article ol { color: var(--text-dim); margin: 0 0 18px; padding-left: 22px; }
.doc-article li { margin: 6px 0; }
.doc-article li::marker { color: var(--text-faint); }

/* inline code */
.doc-article :not(pre) > code {
  font-family: var(--font-mono); font-size: 0.86em;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1.5px 6px; color: var(--text);
  white-space: nowrap;
}

/* ---- code block ---- */
.doc-code {
  margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: #0E1117; box-shadow: var(--shadow-1);
}
.doc-code-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px 9px 14px; background: #11151D;
  border-bottom: 1px solid var(--line);
}
.doc-code-dot { width: 9px; height: 9px; border-radius: 999px; flex: none; }
.doc-code-name { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }
.doc-code-lang {
  margin-left: 4px; font-family: var(--font-mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint);
  border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 6px;
}
.doc-copy {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint);
  background: none; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 4px 9px; cursor: pointer; transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
}
.doc-copy:hover { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,0.03); }
.doc-copy svg { width: 13px; height: 13px; }
.doc-copy.copied { color: var(--tone-success-fg); border-color: var(--tone-success-bd); }
.doc-code pre {
  margin: 0; padding: 16px 18px; overflow-x: auto;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.7; color: #C9D3E0;
  background: transparent;
}
.doc-code pre code { font-family: var(--font-mono); background: none; border: 0; padding: 0; white-space: pre; }
.doc-code .ln { display: block; }
/* shiki line wrapper from rehype-pretty-code */
.doc-code pre [data-line] { display: block; }
/* syntax tones (dark) — for hand-authored token spans */
.tok-c  { color: #5B6677; font-style: italic; }   /* comment */
.tok-k  { color: #C4A6FF; }                        /* keyword */
.tok-s  { color: #6EE7B7; }                        /* string */
.tok-f  { color: #7CC4FF; }                        /* function / command */
.tok-n  { color: #F0B86E; }                        /* number / constant */
.tok-fl { color: #8AB4F8; }                        /* flag */
.tok-p  { color: #94A3B8; }                        /* punctuation */
.tok-v  { color: #E6E9F0; }                        /* plain */

/* ---- callouts ---- */
.doc-callout {
  display: flex; gap: 13px; margin: 0 0 24px;
  padding: 14px 16px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); border-left-width: 3px;
  background: var(--surface);
}
.doc-callout .co-ic { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.doc-callout .co-ic svg { width: 20px; height: 20px; }
.doc-callout .co-body { min-width: 0; }
.doc-callout .co-title { font-weight: 600; color: var(--text); font-size: 14px; margin: 0 0 3px; letter-spacing: -0.01em; }
.doc-callout .co-body p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.doc-callout .co-body p + p { margin-top: 8px; }
.doc-callout code { white-space: nowrap; }
.doc-callout.note    { border-left-color: var(--tone-brand-dot);   background: var(--tone-brand-bg); }
.doc-callout.note    .co-ic { color: var(--tone-brand-fg); }
.doc-callout.note    .co-title { color: var(--tone-brand-fg); }
.doc-callout.warning { border-left-color: var(--tone-warning-dot); background: var(--tone-warning-bg); }
.doc-callout.warning .co-ic { color: var(--tone-warning-fg); }
.doc-callout.warning .co-title { color: var(--tone-warning-fg); }
.doc-callout.tip     { border-left-color: var(--cat-5);            background: var(--tone-success-bg); }
.doc-callout.tip     .co-ic { color: var(--tone-success-fg); }
.doc-callout.tip     .co-title { color: var(--tone-success-fg); }
.doc-callout.note code, .doc-callout.warning code, .doc-callout.tip code {
  background: rgba(255,255,255,0.06); border-color: var(--line-2);
}

/* ---- blockquote (Markdown `>` notes render as a note-style callout) ---- */
.doc-article blockquote {
  margin: 0 0 24px; padding: 14px 16px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); border-left: 3px solid var(--tone-brand-dot);
  background: var(--tone-brand-bg);
}
.doc-article blockquote p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.doc-article blockquote p + p { margin-top: 8px; }
.doc-article blockquote strong { color: var(--tone-brand-fg); }
.doc-article blockquote code { background: rgba(255,255,255,0.06); border-color: var(--line-2); }

/* ---- tables ---- */
.doc-table-wrap {
  margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: auto; box-shadow: var(--shadow-1);
}
table.doc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 100%; }
table.doc-table.wide { min-width: 720px; }
.doc-table thead th {
  position: sticky; top: 0; z-index: 1;
  background: var(--surface-2); text-align: left;
  font-family: var(--font-ui); font-weight: 600; font-size: 12px;
  letter-spacing: 0.02em; color: var(--text); white-space: nowrap;
  padding: 11px 14px; border-bottom: 1px solid var(--line-2);
}
.doc-table thead th.center, .doc-table thead th[align="center"] { text-align: center; }
.doc-table tbody td {
  padding: 11px 14px; border-bottom: 1px solid var(--line);
  color: var(--text-dim); vertical-align: top;
}
.doc-table tbody tr:last-child td { border-bottom: 0; }
.doc-table tbody tr:nth-child(even) td { background: var(--bg-2); }
.doc-table tbody tr:hover td { background: var(--brand-soft); }
.doc-table td.center, .doc-table th.center,
.doc-table td[align="center"], .doc-table th[align="center"] { text-align: center; }
.doc-table code {
  font-family: var(--font-mono); font-size: 12px; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 4px; padding: 1px 6px; white-space: nowrap;
}
.doc-table tbody tr:nth-child(even) td code { background: var(--surface); }
.doc-table .ck { color: var(--tone-success-dot); font-weight: 600; }
.doc-table .dash { color: var(--text-faint); }
.doc-table .mono-cell { font-family: var(--font-mono); font-size: 12.5px; color: var(--text); }

/* ---- image frame ---- */
.doc-figure { margin: 0 0 24px; }
.doc-figure .doc-img {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-1);
}
.doc-figure .doc-img img { display: block; width: 100%; height: auto; }
.doc-figure figcaption { margin-top: 9px; font-size: 12.5px; color: var(--text-faint); font-family: var(--font-mono); }

/* MDX-authored images (![alt](/docs/...)) get the same framed treatment */
.doc-article img.doc-cimg {
  display: block; max-width: 100%; height: auto; margin: 4px 0 24px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface);
}

/* ---- prev / next footer ---- */
.doc-pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
}
@media (max-width: 560px) { .doc-pager { grid-template-columns: 1fr; } }
.doc-pager a {
  display: flex; flex-direction: column; gap: 5px;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.doc-pager a:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.doc-pager a.next { text-align: right; align-items: flex-end; }
.doc-pager .pg-dir { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); display: flex; align-items: center; gap: 6px; }
.doc-pager .pg-title { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.doc-pager a:hover .pg-title { color: var(--brand-strong); }
.doc-pager svg { width: 14px; height: 14px; }

/* ============================ TOC (right rail) ============================ */
.doc-toc {
  position: sticky; top: var(--topbar-h);
  align-self: start; height: calc(100vh - var(--topbar-h));
  overflow-y: auto; padding: 40px 20px 48px;
}
@media (max-width: 1180px) { .doc-toc { display: none; } }
.doc-toc-title {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-faint); margin: 0 0 14px; font-weight: 500;
}
.doc-toc-list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.doc-toc-list a {
  display: block; padding: 6px 0 6px 14px; margin-left: -1px;
  font-size: 13px; line-height: 1.4; color: var(--text-faint);
  border-left: 2px solid transparent;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.doc-toc-list a:hover { color: var(--text-dim); }
.doc-toc-list a.sub { padding-left: 26px; font-size: 12.5px; }
.doc-toc-list a.active { color: var(--brand-strong); border-left-color: var(--brand); font-weight: 500; }

/* ============================ MOBILE ============================ */
@media (max-width: 920px) {
  .doc-burger { display: inline-flex; }
  .doc-side {
    position: fixed; top: 0; left: 0; z-index: 50;
    width: 300px; max-width: 86vw; height: 100vh;
    background: var(--bg); border-right: 1px solid var(--line);
    padding-top: 22px;
    transform: translateX(-102%);
    transition: transform var(--dur-base) var(--ease-standard);
  }
  body.drawer-open .doc-side { transform: none; box-shadow: var(--shadow-pop); }
  .doc-side-mobilehead {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 8px 16px; margin-bottom: 4px; border-bottom: 1px solid var(--line);
  }
  .doc-side-mobilehead .ms-title { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); }
  .doc-side-close { width: 34px; height: 34px; display: grid; place-items: center; background: none; border: 1px solid var(--line-2); border-radius: var(--radius-md); color: var(--text-dim); cursor: pointer; }
  .doc-side-close svg { width: 16px; height: 16px; }
}
@media (min-width: 921px) { .doc-side-mobilehead { display: none; } }

/* ============================ SEARCH MODAL ============================ */
.doc-search-overlay {
  position: fixed; inset: 0; z-index: 100; background: var(--scrim);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 12vh 16px 16px;
}
.doc-search-panel {
  width: 100%; max-width: 560px;
  background: var(--bg); border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); overflow: hidden;
}
.doc-search-input { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.doc-search-input svg { width: 17px; height: 17px; color: var(--text-faint); flex: none; }
.doc-search-input input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font-family: var(--font-ui); font-size: 15px; }
.doc-search-input input::placeholder { color: var(--text-faint); }
.doc-search-input .kbd { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 6px; flex: none; }
.doc-search-results { max-height: 56vh; overflow-y: auto; padding: 6px; }
.doc-search-empty { color: var(--text-faint); font-size: 13px; padding: 16px; margin: 0; text-align: center; }
.doc-search-hit {
  width: 100%; display: flex; flex-direction: column; gap: 3px; text-align: left;
  padding: 10px 12px; border: 0; background: none; border-radius: var(--radius-md); cursor: pointer;
}
.doc-search-hit.active { background: var(--brand-soft); }
.doc-search-hit .hit-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.doc-search-hit .hit-section { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); flex: none; }
.doc-search-hit .hit-title { font-size: 14px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-search-hit.active .hit-title { color: var(--brand-strong); }
.doc-search-hit .hit-snippet { font-size: 12.5px; color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================ CHANGELOG ============================ */
.doc-nav-head-static { cursor: default; }
.doc-nav-head-static:hover { color: var(--text-faint); }

.changelog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.changelog-issue {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  font-size: 13.5px; font-weight: 500; color: var(--text);
  padding: 8px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-md);
  background: var(--surface); transition: border-color var(--dur-fast), background var(--dur-fast);
}
.changelog-issue:hover { border-color: var(--line-strong); background: var(--bg-2); }
.changelog-issue svg { width: 16px; height: 16px; }
.changelog-intro { color: var(--text-dim); font-size: 15px; margin: 0 0 28px; }

.changelog { display: flex; flex-direction: column; }
.changelog-entry { padding: 0 0 32px; margin: 0 0 32px; border-bottom: 1px solid var(--line); }
.changelog-entry:last-child { border-bottom: 0; }
.cl-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cl-tag {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--text);
  padding: 3px 10px; border-radius: var(--radius-pill);
  background: var(--brand-soft); border: 1px solid var(--line-2);
}
.cl-pre {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--tone-warning-fg); border: 1px solid var(--tone-warning-bd); border-radius: 4px; padding: 1px 6px;
}
.cl-date { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-faint); margin-left: auto; }
.cl-title { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; color: var(--text); margin: 0 0 12px; }
.cl-link { display: inline-block; margin-top: 10px; font-size: 13.5px; }

/* release-note prose (escaped HTML from releaseBodyToHtml) */
.changelog-body { color: var(--text-dim); }
.changelog-body p { margin: 0 0 14px; font-size: 15px; line-height: 1.7; }
.changelog-body ul { margin: 0 0 14px; padding-left: 22px; }
.changelog-body li { margin: 5px 0; font-size: 15px; line-height: 1.65; }
.changelog-body li::marker { color: var(--text-faint); }
.changelog-body h4, .changelog-body h5 { color: var(--text); font-weight: 600; margin: 18px 0 8px; }
.changelog-body h4 { font-size: 15px; }
.changelog-body h5 { font-size: 13.5px; }
.changelog-body strong { color: var(--text); font-weight: 600; }
.changelog-body code {
  font-family: var(--font-mono); font-size: 0.86em; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.5px 6px;
}
.changelog-body a { color: var(--brand-strong); }
.changelog-body a:hover { opacity: 0.8; }
