:root {
  color-scheme: light;
  --bg: #fff;
  --surface: #fafafa;
  --raised: #fff;
  --hover: #f4f4f5;
  --ink: #202124;
  --muted: #6b6b73;
  --line: #e5e5e7;
  --accent: #7746bc;
  --tint: #f3eefb;
  --code: #f8f8fa;
  --shadow: 0 16px 64px #00000015;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #121212;
    --surface: #171717;
    --raised: #1b1b1b;
    --hover: #232323;
    --ink: #ededed;
    --muted: #a1a1a7;
    --line: #2a2a2d;
    --accent: #bb8af2;
    --tint: #241d30;
    --code: #171717;
    --shadow: 0 16px 64px #0006;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121212;
  --surface: #171717;
  --raised: #1b1b1b;
  --hover: #232323;
  --ink: #ededed;
  --muted: #a1a1a7;
  --line: #2a2a2d;
  --accent: #bb8af2;
  --tint: #241d30;
  --code: #171717;
  --shadow: 0 16px 64px #0006;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 96px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
button,
summary {
  cursor: pointer;
}
button {
  border: 0;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
p {
  margin: 0 0 1rem;
}
h1,
h2,
h3 {
  line-height: 1.3;
  letter-spacing: -0.025em;
}
h1 {
  font-size: 36px;
  font-weight: 600;
  margin: 12px 0 18px;
}
h2 {
  font-size: 22px;
  font-weight: 550;
}
h3 {
  font-size: 15px;
  font-weight: 550;
}
button {
  background: transparent;
}
img {
  max-width: 100%;
}
.icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}
kbd {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 4px;
  font-family: inherit;
  font-size: 10px;
  line-height: 20px;
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--raised);
  border: 1px solid var(--accent);
  border-radius: 6px;
}
.skip-link:focus {
  top: 8px;
}
.topbar {
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.brand-logo {
  width: 140px;
  height: 25px;
  object-fit: contain;
}
.brand-docs {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--accent);
}
[data-theme="dark"] .brand-logo {
  filter: brightness(0) invert(1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo {
    filter: brightness(0) invert(1);
  }
}
.topnav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.topnav a:hover,
.topnav summary:hover {
  color: var(--ink);
}
.product-menu {
  position: relative;
}
.product-menu summary {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
}
.product-menu summary::-webkit-details-marker {
  display: none;
}
.product-menu summary .icon {
  width: 12px;
  transform: rotate(90deg);
}
.product-menu > div {
  position: absolute;
  top: 35px;
  left: -12px;
  width: 260px;
  padding: 8px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.product-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border-radius: 4px;
}
.product-menu a:hover {
  background: var(--hover);
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
}
.search-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  height: 34px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 12px;
}
.search-trigger kbd {
  margin-left: auto;
}
.dashboard-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--raised);
  font-size: 12px;
  white-space: nowrap;
}
.dashboard-link:hover {
  border-color: var(--accent);
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.theme-toggle {
  display: none;
}
.enhanced .theme-toggle {
  display: inline-flex;
}
.theme-moon {
  display: none;
}
.theme-toggle[aria-pressed="true"] .theme-moon {
  display: block;
}
.theme-toggle[aria-pressed="true"] .theme-sun {
  display: none;
}
.menu-toggle {
  display: none;
}
.page-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr) 204px;
  max-width: 1680px;
  margin: auto;
}
.page-content {
  min-width: 0;
  padding: 36px 56px 0;
}
.sidebar {
  position: sticky;
  top: 64px;
  align-self: start;
  height: calc(100dvh - 64px);
  overflow-y: auto;
  padding: 26px 16px 28px 22px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.nav-home {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 5px;
}
.nav-group {
  margin-top: 24px;
}
.nav-label {
  font-size: 11px;
  font-weight: 600;
  margin: 0 8px 8px;
  color: var(--muted);
}
.sidebar summary {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  list-style: none;
  border-radius: 5px;
  line-height: 1.5;
}
.sidebar summary::-webkit-details-marker {
  display: none;
}
.sidebar summary > span {
  flex: 1;
}
.sidebar summary > .icon:first-child {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.sidebar summary > .icon:last-child {
  width: 11px;
  height: 11px;
  color: var(--muted);
}
.sidebar details[open] > summary > .icon:last-child {
  transform: rotate(90deg);
}
.sidebar summary:hover,
.nav-home:hover,
.sidebar a:hover {
  background: var(--hover);
}
.nav-children {
  margin: 4px 0 10px 16px;
  border-left: 1px solid var(--line);
  padding-left: 12px;
  display: grid;
  gap: 2px;
}
.nav-children a {
  display: block;
  line-height: 1.55;
  padding: 7px 9px;
  color: var(--muted);
  border-radius: 4px;
}
.sidebar a[aria-current="page"] {
  color: var(--accent);
  background: var(--tint);
}
.sidebar-support {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 28px;
  padding: 10px 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.sidebar-support > .icon:last-child {
  margin-left: auto;
  width: 14px;
}
.toc {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 10px 24px 24px 0;
  max-height: calc(100dvh - 120px);
  overflow: auto;
  font-size: 12px;
}
.toc > p {
  font-weight: 550;
  margin-bottom: 16px;
}
.toc > a {
  display: block;
  padding: 6px 0 6px 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
}
.toc > a:hover,
.toc > a[aria-current="location"] {
  color: var(--accent);
  border-color: var(--accent);
}
.toc-support {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.toc-support a {
  display: block;
  margin-top: 6px;
  color: var(--ink);
}
.toc-support .icon {
  width: 13px;
}
.toc .back-top {
  margin-top: 16px;
  border: 0;
  padding-left: 0;
  font-size: 11px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  margin: 0 0 30px;
}
.breadcrumbs .icon {
  width: 10px;
  height: 10px;
}
.breadcrumbs span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 38ch;
  white-space: nowrap;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.09em;
}
.lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 65ch;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--accent);
}
.text-link .icon {
  width: 14px;
}
.text-link:hover {
  text-decoration: underline;
}
.primary-button {
  display: inline-flex;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 550;
}
.docs-home .page-shell {
  display: block;
  max-width: 1280px;
}
.docs-home .sidebar {
  display: none;
}
.docs-home .page-content {
  padding: 0 36px;
}
.home-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 72px 0 64px;
}
.home-hero h1 {
  font-size: 40px;
  letter-spacing: -0.04em;
  font-weight: 550;
  margin: 14px 0 18px;
}
.home-hero > div > p {
  color: var(--muted);
  font-size: 16px;
  max-width: 46ch;
  line-height: 1.8;
  margin-bottom: 24px;
}
.quickstart-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.quickstart-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 550;
}
.quickstart-heading > .icon {
  color: var(--accent);
}
.quickstart-heading > span {
  font-size: 9px;
  letter-spacing: 0.08em;
  margin-left: auto;
  color: var(--muted);
}
.quickstart-panel ol {
  list-style: none;
  margin: 0;
  padding: 6px 18px;
}
.quickstart-panel li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
}
.quickstart-panel li + li {
  border-top: 1px solid var(--line);
}
.quickstart-panel li > span {
  font:
    11px ui-monospace,
    monospace;
  color: var(--muted);
}
.quickstart-panel a {
  display: block;
  font-size: 13px;
}
.quickstart-panel a:hover {
  color: var(--accent);
}
.quickstart-panel small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
}
.home-section {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 58px;
  border-top: 1px solid var(--line);
  padding: 46px 0;
}
.section-intro h2 {
  font-size: 20px;
  margin: 0 0 10px;
  font-weight: 550;
}
.section-intro p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.section-intro .eyebrow {
  margin-bottom: 12px;
}
.task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 20px;
}
.task-grid > a {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  padding: 14px 0;
}
.task-grid > a > .icon:first-child {
  width: 34px;
  height: 34px;
  padding: 8px;
  box-sizing: content-box;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  width: 18px;
  height: 18px;
}
.task-grid > a > .icon:last-child {
  width: 12px;
  color: var(--muted);
  margin-left: auto;
}
.task-grid a:hover {
  color: var(--accent);
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.module-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
  min-width: 0;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.module-card:hover {
  border-color: var(--accent);
  background: var(--raised);
}
.module-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: var(--accent);
}
.module-icon .icon {
  width: 26px;
  height: 26px;
}
.module-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
  margin: 0 0 9px;
}
.module-card h3 .icon {
  width: 14px;
  color: var(--muted);
}
.module-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.article-count {
  font-size: 10px;
  color: var(--muted);
  margin-top: auto;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 30px;
}
.resource-grid > a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.resource-grid > a > .icon:first-child {
  margin-top: 4px;
  color: var(--muted);
}
.resource-grid > a > .icon:last-child {
  width: 12px;
  color: var(--muted);
  margin-left: auto;
}
.resource-grid strong {
  font-size: 13px;
  font-weight: 500;
}
.resource-grid small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 6px;
}
.resource-grid a:hover strong {
  color: var(--accent);
}
.help-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.help-list > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 13px 18px;
  font-size: 13px;
}
.help-list > a + a {
  border-top: 1px solid var(--line);
}
.help-list > a:hover {
  background: var(--surface);
  color: var(--accent);
}
.help-list .icon {
  width: 14px;
  color: var(--muted);
}
.more-resources {
  border-top: 1px solid var(--line);
  padding: 36px 0;
}
.more-resources h2 {
  font-size: 18px;
  margin: 0 0 20px;
}
.more-resources > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.more-resources a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.more-resources a > .icon:last-child {
  width: 12px;
  margin-left: auto;
}
.category-header,
.article-header {
  margin-bottom: 28px;
}
.category-articles {
  display: grid;
  gap: 12px;
}
.guide-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: var(--surface);
}
.guide-card:hover {
  border-color: var(--accent);
}
.card-label {
  font-size: 10px;
  color: var(--muted);
}
.guide-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 6px 0 8px;
}
.guide-card h3 .icon {
  width: 14px;
  color: var(--muted);
}
.guide-card p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.availability-note {
  margin: 24px 0;
  font-size: 12px;
  color: var(--muted);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
}
.article-meta button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  margin-left: auto;
}
.article-meta .icon {
  width: 13px;
}
.status-tag {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.article-body {
  font-size: 14px;
  line-height: 1.85;
}
.article-body > section {
  margin-top: 42px;
  scroll-margin-top: 90px;
}
.article-body h2 {
  font-size: 21px;
  margin: 0 0 16px;
}
.article-body h2 a {
  color: var(--ink);
  text-decoration: none;
}
.article-body h2 span {
  font-size: 16px;
  color: var(--accent);
  padding-left: 10px;
  opacity: 0;
}
.article-body h2:hover span,
.article-body h2 a:focus-visible span {
  opacity: 1;
}
.article-body p {
  color: var(--muted);
}
.article-body li {
  padding-left: 4px;
  margin: 8px 0;
  color: var(--muted);
}
.article-body ul,
.article-body ol {
  padding-left: 22px;
  margin: 16px 0;
}
.outcome {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  font-size: 12px;
}
.outcome > .icon {
  color: var(--accent);
  margin-top: 2px;
}
.outcome strong {
  font-weight: 550;
}
.outcome p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.prerequisites {
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.prerequisites h2 {
  font-size: 13px;
  margin: 0 0 10px;
}
.prerequisites ul {
  color: var(--muted);
  margin: 0;
  padding-left: 18px;
}
.prerequisites li + li {
  margin-top: 6px;
}
.mobile-toc {
  display: none;
}
.article-body .steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.steps > li {
  position: relative;
  padding: 0 0 22px 43px;
  margin: 0;
  counter-increment: step;
}
.steps > li:before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 11px;
  display: grid;
  place-items: center;
  z-index: 1;
}
.steps > li:not(:last-child):after {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.steps h3 {
  font-size: 14px;
  margin: 0 0 7px;
  color: var(--ink);
  line-height: 1.6;
}
.steps p {
  font-size: 13px;
  margin: 0;
}
.callout {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  margin: 24px 0;
  font-size: 12px;
  line-height: 1.75;
}
.callout > .icon {
  color: var(--accent);
  margin-top: 2px;
}
.callout strong {
  font-weight: 550;
}
.callout p {
  margin: 4px 0 0;
}
.callout[data-tone="warning"] {
  border-left: 3px solid #b38b44;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 24px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.75;
  text-align: left;
}
th,
td {
  padding: 12px 14px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  min-width: 140px;
}
thead {
  background: var(--surface);
}
th {
  font-weight: 550;
  color: var(--ink);
}
tbody th {
  width: 28%;
}
td {
  color: var(--muted);
}
tr:last-child > * {
  border-bottom: 0;
}
thead tr:last-child > * {
  border-bottom: 1px solid var(--line);
}
.code-block {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--code);
  margin: 24px 0;
  overflow: hidden;
}
.code-block > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 9px 14px;
  font-size: 11px;
  color: var(--muted);
}
.code-block button {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
.enhanced .code-block button {
  display: inline-flex;
}
.code-block .icon {
  width: 13px;
}
.code-block pre {
  overflow: auto;
  padding: 18px;
  margin: 0;
  font:
    12px/1.8 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  tab-size: 2;
}
.faq-list {
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.faq-list details + details {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  padding: 14px 16px;
  font-size: 13px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary .icon {
  width: 13px;
}
.faq-list details[open] summary .icon {
  transform: rotate(90deg);
}
.faq-list p {
  padding: 0 16px 16px;
  margin: 0;
  font-size: 12px;
}
.section-links {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}
.section-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--accent);
}
.section-links .icon {
  width: 13px;
}
.article-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 44px;
}
.article-pagination a {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 16px;
}
.article-pagination small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 7px;
}
.article-pagination strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  display: block;
}
.article-pagination a:hover {
  border-color: var(--accent);
}
.article-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin: 32px 0;
}
.article-help h2 {
  font-size: 14px;
  margin: 0 0 4px;
}
.article-help p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.article-help > a {
  white-space: nowrap;
  font-size: 12px;
  color: var(--accent);
}
.article-help .icon {
  width: 14px;
}
.related h2 {
  font-size: 16px;
  margin: 0 0 16px;
}
.related .card-label {
  display: none;
}
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 28px 0;
  margin-top: 48px;
  font-size: 11px;
  color: var(--muted);
}
footer > a {
  color: var(--ink);
  font-weight: 550;
}
footer > a > span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
footer > div {
  display: flex;
  gap: 16px;
  margin-left: auto;
}
footer > span {
  flex-basis: 100%;
  font-size: 10px;
}
#search-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: 75dvh;
  padding: 0;
  margin: 12dvh auto auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
  color: var(--ink);
  box-shadow: var(--shadow);
}
#search-dialog::backdrop {
  background: #0008;
  backdrop-filter: blur(3px);
}
.search-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--raised);
}
.search-top > .icon {
  color: var(--muted);
}
#docs-search {
  flex: 1;
  width: 0;
  outline: none;
  border: 0;
  background: transparent;
  font-size: 14px;
  min-height: 30px;
}
.search-top button {
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 10px;
  padding: 2px 6px;
  color: var(--muted);
}
#search-status {
  padding: 16px 18px 8px;
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}
#search-results {
  list-style: none;
  padding: 8px;
  margin: 0;
}
#search-results a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  border-radius: 6px;
}
#search-results a:hover,
#search-results a:focus {
  background: var(--hover);
  outline: 1px solid var(--accent);
}
#search-results small {
  color: var(--accent);
  font-size: 10px;
}
#search-results strong {
  font-size: 13px;
  font-weight: 500;
}
#search-results span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.search-help {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
  position: sticky;
  bottom: 0;
  background: var(--raised);
}
@media (min-width: 1680px) {
  .page-content {
    padding-left: 80px;
    padding-right: 80px;
  }
}
@media (max-width: 1200px) {
  .topnav {
    gap: 16px;
  }
  .topbar {
    gap: 24px;
    padding: 0 20px;
  }
  .search-trigger {
    min-width: 160px;
  }
  .page-shell {
    grid-template-columns: 224px minmax(0, 1fr);
  }
  .page-content {
    padding: 32px 40px 0;
  }
  .toc {
    display: none;
  }
  .mobile-toc {
    display: block;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 24px;
    font-size: 12px;
  }
  .mobile-toc summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
  }
  .mobile-toc summary .icon {
    width: 12px;
    transform: rotate(90deg);
  }
  .mobile-toc a {
    display: block;
    color: var(--muted);
    padding: 6px 0;
  }
  .mobile-toc[open] summary {
    margin-bottom: 8px;
  }
  .home-section {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 36px;
  }
  .task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-hero {
    gap: 40px;
  }
  .home-hero h1 {
    font-size: 35px;
  }
  .quickstart-heading > span {
    display: none;
  }
}
@media (max-width: 1020px) {
  .topnav {
    display: none;
  }
  .page-content {
    padding: 28px 32px 0;
  }
  .home-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0;
  }
  .section-intro p {
    max-width: 64ch;
  }
  .home-hero {
    padding: 48px 0;
    gap: 30px;
  }
  .home-hero h1 {
    font-size: 30px;
  }
  .home-hero > div > p {
    font-size: 14px;
  }
  .task-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .more-resources > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 56px;
    padding: 0 16px;
    gap: 16px;
  }
  .brand-logo {
    width: 117px;
    height: 23px;
  }
  .brand-docs {
    font-size: 10px;
  }
  .brand {
    gap: 8px;
  }
  .header-actions {
    gap: 8px;
  }
  .search-trigger {
    min-width: 0;
    width: 32px;
    height: 32px;
    padding: 6px;
    justify-content: center;
  }
  .search-trigger > span,
  .search-trigger kbd,
  .dashboard-link {
    display: none;
  }
  .enhanced .menu-toggle {
    display: inline-flex;
  }
  .page-shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px;
  }
  .enhanced .sidebar {
    display: none;
  }
  .enhanced .navigation-open .sidebar {
    display: block;
    position: fixed;
    z-index: 18;
    top: 56px;
    bottom: 0;
    left: 0;
    width: min(340px, 100%);
    height: auto;
    background: var(--bg);
    box-shadow: var(--shadow);
    overscroll-behavior: contain;
  }
  .navigation-open {
    overflow: hidden;
  }
  .docs-home .sidebar {
    display: block;
  }
  .enhanced .docs-home .sidebar {
    display: none;
  }
  .enhanced .docs-home.navigation-open .sidebar {
    display: block;
  }
  .page-content {
    padding: 24px 22px 0;
  }
  .docs-home .page-content {
    padding: 0 22px;
  }
  .home-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0;
  }
  .home-hero h1 {
    font-size: 32px;
  }
  .home-hero > div > p {
    font-size: 14px;
    max-width: 42ch;
  }
  .home-section {
    padding: 32px 0;
  }
  .task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
  }
  .task-grid > a {
    font-size: 11px;
    gap: 8px;
  }
  .task-grid > a > .icon:last-child {
    display: none;
  }
  .task-grid > a > .icon:first-child {
    padding: 7px;
    width: 16px;
    height: 16px;
  }
  .module-grid {
    gap: 12px;
  }
  .module-card {
    padding: 17px;
  }
  .module-card h3 {
    font-size: 14px;
  }
  .module-card h3 > .icon {
    display: none;
  }
  .module-card p {
    font-size: 11px;
  }
  .resource-grid {
    gap: 22px;
  }
  .section-intro h2 {
    font-size: 21px;
  }
  .resource-grid > a > .icon:last-child {
    display: none;
  }
  .more-resources > div {
    gap: 18px;
  }
  .breadcrumbs {
    margin-bottom: 24px;
  }
  .article-header h1,
  .category-header h1 {
    font-size: 29px;
  }
  .lead {
    font-size: 14px;
  }
  .article-body {
    font-size: 14px;
  }
  .article-body h2 {
    font-size: 20px;
  }
  .article-body > section {
    margin-top: 32px;
  }
  .toc {
    display: none;
  }
  .article-pagination {
    grid-template-columns: 1fr;
  }
  .article-help {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  footer {
    gap: 16px;
  }
  .search-help > span:last-child {
    display: none;
  }
  .search-top {
    padding: 12px;
  }
  .search-top input {
    font-size: 12px;
  }
  .quickstart-heading {
    padding: 14px;
  }
  .quickstart-panel ol {
    padding: 4px 14px;
  }
}
@media (max-width: 380px) {
  .brand-logo {
    width: 102px;
  }
  .brand-docs {
    font-size: 9px;
  }
  .topbar {
    padding: 0 12px;
  }
  .header-actions {
    gap: 5px;
  }
  .page-content,
  .docs-home .page-content {
    padding-left: 18px;
    padding-right: 18px;
  }
  .home-hero h1 {
    font-size: 29px;
  }
  .module-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .home-hero {
    padding-top: 32px;
  }
  .brand {
    gap: 6px;
  }
  .theme-toggle.icon-button {
    border: 0;
    width: 24px;
  }
  .article-meta {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .topbar,
  .sidebar,
  .toc,
  .mobile-toc,
  .article-meta button,
  .code-block button,
  .article-help,
  .related,
  footer,
  .search-trigger {
    display: none !important;
  }
  .page-shell {
    display: block;
  }
  .page-content {
    padding: 0;
  }
  body {
    --bg: #fff;
    --ink: #000;
    --muted: #444;
    --line: #ccc;
  }
  .article-body a {
    text-decoration: underline;
  }
  .code-block pre {
    white-space: pre-wrap;
  }
  .table-scroll {
    overflow: visible;
  }
}

.toc a[aria-current="location"] {
  color: var(--ink);
  border-left-color: var(--accent);
}
[data-copied="true"] {
  color: var(--accent) !important;
}

footer .language-note {
  grid-column: 1/-1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
