:root {
  --bg: #08111f;
  --bg-deep: #050b14;
  --panel: #101b2b;
  --panel-2: #152238;
  --panel-3: #1a2941;
  --text: #f5f7fb;
  --muted: #a7b3c6;
  --muted-strong: #c7d0df;
  --border: #263853;
  --border-strong: #3a5275;
  --accent: #819dff;
  --accent-rgb: 129, 157, 255;
  --accent-strong: #a4b6ff;
  --accent-2: #5ed7b6;
  --accent-2-rgb: 94, 215, 182;
  --danger: #ff8ca0;
  --warning: #f5c56f;
  --chip: #192842;
  --thead: #132036;
  --mark: #263f72;
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, .18);
  --shadow-lg: 0 24px 72px rgba(0, 0, 0, .34);
  --radius-sm: 10px;
  --radius-md: 15px;
  --radius-lg: 22px;
  --max: 1480px;
  color-scheme: dark;
}

.offline-runtime-note{padding:10px 18px;text-align:center;background:#2a2110;color:#ffe1a0;border-bottom:1px solid #725b26;font-size:13px}.live-revision-banner{display:flex;gap:12px;align-items:center;padding:14px 18px;margin:12px 0;border:1px solid color-mix(in srgb,var(--accent) 42%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--accent) 10%,var(--surface));color:var(--text)}.live-revision-banner span{color:var(--muted)}@media(max-width:700px){.live-revision-banner{align-items:flex-start;flex-direction:column}}
:root.light {
  --bg: #f3f6fb;
  --bg-deep: #e9eef7;
  --panel: #ffffff;
  --panel-2: #f6f8fc;
  --panel-3: #edf2f9;
  --text: #142035;
  --muted: #65738a;
  --muted-strong: #40506a;
  --border: #d7dfeb;
  --border-strong: #b9c7da;
  --accent: #3f62d7;
  --accent-rgb: 63, 98, 215;
  --accent-strong: #294cbf;
  --accent-2: #087d63;
  --accent-2-rgb: 8, 125, 99;
  --danger: #bd4158;
  --warning: #8f6200;
  --chip: #edf2f8;
  --thead: #eef3f9;
  --mark: #dce7ff;
  --shadow-sm: 0 8px 24px rgba(38, 55, 82, .08);
  --shadow-lg: 0 24px 72px rgba(38, 55, 82, .16);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% -10%, rgba(var(--accent-rgb), .13), transparent 33rem),
    radial-gradient(circle at 96% 16%, rgba(var(--accent-2-rgb), .08), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(var(--accent-rgb), .3);
  color: var(--text);
}

:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), .75);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--accent);
  text-decoration-thickness: .08em;
  text-underline-offset: .17em;
}

a:hover {
  color: var(--accent-strong);
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  touch-action: manipulation;
}

input::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 82%, transparent);
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--border-strong) 78%, transparent);
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .02);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--max);
  min-height: 68px;
  margin: auto;
  padding: 10px 22px;
}

.brand {
  display: flex;
  min-width: 226px;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent), color-mix(in srgb, var(--accent) 42%, var(--accent-2)));
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), .24), inset 0 1px 0 rgba(255, 255, 255, .32);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 13px;
  letter-spacing: -.01em;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .01em;
}

.header-inner > nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
}

.nav-link.active {
  box-shadow: inset 0 0 0 1px var(--border);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  padding: 9px 11px;
}

.menu-toggle::before {
  width: 14px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  box-shadow: inset 0 4px 0 -2px currentColor;
}

.global-search {
  position: relative;
  flex: 1;
  max-width: 390px;
  min-width: 210px;
  margin-left: auto;
}

.global-search input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 11px;
  outline: none;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  padding: 9px 42px 9px 13px;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.global-search input:hover {
  border-color: var(--border-strong);
}

.global-search input:focus {
  border-color: var(--accent);
  background: var(--panel);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12);
}

kbd {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid var(--border);
  border-bottom-color: var(--border-strong);
  border-radius: 6px;
  background: var(--panel-2);
  color: var(--muted);
  font-family: inherit;
  font-size: 10px;
  line-height: 1;
  padding: 4px 6px;
  pointer-events: none;
}

.search-results {
  position: absolute;
  top: 48px;
  right: 0;
  left: 0;
  z-index: 90;
  max-height: min(480px, 65vh);
  overflow: auto;
  border: 1px solid var(--border-strong);
  border-radius: 15px;
  background: color-mix(in srgb, var(--panel) 97%, transparent);
  box-shadow: var(--shadow-lg);
  padding: 7px;
  backdrop-filter: blur(22px);
}

.search-item {
  display: block;
  border-radius: 10px;
  color: var(--text);
  padding: 10px 11px;
  text-decoration: none;
}

.search-item + .search-item {
  margin-top: 2px;
}

.search-item:hover,
.search-item.is-active {
  background: var(--panel-2);
  color: var(--text);
  text-decoration: none;
}

.search-item strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-item small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-summary {
  margin: 0 4px 5px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
  padding: 5px 7px 8px;
  text-transform: uppercase;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--panel);
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 16px;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.icon-button:hover,
.menu-toggle:hover {
  border-color: var(--border-strong);
  background: var(--panel-2);
  color: var(--text);
}

.icon-button:active,
.menu-toggle:active,
.button:active {
  transform: translateY(1px);
}

.page-shell {
  width: 100%;
  max-width: var(--max);
  margin: auto;
  padding: 30px 22px 64px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--text);
}

.surface,
.card,
.prose-block,
.info-box,
.component-card,
details,
.relationship {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 97%, transparent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .02);
}

.surface {
  border-radius: var(--radius-lg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, .65fr);
  gap: 16px;
  margin-bottom: 22px;
}

.hero-main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(27px, 4vw, 48px);
}

.hero-main::after {
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .22), transparent 68%);
  content: "";
  right: -100px;
  top: -160px;
  pointer-events: none;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero h1,
.page-title {
  max-width: 980px;
  margin: 9px 0 14px;
  font-size: clamp(34px, 4.1vw, 56px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.hero p,
.lead {
  max-width: 880px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.72;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 12px;
}

.stat {
  display: flex;
  min-height: 108px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--panel-2);
  padding: 16px;
}

.stat b {
  display: block;
  color: var(--text);
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -.035em;
}

.stat span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 34px 0 14px;
}

.section-head h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.025em;
}

.section-head p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.card {
  min-width: 0;
  border-radius: var(--radius-md);
  padding: 18px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.card:hover,
.component-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.card h3 {
  margin: 0 0 9px;
  font-size: 15px;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 13px;
  color: var(--muted);
  font-size: 11px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.chip,
.badge {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--chip);
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
  overflow-wrap: anywhere;
  padding: 4px 8px;
}

.badge.accent {
  border-color: rgba(var(--accent-2-rgb), .38);
  background: rgba(var(--accent-2-rgb), .08);
  color: var(--accent-2);
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 14px;
  padding: 13px;
}

.controls input,
.controls select,
.router textarea {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 11px;
  outline: none;
  background: var(--panel-2);
  padding: 9px 12px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.controls input:hover,
.controls select:hover,
.router textarea:hover {
  border-color: var(--border-strong);
}

.controls input:focus,
.controls select:focus,
.router textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .11);
}

.controls input {
  min-width: 240px;
  flex: 1;
}

.controls select {
  max-width: 100%;
}

.filter-status {
  display: flex;
  flex: 0 0 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 22px;
  color: var(--muted);
  font-size: 11px;
}

.filter-clear {
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  padding: 2px 0;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  background: var(--panel);
  color: var(--muted);
  padding: 28px;
  text-align: center;
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, var(--accent-2)));
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), .18);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 14px;
  text-decoration: none;
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}

.button:hover {
  box-shadow: 0 10px 28px rgba(var(--accent-rgb), .26);
  color: #fff;
  filter: brightness(1.07);
  text-decoration: none;
}

.button.secondary {
  border-color: var(--border);
  background: var(--panel-2);
  box-shadow: none;
  color: var(--text);
}

.button.secondary:hover {
  border-color: var(--border-strong);
  background: var(--panel-3);
}

.button:disabled {
  cursor: not-allowed;
  filter: grayscale(.55);
  opacity: .55;
}

.table-scroll {
  position: relative;
  overflow: auto;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  scrollbar-gutter: stable;
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--border);
  padding: 12px 13px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--thead);
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table td {
  background: var(--panel);
  color: var(--muted-strong);
  line-height: 1.45;
}

.data-table tbody tr:hover td {
  background: var(--panel-2);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table th:first-child,
.data-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 1px 0 0 var(--border);
}

.data-table th:first-child {
  z-index: 4;
}

.data-table th.sortable {
  cursor: pointer;
  padding-right: 28px;
  user-select: none;
}

.data-table th.sortable::after {
  position: absolute;
  right: 10px;
  color: var(--muted);
  content: "↕";
  font-size: 12px;
  opacity: .55;
}

.data-table th[aria-sort="ascending"]::after {
  color: var(--accent);
  content: "↑";
  opacity: 1;
}

.data-table th[aria-sort="descending"]::after {
  color: var(--accent);
  content: "↓";
  opacity: 1;
}

.score {
  color: var(--accent-2);
  font-weight: 850;
}

.bar {
  height: 9px;
  min-width: 76px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--chip);
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 16px rgba(var(--accent-rgb), .28);
}

.repo-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
  margin-bottom: 16px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
}

.repo-header h1 {
  margin: 7px 0 10px;
  font-size: clamp(30px, 4vw, 45px);
  letter-spacing: -.045em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.repo-header p {
  max-width: 920px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.7;
}

.repo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tabs {
  position: sticky;
  top: 76px;
  z-index: 25;
  display: flex;
  max-width: 100%;
  gap: 5px;
  overflow-x: auto;
  margin-bottom: 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow: var(--shadow-sm);
  padding: 7px;
  scrollbar-width: none;
  backdrop-filter: blur(18px);
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab-button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 11px;
  white-space: nowrap;
}

.tab-button:hover {
  color: var(--text);
}

.tab-button.active {
  background: var(--panel-2);
  box-shadow: inset 0 0 0 1px var(--border);
  color: var(--text);
}

.tab-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
}

.guide-tab {
  color: var(--accent);
}

.guide-tab::before {
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: panel-in .24s ease both;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Repository installation guides and instruction manuals */

.guide-hero {
  background:
    radial-gradient(circle at 88% 15%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 32%),
    linear-gradient(140deg, color-mix(in srgb, var(--panel) 96%, var(--accent) 4%), var(--panel));
}

.guide-tabs {
  scroll-padding-inline: 10px;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(205px, 235px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.guide-toc {
  position: sticky;
  top: 146px;
  display: grid;
  gap: 3px;
  padding: 15px;
}

.guide-toc .eyebrow {
  margin: 2px 8px 8px;
}

.guide-toc a {
  border-radius: 8px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  padding: 8px;
  text-decoration: none;
}

.guide-toc a:hover {
  background: var(--panel-2);
  color: var(--text);
}

.guide-source-date {
  margin-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  padding: 13px 8px 3px;
}

.guide-source-date strong {
  color: var(--muted-strong);
}

.guide-content {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.guide-section {
  scroll-margin-top: 150px;
  padding: clamp(20px, 3vw, 32px);
}

.guide-section > :first-child:not(.compatibility-banner),
.guide-section > .compatibility-banner + h2 {
  margin-top: 0;
}

.guide-section h2 {
  margin: 5px 0 10px;
  font-size: clamp(22px, 3vw, 29px);
  letter-spacing: -.025em;
  line-height: 1.15;
}

.guide-section h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.guide-section p,
.guide-section li {
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.75;
}

.section-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.compatibility-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: -8px -8px 24px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 34%, var(--border));
  border-radius: 13px;
  background: color-mix(in srgb, var(--accent-2) 8%, var(--panel-2));
  padding: 15px;
}

.compatibility-banner.blocked,
.compatibility-banner.moved {
  border-color: color-mix(in srgb, var(--danger) 38%, var(--border));
  background: color-mix(in srgb, var(--danger) 8%, var(--panel-2));
}

.compatibility-banner.conditional {
  border-color: color-mix(in srgb, var(--warning) 42%, var(--border));
  background: color-mix(in srgb, var(--warning) 8%, var(--panel-2));
}

.compatibility-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-2) 14%, transparent);
}

.compatibility-banner.blocked .compatibility-dot,
.compatibility-banner.moved .compatibility-dot {
  background: var(--danger);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--danger) 14%, transparent);
}

.compatibility-banner.conditional .compatibility-dot {
  background: var(--warning);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--warning) 14%, transparent);
}

.compatibility-banner strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 14px;
}

.compatibility-banner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.guide-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.guide-facts > div {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--panel-2);
  padding: 12px;
}

.guide-facts span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.guide-facts strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.5;
}

.step-stack {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.step-card,
.manual-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--panel-2);
  padding: 16px;
}

.step-card > :last-child,
.manual-card > :last-child {
  margin-bottom: 0;
}

.manual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.manual-card-head {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-content: space-between;
}

.manual-card .path {
  margin: 12px 0;
}

.command-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  border-radius: 12px;
  background: #08111f;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.command-label {
  min-height: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  color: #aab8d3;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
  padding: 11px 70px 9px 13px;
  text-transform: uppercase;
}

.command-card pre {
  max-width: 100%;
  margin: 0;
  overflow: auto;
  padding: 15px;
  color: #eef5ff;
  font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  tab-size: 2;
  white-space: pre;
}

.command-card code {
  color: inherit;
  font: inherit;
}

.copy-code {
  position: absolute;
  top: 6px;
  right: 7px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
  background: rgba(255, 255, 255, .08);
  color: #dce8ff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
  padding: 5px 9px;
}

.copy-code:hover {
  background: rgba(255, 255, 255, .14);
}

.check-list,
.number-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding-left: 24px;
}

.check-list li::marker {
  color: var(--accent-2);
}

.number-list li::marker {
  color: var(--accent);
  font-weight: 800;
}

.workflow-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.workflow-list article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--panel-2);
  padding: 13px;
}

.workflow-list article > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 14%, var(--panel));
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.workflow-list h3,
.workflow-list p {
  margin: 0;
}

.workflow-list p {
  margin-top: 3px;
  font-size: 13px;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.guide-section details {
  margin-top: 8px;
}

.guide-section kbd {
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--panel-2);
  color: var(--text);
  font-size: 11px;
  padding: 1px 5px;
}

@media (max-width: 980px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc {
    position: static;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 8px;
    scrollbar-width: none;
  }
  .guide-toc::-webkit-scrollbar { display: none; }
  .guide-toc .eyebrow,
  .guide-source-date { display: none; }
  .guide-toc a { flex: 0 0 auto; white-space: nowrap; }
}

@media (max-width: 720px) {
  .guide-facts,
  .manual-grid { grid-template-columns: 1fr; }
  .guide-section { padding: 20px 16px; }
  .guide-hero .repo-actions { width: 100%; }
  .guide-hero .repo-actions .button { flex: 1 1 150px; }
  .command-card pre { font-size: 11px; }
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.info-box {
  min-width: 0;
  border-radius: 13px;
  padding: 15px;
}

.info-box b {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.info-box div {
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.prose-block {
  min-width: 0;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  padding: clamp(18px, 2.5vw, 24px);
}

.prose-block h2,
.prose-block h3 {
  color: var(--text);
  letter-spacing: -.015em;
}

.prose-block h2 {
  margin: 0 0 11px;
  font-size: 17px;
}

.prose-block h3 {
  margin: 18px 0 8px;
  font-size: 13px;
}

.prose-block p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

.prose-block p + p {
  margin-top: 10px;
}

.bullet-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.66;
}

.bullet-list li::marker {
  color: var(--accent-2);
}

.bullet-list li + li {
  margin-top: 5px;
}

.component-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.component-card {
  min-width: 0;
  border-radius: 13px;
  padding: 16px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.component-card strong {
  font-size: 14px;
}

.component-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.path {
  margin-top: 5px;
  color: var(--accent-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  overflow-wrap: anywhere;
}

.wiki-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
}

.wiki-nav {
  position: sticky;
  top: 92px;
  align-self: start;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
  padding: 7px;
  box-shadow: var(--shadow-sm);
}

.wiki-nav a {
  display: block;
  border-radius: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  padding: 9px 11px;
  text-decoration: none;
}

.wiki-nav a:hover,
.wiki-nav a.active {
  background: var(--panel-2);
  color: var(--text);
  text-decoration: none;
}

.wiki-content {
  min-width: 0;
}

.wiki-content h1 {
  margin: 4px 0 13px;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -.04em;
  line-height: 1.05;
}

.wiki-content h2 {
  margin: 34px 0 12px;
  font-size: 22px;
  letter-spacing: -.025em;
}

.wiki-content h3 {
  margin: 22px 0 9px;
  font-size: 15px;
}

.wiki-content p {
  margin: 0 0 13px;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.75;
}

.wiki-content code {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--chip);
  color: var(--text);
  font-size: 11px;
  padding: 2px 6px;
}

.relationship {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 9px;
  border-radius: 13px;
  padding: 14px;
}

.relationship .edge {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel-2);
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 750;
  padding: 6px 9px;
  text-align: center;
}

.relationship small {
  color: var(--muted);
}

details {
  margin-bottom: 9px;
  border-radius: 13px;
  padding: 0;
  transition: border-color .18s ease;
}

details:hover,
details[open] {
  border-color: var(--border-strong);
}

summary {
  position: relative;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  list-style: none;
  padding: 15px 44px 15px 15px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--muted);
  content: "+";
  font-size: 20px;
  font-weight: 400;
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "−";
}

.detail-inner {
  border-top: 1px solid var(--border);
  padding: 15px;
}

.router {
  overflow: hidden;
  padding: clamp(18px, 3vw, 28px);
}

.router-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.router textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  line-height: 1.55;
}

.router-grid .button {
  min-width: 132px;
}

.route-results {
  display: grid;
  gap: 9px;
  margin-top: 13px;
}

.route-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel-2);
  color: var(--text);
  padding: 13px 14px;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, background-color .18s ease;
}

.route-result:hover {
  border-color: var(--border-strong);
  background: var(--panel-3);
  color: var(--text);
  text-decoration: none;
  transform: translateX(2px);
}

.route-result p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.route-rank {
  min-width: 52px;
  border: 1px solid rgba(var(--accent-2-rgb), .3);
  border-radius: 999px;
  background: rgba(var(--accent-2-rgb), .08);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 850;
  padding: 6px 8px;
  text-align: center;
}

.callout {
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  background: var(--panel-2);
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.65;
  padding: 15px 16px;
}

.muted {
  color: var(--muted);
  font-size: 12px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.taxonomy-row {
  display: grid;
  grid-template-columns: 220px minmax(100px, 1fr) 52px;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  color: var(--muted-strong);
  font-size: 12px;
  padding: 10px 0;
}

.taxonomy-row:last-child {
  border-bottom: 0;
}

.toc {
  margin-bottom: 17px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--panel);
  padding: 15px;
}

.toc strong {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.toc a {
  display: inline-block;
  margin: 2px 12px 2px 0;
  font-size: 11px;
}

.evidence-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-list li {
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  padding: 10px 0;
}

.evidence-list li:last-child {
  border-bottom: 0;
}

.confidence-high {
  color: var(--accent-2);
}

.confidence-low {
  color: var(--danger);
}

mark {
  border-radius: 4px;
  background: var(--mark);
  color: var(--text);
  padding: 0 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  border: 0;
  clip: rect(0, 0, 0, 0);
  padding: 0;
  white-space: nowrap;
}

footer {
  display: flex;
  max-width: var(--max);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: auto;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
  padding: 24px 22px 30px;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(16px);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  z-index: 100;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  background: var(--panel-2);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  padding: 10px 14px;
  transform: translate(-50%, 15px);
  transition: opacity .18s ease, transform .18s ease;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1180px) {
  .header-inner { gap: 10px; }
  .brand { margin-right: auto; }
  .menu-toggle { display: inline-flex; }
  .header-inner > nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    z-index: 80;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    background: color-mix(in srgb, var(--panel) 97%, transparent);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    backdrop-filter: blur(22px);
  }
  .site-header.nav-open .header-inner > nav { display: grid; animation: panel-in .18s ease both; }
  .nav-link { text-align: center; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { min-height: 92px; }
}

@media (max-width: 900px) {
  .wiki-layout { grid-template-columns: 1fr; }
  .wiki-nav {
    position: static;
    display: flex;
    max-width: 100%;
    gap: 3px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .wiki-nav::-webkit-scrollbar { display: none; }
  .wiki-nav a { flex: 0 0 auto; white-space: nowrap; }
  .component-list { grid-template-columns: 1fr; }
  .repo-header { grid-template-columns: 1fr; }
  .repo-actions { justify-content: flex-start; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 132px; }
  .header-inner { min-height: 66px; flex-wrap: wrap; padding: 9px 12px 11px; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .brand strong {
    max-width: 155px;
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .menu-toggle { width: 40px; height: 40px; justify-content: center; padding: 0; }
  .menu-toggle span { display: none; }
  .global-search { order: 5; max-width: none; min-width: 100%; flex-basis: 100%; }
  .global-search input { min-height: 42px; }
  .search-results { position: fixed; top: 120px; right: 10px; left: 10px; max-height: calc(100vh - 140px); }
  .header-inner > nav { top: calc(100% + 1px); right: 10px; left: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-shell { padding: 22px 12px 48px; }
  .hero-main { padding: 25px 20px; }
  .hero h1,
  .page-title { font-size: 34px; }
  .hero p,
  .lead { font-size: 14px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .card-grid,
  .info-grid,
  .two-col { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .controls { align-items: stretch; flex-direction: column; }
  .controls input,
  .controls select { width: 100%; min-width: 0; }
  .tabs {
    top: 121px;
    margin-right: -12px;
    margin-left: -12px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding-right: 12px;
    padding-left: 12px;
  }
  .router-grid { grid-template-columns: 1fr; }
  .router-grid .button { width: 100%; min-height: 46px; }
  .relationship { grid-template-columns: 1fr; }
  .relationship .edge { width: max-content; text-align: left; }
  .taxonomy-row { grid-template-columns: minmax(0, 1fr) 45px; }
  .taxonomy-row .tax-desc { grid-column: 1 / -1; }
  footer { align-items: flex-start; flex-direction: column; padding-right: 14px; padding-left: 14px; }
  .back-to-top { right: 12px; bottom: 12px; }
}

@media (max-width: 460px) {
  .hero h1,
  .page-title,
  .repo-header h1,
  .wiki-content h1 { font-size: 30px; }
  .card-grid { grid-template-columns: 1fr; }
  .repo-actions .button { flex: 1; }
  .data-table th,
  .data-table td { padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  :root,
  :root.light {
    --bg: #fff;
    --panel: #fff;
    --panel-2: #f7f7f7;
    --text: #111;
    --muted: #444;
    --muted-strong: #222;
    --border: #ccc;
    --accent: #163d9a;
    --accent-2: #08624e;
    color-scheme: light;
  }
  body { background: #fff; }
  .site-header,
  .tabs,
  .controls,
  .guide-toc,
  .copy-code,
  .back-to-top,
  .repo-actions,
  footer { display: none !important; }
  .page-shell { max-width: none; padding: 0; }
  .guide-layout { display: block; }
  .tab-panel { display: block !important; }
  .card,
  .surface,
  .prose-block,
  .info-box,
  .component-card,
  details,
  .relationship { break-inside: avoid; box-shadow: none; }
}

/* Shared administration control. The source SVG is attributed in README.txt. */
.admin-icon-button {
  text-decoration: none;
}

.admin-icon-button.active {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.settings-icon {
  display: block;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("settings.svg") center / contain no-repeat;
  mask: url("settings.svg") center / contain no-repeat;
}

.icon-button:focus-visible,
.nav-link:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
