/* DTS Customer API developer documentation, in DTS brand colours (from the portal and the DTS logo).
   No build step and no external resources. */

:root {
  /* DTS brand */
  --dts-blue: #429de7; /* logo and portal navbar blue: bars, accents and decoration only */
  --dts-blue-bright: #1384e1; /* portal button blue: decoration only */
  --dts-blue-strong: #1570c4; /* text-safe DTS blue: links, buttons, banner (5:1 with white) */
  --dts-blue-deep: #0b4f8c; /* hover and pressed */
  --dts-navy: #0b1b2a; /* portal navy: headings and code */
  --tint: #eff6ff;
  --tint-strong: #dbeafe;

  --text: #1e293b;
  --text-soft: #334155;
  --muted: #475569;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-sunken: #f1f5f9;

  --code-bg: #0b1b2a;
  --code-bar: #07131f;
  --code-border: #1c3044;
  --code-text: #e2e8f0;
  --code-muted: #94a3b8;
  --inline-code-bg: #eef4fb;

  --warn-bg: #fffbeb;
  --warn-line: #fde68a;
  --warn-border: #f59e0b;
  --warn-text: #92400e;
  --ok-bg: #dcfce7;
  --ok-text: #166534;
  --bad-bg: #fef2f2;
  --bad-text: #b91c1c;

  --shadow-sm: 0 1px 2px rgba(11, 27, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 27, 42, 0.1);
  --radius: 12px;

  --sidebar-width: 290px;
  --topbar-height: 72px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--topbar-height) + 20px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  /* The DTS blue strip along the top, as on directtransport.com.au. */
  background: linear-gradient(90deg, var(--dts-blue), var(--dts-blue-strong)) top left / 100% 4px no-repeat, var(--surface);
}

img,
svg {
  max-width: 100%;
}

/* Text */

h1,
h2,
h3,
h4 {
  color: var(--dts-navy);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  margin: 0 0 12px;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 20px;
  font-size: 1.8rem;
  letter-spacing: -0.01em;
}

h2:not(.endpoint-title)::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin-top: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--dts-blue), var(--dts-blue-bright));
}

h3 {
  margin: 44px 0 12px;
  font-size: 1.3rem;
}

h4 {
  margin: 28px 0 8px;
  font-size: 1.05rem;
}

p,
ul,
ol {
  margin: 0 0 16px;
}

li + li {
  margin-top: 4px;
}

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

a:hover {
  color: var(--dts-blue-deep);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--dts-blue);
  outline-offset: 2px;
}

strong {
  color: var(--dts-navy);
}

code {
  padding: 0.12em 0.4em;
  border-radius: 5px;
  background: var(--inline-code-bg);
  color: var(--dts-navy);
  font-family: var(--font-mono);
  font-size: 0.875em;
  overflow-wrap: anywhere;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-soft);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--dts-blue-strong);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--dts-navy);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* Header */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--topbar-height);
  padding: 4px 28px 0;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, var(--dts-blue), var(--dts-blue-strong)) top left / 100% 4px no-repeat, var(--surface);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--dts-navy);
  text-decoration: none;
}

.brand:hover {
  color: var(--dts-navy);
}

.brand-logo {
  display: block;
  flex: none;
  width: auto;
  height: 44px;
}

.brand-product {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 14px;
  border-left: 2px solid var(--border);
}

.brand-name {
  display: block;
  color: var(--dts-navy);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.3;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.topbar-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}

.topbar-nav a:hover {
  background: var(--tint);
  color: var(--dts-blue-strong);
}

.menu-button {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--dts-navy);
  font: 600 14px/1 var(--font-sans);
  cursor: pointer;
}

.menu-button:hover {
  border-color: var(--dts-blue);
  background: var(--tint);
}

.menu-icon {
  width: 18px;
  height: 18px;
}

.nav-backdrop {
  display: none;
}

/* Sidebar */

.sidebar {
  position: fixed;
  top: var(--topbar-height);
  bottom: 0;
  left: 0;
  z-index: 40;
  width: var(--sidebar-width);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 0 40px;
  border-right: 1px solid var(--border);
  background: var(--surface-alt);
}

.nav-group {
  margin-top: 18px;
}

.nav-heading {
  margin: 0 0 6px;
  padding: 0 22px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.nav-list li + li {
  margin-top: 0;
}

.nav-list a {
  display: block;
  margin: 1px 10px;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.4;
  text-decoration: none;
}

.nav-list a:hover {
  background: var(--surface-sunken);
  color: var(--dts-navy);
}

.nav-list a.is-active {
  background: var(--tint);
  color: var(--dts-blue-strong);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--dts-blue);
}

.nav-list .nav-list a {
  padding-left: 26px;
  font-size: 13.5px;
}

.nav-list a .method {
  margin-right: 4px;
  padding: 2px 5px;
  font-size: 10px;
}

.nav-path {
  font-family: var(--font-mono);
  font-size: 12.5px;
}

/* Layout */

.main {
  margin-left: var(--sidebar-width);
  padding: 40px 56px 96px;
}

.content {
  max-width: 920px;
}

.doc-section {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.doc-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.endpoint {
  margin-top: 56px;
  padding-top: 8px;
}

/* Banner */

.hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 28px;
  padding: 46px 48px 42px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--dts-blue-strong) 0%, #1262ad 55%, var(--dts-blue-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

/* Two road-like stripes on the right, echoing the swoosh in the DTS logo. */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -60px;
  width: 150px;
  height: 180%;
  border-radius: 999px;
  background: rgba(66, 157, 231, 0.35);
  transform: rotate(28deg);
  pointer-events: none;
}

.hero::after {
  right: 70px;
  width: 34px;
  background: rgba(255, 255, 255, 0.12);
}

.hero > * {
  position: relative;
  max-width: 660px;
}

.hero .eyebrow {
  color: #fff;
}

.hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 2.7rem;
}

.hero .lead {
  margin-bottom: 0;
  color: #fff;
  font-size: 1.15rem;
}

.hero :focus-visible {
  outline-color: #fff;
}

.version-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--dts-blue-strong);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: middle;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

/* Buttons */

.button {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 10px;
  background: var(--dts-blue-strong);
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.button:hover {
  background: var(--dts-blue-deep);
  color: #fff;
  text-decoration: none;
}

.button-light {
  background: #fff;
  color: var(--dts-blue-deep);
}

.button-light:hover {
  background: var(--tint);
  color: var(--dts-navy);
}

.button-outline {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Cards and steps */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.feature-grid li {
  position: relative;
  margin: 0;
  padding: 20px 18px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 15px;
  line-height: 1.55;
}

.feature-grid li::before {
  content: "";
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--dts-blue), var(--dts-blue-bright));
}

.feature-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--dts-navy);
  font-family: var(--font-display);
  font-size: 16px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
  padding: 0;
  list-style: none;
}

.chip-list li {
  margin: 0;
}

.chip-list code {
  display: inline-block;
  padding: 5px 11px;
  border: 1px solid var(--tint-strong);
  border-radius: 999px;
  background: var(--tint);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 30px;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow li {
  position: relative;
  margin: 0;
  padding: 56px 16px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  counter-increment: flow;
  font-size: 14.5px;
  line-height: 1.5;
}

.flow li::before {
  content: counter(flow);
  position: absolute;
  top: 16px;
  left: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dts-blue-strong), var(--dts-blue-deep));
  box-shadow: 0 0 0 4px var(--tint);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}

.flow strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
}

/* Callouts */

.callout {
  margin: 22px 0;
  padding: 14px 18px;
  border: 1px solid var(--tint-strong);
  border-left: 4px solid var(--dts-blue);
  border-radius: 10px;
  background: var(--tint);
}

.callout-warn {
  border-color: var(--warn-line);
  border-left-color: var(--warn-border);
  background: var(--warn-bg);
}

.callout > :first-child {
  margin-top: 0;
}

.callout > :last-child {
  margin-bottom: 0;
}

.callout-title {
  display: block;
  margin-bottom: 4px;
  color: var(--dts-navy);
  font-family: var(--font-display);
  font-weight: 700;
}

.callout-warn .callout-title {
  color: var(--warn-text);
}

/* Methods and statuses */

.method {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 5px;
  font: 700 11.5px/1 var(--font-mono);
  letter-spacing: 0.04em;
  vertical-align: 0.1em;
}

.method-get {
  background: var(--ok-bg);
  color: var(--ok-text);
}

.method-post {
  background: var(--tint-strong);
  color: var(--dts-blue-deep);
}

.endpoint-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.endpoint-title code {
  padding: 0;
  background: none;
  font-size: 1.1rem;
}

.endpoint-meta {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 18px;
  margin: 14px 0 22px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--dts-blue);
  border-radius: 10px;
  background: var(--surface-alt);
  font-size: 14.5px;
}

.endpoint-meta dt {
  color: var(--dts-navy);
  font-weight: 600;
}

.endpoint-meta dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  font: 700 12.5px/1.2 var(--font-mono);
}

.status-ok {
  background: var(--ok-bg);
  color: var(--ok-text);
}

.status-error {
  background: var(--bad-bg);
  color: var(--bad-text);
}

/* Tables */

.table-wrap {
  margin: 18px 0 26px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.5;
}

th,
td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--surface-sunken);
  color: var(--dts-navy);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 var(--tint-strong);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td,
tbody tr:hover th {
  background: #fbfdff;
}

tbody th {
  color: var(--dts-navy);
  font-weight: 600;
}

td:first-child code,
th:first-child code {
  white-space: nowrap;
  overflow-wrap: normal;
}

td p:last-child {
  margin-bottom: 0;
}

.nowrap {
  white-space: nowrap;
}

/* Code */

pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--code-bg);
  color: var(--code-text);
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  tab-size: 2;
}

pre code {
  padding: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  overflow-wrap: normal;
}

.code-block {
  position: relative;
  margin: 16px 0 24px;
}

.code-block > pre {
  box-shadow: var(--shadow-sm);
}

.code-block.has-copy pre {
  padding-right: 84px;
}

.copy-button {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #dbe7f3;
  font: 600 12px/1 var(--font-sans);
  cursor: pointer;
}

.copy-button:hover {
  border-color: var(--dts-blue);
  background: rgba(66, 157, 231, 0.2);
  color: #fff;
}

.copy-helper {
  position: fixed;
  top: 0;
  left: -9999px;
  opacity: 0;
}

.code-tabs {
  margin: 16px 0 26px;
  overflow: hidden;
  border: 1px solid var(--code-border);
  border-radius: var(--radius);
  background: var(--code-bg);
  box-shadow: var(--shadow-md);
}

.code-tabs .code-block {
  margin: 0;
}

.code-tabs pre,
.code-tabs .code-block > pre {
  border-radius: 0;
  box-shadow: none;
}

.code-panel + .code-panel {
  border-top: 1px solid var(--code-border);
}

.tabs-ready .code-panel + .code-panel {
  border-top: 0;
}

.code-panel-label {
  margin: 0;
  padding: 8px 18px;
  border-bottom: 1px solid var(--code-border);
  background: var(--code-bar);
  color: var(--code-muted);
  font: 700 12px/1.2 var(--font-sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tabs-ready .code-panel-label {
  display: none;
}

.tab-list {
  display: flex;
  gap: 4px;
  padding: 0 10px;
  overflow-x: auto;
  border-bottom: 1px solid var(--code-border);
  background: var(--code-bar);
}

.tab {
  flex: none;
  margin: 0;
  padding: 12px 14px 11px;
  border: 0;
  background: transparent;
  color: var(--code-muted);
  font: 600 13px/1 var(--font-sans);
  cursor: pointer;
}

.tab:hover {
  color: #fff;
}

/* The chosen tab is underlined in DTS blue, as the DTS website marks the current page. */
.tab[aria-selected="true"] {
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--dts-blue);
}

.tab:focus-visible {
  outline-offset: -3px;
}

.heading-anchor {
  margin-left: 8px;
  color: var(--muted);
  font-weight: 400;
  text-decoration: none;
  opacity: 0;
}

h2:hover .heading-anchor,
h3:hover .heading-anchor,
.heading-anchor:focus {
  opacity: 1;
}

/* Footer */

.site-footer {
  margin-top: 88px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14.5px;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-bottom: 26px;
}

.footer-logo {
  display: block;
  width: auto;
  height: 50px;
}

.footer-brand p {
  max-width: 360px;
  margin: 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

.footer-heading {
  margin: 0 0 8px;
  color: var(--dts-navy);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.footer-links li + li {
  margin-top: 6px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-links a:hover {
  color: var(--dts-blue-strong);
  text-decoration: underline;
}

.footer-legal {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

/* 404 page */

.not-found {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 24px;
}

.not-found .brand {
  margin-bottom: 48px;
}

.not-found h1 {
  font-size: 2.5rem;
}

/* Medium screens: no quick links in the header */

@media (max-width: 1100px) {
  .topbar-nav {
    display: none;
  }
}

/* Small screens */

@media (max-width: 959px) {
  :root {
    --topbar-height: 62px;
  }

  .topbar {
    gap: 12px;
    padding: 4px 14px 0;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    height: 34px;
  }

  .brand-product {
    padding-left: 10px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-sub {
    font-size: 11.5px;
  }

  .menu-button {
    display: inline-flex;
  }

  .no-js .topbar {
    position: static;
  }

  .no-js .menu-button {
    display: none;
  }

  .js .sidebar {
    width: min(86vw, 330px);
    padding-top: 8px;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.2s ease, visibility 0s linear 0.2s;
  }

  .js .nav-open .sidebar {
    transform: none;
    visibility: visible;
    transition: transform 0.2s ease;
    box-shadow: 0 12px 32px rgba(11, 27, 42, 0.25);
  }

  .js .nav-open .nav-backdrop {
    position: fixed;
    top: var(--topbar-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 35;
    display: block;
    background: rgba(11, 27, 42, 0.45);
  }

  .js .nav-open {
    overflow: hidden;
  }

  .no-js .sidebar {
    position: static;
    width: auto;
    padding: 8px 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .main {
    margin-left: 0;
    padding: 24px 16px 64px;
  }

  .hero {
    padding: 30px 22px 26px;
    border-radius: 14px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .flow {
    grid-template-columns: 1fr;
  }

  .endpoint-meta {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .endpoint-meta dd {
    margin-bottom: 8px;
  }

  .hero-actions .button {
    width: 100%;
    text-align: center;
  }

  pre {
    font-size: 12.5px;
  }
}

@media (max-width: 400px) {
  .brand-product {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .sidebar,
  .js .nav-open .sidebar {
    transition: none;
  }
}

/* Print */

@media print {
  .sidebar,
  .topbar,
  .nav-backdrop,
  .copy-button,
  .tab-list,
  .skip-link,
  .heading-anchor,
  .hero-actions {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .main {
    margin: 0;
    padding: 0;
  }

  .content {
    max-width: none;
  }

  a {
    color: #000;
  }

  .hero {
    padding: 0;
    background: none;
    box-shadow: none;
    color: #000;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero h1,
  .hero .lead,
  .hero .eyebrow {
    color: #000;
  }

  .code-panel[hidden] {
    display: block !important;
  }

  .tabs-ready .code-panel-label,
  .code-panel-label {
    display: block !important;
    background: #eee;
    color: #000;
  }

  .code-tabs {
    border-color: #999;
    background: #fff;
    box-shadow: none;
  }

  pre {
    border: 1px solid #999;
    background: #fff !important;
    color: #000 !important;
    white-space: pre-wrap;
    word-break: break-word;
    overflow: visible;
    box-shadow: none !important;
  }

  .code-block.has-copy pre {
    padding-right: 18px;
  }

  .table-wrap {
    overflow: visible;
    border-color: #999;
    box-shadow: none;
  }

  table {
    min-width: 0;
  }

  th,
  td {
    border-color: #999;
  }

  .callout,
  .feature-grid li,
  .flow li,
  .endpoint-meta {
    border-color: #999;
    background: #fff;
    box-shadow: none;
  }

  .doc-section {
    border-top: 0;
  }

  .footer-logo {
    height: 36px;
  }

  h2,
  h3,
  h4 {
    break-after: avoid;
    page-break-after: avoid;
  }

  pre,
  .callout,
  tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
