:root {
  color-scheme: light;
  --blue: #0875e1;
  --blue-dark: #075eb4;
  --blue-soft: #eaf4ff;
  --green: #15805f;
  --green-soft: #e9f7f1;
  --amber: #a45f05;
  --amber-soft: #fff6e5;
  --red: #c13f32;
  --ink: #162033;
  --text: #3f4b5e;
  --muted: #687487;
  --line: #dfe5ec;
  --line-strong: #cbd4df;
  --surface: #ffffff;
  --soft: #f5f7fa;
  --code: #253147;
  --header-height: 64px;
  --sidebar-width: 272px;
  --toc-width: 224px;
  --radius: 7px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 28px);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

body.modal-open,
body.nav-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue);
}

img {
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 9px 12px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

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

.reading-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--blue);
  transition: width 80ms linear;
}

.topbar {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(280px, 650px) 1fr;
  align-items: center;
  height: var(--header-height);
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.topbar-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-link img {
  width: 36px;
  height: 36px;
  border-radius: 7px;
}

.brand-link strong {
  color: var(--blue);
  font-weight: 700;
}

.search-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 40px;
  padding: 0 10px 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}

.search-trigger:hover {
  border-color: #9baabe;
  background: #fff;
}

.search-trigger svg {
  width: 18px;
  height: 18px;
}

.search-trigger span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 23px;
  padding: 0 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #fff;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  line-height: 1;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.topbar-actions > a:not(.button) {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.button-primary {
  background: var(--blue);
  color: #fff;
}

.button-primary:hover {
  background: var(--blue-dark);
  color: #fff;
}

.button-secondary {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.icon-button:hover {
  background: var(--soft);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.mobile-only {
  display: none;
}

.docs-layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr) var(--toc-width);
  min-height: 100vh;
  padding-top: var(--header-height);
}

.sidebar {
  position: fixed;
  z-index: 80;
  top: var(--header-height);
  bottom: 0;
  left: 0;
  width: var(--sidebar-width);
  border-right: 1px solid var(--line);
  background: #fbfcfd;
}

.sidebar-scroll {
  height: 100%;
  padding: 24px 16px 28px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.nav-section + .nav-section {
  margin-top: 24px;
}

.nav-section h2 {
  margin: 0 10px 7px;
  color: #7a8798;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

.nav-section a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 6px;
  color: #4f5c70;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.nav-section a:hover {
  background: #f0f3f7;
  color: var(--ink);
}

.nav-section a.active {
  background: #e8f2ff;
  color: #075fbb;
}

.nav-section a svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.sidebar-support {
  margin: 28px 8px 0;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 13px;
}

.sidebar-support strong,
.sidebar-support a {
  display: block;
}

.sidebar-support strong {
  color: var(--ink);
}

.sidebar-support a {
  margin-top: 2px;
}

.docs-content {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  max-width: 920px;
  margin: 0 auto;
  padding: 58px 64px 0;
  outline: none;
}

.doc-article {
  display: none;
}

.doc-article.active {
  display: block;
  animation: article-in 180ms ease-out;
}

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

.article-header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.article-header-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 46px;
  align-items: center;
}

.overview-mark {
  width: 170px;
  height: 170px;
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(22, 32, 51, 0.13);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.25;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 760;
}

h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

.lead {
  max-width: 720px;
  margin: 14px 0 0;
  color: #536075;
  font-size: 19px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.doc-article > section {
  margin-top: 42px;
}

.doc-article p {
  margin: 0 0 16px;
}

.doc-article section > :last-child {
  margin-bottom: 0;
}

.doc-article code:not(pre code) {
  padding: 2px 5px;
  border: 1px solid #d7e0ea;
  border-radius: 4px;
  background: #f3f6f9;
  color: #29405f;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
}

.doc-article pre {
  position: relative;
  margin: 20px 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: inset 4px 0 0 var(--blue);
}

.doc-article pre code {
  display: block;
  min-width: max-content;
  padding: 20px 56px 20px 22px;
  color: var(--code);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre;
}

.copy-code {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.copy-code svg {
  width: 16px;
  height: 16px;
}

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

.topic-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 2px 12px;
  min-height: 124px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
}

.topic-card:hover {
  border-color: #a8c9ed;
  box-shadow: 0 7px 18px rgba(42, 65, 93, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.topic-icon {
  display: inline-flex;
  grid-row: 1 / 3;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.topic-icon svg {
  width: 21px;
  height: 21px;
}

.topic-card strong {
  align-self: end;
  color: var(--ink);
}

.topic-card > span:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison > div {
  padding: 24px;
}

.comparison > div + div {
  border-left: 1px solid var(--line);
}

.comparison-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--blue-dark);
}

.comparison-icon svg {
  width: 20px;
  height: 20px;
}

.comparison p {
  color: var(--muted);
  font-size: 14px;
}

.flow-list,
.steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
}

.flow-list li + li {
  border-top: 1px solid var(--line);
}

.flow-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.flow-list strong {
  color: var(--ink);
}

.flow-list p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.steps {
  counter-reset: docs-step;
}

.steps li {
  position: relative;
  min-height: 34px;
  padding: 5px 0 18px 44px;
  counter-increment: docs-step;
}

.steps li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #b8d4f2;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  content: counter(docs-step);
  font-size: 13px;
  font-weight: 800;
}

.steps li:not(:last-child)::after {
  position: absolute;
  top: 32px;
  bottom: 0;
  left: 14px;
  width: 1px;
  background: #cfe0f1;
  content: "";
}

.steps strong {
  color: var(--ink);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-list svg {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--green);
  flex: none;
}

.check-list strong {
  color: var(--ink);
}

.callout {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid;
  border-radius: var(--radius);
}

.callout > svg {
  width: 21px;
  height: 21px;
  margin-top: 2px;
}

.callout strong {
  color: var(--ink);
}

.callout p {
  margin: 2px 0 0;
  font-size: 14px;
}

.callout-info {
  border-color: #bfdafa;
  background: #f3f8fe;
}

.callout-info > svg {
  color: var(--blue-dark);
}

.callout-warning {
  border-color: #f0d39d;
  background: var(--amber-soft);
}

.callout-warning > svg {
  color: var(--amber);
}

.callout-success {
  border-color: #bce0d2;
  background: var(--green-soft);
}

.callout-success > svg {
  color: var(--green);
}

.callout-neutral {
  border-color: var(--line);
  background: var(--soft);
}

.callout-neutral > svg {
  color: var(--muted);
}

.doc-article table {
  width: 100%;
  margin: 20px 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}

.doc-article th,
.doc-article td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.doc-article th {
  background: var(--soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.doc-article tr:last-child td {
  border-bottom: 0;
}

.doc-article th + th,
.doc-article td + td {
  border-left: 1px solid var(--line);
}

.link-list,
.download-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.link-list a,
.download-list a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
}

.link-list a:hover,
.download-list a:hover {
  border-color: #9fc6ef;
  background: #fbfdff;
}

.link-list a > svg:first-child,
.download-list a > svg:first-child {
  width: 20px;
  height: 20px;
  justify-self: center;
  color: var(--blue-dark);
}

.link-list a > svg:last-child,
.download-list a > svg:last-child {
  width: 18px;
  height: 18px;
  color: #7c899a;
}

.link-list span,
.download-list span {
  min-width: 0;
}

.link-list strong,
.download-list strong,
.link-list small,
.download-list small {
  display: block;
}

.link-list strong,
.download-list strong {
  color: var(--ink);
}

.link-list small,
.download-list small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 13px;
}

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

.next-band,
.support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.next-band h2,
.support-band h2 {
  margin: 0 0 3px;
  font-size: 20px;
}

.next-band p,
.support-band p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.support-band > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  flex: none;
}

.support-icon svg {
  width: 22px;
  height: 22px;
}

.docs-figure {
  margin: 34px 0;
}

.docs-figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: 0 10px 30px rgba(22, 32, 51, 0.08);
  cursor: zoom-in;
}

.docs-figure-compact img {
  max-height: 610px;
  object-fit: cover;
  object-position: center top;
}

.docs-figure figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.docs-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 72px;
  padding: 24px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.docs-footer nav {
  display: flex;
  gap: 16px;
}

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

.toc-panel {
  grid-column: 3;
  min-width: 0;
}

.toc-sticky {
  position: fixed;
  top: calc(var(--header-height) + 52px);
  right: 24px;
  width: calc(var(--toc-width) - 38px);
}

.toc-sticky > h2 {
  margin: 0 0 11px;
  color: #7a8798;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

#page-toc {
  position: relative;
  display: grid;
  gap: 1px;
  border-left: 1px solid var(--line);
}

#page-toc a {
  display: block;
  margin-left: -1px;
  padding: 5px 0 5px 13px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
}

#page-toc a:hover,
#page-toc a.active {
  color: var(--blue-dark);
}

#page-toc a.active {
  border-left-color: var(--blue);
}

#page-toc a.toc-level-3 {
  padding-left: 25px;
}

.toc-feedback {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.toc-feedback svg {
  width: 15px;
  height: 15px;
}

.search-modal,
.image-modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  background: rgba(18, 27, 42, 0.5);
  backdrop-filter: blur(3px);
}

.search-modal:not([hidden]) {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 20px;
}

.search-dialog {
  width: min(680px, 100%);
  max-height: min(680px, 76vh);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 28, 47, 0.26);
}

.search-input-wrap {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 40px;
  gap: 9px;
  align-items: center;
  min-height: 62px;
  padding: 0 10px 0 18px;
  border-bottom: 1px solid var(--line);
}

.search-input-wrap > svg {
  width: 21px;
  height: 21px;
  color: var(--blue);
}

.search-input-wrap input {
  width: 100%;
  height: 60px;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 17px;
}

.search-results {
  max-height: calc(min(680px, 76vh) - 106px);
  padding: 8px;
  overflow-y: auto;
}

.search-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 10px;
  width: 100%;
  padding: 12px 13px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.search-result:hover,
.search-result.selected {
  background: var(--blue-soft);
}

.search-result strong,
.search-result small,
.search-result span {
  display: block;
}

.search-result strong {
  color: var(--ink);
  font-size: 14px;
}

.search-result small {
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.search-result span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.search-result > svg {
  width: 17px;
  height: 17px;
  align-self: center;
  color: #8390a1;
}

.search-empty {
  padding: 38px 20px;
  color: var(--muted);
  text-align: center;
}

.search-empty svg {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto 9px;
}

.search-help {
  display: flex;
  gap: 18px;
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
}

.search-help span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.search-help kbd {
  min-width: 20px;
  height: 19px;
  padding: 0 4px;
  font-size: 10px;
}

.image-modal:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 24px 24px;
}

.image-modal img {
  max-width: min(1280px, 96vw);
  max-height: calc(100vh - 80px);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.image-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: #fff;
}

.nav-backdrop {
  position: fixed;
  z-index: 70;
  inset: var(--header-height) 0 0;
  background: rgba(18, 27, 42, 0.42);
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: var(--sidebar-width) minmax(260px, 1fr) auto;
  }

  .docs-layout {
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  }

  .toc-panel {
    display: none;
  }

  .docs-content {
    padding-right: 48px;
    padding-left: 48px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 60px;
  }

  .mobile-only {
    display: inline-flex;
  }

  .topbar {
    grid-template-columns: minmax(190px, auto) minmax(140px, 1fr);
    gap: 14px;
    padding: 0 14px 0 6px;
  }

  .topbar-brand {
    gap: 2px;
  }

  .topbar-actions {
    display: none;
  }

  .search-trigger kbd {
    display: none;
  }

  .docs-layout {
    display: block;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 180ms ease-out;
    box-shadow: 14px 0 36px rgba(22, 32, 51, 0.12);
  }

  body.nav-open .sidebar {
    transform: translateX(0);
  }

  .docs-content {
    max-width: 820px;
    padding: 42px 28px 0;
  }
}

@media (max-width: 640px) {
  .brand-link span {
    display: none;
  }

  .topbar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .search-trigger {
    height: 38px;
  }

  .search-trigger span {
    font-size: 13px;
  }

  .docs-content {
    padding: 32px 18px 0;
  }

  .article-header {
    padding-bottom: 28px;
  }

  .article-header-overview {
    grid-template-columns: 1fr;
  }

  .overview-mark {
    display: none;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 21px;
  }

  .lead {
    font-size: 17px;
  }

  .doc-article > section {
    margin-top: 34px;
  }

  .topic-grid,
  .comparison {
    grid-template-columns: 1fr;
  }

  .comparison > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .next-band,
  .support-band {
    align-items: stretch;
    flex-direction: column;
  }

  .next-band .button,
  .support-band .button {
    width: 100%;
  }

  .doc-article table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }

  .doc-article th,
  .doc-article td {
    min-width: 145px;
  }

  .docs-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .docs-footer nav {
    flex-wrap: wrap;
  }

  .search-modal:not([hidden]) {
    padding: 8px;
  }

  .search-dialog {
    max-height: calc(100vh - 16px);
  }

  .search-help {
    display: none;
  }

  .search-results {
    max-height: calc(100vh - 86px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .topbar,
  .sidebar,
  .toc-panel,
  .reading-progress,
  .docs-footer,
  .hero-actions {
    display: none !important;
  }

  .docs-layout {
    display: block;
    padding: 0;
  }

  .docs-content {
    max-width: none;
    padding: 0;
  }

  .doc-article.active {
    display: block;
  }

  a {
    color: inherit;
  }
}
