/* ============================================================
   DVYER API · Developer Portal v2
   Diseño tipo consola/documentación técnica
   ============================================================ */

:root {
  --docs-bg: #070b12;
  --docs-bg-soft: #0a101a;
  --docs-panel: #0d1420;
  --docs-panel-2: #101925;
  --docs-panel-3: #141f2e;
  --docs-line: rgba(148, 163, 184, 0.16);
  --docs-line-strong: rgba(148, 163, 184, 0.28);
  --docs-text: #eef5ff;
  --docs-muted: #8fa0b8;
  --docs-muted-2: #66768c;
  --docs-accent: #3b82f6;
  --docs-accent-strong: #2563eb;
  --docs-accent-soft: rgba(59, 130, 246, 0.14);
  --docs-cyan: #22d3ee;
  --docs-green: #34d399;
  --docs-amber: #fbbf24;
  --docs-pink: #f472b6;
  --docs-red: #fb7185;
  --docs-sidebar-width: 248px;
  --docs-appbar-height: 72px;
  --docs-radius: 14px;
  --docs-radius-sm: 10px;
  --docs-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --docs-font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --docs-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

body.docs-page[data-theme="light"] {
  --docs-bg: #f4f7fb;
  --docs-bg-soft: #eef3f8;
  --docs-panel: #ffffff;
  --docs-panel-2: #f8fafc;
  --docs-panel-3: #edf3f9;
  --docs-line: rgba(15, 23, 42, 0.10);
  --docs-line-strong: rgba(15, 23, 42, 0.18);
  --docs-text: #102033;
  --docs-muted: #52657d;
  --docs-muted-2: #7a899c;
  --docs-accent-soft: rgba(37, 99, 235, 0.09);
  --docs-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p,
pre,
small,
code {
  margin: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--docs-appbar-height) + 22px);
}

body.docs-page {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--docs-text);
  background:
    radial-gradient(circle at 82% 8%, rgba(37, 99, 235, 0.08), transparent 30rem),
    var(--docs-bg);
  font-family: var(--docs-font);
  font-size: 14px;
  line-height: 1.55;
}

body.docs-page::before,
body.docs-page::after {
  display: none;
}

body.docs-page a {
  color: inherit;
}

body.docs-page button,
body.docs-page input,
body.docs-page select {
  font: inherit;
}

body.docs-page code,
body.docs-page pre,
body.docs-page kbd {
  font-family: var(--docs-mono);
}

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

/* Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #070b12;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

body:not(.is-booting) .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-box {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #eaf2ff;
}

.loader-box strong {
  letter-spacing: 0.14em;
  font-size: 13px;
}

.loader-box span {
  color: #7f90a8;
  font-size: 12px;
}

.loader-mark {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(59, 130, 246, 0.24);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: docs-spin 0.8s linear infinite;
}

@keyframes docs-spin {
  to { transform: rotate(360deg); }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--docs-accent), var(--docs-cyan));
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.7);
}

/* App shell */
.docs-app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--docs-sidebar-width) minmax(0, 1fr);
}

.docs-sidebar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  overflow-y: auto;
  border-right: 1px solid var(--docs-line);
  background: rgba(7, 11, 18, 0.96);
  backdrop-filter: blur(18px);
}

body.docs-page[data-theme="light"] .docs-sidebar {
  background: rgba(255, 255, 255, 0.95);
}

.docs-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 5px 8px;
  text-decoration: none;
}

.docs-brand-symbol {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.36);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.18), rgba(34, 211, 238, 0.06));
  box-shadow: inset 0 0 18px rgba(59, 130, 246, 0.08);
}

.docs-brand-symbol img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.docs-sidebar-brand > span:last-child {
  display: grid;
  gap: 0;
}

.docs-sidebar-brand strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.docs-sidebar-brand small {
  color: var(--docs-muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-sidebar-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 18px 5px 20px;
  padding: 9px 10px;
  border: 1px solid var(--docs-line);
  border-radius: 10px;
  background: var(--docs-panel);
}

.docs-sidebar-status .status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--docs-green);
  font-size: 11px;
  font-weight: 700;
}

.docs-sidebar-status .status i,
.docs-eyebrow i,
.docs-live-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--docs-green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.10);
}

.docs-sidebar-status small {
  color: var(--docs-muted-2);
  font-size: 10px;
}

.docs-sidebar-nav {
  display: grid;
  gap: 4px;
  margin-bottom: 20px;
}

.docs-sidebar-nav p {
  margin: 0 8px 7px;
  color: var(--docs-muted-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.docs-sidebar-nav a {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: var(--docs-muted);
  border: 1px solid transparent;
  border-radius: 9px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: 0.18s ease;
}

.docs-sidebar-nav a:hover {
  color: var(--docs-text);
  background: var(--docs-panel);
  border-color: var(--docs-line);
}

.docs-sidebar-nav a[aria-current="page"] {
  color: #dbeafe;
  border-color: rgba(59, 130, 246, 0.24);
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0.06));
  box-shadow: inset 3px 0 0 var(--docs-accent);
}

body.docs-page[data-theme="light"] .docs-sidebar-nav a[aria-current="page"] {
  color: #1e40af;
}

.docs-sidebar-nav svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.docs-category-nav a {
  min-height: 34px;
  font-size: 11px;
}

.docs-category-nav a small {
  margin-left: auto;
  color: var(--docs-muted-2);
  font-family: var(--docs-mono);
  font-size: 9px;
}

.nav-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.nav-dot-blue { background: var(--docs-accent); }
.nav-dot-cyan { background: var(--docs-cyan); }
.nav-dot-pink { background: var(--docs-pink); }
.nav-dot-amber { background: var(--docs-amber); }
.nav-dot-green { background: var(--docs-green); }

.docs-sidebar-footer {
  margin-top: auto;
  padding: 14px 10px 4px;
  border-top: 1px solid var(--docs-line);
}

.docs-sidebar-footer span {
  display: block;
  margin-bottom: 6px;
  color: var(--docs-muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.docs-sidebar-footer code {
  display: block;
  overflow: hidden;
  color: var(--docs-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-stage {
  min-width: 0;
}

.docs-appbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--docs-appbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px clamp(20px, 3vw, 42px);
  border-bottom: 1px solid var(--docs-line);
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(20px);
}

body.docs-page[data-theme="light"] .docs-appbar {
  background: rgba(244, 247, 251, 0.86);
}

.docs-mobile-brand {
  display: none;
  color: var(--docs-text);
  text-decoration: none;
}

.docs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--docs-muted-2);
  font-size: 12px;
}

.docs-breadcrumb i {
  color: var(--docs-line-strong);
  font-style: normal;
}

.docs-breadcrumb strong {
  color: var(--docs-text);
  font-weight: 700;
}

.docs-appbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.docs-search {
  width: min(360px, 34vw);
  height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid var(--docs-line);
  border-radius: 10px;
  background: var(--docs-panel);
  transition: 0.18s ease;
}

.docs-search:focus-within {
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.10);
}

.docs-search svg {
  width: 16px;
  height: 16px;
  color: var(--docs-muted-2);
}

.docs-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--docs-text);
  background: transparent;
  font-size: 12px;
}

.docs-search input::placeholder {
  color: var(--docs-muted-2);
}

.docs-search kbd {
  padding: 3px 6px;
  color: var(--docs-muted-2);
  border: 1px solid var(--docs-line);
  border-radius: 5px;
  background: var(--docs-panel-2);
  font-size: 9px;
}

.docs-icon-button,
.docs-account-button {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--docs-line);
  border-radius: 10px;
  color: var(--docs-muted);
  background: var(--docs-panel);
  text-decoration: none;
  cursor: pointer;
  transition: 0.18s ease;
}

.docs-icon-button {
  width: 42px;
  padding: 0;
}

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

.docs-account-button {
  padding: 0 15px;
  color: #eff6ff;
  border-color: rgba(59, 130, 246, 0.46);
  background: var(--docs-accent-strong);
  font-size: 11px;
  font-weight: 800;
}

.docs-icon-button:hover,
.docs-account-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.docs-content {
  width: min(100%, 1640px);
  margin: 0 auto;
  padding: 38px clamp(20px, 3vw, 42px) 30px;
}

/* Intro */
.docs-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.76fr);
  align-items: end;
  gap: clamp(30px, 5vw, 76px);
  padding: 10px 0 40px;
  border-bottom: 1px solid var(--docs-line);
}

.docs-intro::after {
  content: "";
  position: absolute;
  right: 2%;
  top: -40px;
  width: 300px;
  height: 220px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.11), transparent 68%);
  filter: blur(8px);
}

.docs-intro-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.docs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  color: var(--docs-cyan);
  font-family: var(--docs-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.docs-intro h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 4.3vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.docs-intro-copy > p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--docs-muted);
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.75;
}

.docs-intro-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
}

body.docs-page .button-primary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--docs-accent);
  border-radius: 9px;
  color: #fff;
  background: var(--docs-accent-strong);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.20);
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
}

body.docs-page .button-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

body.docs-page button:disabled,
body.docs-page .button-primary:disabled,
body.docs-page .button-secondary:disabled {
  opacity: 0.58;
  cursor: wait;
  transform: none;
}

.docs-text-link {
  color: var(--docs-text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.docs-text-link span {
  margin-left: 5px;
  color: var(--docs-accent);
}

.docs-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--docs-line);
  border-radius: var(--docs-radius);
  background: rgba(13, 20, 32, 0.7);
  box-shadow: var(--docs-shadow);
  overflow: hidden;
}

body.docs-page[data-theme="light"] .docs-metrics {
  background: rgba(255, 255, 255, 0.86);
}

.docs-metrics article {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 20px;
  border-right: 1px solid var(--docs-line);
  border-bottom: 1px solid var(--docs-line);
}

.docs-metrics article:nth-child(2n) { border-right: 0; }
.docs-metrics article:nth-child(n + 3) { border-bottom: 0; }

.docs-metrics span {
  color: var(--docs-muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.docs-metrics strong {
  font-family: var(--docs-mono);
  font-size: 20px;
  letter-spacing: -0.04em;
}

.docs-metrics .metric-online {
  color: var(--docs-green);
}

.empty-filter {
  margin-top: 20px;
  padding: 16px 18px;
  color: var(--docs-muted);
  border: 1px dashed var(--docs-line-strong);
  border-radius: 10px;
  background: var(--docs-panel);
  text-align: center;
}

/* Workspace */
.docs-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);
  align-items: start;
  gap: clamp(24px, 3vw, 38px);
  margin-top: 34px;
}

body.docs-page .docs.card {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.docs-hero,
.docs-top-actions,
.docs-quick-nav {
  display: none !important;
}

.category-list {
  display: grid;
  gap: 30px;
}

.category-group.panel-soft {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.category-toggle {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 13px;
  border: 0;
  border-bottom: 1px solid var(--docs-line-strong);
  color: var(--docs-text);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.category-lead {
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--docs-accent);
  border: 1px solid rgba(59, 130, 246, 0.24);
  border-radius: 9px;
  background: var(--docs-accent-soft);
}

[data-category-kind="search"] .category-icon { color: var(--docs-cyan); border-color: rgba(34,211,238,.22); background: rgba(34,211,238,.08); }
[data-category-kind="anime"] .category-icon { color: var(--docs-pink); border-color: rgba(244,114,182,.22); background: rgba(244,114,182,.08); }
[data-category-kind="tools"] .category-icon { color: var(--docs-amber); border-color: rgba(251,191,36,.22); background: rgba(251,191,36,.08); }
[data-category-kind="system"] .category-icon { color: var(--docs-green); border-color: rgba(52,211,153,.22); background: rgba(52,211,153,.08); }

.category-icon svg {
  width: 17px;
  height: 17px;
}

.category-copy {
  display: grid;
  gap: 2px;
}

.category-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.category-summary {
  color: var(--docs-muted);
  font-size: 11px;
  font-weight: 500;
}

.category-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--docs-muted-2);
}

.category-meta small {
  font-family: var(--docs-mono);
  font-size: 9px;
}

.category-caret {
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.category-toggle:not(.is-open) .category-caret {
  transform: rotate(-45deg);
}

.category-content {
  overflow: hidden;
}

.category-toggle:not(.is-open) + .category-content {
  display: none;
}

.endpoint-grid.endpoint-grid-docs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.endpoint-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(125px, 0.72fr) minmax(170px, 1fr) minmax(210px, 1.35fr) 76px;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--docs-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.18s ease, padding 0.18s ease;
}

.endpoint-card:hover,
.endpoint-card.is-active {
  margin-inline: -12px;
  padding-inline: 12px;
  border-radius: 10px;
  background: var(--docs-accent-soft);
}

.endpoint-card.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: var(--docs-accent);
}

.endpoint-top {
  display: contents;
}

.method-pill {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  min-width: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 7px;
  color: #86efac;
  border: 1px solid rgba(52, 211, 153, 0.22);
  border-radius: 6px;
  background: rgba(52, 211, 153, 0.08);
  font-family: var(--docs-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.endpoint-card h3 {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  color: var(--docs-text);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.endpoint-card > code {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  color: #93c5fd;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.docs-page[data-theme="light"] .endpoint-card > code {
  color: #1d4ed8;
}

.endpoint-card > p {
  grid-column: 4;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  color: var(--docs-muted);
  font-size: 10px;
  line-height: 1.55;
}

.endpoint-arrow {
  grid-column: 5;
  grid-row: 1;
  justify-self: end;
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  color: var(--docs-muted);
  border: 1px solid var(--docs-line);
  border-radius: 7px;
  background: var(--docs-panel);
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
}

.endpoint-card:hover .endpoint-arrow,
.endpoint-arrow:hover,
.endpoint-arrow.is-active {
  color: #fff;
  border-color: var(--docs-accent);
  background: var(--docs-accent-strong);
}

/* Tester console */
body.docs-page .docs-tester.card {
  position: sticky;
  top: calc(var(--docs-appbar-height) + 20px);
  max-height: calc(100vh - var(--docs-appbar-height) - 40px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--docs-line-strong);
  border-radius: var(--docs-radius);
  background: #090f18;
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.34);
}

body.docs-page[data-theme="light"] .docs-tester.card {
  background: #0b1220;
  color: #eef5ff;
}

.docs-tester-sticky {
  max-height: inherit;
  padding: 0 18px 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #243247 transparent;
}

.tester-sheet-head {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0 -18px;
  padding: 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(9, 15, 24, 0.96);
  backdrop-filter: blur(14px);
}

.tester-label {
  display: block;
  margin-bottom: 4px;
  color: #60a5fa;
  font-family: var(--docs-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tester-sheet-head h2 {
  margin: 0;
  color: #eef5ff;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.docs-live-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  color: #86efac;
  border: 1px solid rgba(52, 211, 153, 0.18);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.07);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.tester-description {
  margin: 16px 0;
  color: #8494aa;
  font-size: 10px;
  line-height: 1.65;
}

.docs-endpoint-picker,
.tester-key-picker,
.field-block {
  display: grid;
  gap: 7px;
}

.docs-endpoint-picker > span,
.tester-key-picker > span,
.field-block > span {
  color: #8fa0b8;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.docs-endpoint-picker select,
.tester-key-picker input,
.field-block input,
.field-block select {
  width: 100%;
  min-height: 40px;
  padding: 0 11px;
  color: #e8f0fa;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  outline: none;
  background: #0d1623;
  font-family: var(--docs-mono);
  font-size: 10px;
  transition: 0.18s ease;
}

.docs-endpoint-picker select:focus,
.tester-key-picker input:focus,
.field-block input:focus,
.field-block select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.tester-keybar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  margin-top: 12px;
}

.docs-key-note {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 8px;
}

body.docs-page .button-secondary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #aebcd0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: #111b29;
  text-decoration: none;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
}

body.docs-page .button-secondary:hover {
  color: #fff;
  border-color: rgba(59, 130, 246, 0.55);
  background: #172337;
}

.route-chip.docs-route-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0 12px;
  padding: 11px 12px;
  border: 1px solid rgba(59, 130, 246, 0.20);
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.07);
}

.route-chip.docs-route-chip span {
  padding: 3px 6px;
  color: #86efac;
  border: 1px solid rgba(52, 211, 153, 0.18);
  border-radius: 5px;
  background: rgba(52, 211, 153, 0.07);
  font-family: var(--docs-mono);
  font-size: 8px;
  font-weight: 700;
}

.route-chip.docs-route-chip code {
  min-width: 0;
  overflow: hidden;
  color: #93c5fd;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tester-form {
  margin-top: 0;
}

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

.tester-fields .field-block:first-child:nth-last-child(1),
.tester-fields .field-block:first-child:nth-last-child(3),
.tester-fields .field-block:first-child:nth-last-child(3) ~ .field-block:last-child {
  grid-column: 1 / -1;
}

.docs-tester-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 13px;
}

.docs-tester-actions .button-primary {
  width: 100%;
}

.tester-data {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 9px;
  background: #070c13;
}

.panel-row-head {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 11px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: #0d1520;
}

.panel-row-head > span {
  color: #9fb0c5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.panel-row-head small {
  color: #52657d;
  font-family: var(--docs-mono);
  font-size: 8px;
}

.docs-copy-request {
  padding: 0;
  color: #60a5fa;
  border: 0;
  background: transparent;
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
}

.tester-data pre {
  min-height: 76px;
  max-height: 220px;
  margin: 0;
  padding: 12px;
  overflow: auto;
  color: #b8c7d9;
  background: transparent;
  font-size: 9px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.tester-data-response pre {
  min-height: 130px;
  color: #86efac;
}

.docs-response-meta {
  display: block;
  padding: 0 11px 10px;
  color: #5e7087;
  font-size: 8px;
}

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

.link-button.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.footer {
  margin-top: 38px;
  padding: 22px 0 2px;
  color: var(--docs-muted-2);
  border-top: 1px solid var(--docs-line);
  font-size: 10px;
  text-align: center;
}

/* Focus */
body.docs-page :focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: 3px;
}

/* Tablet */
@media (max-width: 1180px) {
  :root {
    --docs-sidebar-width: 220px;
  }

  .docs-workspace {
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .endpoint-card {
    grid-template-columns: 54px minmax(120px, 0.8fr) minmax(145px, 1fr) 72px;
  }

  .endpoint-card > p {
    display: none;
  }

  .endpoint-arrow { grid-column: 4; }
}

@media (max-width: 980px) {
  .docs-app-shell {
    display: block;
  }

  .docs-sidebar {
    display: none;
  }

  .docs-appbar {
    min-height: 64px;
    padding-inline: 18px;
  }

  .docs-mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
  }

  .docs-mobile-brand img {
    width: 28px;
    height: 28px;
    object-fit: contain;
  }

  .docs-mobile-brand strong {
    font-size: 12px;
    letter-spacing: 0.05em;
  }

  .docs-breadcrumb {
    display: none;
  }

  .docs-search {
    width: min(330px, 42vw);
  }

  .docs-content {
    padding-top: 28px;
  }

  .docs-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .docs-metrics {
    max-width: 620px;
  }

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

  body.docs-page .docs-tester.card {
    position: relative;
    top: auto;
    max-height: none;
    order: -1;
  }

  .docs-tester-sticky {
    max-height: none;
  }

  .tester-sheet-head {
    position: relative;
  }
}

@media (max-width: 720px) {
  :root {
    --docs-appbar-height: 62px;
  }

  .docs-appbar {
    gap: 10px;
  }

  .docs-mobile-brand strong {
    display: none;
  }

  .docs-search {
    width: auto;
    min-width: 0;
    flex: 1;
  }

  .docs-search kbd,
  .docs-account-button {
    display: none;
  }

  .docs-content {
    padding: 24px 14px 22px;
  }

  .docs-intro {
    padding: 5px 2px 28px;
  }

  .docs-intro h1 {
    font-size: clamp(32px, 11vw, 45px);
  }

  .docs-intro-copy > p {
    margin-top: 15px;
    font-size: 13px;
  }

  .docs-intro-actions {
    margin-top: 20px;
  }

  .docs-metrics article {
    min-height: 86px;
    padding: 15px;
  }

  .docs-metrics strong {
    font-size: 16px;
  }

  .docs-workspace {
    gap: 25px;
    margin-top: 26px;
  }

  .category-list {
    gap: 25px;
  }

  .category-toggle {
    min-height: 58px;
  }

  .category-summary {
    display: none;
  }

  .category-meta small {
    display: none;
  }

  .endpoint-grid.endpoint-grid-docs {
    gap: 9px;
    padding-top: 12px;
  }

  .endpoint-card,
  .endpoint-card:hover,
  .endpoint-card.is-active {
    margin: 0;
    min-height: 112px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    gap: 6px 9px;
    padding: 13px;
    border: 1px solid var(--docs-line);
    border-radius: 10px;
    background: var(--docs-panel);
  }

  .endpoint-card.is-active {
    border-color: rgba(59, 130, 246, 0.42);
    background: var(--docs-accent-soft);
  }

  .endpoint-card.is-active::before {
    display: none;
  }

  .method-pill {
    grid-column: 1;
    grid-row: 1;
  }

  .endpoint-card h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: 12px;
  }

  .endpoint-card > code {
    grid-column: 1 / 4;
    grid-row: 2;
    font-size: 9px;
  }

  .endpoint-card > p {
    grid-column: 1 / 3;
    grid-row: 3;
    display: block;
    font-size: 9px;
  }

  .endpoint-arrow {
    grid-column: 3;
    grid-row: 1 / 4;
    align-self: center;
  }

  .endpoint-arrow span:first-child {
    display: none;
  }

  body.docs-page .docs-tester.card {
    border-radius: 12px;
  }

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

  .tester-fields .field-block {
    grid-column: auto !important;
  }

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

  .docs-tester-actions,
  .docs-result-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 430px) {
  .docs-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .docs-metrics article,
  .docs-metrics article:nth-child(2n),
  .docs-metrics article:nth-child(n + 3) {
    min-height: 69px;
    border-right: 0;
    border-bottom: 1px solid var(--docs-line);
  }

  .docs-metrics article:last-child {
    border-bottom: 0;
  }

  .docs-intro-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .docs-intro-actions .button-primary {
    width: 100%;
  }
}

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

/* ============================================================
   DVYER API · Emerald Documentation Experience
   Capa visual compatible con la lógica actual de app.js
   ============================================================ */

body.docs-page.docs-emerald {
  --docs-bg: #030807;
  --docs-bg-soft: #06100d;
  --docs-panel: #08130f;
  --docs-panel-2: #0b1713;
  --docs-panel-3: #0e1d18;
  --docs-line: rgba(155, 255, 215, 0.095);
  --docs-line-strong: rgba(128, 255, 204, 0.18);
  --docs-text: #effff8;
  --docs-muted: #91aa9f;
  --docs-muted-2: #61786e;
  --docs-accent: #17e89a;
  --docs-accent-strong: #08c983;
  --docs-accent-soft: rgba(23, 232, 154, 0.095);
  --docs-cyan: #2dd4bf;
  --docs-green: #36f3a7;
  --docs-amber: #f5b94c;
  --docs-pink: #f472b6;
  --docs-red: #fb7185;
  --docs-sidebar-width: 270px;
  --docs-appbar-height: 72px;
  --docs-radius: 18px;
  --docs-radius-sm: 12px;
  --docs-shadow: 0 24px 75px rgba(0, 0, 0, 0.36);
  position: relative;
  color: var(--docs-text);
  background:
    radial-gradient(circle at 88% 7%, rgba(23, 232, 154, 0.08), transparent 28rem),
    radial-gradient(circle at 18% 28%, rgba(45, 212, 191, 0.055), transparent 34rem),
    linear-gradient(180deg, #030807 0%, #040a08 52%, #020605 100%);
}

body.docs-page.docs-emerald[data-theme="light"] {
  --docs-bg: #f4faf7;
  --docs-bg-soft: #eaf5ef;
  --docs-panel: #ffffff;
  --docs-panel-2: #f7fbf9;
  --docs-panel-3: #edf7f2;
  --docs-line: rgba(4, 79, 54, 0.10);
  --docs-line-strong: rgba(4, 79, 54, 0.18);
  --docs-text: #0d2119;
  --docs-muted: #49665a;
  --docs-muted-2: #789086;
  --docs-accent: #08aa70;
  --docs-accent-strong: #078e60;
  --docs-accent-soft: rgba(8, 170, 112, 0.085);
  --docs-shadow: 0 24px 60px rgba(9, 64, 43, 0.09);
  background:
    radial-gradient(circle at 88% 7%, rgba(23, 232, 154, 0.09), transparent 28rem),
    #f4faf7;
}

body.docs-page.docs-emerald::selection {
  color: #03100b;
  background: rgba(54, 243, 167, 0.78);
}

.docs-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.docs-ambient-grid {
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(98, 255, 199, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 255, 199, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.5) 58%, transparent 96%);
}

.docs-ambient-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.13;
}

.docs-ambient-orb-a {
  top: -9rem;
  right: 3%;
  width: 34rem;
  height: 34rem;
  background: #00e897;
}

.docs-ambient-orb-b {
  top: 38%;
  left: 16%;
  width: 26rem;
  height: 26rem;
  background: #09bfa8;
  opacity: 0.07;
}

body.docs-page.docs-emerald[data-theme="light"] .docs-ambient-grid {
  opacity: 0.38;
}

/* Loader y progreso */
body.docs-page.docs-emerald .page-loader {
  background:
    radial-gradient(circle at 50% 44%, rgba(23, 232, 154, 0.13), transparent 17rem),
    #030807;
}

body.docs-page.docs-emerald .loader-mark {
  width: 42px;
  height: 42px;
  border-color: rgba(23, 232, 154, 0.15);
  border-top-color: var(--docs-accent);
  box-shadow: 0 0 24px rgba(23, 232, 154, 0.16);
}

body.docs-page.docs-emerald .loader-box strong {
  color: #f2fff9;
}

body.docs-page.docs-emerald .scroll-progress {
  height: 3px;
  background: linear-gradient(90deg, #0cca83, #2dd4bf, #7cf6c8);
  box-shadow: 0 0 18px rgba(23, 232, 154, 0.7);
}

/* Sidebar */
body.docs-page.docs-emerald .docs-sidebar {
  padding: 22px 17px 18px;
  border-right-color: rgba(113, 255, 201, 0.10);
  background:
    linear-gradient(180deg, rgba(7, 17, 14, 0.97), rgba(3, 9, 7, 0.97));
  box-shadow: 18px 0 60px rgba(0, 0, 0, 0.16);
  scrollbar-color: rgba(23, 232, 154, 0.28) transparent;
}

body.docs-page.docs-emerald[data-theme="light"] .docs-sidebar {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 16px 0 50px rgba(8, 78, 52, 0.07);
}

body.docs-page.docs-emerald .docs-sidebar-brand {
  gap: 12px;
  padding: 5px 8px 14px;
}

body.docs-page.docs-emerald .docs-brand-symbol {
  width: 43px;
  height: 43px;
  border-color: rgba(23, 232, 154, 0.32);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(23, 232, 154, 0.17), rgba(45, 212, 191, 0.035));
  box-shadow:
    inset 0 0 22px rgba(23, 232, 154, 0.08),
    0 0 24px rgba(23, 232, 154, 0.07);
}

body.docs-page.docs-emerald .docs-brand-symbol img {
  width: 35px;
  height: 35px;
}

body.docs-page.docs-emerald .docs-sidebar-brand strong {
  color: #f6fffb;
  letter-spacing: 0.05em;
}

body.docs-page.docs-emerald[data-theme="light"] .docs-sidebar-brand strong {
  color: #10251c;
}

body.docs-page.docs-emerald .docs-sidebar-status {
  margin: 2px 5px 17px;
  padding: 11px 12px;
  border: 1px solid rgba(23, 232, 154, 0.13);
  border-radius: 13px;
  background: rgba(23, 232, 154, 0.045);
}

body.docs-page.docs-emerald .docs-sidebar-status .status[data-state="ok"] {
  color: #8ff6c5;
}

body.docs-page.docs-emerald .docs-sidebar-nav {
  gap: 4px;
}

body.docs-page.docs-emerald .docs-sidebar-nav p {
  margin: 14px 9px 7px;
  color: #4e6c60;
  letter-spacing: 0.16em;
}

body.docs-page.docs-emerald .docs-sidebar-nav a {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #8fa79c;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

body.docs-page.docs-emerald .docs-sidebar-nav a:hover {
  color: #eafff4;
  border-color: rgba(23, 232, 154, 0.11);
  background: rgba(23, 232, 154, 0.055);
  transform: translateX(2px);
}

body.docs-page.docs-emerald[data-theme="light"] .docs-sidebar-nav a:hover {
  color: #0d2119;
}

body.docs-page.docs-emerald .docs-sidebar-nav a[aria-current="page"],
body.docs-page.docs-emerald .docs-sidebar-nav a.is-section-active {
  color: #eafff4;
  border-color: rgba(23, 232, 154, 0.20);
  background:
    linear-gradient(90deg, rgba(23, 232, 154, 0.14), rgba(23, 232, 154, 0.035));
  box-shadow: inset 3px 0 0 var(--docs-accent);
}

body.docs-page.docs-emerald[data-theme="light"] .docs-sidebar-nav a[aria-current="page"],
body.docs-page.docs-emerald[data-theme="light"] .docs-sidebar-nav a.is-section-active {
  color: #0d2119;
}

body.docs-page.docs-emerald .docs-category-nav a small {
  min-width: 24px;
  padding: 2px 6px;
  border-radius: 999px;
  color: #6f8b7e;
  background: rgba(255,255,255,.035);
  text-align: center;
}

body.docs-page.docs-emerald .docs-sidebar-footer {
  margin-top: auto;
  padding: 13px;
  border: 1px solid rgba(23, 232, 154, 0.10);
  border-radius: 13px;
  background: rgba(255,255,255,.018);
}

/* Barra superior */
body.docs-page.docs-emerald .docs-appbar {
  min-height: var(--docs-appbar-height);
  border-bottom-color: rgba(113, 255, 201, 0.10);
  background: rgba(3, 9, 7, 0.78);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(22px) saturate(1.25);
}

body.docs-page.docs-emerald[data-theme="light"] .docs-appbar {
  background: rgba(244, 250, 247, 0.86);
}

body.docs-page.docs-emerald .docs-breadcrumb strong {
  color: #eafff4;
}

body.docs-page.docs-emerald[data-theme="light"] .docs-breadcrumb strong {
  color: #0d2119;
}

body.docs-page.docs-emerald .docs-search {
  position: relative;
  width: min(430px, 37vw);
  height: 44px;
  gap: 10px;
  padding: 0 11px;
  border-color: rgba(128, 255, 204, 0.12);
  border-radius: 13px;
  background: rgba(8, 19, 15, 0.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

body.docs-page.docs-emerald[data-theme="light"] .docs-search {
  background: rgba(255,255,255,.92);
}

body.docs-page.docs-emerald .docs-search:focus-within {
  border-color: rgba(23, 232, 154, 0.58);
  box-shadow:
    0 0 0 4px rgba(23, 232, 154, 0.08),
    0 0 28px rgba(23, 232, 154, 0.06);
}

body.docs-page.docs-emerald .docs-search svg {
  color: #56cfa1;
}

body.docs-page.docs-emerald .docs-search kbd {
  color: #6f8b7e;
  border-color: rgba(128,255,204,.12);
  background: rgba(255,255,255,.025);
}

.docs-search-count {
  flex: 0 0 auto;
  padding: 3px 7px;
  color: #62cda4;
  border: 1px solid rgba(23,232,154,.13);
  border-radius: 999px;
  background: rgba(23,232,154,.05);
  font-family: var(--docs-mono);
  font-size: 8px;
  white-space: nowrap;
}

.docs-search.has-query .docs-search-count {
  color: #baffdf;
  border-color: rgba(23,232,154,.26);
}

body.docs-page.docs-emerald .docs-icon-button,
body.docs-page.docs-emerald .docs-account-button {
  height: 44px;
  border-radius: 12px;
}

body.docs-page.docs-emerald .docs-icon-button {
  color: #90aa9e;
  border-color: rgba(128,255,204,.12);
  background: rgba(8,19,15,.76);
}

body.docs-page.docs-emerald .docs-account-button {
  color: #02110a;
  border-color: rgba(80, 255, 184, 0.45);
  background: linear-gradient(135deg, #3af0ac, #10ca88);
  box-shadow: 0 10px 28px rgba(23, 232, 154, 0.18);
}

/* Contenido e introducción */
body.docs-page.docs-emerald .docs-content {
  width: min(100%, 1760px);
  padding-top: 42px;
}

body.docs-page.docs-emerald .docs-intro {
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, .72fr);
  align-items: center;
  min-height: 340px;
  gap: clamp(34px, 5vw, 86px);
  padding: 34px clamp(24px, 3.3vw, 54px) 38px;
  border: 1px solid rgba(128,255,204,.10);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(10, 25, 20, 0.78), rgba(5, 13, 10, 0.64)),
    radial-gradient(circle at 80% 20%, rgba(23,232,154,.09), transparent 28rem);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 28px 85px rgba(0,0,0,.22);
  overflow: hidden;
}

body.docs-page.docs-emerald[data-theme="light"] .docs-intro {
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(245,252,248,.88)),
    radial-gradient(circle at 80% 20%, rgba(23,232,154,.10), transparent 28rem);
}

body.docs-page.docs-emerald .docs-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(112,255,201,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112,255,201,.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

body.docs-page.docs-emerald .docs-intro::after {
  right: -6rem;
  top: -9rem;
  width: 38rem;
  height: 38rem;
  opacity: .8;
  background: radial-gradient(circle, rgba(23,232,154,.13), transparent 65%);
}

body.docs-page.docs-emerald .docs-eyebrow {
  margin-bottom: 17px;
  padding: 7px 11px;
  color: #72f3be;
  border: 1px solid rgba(23,232,154,.17);
  border-radius: 999px;
  background: rgba(23,232,154,.055);
  letter-spacing: .15em;
}

body.docs-page.docs-emerald .docs-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #31f1a7;
  box-shadow: 0 0 14px rgba(49,241,167,.9);
}

body.docs-page.docs-emerald .docs-intro h1 {
  max-width: 850px;
  font-size: clamp(40px, 4.4vw, 72px);
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
}

body.docs-page.docs-emerald .docs-intro h1::after {
  content: ".";
  color: var(--docs-accent);
  text-shadow: 0 0 28px rgba(23,232,154,.35);
}

body.docs-page.docs-emerald .docs-intro-copy > p {
  max-width: 720px;
  color: #91aa9f;
  line-height: 1.75;
}

body.docs-page.docs-emerald[data-theme="light"] .docs-intro-copy > p {
  color: #49665a;
}

body.docs-page.docs-emerald .button-primary {
  min-height: 46px;
  border: 1px solid rgba(85,255,190,.46);
  border-radius: 12px;
  color: #02110a;
  background: linear-gradient(135deg, #3af0ac, #0acb85);
  box-shadow: 0 12px 32px rgba(23,232,154,.17);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

body.docs-page.docs-emerald .button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(23,232,154,.23);
}

body.docs-page.docs-emerald .docs-text-link span {
  color: var(--docs-accent);
}

body.docs-page.docs-emerald .docs-metrics {
  border-color: rgba(128,255,204,.12);
  border-radius: 18px;
  background: rgba(5, 14, 11, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 24px 65px rgba(0,0,0,.25);
  backdrop-filter: blur(18px);
}

body.docs-page.docs-emerald[data-theme="light"] .docs-metrics {
  background: rgba(255,255,255,.88);
}

body.docs-page.docs-emerald .docs-metrics article {
  position: relative;
  min-height: 116px;
  gap: 8px;
  padding: 22px;
  border-color: rgba(128,255,204,.09);
  overflow: hidden;
}

body.docs-page.docs-emerald .docs-metrics article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23,232,154,.10), transparent 70%);
}

body.docs-page.docs-emerald .docs-metrics span {
  color: #5f7a6e;
  letter-spacing: .13em;
}

body.docs-page.docs-emerald .docs-metrics strong {
  color: #f2fff9;
  font-size: 22px;
}

body.docs-page.docs-emerald[data-theme="light"] .docs-metrics strong {
  color: #10251c;
}

/* Workspace y categorías */
body.docs-page.docs-emerald .docs-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(400px, 460px);
  gap: clamp(28px, 3vw, 46px);
  margin-top: 42px;
}

body.docs-page.docs-emerald .category-list {
  gap: 24px;
}

body.docs-page.docs-emerald .category-group.panel-soft {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(128,255,204,.095);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8,19,15,.68), rgba(5,13,10,.48));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.018),
    0 18px 55px rgba(0,0,0,.13);
}

body.docs-page.docs-emerald[data-theme="light"] .category-group.panel-soft {
  background: rgba(255,255,255,.86);
}

body.docs-page.docs-emerald .category-toggle {
  min-height: 64px;
  padding: 0 2px 15px;
  border-bottom-color: rgba(128,255,204,.12);
}

body.docs-page.docs-emerald .category-icon {
  width: 39px;
  height: 39px;
  border-color: rgba(23,232,154,.20);
  border-radius: 12px;
  color: var(--docs-accent);
  background: rgba(23,232,154,.075);
  box-shadow: inset 0 0 18px rgba(23,232,154,.035);
}

body.docs-page.docs-emerald .category-title {
  font-size: 16px;
}

body.docs-page.docs-emerald .category-summary {
  color: #698378;
}

body.docs-page.docs-emerald .category-meta small {
  padding: 4px 8px;
  border: 1px solid rgba(128,255,204,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.018);
}

body.docs-page.docs-emerald .endpoint-grid.endpoint-grid-docs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  padding-top: 15px;
}

body.docs-page.docs-emerald .endpoint-card,
body.docs-page.docs-emerald .endpoint-card:hover,
body.docs-page.docs-emerald .endpoint-card.is-active {
  min-height: 142px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  gap: 9px 11px;
  margin: 0;
  padding: 15px;
  border: 1px solid rgba(128,255,204,.085);
  border-radius: 14px;
  background: rgba(4, 12, 9, 0.64);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.016);
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

body.docs-page.docs-emerald[data-theme="light"] .endpoint-card,
body.docs-page.docs-emerald[data-theme="light"] .endpoint-card:hover,
body.docs-page.docs-emerald[data-theme="light"] .endpoint-card.is-active {
  background: rgba(250,253,251,.94);
}

body.docs-page.docs-emerald .endpoint-card:hover,
body.docs-page.docs-emerald .endpoint-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(23,232,154,.28);
  background:
    linear-gradient(145deg, rgba(23,232,154,.095), rgba(4,12,9,.72));
  box-shadow:
    0 16px 34px rgba(0,0,0,.18),
    0 0 0 1px rgba(23,232,154,.03);
}

body.docs-page.docs-emerald[data-theme="light"] .endpoint-card:hover,
body.docs-page.docs-emerald[data-theme="light"] .endpoint-card.is-active {
  background: linear-gradient(145deg, rgba(23,232,154,.10), #fff);
}

body.docs-page.docs-emerald .endpoint-card.is-active::before {
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: linear-gradient(180deg, #56f5bc, #0dca83);
  box-shadow: 0 0 16px rgba(23,232,154,.45);
}

body.docs-page.docs-emerald .endpoint-top {
  display: contents;
}

body.docs-page.docs-emerald .method-pill {
  grid-column: 1;
  grid-row: 1;
  min-width: 42px;
  padding: 5px 8px;
  color: #9cf8cd;
  border-color: rgba(23,232,154,.20);
  border-radius: 7px;
  background: rgba(23,232,154,.075);
}

body.docs-page.docs-emerald .endpoint-card h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: 13px;
}

body.docs-page.docs-emerald .endpoint-card > code {
  grid-column: 1 / 4;
  grid-row: 2;
  display: block;
  padding: 7px 9px;
  overflow: hidden;
  color: #53ddb0;
  border: 1px solid rgba(128,255,204,.075);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.docs-page.docs-emerald[data-theme="light"] .endpoint-card > code {
  color: #087b54;
  background: rgba(5,95,64,.035);
}

body.docs-page.docs-emerald .endpoint-card > p {
  grid-column: 1 / 3;
  grid-row: 3;
  display: block;
  align-self: start;
  color: #758d82;
  font-size: 10px;
  line-height: 1.55;
}

body.docs-page.docs-emerald .endpoint-arrow {
  grid-column: 3;
  grid-row: 1 / 4;
  align-self: center;
  min-width: 35px;
  min-height: 35px;
  padding: 0 9px;
  color: #6d887b;
  border-color: rgba(128,255,204,.10);
  border-radius: 10px;
  background: rgba(255,255,255,.018);
}

body.docs-page.docs-emerald .endpoint-arrow span:first-child {
  display: none;
}

body.docs-page.docs-emerald .endpoint-card:hover .endpoint-arrow,
body.docs-page.docs-emerald .endpoint-arrow:hover,
body.docs-page.docs-emerald .endpoint-arrow.is-active {
  color: #02110a;
  border-color: rgba(85,255,190,.46);
  background: linear-gradient(135deg, #47f1b2, #0cca83);
  box-shadow: 0 9px 22px rgba(23,232,154,.16);
}

.endpoint-arrow.is-pulsing {
  animation: docs-button-pulse .45s ease;
}

/* Consola */
body.docs-page.docs-emerald .docs-tester.card {
  top: calc(var(--docs-appbar-height) + 18px);
  border-color: rgba(23,232,154,.23);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(7, 18, 14, 0.98), rgba(3, 10, 7, 0.98));
  box-shadow:
    0 28px 85px rgba(0,0,0,.42),
    0 0 0 1px rgba(23,232,154,.035),
    0 0 44px rgba(23,232,154,.055);
}

body.docs-page.docs-emerald[data-theme="light"] .docs-tester.card {
  background: linear-gradient(180deg, #081712, #03100c);
  color: #effff8;
}

body.docs-page.docs-emerald .docs-tester.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  height: 2px;
  opacity: .78;
  background: linear-gradient(90deg, transparent, #35f0aa, #2dd4bf, transparent);
}

body.docs-page.docs-emerald .docs-tester-sticky {
  padding: 0 19px 21px;
  scrollbar-color: rgba(23,232,154,.26) transparent;
}

body.docs-page.docs-emerald .tester-sheet-head {
  margin: 0 -19px;
  padding: 19px;
  border-bottom-color: rgba(128,255,204,.10);
  background: rgba(5, 15, 11, 0.94);
}

body.docs-page.docs-emerald .tester-label {
  color: #5ee9b5;
}

body.docs-page.docs-emerald .tester-sheet-head h2 {
  color: #effff8;
  font-size: 17px;
}

body.docs-page.docs-emerald .docs-live-badge {
  color: #a0f8d1;
  border-color: rgba(23,232,154,.18);
  background: rgba(23,232,154,.065);
}

body.docs-page.docs-emerald .docs-live-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #36f3a7;
  box-shadow: 0 0 11px rgba(54,243,167,.85);
  animation: docs-live-pulse 1.9s ease-in-out infinite;
}

body.docs-page.docs-emerald .tester-description {
  color: #829c90;
}

body.docs-page.docs-emerald .docs-endpoint-picker select,
body.docs-page.docs-emerald .tester-key-picker input,
body.docs-page.docs-emerald .field-block input,
body.docs-page.docs-emerald .field-block select {
  min-height: 43px;
  color: #eafff4;
  border-color: rgba(128,255,204,.12);
  border-radius: 11px;
  background: #081611;
}

body.docs-page.docs-emerald .docs-endpoint-picker select:focus,
body.docs-page.docs-emerald .tester-key-picker input:focus,
body.docs-page.docs-emerald .field-block input:focus,
body.docs-page.docs-emerald .field-block select:focus {
  border-color: rgba(23,232,154,.58);
  box-shadow: 0 0 0 4px rgba(23,232,154,.07);
}

body.docs-page.docs-emerald .button-secondary {
  min-height: 40px;
  color: #9eb4aa;
  border-color: rgba(128,255,204,.11);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}

body.docs-page.docs-emerald .button-secondary:hover {
  color: #effff8;
  border-color: rgba(23,232,154,.35);
  background: rgba(23,232,154,.075);
}

body.docs-page.docs-emerald .route-chip.docs-route-chip {
  margin: 16px 0 13px;
  padding: 12px 13px;
  border-color: rgba(23,232,154,.15);
  border-radius: 11px;
  background: linear-gradient(90deg, rgba(23,232,154,.07), rgba(45,212,191,.025));
}

body.docs-page.docs-emerald .route-chip.docs-route-chip code {
  color: #57e0b3;
}

body.docs-page.docs-emerald .tester-data {
  position: relative;
  margin-top: 15px;
  border-color: rgba(128,255,204,.10);
  border-radius: 12px;
  background: #020805;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.016);
}

body.docs-page.docs-emerald .panel-row-head {
  min-height: 38px;
  border-bottom-color: rgba(128,255,204,.09);
  background: #08130f;
}

body.docs-page.docs-emerald .panel-row-head > span {
  color: #8ea89b;
}

body.docs-page.docs-emerald .docs-copy-request {
  color: #5ce4b3;
}

body.docs-page.docs-emerald .tester-data pre {
  min-height: 84px;
  max-height: 270px;
  padding: 13px;
  color: #b7cec3;
  font-size: 9px;
  line-height: 1.72;
}

body.docs-page.docs-emerald .tester-data-response pre {
  min-height: 170px;
  max-height: 390px;
  padding: 11px 0 13px;
  color: #c2f8dc;
}

body.docs-page.docs-emerald .docs-response-meta {
  min-height: 28px;
  padding: 0 13px 10px;
  color: #607a6d;
}

body.docs-page.docs-emerald .docs-response-meta[data-state="success"] {
  color: #6de7b4;
}

body.docs-page.docs-emerald .docs-response-meta[data-state="error"] {
  color: #fb7185;
}

body.docs-page.docs-emerald .docs-response-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(105deg, transparent 25%, rgba(80,255,190,.07) 45%, transparent 65%);
  transform: translateX(-120%);
}

body.docs-page.docs-emerald .docs-response-card.is-loading::before {
  opacity: 1;
  animation: docs-result-shimmer 1.15s linear infinite;
}

body.docs-page.docs-emerald .docs-response-card.is-loading #tester-output {
  color: #73a38d;
}

body.docs-page.docs-emerald .docs-response-card.is-result-ready {
  animation: docs-result-arrive .62s cubic-bezier(.2,.8,.2,1);
}

body.docs-page.docs-emerald .docs-response-card.is-success {
  border-color: rgba(23,232,154,.22);
  box-shadow: 0 0 0 1px rgba(23,232,154,.025), 0 0 28px rgba(23,232,154,.04);
}

body.docs-page.docs-emerald .docs-response-card.is-error {
  border-color: rgba(251,113,133,.28);
  box-shadow: 0 0 26px rgba(251,113,133,.05);
}

body.docs-page.docs-emerald #tester-submit.has-spinner {
  position: relative;
  padding-left: 42px;
}

body.docs-page.docs-emerald #tester-submit.has-spinner::before {
  content: "";
  position: absolute;
  left: 16px;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(2,17,10,.24);
  border-top-color: #02110a;
  border-radius: 50%;
  animation: docs-spin .7s linear infinite;
}

body.docs-page.docs-emerald #tester-output {
  counter-reset: json-line;
}

.json-line {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  min-height: 17px;
  opacity: 0;
  transform: translateY(5px);
  animation: docs-json-line-in .28s ease forwards;
  animation-delay: var(--json-delay, 0ms);
  counter-increment: json-line;
}

.json-line::before {
  content: counter(json-line);
  padding-right: 8px;
  color: #315046;
  border-right: 1px solid rgba(128,255,204,.08);
  text-align: right;
  user-select: none;
}

.json-line-code {
  min-width: 0;
  padding-left: 10px;
  white-space: pre-wrap;
  word-break: break-word;
}

.json-key { color: #62d8ff; }
.json-string { color: #8af5bd; }
.json-number { color: #f5bf67; }
.json-boolean { color: #c7a4ff; }
.json-null { color: #fb83a0; }
.json-error-line {
  display: block;
  padding: 4px 13px;
  color: #ff94aa;
  line-height: 1.7;
}

/* Toast y botón móvil */
.docs-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  max-width: min(340px, calc(100vw - 32px));
  padding: 11px 14px;
  opacity: 0;
  visibility: hidden;
  color: #dffff0;
  border: 1px solid rgba(23,232,154,.25);
  border-radius: 12px;
  background: rgba(5,18,13,.94);
  box-shadow: 0 18px 55px rgba(0,0,0,.38), 0 0 25px rgba(23,232,154,.08);
  transform: translateY(12px) scale(.98);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  backdrop-filter: blur(18px);
  font-size: 11px;
  font-weight: 750;
}

.docs-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.docs-mobile-console-fab {
  display: none;
}

/* Revelado corto de secciones */
.docs-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .46s ease, transform .46s cubic-bezier(.2,.8,.2,1);
}

.docs-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

body.docs-page.docs-emerald .empty-filter {
  border-color: rgba(23,232,154,.18);
  border-radius: 13px;
  background: rgba(23,232,154,.035);
}

body.docs-page.docs-emerald .footer {
  margin-top: 46px;
  padding-top: 25px;
  border-top-color: rgba(128,255,204,.09);
}

body.docs-page.docs-emerald :focus-visible {
  outline-color: var(--docs-accent);
  outline-offset: 3px;
}

/* Animaciones */
@keyframes docs-live-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.72); opacity: .55; }
}

@keyframes docs-button-pulse {
  0% { transform: scale(1); }
  45% { transform: scale(.9); }
  100% { transform: scale(1); }
}

@keyframes docs-result-shimmer {
  to { transform: translateX(120%); }
}

@keyframes docs-result-arrive {
  0% { transform: translateY(7px) scale(.992); opacity: .72; }
  55% { transform: translateY(-1px) scale(1.002); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes docs-json-line-in {
  to { opacity: 1; transform: translateY(0); }
}

/* Pantallas medianas */
@media (max-width: 1380px) {
  body.docs-page.docs-emerald {
    --docs-sidebar-width: 244px;
  }

  body.docs-page.docs-emerald .docs-workspace {
    grid-template-columns: minmax(0, 1fr) 405px;
  }

  body.docs-page.docs-emerald .endpoint-grid.endpoint-grid-docs {
    grid-template-columns: minmax(0, 1fr);
  }

  body.docs-page.docs-emerald .endpoint-card,
  body.docs-page.docs-emerald .endpoint-card:hover,
  body.docs-page.docs-emerald .endpoint-card.is-active {
    min-height: 124px;
  }
}

@media (max-width: 1180px) {
  body.docs-page.docs-emerald .docs-intro {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr);
    padding-inline: 32px;
  }

  body.docs-page.docs-emerald .docs-workspace {
    grid-template-columns: minmax(0, 1fr) 375px;
  }
}

/* Tablet */
@media (max-width: 980px) {
  body.docs-page.docs-emerald .docs-appbar {
    padding-inline: 16px;
  }

  body.docs-page.docs-emerald .docs-mobile-brand {
    display: flex;
  }

  body.docs-page.docs-emerald .docs-mobile-brand img {
    width: 31px;
    height: 31px;
  }

  body.docs-page.docs-emerald .docs-search {
    width: min(430px, 55vw);
  }

  body.docs-page.docs-emerald .docs-content {
    padding: 26px 18px 28px;
  }

  body.docs-page.docs-emerald .docs-intro {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 30px;
  }

  body.docs-page.docs-emerald .docs-metrics {
    max-width: none;
  }

  body.docs-page.docs-emerald .docs-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  body.docs-page.docs-emerald .docs-tester.card {
    position: relative;
    top: auto;
    order: -1;
    max-height: none;
  }

  body.docs-page.docs-emerald .docs-tester-sticky {
    max-height: none;
  }

  body.docs-page.docs-emerald .tester-sheet-head {
    position: relative;
  }

  body.docs-page.docs-emerald .endpoint-grid.endpoint-grid-docs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-mobile-console-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 100;
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    color: #02110a;
    border: 1px solid rgba(85,255,190,.45);
    border-radius: 999px;
    background: linear-gradient(135deg, #43f1b1, #0bc982);
    box-shadow: 0 14px 36px rgba(0,0,0,.35), 0 0 26px rgba(23,232,154,.18);
    font-size: 11px;
    cursor: pointer;
  }

  .docs-mobile-console-fab span {
    font-size: 18px;
    line-height: 1;
  }
}

/* Celular */
@media (max-width: 720px) {
  body.docs-page.docs-emerald .docs-appbar {
    min-height: 64px;
    gap: 8px;
    padding-inline: 12px;
  }

  body.docs-page.docs-emerald .docs-search {
    height: 42px;
    border-radius: 11px;
  }

  body.docs-page.docs-emerald .docs-search-count {
    display: none;
  }

  body.docs-page.docs-emerald .docs-icon-button {
    width: 42px;
    flex: 0 0 42px;
  }

  body.docs-page.docs-emerald .docs-content {
    padding: 18px 12px 82px;
  }

  body.docs-page.docs-emerald .docs-intro {
    padding: 24px 20px;
    border-radius: 18px;
  }

  body.docs-page.docs-emerald .docs-intro h1 {
    font-size: clamp(34px, 11.5vw, 49px);
  }

  body.docs-page.docs-emerald .docs-intro-copy > p {
    font-size: 13px;
  }

  body.docs-page.docs-emerald .docs-metrics article {
    min-height: 90px;
    padding: 17px;
  }

  body.docs-page.docs-emerald .docs-workspace {
    margin-top: 24px;
  }

  body.docs-page.docs-emerald .category-group.panel-soft {
    padding: 13px;
    border-radius: 15px;
  }

  body.docs-page.docs-emerald .category-toggle {
    min-height: 58px;
    padding-bottom: 12px;
  }

  body.docs-page.docs-emerald .category-title {
    font-size: 14px;
  }

  body.docs-page.docs-emerald .endpoint-grid.endpoint-grid-docs {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  body.docs-page.docs-emerald .endpoint-card,
  body.docs-page.docs-emerald .endpoint-card:hover,
  body.docs-page.docs-emerald .endpoint-card.is-active {
    min-height: 122px;
    padding: 13px;
    border-radius: 12px;
    transform: none;
  }

  body.docs-page.docs-emerald .docs-tester.card {
    border-radius: 16px;
  }

  body.docs-page.docs-emerald .docs-tester-sticky {
    padding: 0 14px 17px;
  }

  body.docs-page.docs-emerald .tester-sheet-head {
    margin: 0 -14px;
    padding: 16px 14px;
  }

  body.docs-page.docs-emerald .tester-keybar,
  body.docs-page.docs-emerald .docs-tester-actions,
  body.docs-page.docs-emerald .docs-result-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  body.docs-page.docs-emerald .tester-data-response pre {
    min-height: 150px;
    max-height: 360px;
  }

  .json-line {
    grid-template-columns: 25px minmax(0, 1fr);
  }

  .json-line-code {
    padding-left: 8px;
  }

  .docs-toast {
    right: 12px;
    bottom: 72px;
  }

  .docs-mobile-console-fab {
    right: 12px;
    bottom: 13px;
  }
}

@media (max-width: 430px) {
  body.docs-page.docs-emerald .docs-intro-actions {
    width: 100%;
  }

  body.docs-page.docs-emerald .docs-intro-actions .button-primary {
    width: 100%;
  }

  body.docs-page.docs-emerald .docs-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  body.docs-page.docs-emerald .docs-metrics article,
  body.docs-page.docs-emerald .docs-metrics article:nth-child(2n),
  body.docs-page.docs-emerald .docs-metrics article:nth-child(n + 3) {
    min-height: 72px;
    border-right: 0;
    border-bottom: 1px solid rgba(128,255,204,.09);
  }

  body.docs-page.docs-emerald .docs-metrics article:last-child {
    border-bottom: 0;
  }

  body.docs-page.docs-emerald .docs-live-badge {
    padding-inline: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .docs-live-badge::before,
  .json-line,
  .docs-response-card,
  .docs-response-card::before,
  .endpoint-arrow,
  .docs-reveal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}


/* ============================================================
   DVYER API · Documentation Professional Edition v3
   ============================================================ */
body.docs-page.docs-emerald {
  --docs-accent: #22e59a;
  --docs-accent-strong: #0fcf83;
  --docs-cyan: #2bd9d1;
  --docs-bg: #020806;
  --docs-bg-soft: #05100c;
  --docs-panel: #07140f;
  --docs-panel-2: #091a14;
  --docs-panel-3: #0c2119;
  --docs-text: #effff8;
  --docs-muted: #8eafa1;
  --docs-muted-2: #66877a;
  --docs-line: rgba(109, 255, 192, .105);
  --docs-line-strong: rgba(109, 255, 192, .22);
  --docs-shadow: 0 26px 78px rgba(0, 0, 0, .44);
  background:
    radial-gradient(circle at 80% 0%, rgba(20, 223, 143, .105), transparent 32rem),
    radial-gradient(circle at 35% 38%, rgba(28, 181, 164, .055), transparent 34rem),
    #020806;
}

body.docs-page.docs-emerald .docs-ambient-grid {
  opacity: .34;
  background-image:
    linear-gradient(rgba(109,255,192,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109,255,192,.032) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

body.docs-page.docs-emerald .docs-appbar {
  border-bottom-color: rgba(109,255,192,.10);
  background: rgba(2, 8, 6, .78);
  box-shadow: 0 12px 42px rgba(0,0,0,.18);
  backdrop-filter: blur(26px) saturate(140%);
}

.docs-command-open {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: var(--docs-muted);
  border: 1px solid var(--docs-line);
  border-radius: 11px;
  background: rgba(10, 28, 21, .66);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, transform .2s ease, background .2s ease;
}
.docs-command-open:hover { color: var(--docs-text); border-color: rgba(55,235,163,.36); background: rgba(15,47,35,.72); transform: translateY(-1px); }
.docs-command-open svg { width: 17px; height: 17px; }
.docs-command-open span { font-size: 11px; font-weight: 800; }
.docs-command-open kbd { padding: 2px 5px; color: #65e9b2; border: 1px solid rgba(83,238,177,.16); border-radius: 5px; background: rgba(53,224,158,.07); font-size: 9px; }

body.docs-page.docs-emerald .docs-intro {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 54px 50px;
  border-color: rgba(83, 240, 177, .16);
  border-radius: 28px;
  background:
    linear-gradient(115deg, rgba(3, 17, 12, .96), rgba(4, 26, 18, .84)),
    radial-gradient(circle at 82% 22%, rgba(31,230,151,.14), transparent 24rem);
  box-shadow: 0 36px 110px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.025);
}
body.docs-page.docs-emerald .docs-intro::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -235px;
  border: 1px solid rgba(64,239,173,.11);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(64,239,173,.025), 0 0 0 145px rgba(64,239,173,.018);
}
body.docs-page.docs-emerald .docs-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 48%, rgba(57,246,180,.035));
}
body.docs-page.docs-emerald .docs-intro-copy,
body.docs-page.docs-emerald .docs-metrics { position: relative; z-index: 2; }
body.docs-page.docs-emerald .docs-intro h1 {
  max-width: 720px;
  font-size: clamp(48px, 5.1vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
body.docs-page.docs-emerald .docs-intro h1::after { content: ""; display: inline-block; width: .18em; height: .18em; margin-left: .04em; border-radius: 50%; background: linear-gradient(135deg,#20efa1,#37ded2); box-shadow: 0 0 24px rgba(29,232,155,.5); }
body.docs-page.docs-emerald .docs-intro-copy > p { max-width: 720px; font-size: 15px; line-height: 1.8; }
body.docs-page.docs-emerald .docs-eyebrow { border-color: rgba(55,232,166,.25); background: rgba(24,194,129,.09); box-shadow: inset 0 0 18px rgba(26,207,139,.04); }

.docs-trust-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.docs-trust-row span { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 0 10px; color: #9bbdaf; border: 1px solid rgba(100,240,185,.1); border-radius: 999px; background: rgba(4,20,14,.58); font-family: var(--docs-mono); font-size: 9px; letter-spacing: .06em; }
.docs-trust-row i { width: 5px; height: 5px; border-radius: 50%; background: #26e99e; box-shadow: 0 0 9px rgba(38,233,158,.7); }

body.docs-page.docs-emerald .docs-metrics { border-radius: 20px; overflow: hidden; border: 1px solid rgba(89,242,183,.14); background: rgba(2,14,9,.66); box-shadow: 0 24px 60px rgba(0,0,0,.24); backdrop-filter: blur(18px); }
body.docs-page.docs-emerald .docs-metrics article { position: relative; min-height: 126px; padding: 24px; transition: background .22s ease; }
body.docs-page.docs-emerald .docs-metrics article:hover { background: rgba(37,217,145,.055); }
body.docs-page.docs-emerald .docs-metrics article::after { content:""; position:absolute; left:24px; bottom:17px; width:28px; height:2px; border-radius:99px; background:linear-gradient(90deg,#20e99d,transparent); opacity:.55; }

.docs-launchpad { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(340px,.65fr); gap: 18px; margin-top: 20px; }
.docs-launchpad-main, .docs-code-sample { border: 1px solid rgba(100,245,187,.12); border-radius: 22px; background: linear-gradient(145deg, rgba(7,23,16,.92), rgba(3,14,10,.88)); box-shadow: 0 22px 70px rgba(0,0,0,.28); }
.docs-launchpad-main { padding: 26px; }
.docs-section-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.docs-section-heading h2 { margin-top:7px; font-size: clamp(22px,2.1vw,34px); line-height:1.12; letter-spacing:-.035em; }
.docs-section-heading p { margin-top:8px; color:var(--docs-muted); font-size:12px; }
.docs-kicker { display:inline-flex; align-items:center; gap:8px; color:#4fe9ad; font-family:var(--docs-mono); font-size:9px; font-weight:700; letter-spacing:.14em; }
.docs-kicker i { width:6px; height:6px; border-radius:50%; background:#27e99e; box-shadow:0 0 10px rgba(39,233,158,.65); }
.docs-time-pill { flex:0 0 auto; padding:7px 10px; color:#98b9ac; border:1px solid rgba(109,255,192,.1); border-radius:999px; background:rgba(0,0,0,.18); font-family:var(--docs-mono); font-size:9px; }
.docs-step-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; margin-top:22px; }
.docs-step-card { position:relative; min-height:190px; padding:18px; overflow:hidden; border:1px solid rgba(109,255,192,.095); border-radius:16px; background:rgba(4,17,12,.72); transition:transform .23s ease,border-color .23s ease,background .23s ease; }
.docs-step-card:hover { transform:translateY(-3px); border-color:rgba(54,232,161,.3); background:rgba(8,31,21,.78); }
.docs-step-card::after { content:""; position:absolute; width:80px; height:80px; right:-40px; bottom:-45px; border-radius:50%; background:rgba(38,235,158,.08); filter:blur(8px); }
.docs-step-number { position:absolute; right:14px; top:12px; color:rgba(100,244,186,.25); font-family:var(--docs-mono); font-size:10px; }
.docs-step-icon { width:36px; height:36px; display:grid; place-items:center; color:#43ebb0; border:1px solid rgba(67,235,176,.2); border-radius:11px; background:rgba(43,222,155,.07); font-family:var(--docs-mono); font-size:12px; }
.docs-step-card h3 { margin-top:18px; font-size:14px; }
.docs-step-card p { margin-top:7px; color:var(--docs-muted); font-size:11px; line-height:1.65; }
.docs-step-card a { position:absolute; left:18px; bottom:16px; display:inline-flex; gap:6px; color:#52eab1; text-decoration:none; font-size:10px; font-weight:700; }
.docs-security-note { display:flex; align-items:flex-start; gap:11px; margin-top:14px; padding:13px 14px; border:1px solid rgba(54,218,156,.11); border-radius:13px; background:rgba(16,72,50,.15); }
.docs-security-icon { width:27px; height:27px; flex:0 0 27px; display:grid; place-items:center; color:#30e6a2; border:1px solid rgba(51,235,167,.18); border-radius:9px; background:rgba(41,223,157,.07); font-size:9px; }
.docs-security-note strong { font-size:11px; }
.docs-security-note p { margin-top:3px; color:var(--docs-muted); font-size:9.5px; }

.docs-code-sample { min-width:0; overflow:hidden; }
.docs-code-head { min-height:54px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 16px; border-bottom:1px solid rgba(109,255,192,.1); }
.docs-code-head > div { display:flex; align-items:center; gap:8px; }
.docs-code-head strong { font-size:11px; }
.docs-code-dot { width:8px; height:8px; border-radius:50%; background:#27e99e; box-shadow:0 0 12px rgba(39,233,158,.7); }
.docs-code-head button, .docs-code-tabs button { color:var(--docs-muted); border:0; background:transparent; cursor:pointer; }
.docs-code-head button { padding:6px 8px; border:1px solid rgba(109,255,192,.11); border-radius:8px; font-size:9px; }
.docs-code-head button:hover { color:#ecfff7; border-color:rgba(64,237,171,.3); }
.docs-code-tabs { display:flex; gap:4px; padding:10px 13px 0; }
.docs-code-tabs button { padding:7px 9px; border-radius:8px 8px 0 0; font-family:var(--docs-mono); font-size:9px; }
.docs-code-tabs button[aria-selected="true"] { color:#4ff0b2; background:rgba(41,225,156,.08); }
.docs-code-sample pre { min-height:228px; margin:0; padding:18px; overflow:auto; color:#b7e9d4; background:rgba(0,7,4,.72); font-size:10px; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; }
.docs-code-sample code { color:inherit; }
.docs-code-foot { min-height:45px; display:flex; align-items:center; justify-content:space-between; padding:0 15px; color:#6f9b89; font-family:var(--docs-mono); font-size:8.5px; }
.docs-code-foot span:first-child { display:flex; align-items:center; gap:6px; }
.docs-code-foot i { width:5px; height:5px; border-radius:50%; background:#28e79d; }

body.docs-page.docs-emerald .docs-workspace { margin-top:24px; }
body.docs-page.docs-emerald .docs.card { border-radius:22px; background:linear-gradient(155deg,rgba(6,22,15,.9),rgba(3,13,9,.86)); box-shadow:0 26px 85px rgba(0,0,0,.3); }
body.docs-page.docs-emerald .docs-hero h2 { font-size:clamp(27px,2.5vw,38px); letter-spacing:-.04em; }
body.docs-page.docs-emerald .docs-quick-nav { padding:8px; border:1px solid rgba(109,255,192,.1); border-radius:15px; background:rgba(0,8,5,.38); }
body.docs-page.docs-emerald .docs-quick-link { min-height:48px; border-radius:11px; }
body.docs-page.docs-emerald .docs-quick-link:hover { color:#effff8; background:rgba(40,219,151,.09); }

body.docs-page.docs-emerald .category-group.panel-soft { position:relative; overflow:hidden; border-color:rgba(109,255,192,.11); background:rgba(4,16,11,.72); }
body.docs-page.docs-emerald .category-group.panel-soft::before { content:""; position:absolute; inset:0 auto 0 0; width:2px; background:linear-gradient(to bottom,transparent,var(--group-accent,#28e79e),transparent); opacity:.55; }
body.docs-page.docs-emerald [data-category-kind="downloads"] { --group-accent:#25eaa0; }
body.docs-page.docs-emerald [data-category-kind="search"] { --group-accent:#25d8d0; }
body.docs-page.docs-emerald [data-category-kind="anime"] { --group-accent:#f06da9; }
body.docs-page.docs-emerald [data-category-kind="tools"] { --group-accent:#f1bd54; }
body.docs-page.docs-emerald [data-category-kind="system"] { --group-accent:#55a2ff; }
body.docs-page.docs-emerald .category-icon { color:var(--group-accent,#28e79e); border-color:color-mix(in srgb,var(--group-accent,#28e79e) 24%,transparent); background:color-mix(in srgb,var(--group-accent,#28e79e) 8%,transparent); }

body.docs-page.docs-emerald .endpoint-card { position:relative; min-height:138px; border-color:rgba(109,255,192,.09); background:linear-gradient(145deg,rgba(8,27,19,.82),rgba(3,13,9,.78)); box-shadow:inset 0 1px rgba(255,255,255,.015); }
body.docs-page.docs-emerald .endpoint-card::before { content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit; background:radial-gradient(circle at 90% 10%,color-mix(in srgb,var(--group-accent,#29e9a0) 9%,transparent),transparent 45%); opacity:0; transition:opacity .25s ease; }
body.docs-page.docs-emerald .endpoint-card:hover::before, body.docs-page.docs-emerald .endpoint-card.is-active::before { opacity:1; }
body.docs-page.docs-emerald .endpoint-card:hover { transform:translateY(-3px); border-color:color-mix(in srgb,var(--group-accent,#29e9a0) 28%,transparent); box-shadow:0 18px 40px rgba(0,0,0,.26); }
body.docs-page.docs-emerald .endpoint-card h3 { letter-spacing:-.02em; }
body.docs-page.docs-emerald .endpoint-card code { display:inline-flex; margin-top:6px; padding:3px 7px; border:1px solid rgba(109,255,192,.08); border-radius:7px; background:rgba(0,0,0,.18); }
body.docs-page.docs-emerald .method-pill { box-shadow:0 0 0 1px rgba(35,232,153,.04),0 0 18px rgba(35,232,153,.05); }

body.docs-page.docs-emerald .docs-tester.card { overflow:hidden; border-color:rgba(51,235,166,.22); border-radius:22px; background:linear-gradient(160deg,rgba(7,25,17,.96),rgba(2,11,7,.95)); box-shadow:0 30px 90px rgba(0,0,0,.42),0 0 46px rgba(29,221,145,.05); }
body.docs-page.docs-emerald .tester-sheet-head { background:linear-gradient(180deg,rgba(13,48,34,.6),rgba(3,17,11,.18)); }
body.docs-page.docs-emerald .docs-live-badge { border-color:rgba(45,236,161,.22); background:rgba(38,221,151,.075); }
body.docs-page.docs-emerald .docs-route-chip { box-shadow:inset 0 0 24px rgba(35,226,152,.04); }
body.docs-page.docs-emerald .button-primary { box-shadow:0 12px 28px rgba(20,210,134,.16),inset 0 1px rgba(255,255,255,.14); }

.docs-request-progress { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; margin:0 12px 10px; padding:6px; border:1px solid rgba(109,255,192,.08); border-radius:10px; background:rgba(0,7,4,.45); }
.docs-request-progress span { min-width:0; display:flex; align-items:center; justify-content:center; gap:5px; min-height:27px; color:#537267; border-radius:7px; font-family:var(--docs-mono); font-size:8px; transition:color .2s ease,background .2s ease; }
.docs-request-progress i { width:5px; height:5px; border-radius:50%; background:#365148; }
.docs-request-progress[data-stage="send"] [data-progress-step="send"],
.docs-request-progress[data-stage="process"] [data-progress-step="send"],
.docs-request-progress[data-stage="process"] [data-progress-step="process"],
.docs-request-progress[data-stage="done"] span { color:#baf7dc; background:rgba(38,224,153,.07); }
.docs-request-progress[data-stage="send"] [data-progress-step="send"] i,
.docs-request-progress[data-stage="process"] [data-progress-step="send"] i,
.docs-request-progress[data-stage="process"] [data-progress-step="process"] i,
.docs-request-progress[data-stage="done"] i { background:#29e89e; box-shadow:0 0 9px rgba(41,232,158,.65); }
.docs-request-progress[data-stage="send"] [data-progress-step="send"] i,
.docs-request-progress[data-stage="process"] [data-progress-step="process"] i { animation:docs-stage-pulse .8s ease-in-out infinite alternate; }
@keyframes docs-stage-pulse { to { transform:scale(1.6); opacity:.55; } }

.docs-response-card.is-loading { position:relative; overflow:hidden; }
.docs-response-card.is-loading::after { content:""; position:absolute; left:-45%; right:auto; top:0; bottom:0; width:38%; pointer-events:none; background:linear-gradient(90deg,transparent,rgba(81,245,183,.075),transparent); animation:docs-response-scan 1s linear infinite; }
@keyframes docs-response-scan { to { left:115%; } }
.docs-response-card.is-result-ready { animation:docs-result-pop .48s cubic-bezier(.2,.8,.2,1); }
@keyframes docs-result-pop { 0%{transform:translateY(5px);box-shadow:0 0 0 rgba(38,232,158,0)} 55%{transform:translateY(0);box-shadow:0 0 28px rgba(38,232,158,.1)} 100%{box-shadow:none} }

.docs-pro-footer { min-height:92px; display:grid; grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr); align-items:center; gap:24px; margin-top:28px; padding:20px 24px; border:1px solid rgba(109,255,192,.09); border-radius:18px; background:rgba(4,17,11,.7); }
.docs-footer-brand { display:flex; align-items:center; gap:11px; }
.docs-footer-brand img { width:36px; height:36px; object-fit:contain; border-radius:10px; }
.docs-footer-brand > div { display:grid; gap:2px; }
.docs-footer-brand strong { font-size:12px; }
.docs-footer-brand span, .docs-pro-footer nav a, .docs-footer-status { color:var(--docs-muted); font-size:9px; }
.docs-pro-footer nav { display:flex; flex-wrap:wrap; justify-content:center; gap:15px; }
.docs-pro-footer nav a { text-decoration:none; }
.docs-pro-footer nav a:hover { color:#4cebad; }
.docs-footer-status { display:flex; align-items:center; justify-content:flex-end; gap:7px; }
.docs-footer-status i { width:6px; height:6px; border-radius:50%; background:#27e99e; box-shadow:0 0 9px rgba(39,233,158,.65); }

.docs-command-palette { position:fixed; inset:0; z-index:1100; display:grid; place-items:start center; padding-top:min(14vh,130px); }
.docs-command-palette[hidden] { display:none; }
.docs-command-backdrop { position:absolute; inset:0; border:0; background:rgba(0,5,3,.74); backdrop-filter:blur(11px); cursor:default; }
.docs-command-dialog { position:relative; z-index:1; width:min(620px,calc(100vw - 28px)); overflow:hidden; border:1px solid rgba(91,247,185,.19); border-radius:20px; background:rgba(5,18,12,.97); box-shadow:0 34px 120px rgba(0,0,0,.62),0 0 70px rgba(30,227,149,.07); animation:docs-command-in .22s ease-out; }
@keyframes docs-command-in { from{opacity:0;transform:translateY(-10px) scale(.985)} to{opacity:1;transform:none} }
.docs-command-dialog header { min-height:64px; display:flex; align-items:center; gap:10px; padding:0 14px; border-bottom:1px solid rgba(109,255,192,.1); }
.docs-command-dialog header > div { flex:1; display:flex; align-items:center; gap:10px; }
.docs-command-dialog header > div > span { color:#43ecad; font-family:var(--docs-mono); }
.docs-command-dialog input { width:100%; color:#effff8; border:0; outline:0; background:transparent; font-size:14px; }
.docs-command-dialog header button { color:#759b8b; border:1px solid rgba(109,255,192,.12); border-radius:7px; background:rgba(0,0,0,.18); font-family:var(--docs-mono); font-size:8px; cursor:pointer; }
.docs-command-body { padding:10px; }
.docs-command-body > p { padding:8px 10px; color:#567669; font-family:var(--docs-mono); font-size:8px; letter-spacing:.13em; text-transform:uppercase; }
.docs-command-body a { display:grid; grid-template-columns:34px minmax(0,1fr) auto; align-items:center; gap:11px; min-height:58px; padding:8px 10px; color:#dff9ed; border-radius:12px; text-decoration:none; }
.docs-command-body a:hover, .docs-command-body a.is-keyboard-active { background:rgba(42,224,154,.085); }
.docs-command-body a > span { width:32px; height:32px; display:grid; place-items:center; color:#44e8ac; border:1px solid rgba(75,234,174,.15); border-radius:10px; background:rgba(42,224,154,.055); font-family:var(--docs-mono); font-size:10px; }
.docs-command-body a > div { display:grid; gap:2px; }
.docs-command-body strong { font-size:11px; }
.docs-command-body small { color:#719386; font-size:9px; }
.docs-command-body kbd { color:#5c8172; font-size:8px; }
.docs-command-empty { padding:28px 14px; color:#77988b; text-align:center; font-size:11px; }
.docs-command-dialog footer { min-height:42px; display:flex; align-items:center; gap:16px; padding:0 16px; color:#58776a; border-top:1px solid rgba(109,255,192,.08); font-family:var(--docs-mono); font-size:8px; }
body.has-command-palette { overflow:hidden; }

@media (max-width:1180px) {
  .docs-launchpad { grid-template-columns:minmax(0,1fr); }
  .docs-code-sample pre { min-height:180px; }
}
@media (max-width:980px) {
  .docs-command-open span, .docs-command-open kbd { display:none; }
  .docs-command-open { width:42px; justify-content:center; padding:0; }
  .docs-step-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .docs-pro-footer { grid-template-columns:1fr; text-align:center; }
  .docs-footer-brand, .docs-footer-status { justify-content:center; }
}
@media (max-width:720px) {
  body.docs-page.docs-emerald .docs-intro { min-height:0; padding:28px 21px; border-radius:20px; }
  body.docs-page.docs-emerald .docs-intro h1 { font-size:clamp(38px,12vw,54px); }
  .docs-trust-row { gap:6px; }
  .docs-launchpad-main { padding:19px; }
  .docs-section-heading { display:grid; }
  .docs-time-pill { width:max-content; }
  .docs-step-grid { grid-template-columns:minmax(0,1fr); }
  .docs-step-card { min-height:156px; }
  .docs-code-sample pre { min-height:210px; font-size:9px; }
  .docs-request-progress { margin-inline:8px; }
  .docs-request-progress span { font-size:7px; }
  .docs-command-palette { padding-top:72px; }
  .docs-command-dialog { border-radius:17px; }
  .docs-pro-footer { padding:20px 15px; }
}
@media (max-width:430px) {
  .docs-trust-row span:nth-child(4) { display:none; }
  .docs-code-tabs button { flex:1; }
  .docs-command-body a { grid-template-columns:32px minmax(0,1fr); }
  .docs-command-body kbd { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .docs-step-card,.docs-command-dialog,.docs-response-card.is-loading::after,.docs-request-progress i { animation:none!important; transition:none!important; }
}

/* Documentation explorer and live execution feedback */
.docs-explorer-bar { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:16px 0 12px; padding:13px 14px; border:1px solid rgba(109,255,192,.11); border-radius:15px; background:linear-gradient(110deg,rgba(28,111,77,.12),rgba(0,8,5,.32)); }
.docs-explorer-summary { min-width:220px; display:flex; align-items:center; gap:11px; }
.docs-explorer-summary > div { display:grid; gap:3px; }
.docs-explorer-summary strong { color:#dff9ed; font-size:11px; }
.docs-explorer-summary small { color:#6f9585; font-size:9px; }
.docs-explorer-pulse { width:9px; height:9px; flex:0 0 9px; border-radius:50%; background:#29e89e; box-shadow:0 0 0 5px rgba(41,232,158,.07),0 0 14px rgba(41,232,158,.5); }
.docs-explorer-controls { display:flex; align-items:center; justify-content:flex-end; gap:7px; }
.docs-sort-control { min-height:34px; display:flex; align-items:center; gap:8px; padding:0 7px 0 10px; color:#668e7d; border:1px solid rgba(109,255,192,.1); border-radius:9px; background:rgba(0,7,4,.35); font-family:var(--docs-mono); font-size:8px; }
.docs-sort-control select { color:#ccecdf; border:0; outline:0; background:transparent; font:inherit; cursor:pointer; }
.docs-sort-control option { color:#dff8ed; background:#07150f; }
.docs-explorer-button { min-height:34px; padding:0 10px; color:#83ad9c; border:1px solid rgba(109,255,192,.1); border-radius:9px; background:rgba(0,7,4,.32); font-size:9px; cursor:pointer; transition:.2s ease; }
.docs-explorer-button:hover { color:#eafff6; border-color:rgba(60,235,169,.28); background:rgba(38,222,151,.07); }
.docs-recommended-badge { position:absolute; right:13px; bottom:12px; z-index:2; padding:4px 7px; color:#45e9ac; border:1px solid rgba(69,233,172,.14); border-radius:999px; background:rgba(24,142,96,.1); font-family:var(--docs-mono); font-size:7px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
.endpoint-card.is-recommended { border-color:rgba(74,232,172,.15)!important; }

.docs-execution-live { min-height:58px; display:grid; grid-template-columns:38px minmax(0,1fr) auto; align-items:center; gap:11px; margin:13px 0; padding:9px 12px; overflow:hidden; border:1px solid rgba(109,255,192,.09); border-radius:13px; background:rgba(0,8,5,.48); transition:border-color .25s ease,background .25s ease,box-shadow .25s ease; }
.docs-execution-copy { min-width:0; display:grid; gap:3px; }
.docs-execution-copy small { color:#567a6b; font-family:var(--docs-mono); font-size:7px; letter-spacing:.13em; }
.docs-execution-copy strong { overflow:hidden; color:#a9c9bc; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.docs-execution-time { padding:5px 7px; color:#73998a; border:1px solid rgba(109,255,192,.08); border-radius:7px; font-family:var(--docs-mono); font-size:8px; }
.docs-execution-orbit { position:relative; width:34px; height:34px; display:grid; place-items:center; border:1px solid rgba(109,255,192,.1); border-radius:50%; }
.docs-execution-orbit span { width:8px; height:8px; border-radius:50%; background:#55766a; transition:.25s ease; }
.docs-execution-orbit i { position:absolute; inset:3px; border:1px solid transparent; border-top-color:#31e9a4; border-radius:50%; opacity:0; }
.docs-execution-live[data-state="running"] { border-color:rgba(47,235,166,.24); background:rgba(22,96,67,.16); box-shadow:inset 0 0 30px rgba(31,224,151,.035); }
.docs-execution-live[data-state="running"] .docs-execution-orbit span { background:#2de9a1; box-shadow:0 0 13px rgba(45,233,161,.65); animation:docs-live-core .85s ease-in-out infinite alternate; }
.docs-execution-live[data-state="running"] .docs-execution-orbit i { opacity:1; animation:docs-live-spin .8s linear infinite; }
.docs-execution-live[data-state="success"] { border-color:rgba(51,232,163,.25); background:rgba(31,132,89,.13); }
.docs-execution-live[data-state="success"] .docs-execution-orbit span { background:#2de9a1; box-shadow:0 0 13px rgba(45,233,161,.55); }
.docs-execution-live[data-state="error"] { border-color:rgba(255,101,118,.25); background:rgba(139,30,48,.1); }
.docs-execution-live[data-state="error"] .docs-execution-orbit span { background:#ff6677; box-shadow:0 0 12px rgba(255,102,119,.45); }
@keyframes docs-live-spin { to { transform:rotate(360deg); } }
@keyframes docs-live-core { to { transform:scale(.7); opacity:.65; } }
@media (max-width:720px) { .docs-explorer-bar { align-items:stretch; flex-direction:column; } .docs-explorer-controls { justify-content:stretch; flex-wrap:wrap; } .docs-sort-control { flex:1; } .docs-explorer-button { flex:1; } }
@media (prefers-reduced-motion:reduce) { .docs-execution-live * { animation:none!important; } }
.tester-fields .field-block-wide { grid-column:1 / -1; }
.tester-fields textarea { width:100%; min-height:118px; resize:vertical; padding:12px 13px; color:var(--docs-text); border:1px solid rgba(109,255,192,.13); border-radius:11px; outline:0; background:rgba(0,7,4,.5); font:inherit; line-height:1.55; transition:border-color .2s ease,box-shadow .2s ease; }
.tester-fields textarea:focus { border-color:rgba(47,235,166,.38); box-shadow:0 0 0 3px rgba(47,235,166,.07); }
.method-pill.method-post { color:#7dd3fc; border-color:rgba(56,189,248,.25); background:rgba(14,165,233,.09); }
.endpoint-card { position:relative; }
.endpoint-favorite-button { position:absolute; right:12px; bottom:12px; z-index:3; display:grid; place-items:center; width:34px; height:34px; padding:0; border:1px solid rgba(148,163,184,.18); border-radius:10px; background:rgba(8,16,29,.76); color:#94a3b8; font-size:1.25rem; cursor:pointer; transition:.18s ease; }
.endpoint-favorite-button:hover { color:#fbbf24; border-color:rgba(251,191,36,.4); transform:translateY(-2px); }
.endpoint-favorite-button.is-active { color:#fbbf24; background:rgba(251,191,36,.12); border-color:rgba(251,191,36,.34); }
[data-theme="light"] .endpoint-favorite-button { background:rgba(255,255,255,.92); }
.category-ultra{position:relative;overflow:hidden;border-color:rgba(168,85,247,.32)!important;background:radial-gradient(circle at 92% 0,rgba(168,85,247,.18),transparent 34%),linear-gradient(145deg,rgba(31,18,52,.82),rgba(9,15,26,.88))!important}.category-ultra:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.035) 50%,transparent 70%)}.ultra-category-icon{color:#d8b4fe!important;background:rgba(168,85,247,.14)!important}.ultra-lock-pill{display:inline-flex;margin-left:8px;padding:4px 7px;border:1px solid rgba(216,180,254,.28);border-radius:999px;color:#e9d5ff;background:rgba(168,85,247,.14);font-size:.6rem;letter-spacing:.08em;vertical-align:middle}.endpoint-card-ultra{border-color:rgba(168,85,247,.34)!important;background:linear-gradient(145deg,rgba(88,28,135,.14),rgba(8,15,27,.82))!important}.endpoint-card-ultra:hover{border-color:rgba(192,132,252,.65)!important;box-shadow:0 18px 46px rgba(88,28,135,.2)!important}.endpoint-exclusive-label{display:inline-flex;width:max-content;margin:8px 0;color:#d8b4fe;font:800 .63rem JetBrains Mono,monospace;letter-spacing:.11em}.endpoint-upgrade-link{position:relative;z-index:4;display:inline-flex;margin-top:12px;color:#d8b4fe;text-decoration:none;font-size:.78rem;font-weight:800}.endpoint-upgrade-link:hover{color:#f3e8ff}[data-theme="light"] .category-ultra{background:radial-gradient(circle at 92% 0,rgba(168,85,247,.12),transparent 36%),#fff!important}[data-theme="light"] .endpoint-card-ultra{background:linear-gradient(145deg,rgba(250,245,255,.96),#fff)!important}
