/* Powerfront Share / INSIDE Labs / Reports Studio house tokens. */
:root {
  --font-sans: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --color-ink: #17262d; --color-teal: #0a4657; --color-cyan: #1bb9da; --color-cyan-bright: #38d4dc;
  --canvas: #f3f6f9; --surface: #ffffff; --surface-2: #f5f8fa; --surface-3: #ecf1f5;
  --line: #e3eaef; --line-strong: #cfd9e0;
  --fg: #17262d; --fg-2: #33464f; --muted: #687b84;
  --accent: #1bb9da; --accent-soft: #e2f6fa; --accent-fg: #0a4657;
  --primary: #17262d; --primary-fg: #ffffff;
  --danger: #d93a50; --danger-soft: #fdecef; --selected: #dff3f8;
  --radius-xl: 14px; --radius-2xl: 18px; --radius-3xl: 24px;
  --shadow-card: 0 1px 2px rgb(23 38 45 / 0.04), 0 4px 16px rgb(23 38 45 / 0.05);
  --shadow-pop: 0 2px 6px rgb(23 38 45 / 0.06), 0 18px 48px rgb(23 38 45 / 0.16);
  --animate-pop-in: pop-in 0.18s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  color-scheme: light;
}
.dark {
  --canvas: #0a1115; --surface: #10191f; --surface-2: #141f26; --surface-3: #1a2730;
  --line: #1e2c35; --line-strong: #2a3b45;
  --fg: #e5eef2; --fg-2: #c3d1d8; --muted: #8b9ea8;
  --accent: #38d4dc; --accent-soft: #0f2d35; --accent-fg: #8be6ee;
  --primary: #e5eef2; --primary-fg: #0a1115;
  --danger: #ff6b7f; --danger-soft: #3a1820; --selected: #12303a;
  color-scheme: dark;
}
* { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
::selection { background: color-mix(in oklab, var(--accent) 28%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html { scroll-padding-top: 100px; }
body { margin: 0; background: var(--canvas); color: var(--fg); font-family: var(--font-sans); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-optical-sizing: auto; }
a { color: var(--accent-fg); text-underline-offset: 3px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button, select { color: var(--fg); }
button:disabled { cursor: default; }
button svg, a svg { flex-shrink: 0; }
input, select { min-width: 0; }
input::placeholder { color: var(--fg-2); opacity: .85; }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
input:focus-visible, select:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 15%, transparent); }
img, svg { vertical-align: middle; }
button, a, summary, input, select { -webkit-tap-highlight-color: transparent; }
button, input, a, select { touch-action: manipulation; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 150; padding: 12px 20px; border-radius: 14px; background: var(--primary); color: var(--primary-fg); }
.skip-link:focus { top: 12px; }
.small { font-size: 13px; color: var(--fg-2); }
.eyebrow { display: block; font-size: 11px; line-height: 1.5; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; color: var(--fg-2); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--fg); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .15s, border-color .15s; }
.button:hover { background: var(--surface-2); border-color: var(--line-strong); }
.button svg { width: 17px; height: 17px; }
.button.primary { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; color: var(--fg-2); background: transparent; }
.icon-button:hover { background: var(--surface-3); }
.card { border: 1px solid var(--line); border-radius: var(--radius-2xl); background: var(--surface); box-shadow: var(--shadow-card); }
.pf-pop { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-pop); padding: 6px; min-width: 220px; animation: var(--animate-pop-in); z-index: 60; }
.pf-menu-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 14px; color: var(--fg-2); cursor: pointer; user-select: none; }
.pf-menu-item[data-highlighted] { background: var(--surface-3); color: var(--fg); }
.pf-menu-item svg { width: 17px; height: 17px; flex: none; opacity: .85; }
@keyframes pop-in { from { opacity: 0; transform: translateY(4px) scale(.98); } to { opacity: 1; transform: none; } }
.hero-gradient { background: radial-gradient(1100px 600px at 100% -10%, rgb(27 185 218 / 0.28), transparent 60%), radial-gradient(800px 600px at -10% 110%, rgb(10 70 87 / 0.9), transparent 70%), linear-gradient(150deg, #0b141a 0%, #0d2530 55%, #0a4657 100%); }

/* Shared app shell. */
.site-header { position: sticky; top: 0; z-index: 70; display: flex; align-items: center; gap: 32px; height: 76px; padding: 0 28px; background: var(--surface); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; min-width: 208px; color: var(--fg); text-decoration: none; line-height: 1; }
.logo img { flex: none; }
.logo-eyebrow { display: block; margin: 0 0 4px; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.logo-name { display: block; font-size: 22px; font-weight: 300; letter-spacing: -.025em; }
.header-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; white-space: nowrap; }
.header-nav > a { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--fg-2); }
.header-nav > a:hover { color: var(--accent-fg); }
.release-switch { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); height: 36px; padding: 0 8px; font-size: 13px; }
.theme-switch { display: flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.theme-switch button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; color: var(--fg-2); background: transparent; }
.theme-switch button[aria-checked="true"] { background: var(--surface); color: var(--accent-fg); box-shadow: var(--shadow-card); }
.theme-switch svg { width: 15px; height: 15px; }
.site-layout { display: grid; grid-template-columns: 248px minmax(0,1fr); max-width: 1840px; margin: 0 auto; align-items: start; }
.sidebar { position: sticky; top: 76px; height: calc(100dvh - 76px); overflow-y: auto; padding: 24px 12px 32px 20px; border-right: 1px solid var(--line); background: var(--canvas); }
.sidebar-heading { display: flex; align-items: center; gap: 4px; margin: 0 8px 20px; }
.sidebar-heading > a { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; text-decoration: none; color: var(--fg); }
.sidebar-heading svg { color: var(--accent-fg); width: 18px; height: 18px; }
.nav-area { margin: 4px 0; font-size: 13px; }
.nav-area > summary { display: flex; align-items: center; gap: 6px; padding: 10px 8px; border-radius: 10px; cursor: pointer; color: var(--fg-2); list-style: none; line-height: 1.4; font-weight: 700; }
.nav-area > summary::-webkit-details-marker { display: none; }
.nav-area > summary::before { content: ''; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); flex-shrink: 0; margin-right: 4px; }
.nav-area[open] > summary::before { transform: rotate(135deg); }
.nav-area > summary:hover { background: var(--surface-3); }
.nav-area > summary > span { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 11px; font-weight: 500; }
.nav-area ul { padding: 4px 0 8px 12px; margin: 0; list-style: none; }
.nav-area li a { display: block; padding: 8px 12px; margin: 2px 0; color: var(--fg-2); text-decoration: none; border-radius: 9px; border-left: 2px solid transparent; line-height: 1.45; }
.nav-area li a:hover { background: var(--surface-3); color: var(--fg); }
.nav-area li a[aria-current="page"] { color: var(--accent-fg); background: var(--selected); font-weight: 800; border-left-color: var(--accent); }
.nav-area .area-overview { font-size: 12px; color: var(--accent-fg); }
.reference-nav { display: grid; gap: 4px; padding: 20px 8px 0; margin-top: 20px; border-top: 1px solid var(--line); }
.reference-nav .eyebrow { margin-bottom: 8px; }
.reference-nav a { padding: 6px 0; color: var(--fg-2); text-decoration: none; font-size: 13px; }
.reference-nav a:hover { color: var(--accent-fg); text-decoration: underline; }
.mobile-bar, .drawer-close { display: none; }
.page-column { min-width: 0; }
main { min-width: 0; min-height: calc(100dvh - 190px); }
main:focus { outline: none; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 40px; padding: 24px 0 32px; border-top: 1px solid var(--line); font-size: 11px; color: var(--fg-2); }
.site-footer code { font-family: inherit; font-variant-numeric: tabular-nums; }
.footer-dot { padding: 0 4px; }

/* Search has the same surface and menu treatment as the product family. */
.search-widget { position: relative; min-width: 0; width: min(100%, 420px); }
.search-field { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--fg-2); }
.search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 15%, transparent); }
.search-field svg { width: 18px; height: 18px; flex: none; }
.search-field input { width: 100%; height: 100%; padding: 0; outline: none; border: 0; border-radius: 0; background: transparent; color: var(--fg); font-size: 14px; box-shadow: none; }
.search-field input:focus-visible { outline: 0; box-shadow: none; }
kbd { display: grid; place-items: center; width: 20px; height: 22px; border: 1px solid var(--line-strong); border-radius: 5px; font-size: 12px; font-family: inherit; flex: none; color: var(--fg-2); }
.search-pop { position: absolute; top: calc(100% + 8px); left: 0; width: max(100%, 420px); max-width: calc(100vw - 32px); max-height: min(600px, 65dvh); overflow-y: auto; }
.search-option { display: block; padding: 12px; border-radius: 9px; text-decoration: none; color: var(--fg); line-height: 1.4; }
.search-option:hover, .search-option[aria-selected="true"] { background: var(--selected); }
.search-option strong { display: block; font-weight: 800; font-size: 14px; }
.search-option .result-area { display: block; color: var(--accent-fg); font-size: 11px; margin: 4px 0; }
.search-option .result-snippet { display: block; color: var(--fg-2); font-size: 13px; }
.search-status { padding: 8px 12px; margin: 0; color: var(--fg-2); }
mark { background: var(--selected); color: var(--accent-fg); border-radius: 3px; padding: 0 2px; font-weight: 800; }
.search-option[aria-selected="true"] mark { background: var(--accent-soft); }

/* Release home and browse pages. */
.home-content { padding: 36px 40px 48px; max-width: 1400px; margin: auto; }
.hero { position: relative; border-radius: var(--radius-3xl); padding: 36px 40px 28px; color: #fff; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8be6ee; }
.release-pill { border: 1px solid rgb(139 230 238 / .3); background: rgb(139 230 238 / .07); border-radius: 999px; padding: 4px 12px; font-size: 12px; color: #e5eef2; }
.hero h1 { font-size: clamp(40px, 4.5vw, 60px); line-height: 1.12; font-weight: 300; letter-spacing: -.04em; margin: 28px 0 16px; }
.hero > p { font-size: 18px; line-height: 1.6; font-weight: 400; margin: 0 0 28px; color: #c3d1d8; max-width: 62ch; text-wrap: balance; }
.hero .search-widget { width: 100%; max-width: 680px; }
.hero .search-field { height: 56px; border-radius: var(--radius-xl); background: var(--surface); color: var(--fg-2); border: 1px solid var(--line); padding: 0 20px; }
.hero .search-field input { font-size: 16px; }
.hero .search-field svg { width: 22px; height: 22px; }
.hero .search-pop { color: var(--fg); width: 100%; }
.hero-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 11px; color: #c3d1d8; font-variant-numeric: tabular-nums; }
.hero-bottom span { display: inline-flex; align-items: center; gap: 8px; }
.hero-bottom span::before { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; background: #38d4dc; }
.browse-section { margin-top: 40px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-heading h2 { font-size: 28px; line-height: 1.3; font-weight: 300; letter-spacing: -.02em; margin: 4px 0 0; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 16px; height: 16px; }
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.area-card { display: flex; flex-direction: column; padding: 24px; text-decoration: none; color: var(--fg); transition: border-color .15s, transform .15s, box-shadow .15s; }
.area-card:hover, .article-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-pop); transform: translateY(-2px); }
.area-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-fg); margin-bottom: 16px; }
.area-icon svg { width: 20px; height: 20px; }
.area-card h3 { font-weight: 700; font-size: 17px; line-height: 1.4; letter-spacing: -.015em; margin: 0 0 8px; }
.area-card p { color: var(--fg-2); font-size: 13px; line-height: 1.65; margin: 0 0 24px; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; font-size: 12px; color: var(--accent-fg); }
.card-bottom svg { width: 16px; height: 16px; }
.mcp-card { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 20px; padding: 28px; margin-top: 32px; }
.mcp-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; color: var(--accent-fg); background: var(--surface-2); }
.mcp-card h2 { margin: 8px 0 20px; font-size: 24px; line-height: 1.4; font-weight: 300; letter-spacing: -.02em; }
.copy-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; max-width: 640px; }
.copy-field code { font-family: inherit; font-size: 14px; overflow-wrap: anywhere; }
.copy-status { min-height: 20px; margin: 8px 0 0; }
.area-content, .reference-content { padding: 36px 40px 56px; max-width: 1400px; margin: auto; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 12px; color: var(--fg-2); margin-bottom: 32px; }
.breadcrumb a { color: var(--fg-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-fg); text-decoration: underline; }
.breadcrumb svg { width: 12px; height: 12px; color: var(--fg-2); }
.page-heading { margin-bottom: 32px; }
h1 { font-size: clamp(32px, 3.2vw, 44px); font-weight: 300; line-height: 1.16; letter-spacing: -.035em; overflow-wrap: anywhere; }
.page-heading h1 { margin: 12px 0 16px; }
.lead { font-size: 18px; color: var(--fg-2); line-height: 1.7; max-width: 65ch; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.article-card { display: flex; flex-direction: column; padding: 28px; color: var(--fg); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.card-id { display: flex; align-items: center; justify-content: space-between; color: var(--accent-fg); font-weight: 700; font-size: 11px; letter-spacing: .04em; }
.card-id svg { width: 16px; height: 16px; }
.article-card h2 { font-size: 22px; font-weight: 300; line-height: 1.35; margin: 16px 0 12px; }
.article-card p { color: var(--fg-2); font-size: 14px; margin: 0 0 24px; }
.article-card .chips { margin-top: auto; }

/* Article reading column and contextual rail. */
.article { padding: 36px 48px 64px; max-width: 920px; margin: auto; min-width: 0; }
.article-heading { padding-bottom: 24px; }
.article-heading h1 { margin: 12px 0 20px; }
.article-heading .lead { margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pill { display: inline-block; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg-2); background: var(--surface-2); font-size: 11px; line-height: 1.6; font-weight: 600; overflow-wrap: anywhere; }
.pill-powerfront { border-color: transparent; background: var(--accent-soft); color: var(--accent-fg); }
.draft-note { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--fg-2); margin: 20px 0 0; }
.draft-badge { background: var(--surface-3); font-weight: 800; color: var(--fg); }
.where { padding: 20px 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.location-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.location-chips span { display: block; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 6px 10px; font-size: 12px; color: var(--fg-2); overflow-wrap: anywhere; }
.prose { font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 26px; font-weight: 400; letter-spacing: -.025em; line-height: 1.35; margin: 48px 0 16px; scroll-margin-top: 100px; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 28px 0 12px; line-height: 1.5; }
.prose h4 { font-size: 16px; margin: 24px 0 12px; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 20px; }
.prose > p, .prose > ul, .prose > ol, .prose > blockquote, .faq-item > p { max-width: 72ch; }
.prose li { margin: 6px 0; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li > ul, .prose li > ol { margin-bottom: 0; }
.prose strong { font-weight: 800; }
.prose code { border: 1px solid var(--line); border-radius: 5px; background: var(--surface-3); padding: 1px 5px; font-size: .85em; }
.prose pre { padding: 20px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; overflow: auto; white-space: pre-wrap; }
.prose pre code { border: 0; background: transparent; padding: 0; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 4px 20px; color: var(--fg-2); }
.prose blockquote p:last-child { margin-bottom: 0; }
.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin: 20px 0 28px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; text-align: left; line-height: 1.6; }
th, td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 100px; }
th { background: var(--surface-2); color: var(--fg-2); font-weight: 800; font-size: 11px; }
td { color: var(--fg-2); }
td:first-child { color: var(--fg); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--surface-2); }
td .pill { white-space: normal; }
.prose table { min-width: 640px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 20px; margin: 12px 0; }
.faq-item summary { font-size: 15px; font-weight: 700; cursor: pointer; padding: 16px 0; line-height: 1.6; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.faq-item > :last-child:not(summary) { margin-bottom: 20px; }
.right-rail { display: none; }
.toc { display: grid; gap: 4px; }
.toc .eyebrow { margin-bottom: 12px; }
.toc > a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); color: var(--fg-2); text-decoration: none; font-size: 12px; line-height: 1.5; }
.toc > a:hover { color: var(--accent-fg); }
.toc > a[aria-current="location"] { border-color: var(--accent); color: var(--accent-fg); font-weight: 800; }
.meta-card { padding: 20px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-top: 28px; }
.meta-card dl { margin: 16px 0 0; font-size: 12px; }
.meta-card dt { color: var(--fg-2); margin-top: 12px; }
.meta-card dd { margin: 2px 0 0; font-weight: 700; }

/* Connections use only semantic house tokens. Patterns distinguish types too. */
.dependency-card { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.graph-scroll { max-width: 100%; overflow-x: auto; }
.dependency-graph { display: block; width: 100%; min-width: 700px; height: auto; font-family: var(--font-sans); }
.graph-label { font-size: 12px; font-weight: 800; fill: var(--fg-2); }
.graph-node { fill: var(--surface-2); stroke: var(--line-strong); }
.graph-current { fill: var(--accent-soft); stroke: var(--accent); }
.dependency-graph a:hover .graph-node { stroke: var(--accent); fill: var(--selected); }
.dependency-graph a:focus-visible { outline: none; }
.dependency-graph a:focus-visible .graph-node { stroke: var(--accent-fg); stroke-width: 3px; }
.graph-title { font-size: 12px; font-weight: 700; fill: var(--fg); }
.graph-id { font-size: 9px; fill: var(--fg-2); }
.edge { fill: none; stroke: var(--edge-color); stroke-width: 1.5; }
.edge-requires { --edge-color: var(--accent-fg); }
.edge-configured_by { --edge-color: color-mix(in oklab, var(--accent) 65%, var(--fg-2)); stroke-dasharray: 5 3; }
.edge-enhances { --edge-color: var(--fg-2); stroke-dasharray: 2 3; }
.edge-related { --edge-color: var(--muted); stroke-dasharray: 7 3 2 3; }
.edge-licence { --edge-color: var(--primary); stroke-width: 2.5; }
.edge-conflicts { --edge-color: var(--danger); stroke-dasharray: 5 4; }
.edge-replaces { --edge-color: var(--fg); stroke-dasharray: 9 3; }
.graph-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 20px 0 12px; font-size: 11px; color: var(--fg-2); }
.graph-legend span { display: inline-flex; align-items: center; gap: 6px; }
.graph-legend i { display: inline-block; width: 16px; height: 3px; background: var(--edge-color); border-radius: 2px; }
.more-connections, .connection-list { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; font-size: 13px; }
.more-connections summary, .connection-list summary { cursor: pointer; color: var(--accent-fg); font-weight: 700; }
.relation { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; color: var(--fg-2); }
.more-connections p, .connection-list p { margin: 4px 0 12px; color: var(--fg-2); }

/* Reference pages. */
.input { height: 44px; width: 100%; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--fg); font-size: 14px; }
.filter-panel { padding: 24px; margin-bottom: 24px; }
.filter-panel label[for] { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; color: var(--fg-2); }
.filter-panel > div { max-width: 640px; }
.segmented { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin: 16px 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); width: fit-content; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.segmented span { display: block; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--fg-2); }
.segmented input:checked + span { background: var(--surface); box-shadow: var(--shadow-card); color: var(--accent-fg); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.filter-panel p { margin: 0; }
.reference-table { margin-top: 0; }
.reference-table table { min-width: 1000px; }
.reference-table th { position: sticky; top: 0; }
.reference-table th:first-child { width: 20%; }
.reference-table td { max-width: 260px; overflow-wrap: anywhere; }
.empty-state { text-align: center; padding: 40px 16px; color: var(--fg-2); }
.permission-group { padding: 28px; margin: 20px 0; }
.permission-group h2 { font-size: 24px; font-weight: 300; margin: 0 0 20px; }
.reference-list { list-style: none; padding: 0; margin: 0; }
.reference-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.reference-list li > a { font-weight: 700; text-decoration: none; }
.reference-list p { margin: 6px 0 0; font-size: 14px; color: var(--fg-2); }
.glossary { max-width: 1040px; }
.alphabet { display: flex; flex-wrap: wrap; gap: 4px; padding: 12px; margin-bottom: 40px; }
.alphabet a { display: grid; place-items: center; width: 32px; min-height: 36px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 800; }
.alphabet a:hover { background: var(--accent-soft); }
.glossary-group { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 24px; border-top: 1px solid var(--line); margin: 32px 0; padding-top: 24px; }
.glossary-group h2 { margin: 0; font-size: 32px; font-weight: 300; scroll-margin-top: 100px; color: var(--accent-fg); }
.glossary-group dl { margin: 0; }
.glossary-group dl > div { padding: 0 0 24px; }
.glossary-group dt { font-weight: 800; font-size: 16px; }
.glossary-group dd { margin: 4px 0 0; color: var(--fg-2); font-size: 14px; }
.glossary-group p { margin: 0 0 8px; }
.message-page { max-width: 800px; margin: auto; padding: 100px 48px; }
.message-page h1 { font-size: 48px; margin: 16px 0 24px; }
.message-page .button { margin-top: 16px; }

@media (min-width: 1440px) {
  .layout-article { grid-template-columns: 248px minmax(0,1fr) 216px; }
  .right-rail { display: block; position: sticky; top: 108px; max-height: calc(100dvh - 132px); overflow-y: auto; padding: 0 24px 24px 0; }
}
@media (min-width: 1800px) { .article { max-width: 960px; padding-left: 72px; padding-right: 72px; } }
@media (max-width: 1199px) {
  .site-header { gap: 20px; padding: 0 20px; }
  .header-nav { gap: 16px; }
  .logo { min-width: 208px; }
  .area-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-content, .area-content, .reference-content { padding-left: 28px; padding-right: 28px; }
  .article { padding-left: 36px; padding-right: 36px; }
  .hero { padding: 28px; }
}
@media (max-width: 980px) {
  .site-header { gap: 16px; }
  .header-nav { gap: 12px; }
  .site-header > .search-widget { flex: 1; }
  .site-header .search-field input { font-size: 13px; }
  .site-header .search-field kbd { display: none; }
  .site-layout { grid-template-columns: 216px minmax(0,1fr); }
  .logo { min-width: 176px; }
  .header-nav > a { display: none; }
  .article-grid { grid-template-columns: minmax(0,1fr); }
  .area-card { padding: 20px; }
  .mcp-card { grid-template-columns: minmax(0,1fr); }
  .mcp-icon { display: none; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 64px; }
  .site-header { position: relative; display: flex; flex-wrap: wrap; height: auto; gap: 12px; padding: 16px; }
  .logo { flex: 1; min-width: 0; }
  .site-header > .search-widget { order: 2; flex: 0 0 100%; width: 100%; }
  .header-nav { order: 3; width: 100%; gap: 12px; justify-content: space-between; }
  .header-nav > a { display: block; font-size: 12px; }
  .release-switch { font-size: 12px; padding: 0 4px; height: 34px; }
  .mobile-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; z-index: 50; padding: 8px 16px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--fg-2); }
  .mobile-bar .button { min-height: 36px; padding: 4px 10px; font-size: 12px; }
  .site-layout { display: block; }
  .sidebar { display: none; }
  .sidebar.drawer-visible { display: block; position: fixed; top: 0; left: 0; bottom: 0; z-index: 100; height: 100dvh; width: min(320px,calc(100vw - 32px)); background: var(--surface); border: 0; padding: 16px; box-shadow: var(--shadow-pop); }
  .sidebar-heading { margin-bottom: 16px; }
  .sidebar-heading > a { flex: 1; }
  .drawer-close { display: inline-grid; }
  .drawer-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 90; background: rgb(23 38 45 / .4); backdrop-filter: blur(2px); }
  .dark .drawer-backdrop:not([hidden]) { background: rgb(0 0 0 / .6); }
  body.drawer-is-open { overflow: hidden; }
  .home-content, .area-content, .reference-content { padding: 24px 16px 40px; }
  .hero { border-radius: 24px; padding: 24px 20px; }
  .hero h1 { margin-top: 28px; font-size: 44px; }
  .hero > p { font-size: 16px; margin-bottom: 24px; }
  .hero .search-field { height: 52px; padding: 0 12px; gap: 8px; }
  .hero .search-field input { font-size: 14px; }
  .hero .search-field kbd { display: none; }
  .hero-bottom { gap: 8px 16px; margin-top: 20px; font-size: 10px; }
  .hero-eyebrow { font-size: 10px; }
  .release-pill { font-size: 10px; padding: 4px 8px; }
  .desktop-break { display: none; }
  .browse-section { margin-top: 32px; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 26px; }
  .section-heading > a { display: none; }
  .area-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .area-card { padding: 20px; }
  .area-card h3 { font-size: 16px; }
  .mcp-card { padding: 24px; margin-top: 24px; }
  .mcp-card h2 { font-size: 22px; }
  .copy-field { flex-wrap: wrap; padding: 12px; }
  .copy-field code { font-size: 13px; }
  .copy-field .button { min-height: 36px; }
  .site-footer { margin: 0 16px; padding: 20px 0 28px; gap: 8px; flex-direction: column; align-items: start; }
  .article { padding: 24px 16px 48px; }
  .breadcrumb { margin-bottom: 24px; font-size: 11px; }
  .article-heading h1 { font-size: 36px; margin-top: 12px; }
  .lead { font-size: 17px; }
  .prose { font-size: 15px; }
  .prose h2 { font-size: 24px; margin-top: 36px; scroll-margin-top: 72px; }
  .prose h3 { font-size: 17px; }
  .faq-item { padding: 0 16px; }
  .dependency-card { padding: 12px; }
  .article-card { padding: 24px; }
  .filter-panel { padding: 20px; }
  .segmented { gap: 4px; }
  .segmented span { padding: 6px 8px; font-size: 11px; }
  .permission-group { padding: 24px 20px; }
  .glossary-group { grid-template-columns: 28px minmax(0,1fr); gap: 16px; }
  .glossary-group h2 { font-size: 28px; scroll-margin-top: 72px; }
  .alphabet { gap: 0; padding: 8px; }
  .message-page { padding: 60px 16px; }
  .message-page h1 { font-size: 40px; }
}
@media (max-width: 480px) { .area-grid { grid-template-columns: minmax(0,1fr); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .sidebar, .right-rail, .mobile-bar, .skip-link { display: none !important; }
  .site-layout { display: block; }
  body { background: white; color: #17262d; }
  .article { max-width: none; padding: 0; }
  .table-scroll, .graph-scroll { overflow: visible; }
  .prose table { min-width: 0; }
}
