:root {
  color-scheme: light;
  --panel: #ffffff;
  --panel-soft: #eff4ff;
  --panel-soft-strong: #d5e3fc;
  --border: rgba(199, 196, 215, 0.28);
  --border-strong: rgba(119, 117, 134, 0.18);
  --text: #0d1c2e;
  --muted: #54647a;
  --muted-strong: #464554;
  --primary: #2a14b4;
  --primary-soft: #d0e1fb;
  --primary-soft-strong: #c1beff;
  --success: #0f766e;
  --success-soft: rgba(15, 118, 110, 0.12);
  --warning: #a16207;
  --warning-soft: rgba(161, 98, 7, 0.12);
  --danger: #ba1a1a;
  --danger-soft: rgba(186, 26, 26, 0.11);
  --info: #1d4ed8;
  --info-soft: rgba(29, 78, 216, 0.1);
  --inverse-surface: #233144;
  --inverse-text: #eaf1ff;
  --sidebar-surface: rgba(246, 248, 252, 0.96);
  --sidebar-surface-strong: rgba(255, 255, 255, 0.78);
  --sidebar-input-surface: #ffffff;
  --sidebar-border: rgba(224, 230, 239, 0.96);
  --sidebar-text: #445468;
  --sidebar-muted: #6b778c;
  --sidebar-hover: #eef3ff;
  --sidebar-active: #e7eeff;
  --sidebar-accent: #2f55c7;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

body {
  background:
    radial-gradient(circle at top left, rgba(208, 225, 251, 0.42), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #f8f9ff 18%, #f8f9ff 100%);
}

.badge-row,
.inline-tags,
.tag-list,
.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portal-sidebar {
  background: var(--sidebar-surface) !important;
  border-right-color: var(--sidebar-border) !important;
}

.portal-search-shell {
  background: var(--sidebar-surface-strong) !important;
  outline-color: rgba(223, 229, 238, 0.94) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.portal-search-shell label {
  color: var(--sidebar-muted);
}

.portal-search-input {
  background: var(--sidebar-input-surface) !important;
  outline-color: rgba(219, 226, 237, 0.88) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 20px rgba(114, 130, 153, 0.06);
}

.portal-search-input::placeholder {
  color: rgba(107, 119, 140, 0.62);
}

.nav-tree {
  min-height: 0;
  overflow: auto;
  padding: 0 0.4rem 0.75rem 0;
}

.nav-tree::-webkit-scrollbar {
  width: 6px;
}

.nav-tree::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(146, 157, 177, 0.3);
}

.tree-section + .tree-section {
  margin-top: 1.35rem;
}

.tree-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0.55rem;
  margin-bottom: 0.35rem;
}

.tree-section-title {
  color: rgba(96, 108, 126, 0.92);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tree-section-count {
  color: rgba(120, 132, 151, 0.9);
  font-size: 0.68rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tree-section-body,
.tree-node {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.tree-row {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.125rem;
}

.tree-toggle,
.tree-leaf-slot {
  width: 1.5rem;
  min-width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 1.5rem;
}

.tree-toggle {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.25rem;
  border: none;
  border-radius: 0.25rem;
  background: transparent;
  color: rgba(117, 128, 146, 0.88);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  appearance: none;
}

.tree-toggle:hover {
  color: var(--sidebar-accent);
  background: rgba(231, 238, 255, 0.54);
}

.tree-toggle-icon {
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
}

.tree-toggle.expanded .tree-toggle-icon {
  transform: rotate(45deg);
}

.tree-leaf-slot {
  display: inline-block;
  margin-left: 0.25rem;
}

.tree-item {
  display: flex;
  align-items: center;
  min-height: 2.04rem;
  width: 100%;
  border: none;
  border-radius: 0.35rem;
  background: transparent;
  padding: 0.42rem 0.55rem;
  text-align: left;
  color: var(--sidebar-text);
  transition:
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}

.tree-item:hover {
  background: rgba(231, 238, 255, 0.48);
  color: var(--sidebar-accent);
}

.tree-item.active {
  box-shadow: inset 2px 0 0 var(--sidebar-accent);
  background: rgba(231, 238, 255, 0.52);
  color: var(--sidebar-accent);
}

.tree-item.level-0 {
  font-weight: 600;
}

.tree-item.level-1,
.tree-item.level-2,
.tree-item.level-3 {
  font-size: 0.84rem;
}

.tree-item.has-children:not(.active) {
  color: var(--muted-strong);
}

.tree-node.branch-active > .tree-row .tree-item.has-children:not(.active) {
  color: var(--sidebar-text);
}

.tree-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

.tree-title {
  display: inline-flex;
  align-items: center;
  min-height: 1.2rem;
  line-height: 1.35;
}

.tree-item.has-children .tree-title {
  font-weight: 500;
}

.tree-item.active .tree-title {
  font-weight: 600;
}

.tree-count {
  flex: 0 0 auto;
  color: rgba(120, 132, 151, 0.94);
  font-size: 0.69rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.tree-children {
  margin-left: 1rem;
  padding-left: 0.8rem;
  border-left: 1px solid rgba(226, 232, 241, 0.9);
}

.portal-switch-button {
  min-height: 2.75rem;
  border: 1px solid rgba(199, 196, 215, 0.36);
  border-radius: 0.5rem;
  background: #ffffff;
  padding: 0 0.85rem;
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}

.portal-switch-button:hover {
  border-color: rgba(42, 20, 180, 0.28);
  color: var(--primary);
}

.portal-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.portal-switch-button.active {
  border-color: rgba(42, 20, 180, 0.18);
  background: var(--primary-soft);
  color: var(--primary);
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skeleton-grid {
  align-items: stretch;
}

.skeleton-card,
.skeleton-line,
.skeleton-nav-dot,
.skeleton-nav-item {
  position: relative;
  overflow: hidden;
}

.skeleton-card {
  background: rgba(255, 255, 255, 0.86);
  outline: 1px solid rgba(199, 196, 215, 0.22);
}

.skeleton-card::before,
.skeleton-line::before,
.skeleton-nav-dot::before,
.skeleton-nav-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.3s ease-in-out infinite;
}

.skeleton-line {
  display: block;
  height: 0.82rem;
  border-radius: 999px;
  background: rgba(208, 225, 251, 0.68);
}

.skeleton-line + .skeleton-line {
  margin-top: 0.72rem;
}

.skeleton-line-xs {
  height: 0.58rem;
}

.skeleton-line-sm {
  height: 0.7rem;
}

.skeleton-line-md {
  height: 0.94rem;
}

.skeleton-line-lg {
  height: 1.08rem;
}

.skeleton-section {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.skeleton-section .section-header {
  margin-bottom: 0;
}

.skeleton-nav-section + .skeleton-nav-section {
  margin-top: 1rem;
}

.skeleton-nav-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.75rem;
}

.skeleton-nav-dot {
  width: 1.5rem;
  min-width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(208, 225, 251, 0.58);
}

.skeleton-nav-item {
  display: block;
  flex: 1;
  height: 0.95rem;
  border-radius: 0.42rem;
  background: rgba(208, 225, 251, 0.68);
}

.skeleton-code-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  white-space: normal;
}

.skeleton-code-block .skeleton-line {
  background: rgba(233, 239, 255, 0.18);
}

.skeleton-code-block .skeleton-line::before {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(233, 239, 255, 0.28) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

.doc-body[aria-busy="true"] {
  pointer-events: none;
}

.summary-chip,
.subsection,
.stat-card,
.link-card,
.example-card,
.doc-card {
  border-radius: 0.75rem;
  background: var(--panel);
  padding: 1rem;
  outline: 1px solid var(--border);
}

.summary-chip {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.summary-chip-label,
.stat-label {
  color: rgba(84, 100, 122, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-chip-value {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  word-break: break-word;
}

.doc-status {
  margin-bottom: 2rem;
}

.callout {
  border-radius: 0.75rem;
  padding: 1rem 1.125rem;
  font-size: 0.95rem;
  line-height: 1.8;
  outline: 1px solid transparent;
}

.callout.info {
  background: rgba(208, 225, 251, 0.45);
  color: var(--primary);
  outline-color: rgba(42, 20, 180, 0.08);
}

.callout.warning {
  background: var(--warning-soft);
  color: var(--warning);
  outline-color: rgba(161, 98, 7, 0.12);
}

.callout.danger {
  background: var(--danger-soft);
  color: var(--danger);
  outline-color: rgba(186, 26, 26, 0.12);
}

.doc-body {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.openapi-export-print {
  height: auto;
  min-height: auto;
  overflow: visible;
  background: #ffffff;
  color: var(--text);
}

.export-print-root {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 32px 56px;
}

.export-cover {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.export-cover p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.export-cover h1 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 2.35rem;
  line-height: 1.22;
  font-weight: 700;
}

.export-cover div {
  color: var(--muted);
  line-height: 1.8;
  word-break: break-word;
}

.export-doc-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.export-doc {
  break-after: auto;
}

.export-doc + .export-doc {
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.export-doc-head {
  margin-bottom: 28px;
}

.export-doc-head p {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.export-doc-head h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.9rem;
  line-height: 1.28;
  font-weight: 650;
}

.export-doc-head div {
  color: var(--muted);
  line-height: 1.9;
}

.openapi-export-print .doc-body,
.openapi-export-print .export-doc {
  display: block;
}

.openapi-export-print .doc-body {
  gap: 0;
}

.openapi-export-print .section + .section {
  margin-top: 36px;
}

.openapi-export-print .copy-code-btn,
.openapi-export-print .ref-button,
.openapi-export-print .tab-list {
  display: none !important;
}

.openapi-export-print .tab-panel[hidden] {
  display: block !important;
}

.openapi-export-print .table-wrap {
  overflow: visible;
  border-radius: 0.5rem;
}

.openapi-export-print table {
  min-width: 0;
  table-layout: fixed;
  word-break: break-word;
}

.openapi-export-print .code-shell {
  border-radius: 0.5rem;
}

.openapi-export-print .code-block,
.openapi-export-print .json-preview {
  white-space: pre-wrap;
  word-break: break-word;
}

.section {
  margin: 0;
  padding-bottom: 0.5rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h3 {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-header p {
  margin: 0;
  max-width: 58rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.96;
}

.section-stack {
  display: flex;
  flex-direction: column;
  gap: 1.55rem;
}

.subsection-grid,
.stat-grid,
.link-grid,
.example-grid {
  display: grid;
  gap: 1rem;
}

.stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.subsection-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.link-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.example-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.subsection {
  background: rgba(239, 244, 255, 0.42);
  padding: 1.25rem 1.3rem;
}

.subsection-header {
  margin-bottom: 1.15rem;
}

.subsection-header h4,
.link-card h4,
.example-card h4,
.doc-card h4 {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 600;
}

.subsection-header p,
.link-card p,
.example-card p,
.doc-card p,
.stat-hint {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
  word-break: break-word;
}

.stat-value {
  color: var(--text);
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 700;
  margin-top: 0.35rem;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 11rem;
}

.link-card-empty {
  color: rgba(84, 100, 122, 0.7);
}

.guide-copy-stack {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.guide-copy {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.92;
}

.ordered-list,
.bullet-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text);
  line-height: 1.92;
}

.ordered-list li + li,
.bullet-list li + li {
  margin-top: 0.72rem;
}

.section-subnotes {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.6rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-neutral {
  background: rgba(80, 95, 118, 0.12);
  color: var(--muted);
}

.badge-info {
  background: var(--primary-soft);
  color: var(--primary);
}

.badge-warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.badge-danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.badge-success {
  background: var(--success-soft);
  color: var(--success);
}

.ref-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(199, 196, 215, 0.32);
  background: rgba(255, 255, 255, 0.82);
  padding: 0 0.75rem;
  color: var(--muted-strong);
  font-size: 0.87rem;
  font-weight: 500;
  transition:
    border-color 0.16s ease,
    color 0.16s ease,
    background 0.16s ease;
}

.ref-button:hover {
  border-color: rgba(42, 20, 180, 0.16);
  background: rgba(208, 225, 251, 0.34);
  color: var(--primary);
}

.ref-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(199, 196, 215, 0.32);
  background: rgba(255, 255, 255, 0.82);
  padding: 0 0.72rem;
  color: var(--muted-strong);
  font-size: 0.87rem;
  line-height: 1.45;
  word-break: break-word;
}

.ref-pill-type {
  margin-right: 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.link-card .ref-button {
  margin-top: auto;
  align-self: flex-start;
}

.tab-group {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  padding: 0.5rem;
  border: 1px solid rgba(199, 196, 215, 0.28);
  border-radius: 1rem;
  background: rgba(239, 244, 255, 0.78);
}

.tab-button {
  position: relative;
  min-height: 2.5rem;
  padding: 0.68rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  background: transparent;
  color: rgba(84, 100, 122, 0.82);
  font-size: 0.88rem;
  font-weight: 600;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}

.tab-button:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.88);
}

.tab-button.active {
  color: var(--primary);
  border-color: rgba(42, 20, 180, 0.18);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(42, 20, 180, 0.1);
}

.tab-button.active::after {
  display: none;
}

.tab-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tab-panel[hidden] {
  display: none !important;
}

.tab-panel-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.88;
}

.code-shell {
  overflow: hidden;
  border-radius: 0.95rem;
  background: var(--inverse-surface);
  outline: 1px solid rgba(199, 196, 215, 0.18);
}

.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.82rem 1rem;
  border-bottom: 1px solid rgba(199, 196, 215, 0.12);
  background: rgba(213, 227, 252, 0.08);
}

.code-toolbar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.code-language-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  background: rgba(193, 190, 255, 0.14);
  color: #c9e6ff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.code-toolbar-note {
  color: rgba(234, 241, 255, 0.66);
  font-size: 0.78rem;
}

.copy-code-btn {
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0.75rem;
  color: var(--inverse-text);
  font-size: 0.8rem;
  font-weight: 500;
}

.copy-code-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.code-block,
.json-preview {
  margin: 0;
  overflow: auto;
  padding: 1.18rem 1.2rem;
  color: var(--inverse-text);
  font-size: 0.85rem;
  line-height: 1.9;
}

.code-block {
  white-space: pre;
  word-break: normal;
  tab-size: 2;
}

.json-preview {
  white-space: pre-wrap;
  word-break: break-word;
}

.code-block .code-content {
  display: block;
  min-width: max-content;
  color: var(--inverse-text);
}

.endpoint-client-tabs .tab-panel,
.endpoint-definition-tabs .tab-panel,
.guide-code-tabs .tab-panel,
.example-tabs .tab-panel {
  gap: 1.15rem;
}

.code-token-comment {
  color: rgba(191, 214, 255, 0.46);
  font-style: italic;
}

.code-token-keyword {
  color: #c6a0ff;
}

.code-token-literal {
  color: #ff8fa3;
}

.code-token-string {
  color: #f6c177;
}

.code-token-number {
  color: #ffb86c;
}

.code-token-key {
  color: #89b4ff;
}

.code-token-function {
  color: #8bd5ff;
}

.code-token-type {
  color: #ffd166;
}

.code-token-variable {
  color: #ff9e64;
}

.code-token-flag,
.code-token-decorator {
  color: #7dd3fc;
}

.code-token-punctuation {
  color: rgba(234, 241, 255, 0.88);
}

.table-wrap {
  overflow: auto;
  border-radius: 0.75rem;
  background: var(--panel);
  outline: 1px solid rgba(199, 196, 215, 0.24);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
}

th,
td {
  padding: 0.82rem 0.95rem;
  border-bottom: 1px solid rgba(199, 196, 215, 0.18);
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(239, 244, 255, 0.75);
  color: rgba(84, 100, 122, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
}

td {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.72;
}

tr:last-child td {
  border-bottom: none;
}

.empty {
  color: rgba(84, 100, 122, 0.72);
  font-size: 0.9rem;
}

body.openapi-docs-embedded {
  background: #ffffff;
}

body.openapi-docs-embedded > header,
body.openapi-docs-embedded .portal-sidebar {
  display: none !important;
}

body.openapi-docs-embedded main {
  background: #ffffff !important;
}

body.openapi-docs-embedded main > div {
  padding: 1.25rem 1.5rem 2rem !important;
}

@media (max-width: 960px) {
  .doc-header-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .subsection-grid,
  .link-grid,
  .example-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-switcher {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .tab-list {
    gap: 0.75rem;
  }

  table {
    min-width: 560px;
  }

}

@media print {
  html,
  body {
    height: auto;
    min-height: auto;
    overflow: visible !important;
    background: #ffffff !important;
  }

  body {
    display: block !important;
  }

  body > header,
  .portal-sidebar,
  .copy-code-btn,
  .ref-button,
  .tab-list {
    display: none !important;
  }

  main {
    overflow: visible !important;
    background: #ffffff !important;
  }

  main > div {
    padding: 0 !important;
  }

  .doc-header-layout {
    display: block !important;
  }

  .doc-body,
  .section-card,
  .subsection,
  .stat-card,
  .link-card,
  .example-card,
  .doc-card,
  .code-shell,
  .callout {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .tab-panel[hidden] {
    display: block !important;
  }

  .code-shell,
  .code-block,
  .json-preview {
    color: #0d1c2e !important;
    background: #f6f8fb !important;
  }

  a {
    color: #0d1c2e;
    text-decoration: none;
  }
}
