:root {
  --accent: #ff7a1a;
  --accent-strong: #f2640d;
  --accent-soft: rgba(255, 122, 26, 0.12);
  --bg: #09090a;
  --bg-raised: #101011;
  --panel: #151516;
  --panel-strong: #1b1b1d;
  --line: #29292c;
  --line-strong: #3a3a3f;
  --text: #f7f7f8;
  --text-soft: #c4c4ca;
  --muted: #8e8e96;
  --code: #d7f4b5;
  --green: #189b55;
  --blue: #2c68e8;
  --purple: #6b4bd2;
  --red: #bb3038;
  --cyan: #148a9c;
  --header: 68px;
  --section-nav: 44px;
  --header-offset: 14px;
  --stack-gap: 10px;
  --radius: 12px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 122, 26, 0.08), transparent 34rem),
    var(--bg);
  color: var(--text);
  font: 14px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.sidebar-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.app-header {
  position: relative;
  z-index: 80;
  width: min(1540px, calc(100% - 44px));
  height: var(--header);
  margin: var(--header-offset) auto 0;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(320px, 590px) minmax(280px, 1fr);
  align-items: center;
  gap: 22px;
  padding: 0 22px;
  background: rgba(10, 10, 11, 0.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}
.header-left, .header-actions, .brand { display: flex; align-items: center; }
.header-left { min-width: 0; gap: 10px; }
.brand { min-width: 0; gap: 11px; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #ff923d, var(--accent-strong));
  box-shadow: 0 8px 22px rgba(255, 122, 26, 0.2);
  color: #fff;
  font-weight: 900;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: 14px; letter-spacing: 0.01em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.sidebar-toggle, #sidebar-close {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
}
.global-search {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #141415;
  color: var(--muted);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.global-search:focus-within {
  border-color: rgba(255, 122, 26, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.09);
}
.global-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}
.global-search input::placeholder { color: #74747c; }
.global-search kbd {
  border: 1px solid var(--line-strong);
  border-bottom-color: #505057;
  border-radius: 5px;
  padding: 1px 6px;
  background: #202023;
  color: #a8a8af;
  font-size: 10px;
  font-weight: 800;
}
.header-actions { justify-content: flex-end; gap: 8px; }
.header-button {
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 0 13px;
  background: #171719;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
  transition: 0.15s;
}
.header-button:hover { border-color: #5b5b63; color: #fff; background: #202023; }
.header-button-primary { border-color: var(--accent); background: #171719; color: #fff; }
.header-button-primary:hover { border-color: var(--accent); background: #202023; color: #fff; box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.15) inset; }

.section-nav {
  position: relative;
  z-index: 70;
  width: min(1540px, calc(100% - 44px));
  height: var(--section-nav);
  margin: var(--stack-gap) auto 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 15, 16, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  overflow-x: auto;
  white-space: nowrap;
}
.section-nav a {
  height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  padding: 0 10px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 720;
}
.section-nav a:hover { background: var(--panel-strong); color: #fff; }
.section-nav span { margin-left: auto; color: var(--muted); font-size: 11px; }

.docs-shell {
  display: grid;
  grid-template-columns: 274px minmax(0, 760px) minmax(330px, 390px);
  gap: 36px;
  width: min(1540px, calc(100% - 44px));
  margin: 18px auto 0;
  min-height: calc(100vh - var(--header) - var(--section-nav) - 42px);
}
.left-sidebar {
  position: sticky;
  top: 18px;
  height: calc(100vh - 18px);
  overflow: auto;
  padding: 27px 18px 48px 0;
  border-right: 1px solid var(--line);
}
.left-sidebar::-webkit-scrollbar { width: 7px; }
.left-sidebar::-webkit-scrollbar-thumb { border-radius: 20px; background: #36363a; }
.sidebar-head { display: none; }
.side-block { margin: 0 14px 30px 2px; }
.side-block-last { padding-bottom: 20px; }
.side-title {
  margin: 0 0 9px 9px;
  color: #74747d;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.11em;
}
.side-link, .endpoint-link, .side-group summary {
  border-radius: 8px;
  color: #b5b5bd;
  transition: 0.14s;
}
.side-link, .endpoint-link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  line-height: 1.38;
}
.side-link:hover, .endpoint-link:hover, .side-group summary:hover { background: #161618; color: #fff; }
.side-link.active, .endpoint-link.active {
  background: var(--accent-soft);
  color: #fff;
  box-shadow: inset 2px 0 var(--accent);
}
.side-group { margin: 3px 0 10px; }
.side-group summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px;
  cursor: pointer;
  color: #dddddf;
  font-size: 12px;
  font-weight: 790;
}
.side-group summary::-webkit-details-marker { display: none; }
.side-group summary span { transition: transform 0.14s ease; }
.side-group[open] summary span { transform: rotate(180deg); }
.endpoint-link { margin: 1px 0; padding-left: 13px; font-size: 12px; }
.endpoint-link span { flex: 1; min-width: 0; max-width: none; }
.method-mini, .method-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #fff;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.method-mini { min-width: 42px; margin-top: 1px; padding: 5px 6px; font-size: 9px; }
.method-badge { min-width: 50px; height: 24px; padding: 0 8px; font-size: 10px; }
.m-get { background: var(--green); }
.m-post { background: var(--blue); }
.m-put { background: var(--cyan); }
.m-patch { background: var(--purple); }
.m-delete, .m-del { background: var(--red); }

.search-results {
  position: absolute;
  z-index: 100;
  top: calc(var(--header-offset) + var(--header) + 8px);
  left: 50%;
  width: min(590px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 90px));
  overflow: auto;
  transform: translateX(-50%);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 7px;
  background: #111113;
  box-shadow: var(--shadow);
}
.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 8px;
  padding: 10px 11px;
  color: #e6e6e8;
}
.search-result:hover { background: #202023; }
.search-result small { flex: none; color: var(--muted); font-size: 10px; }
.search-empty { padding: 18px 12px; color: var(--muted); text-align: center; }

.doc-main { min-width: 0; padding: 34px 0 90px; }
.doc-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 25px;
}
.doc-summary span, .doc-summary a {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  background: #121214;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 760;
}
.doc-summary a { border-color: rgba(255, 122, 26, 0.34); color: #ffac70; }
.doc-summary a:hover { border-color: var(--accent); background: var(--accent-soft); color: #fff; }
.doc-content h1, .doc-content h2, .doc-content h3, .doc-content h4 { scroll-margin-top: 128px; }
.doc-content h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 860;
}
.doc-content h2 {
  margin: 54px 0 15px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.doc-content h3 {
  margin: 40px 0 12px;
  font-size: 21px;
  line-height: 1.32;
  letter-spacing: -0.018em;
}
.doc-content h4 { margin: 27px 0 10px; font-size: 14px; line-height: 1.4; }
.heading-anchor { margin-left: 8px; color: var(--accent); opacity: 0; transition: opacity 0.14s; }
.doc-heading:hover .heading-anchor { opacity: 1; }
.doc-content p { margin: 0 0 16px; color: #e6e6e9; }
.doc-content > p:first-of-type { max-width: 660px; color: var(--text-soft); font-size: 16px; }
.doc-content ul, .doc-content ol { margin: 11px 0 20px; padding-left: 25px; }
.doc-content li { margin: 7px 0; color: #e1e1e4; }
.doc-content strong { color: #fff; font-weight: 800; }
.doc-content hr { margin: 48px 0; border: 0; border-top: 1px solid var(--line); }
.doc-content a { color: #ffab6d; }
.doc-content code:not(pre code) {
  border: 1px solid #343438;
  border-radius: 5px;
  padding: 1px 5px;
  background: #1b1b1e;
  color: #f4f4f5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}
.endpoint-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -2px 0 21px;
}
.endpoint-path-copy,
.request-path-copy {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #343438;
  border-radius: 6px;
  padding: 4px 8px;
  background: #1b1b1e;
  color: #f4f4f5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
  overflow-wrap: anywhere;
  transition: border-color 0.14s, background 0.14s, color 0.14s;
}
.endpoint-path-copy::after,
.request-path-copy::after {
  content: "⧉";
  flex: none;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
}
.endpoint-path-copy:hover,
.endpoint-path-copy:focus-visible,
.request-path-copy:hover,
.request-path-copy:focus-visible {
  border-color: var(--accent);
  background: #202023;
  color: #fff;
  outline: none;
}
.endpoint-path-copy:hover::after,
.endpoint-path-copy:focus-visible::after,
.request-path-copy:hover::after,
.request-path-copy:focus-visible::after { color: var(--accent); }
.endpoint-path-copy.copied,
.request-path-copy.copied {
  border-color: #248f52;
  background: #153d29;
}
.endpoint-path-copy.copied::after,
.request-path-copy.copied::after {
  content: "✓ Copiado";
  color: #bff3cf;
  white-space: nowrap;
}
.doc-content table {
  display: block;
  width: 100%;
  margin: 14px 0 28px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-collapse: separate;
  border-spacing: 0;
  background: #111113;
}
.doc-content thead { background: #1c1c1f; }
.doc-content th, .doc-content td {
  min-width: 105px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
.doc-content th { color: #fff; font-size: 11px; font-weight: 800; }
.doc-content td { color: #d4d4d9; font-size: 12px; }
.doc-content tr:last-child td { border-bottom: 0; }
.doc-content tbody tr:hover { background: rgba(255, 255, 255, 0.018); }
.doc-content td:first-child { color: #fff; font-weight: 740; }
.doc-content blockquote {
  margin: 20px 0;
  border: 1px solid rgba(255, 122, 26, 0.25);
  border-left: 3px solid var(--accent);
  border-radius: 0 9px 9px 0;
  padding: 11px 14px;
  background: rgba(255, 122, 26, 0.06);
  color: #eeeef0;
}
.code-shell {
  margin: 12px 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111113;
}
.code-top {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 12px;
  border-bottom: 1px solid var(--line);
  background: #1a1a1d;
  color: #a7a7ae;
  font-size: 10px;
  font-weight: 830;
  letter-spacing: 0.05em;
}
.copy-btn, .copy-console, .credential-card button {
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #202023;
  color: #cfcfd4;
  font-size: 10px;
  font-weight: 760;
}
.copy-btn { height: 25px; padding: 0 8px; }
.copy-btn:hover, .copy-console:hover, .credential-card button:hover { border-color: var(--accent); color: #fff; }
.copy-btn.copied { border-color: #248f52; background: #153d29; color: #fff; }
.code-shell pre { margin: 0; overflow: auto; padding: 15px; }
.code-shell code {
  color: var(--code);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre;
}
.doc-content .method-pill {
  display: inline-flex;
  border: 0;
  border-radius: 4px;
  padding: 4px 6px;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.right-console { min-width: 0; padding: 34px 0 80px; }
.console-sticky { position: sticky; top: 18px; }
.console-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
}
.console-heading div { display: flex; flex-direction: column; }
.console-heading small, .credential-card small { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: 0.1em; }
.console-heading strong { margin-top: 3px; font-size: 14px; }
.copy-console { height: 28px; padding: 0 9px; }
.language-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin-bottom: 9px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #111113;
}
.lang {
  height: 30px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #919199;
  font-size: 10px;
  font-weight: 760;
}
.lang:hover { background: #1b1b1e; color: #fff; }
.lang.active { background: var(--panel-strong); color: #fff; box-shadow: inset 0 0 0 1px #35353a; }
.request-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111113;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}
.request-meta {
  min-height: 46px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: #19191c;
}
.request-meta .request-path-copy {
  flex: 1;
  width: 100%;
  color: #d6d6db;
  font-size: 11px;
}
.console-code {
  min-height: 260px;
  margin: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px;
  color: var(--code);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.68;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.console-code code { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.credential-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px 10px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #121214;
}
.credential-card div { display: flex; flex-direction: column; }
.credential-card strong { margin-top: 3px; font-size: 12px; }
.credential-card code {
  grid-column: 1 / 2;
  overflow-wrap: anywhere;
  white-space: normal;
  color: #cfcfd4;
  font-size: 10px;
}
.credential-card button { grid-row: 1 / 3; grid-column: 2; padding: 0 9px; }
.console-note { margin: 11px 2px 15px; color: #7f7f87; font-size: 10px; line-height: 1.55; }
.openapi-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 122, 26, 0.3);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: linear-gradient(145deg, rgba(255, 122, 26, 0.11), rgba(255, 122, 26, 0.03));
  transition: 0.15s;
}
.openapi-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.openapi-card span { color: #ff9b54; font-size: 9px; font-weight: 850; letter-spacing: 0.08em; }
.openapi-card strong { margin: 4px 0 2px; font-size: 13px; }
.openapi-card small { color: #a6a6ad; font-size: 10px; }
.sidebar-backdrop { display: none; }

@media (max-width: 1280px) {
  .docs-shell { grid-template-columns: 260px minmax(0, 1fr); max-width: 1120px; }
  .right-console { display: none; }
}

@media (max-width: 980px) {
  .app-header { grid-template-columns: auto minmax(260px, 1fr) auto; gap: 12px; width: min(1120px, calc(100% - 30px)); padding: 0 14px; }
  .brand-copy small, #copy-page { display: none; }
  .header-button-primary { width: 38px; overflow: hidden; padding: 0; font-size: 0; }
  .header-button-primary::after { content: "JSON"; font-size: 9px; }
  .section-nav { width: min(1120px, calc(100% - 30px)); padding: 0 12px; }
  .docs-shell { width: min(100% - 30px, 820px); display: block; }
  .sidebar-toggle { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; }
  .left-sidebar {
    position: fixed;
    z-index: 110;
    top: 0;
    left: 0;
    width: min(330px, 88vw);
    height: 100vh;
    padding: 0 14px 40px;
    border-right: 1px solid var(--line-strong);
    background: #0d0d0f;
    box-shadow: var(--shadow);
    transform: translateX(-105%);
    transition: transform 0.2s ease;
  }
  body.sidebar-open .left-sidebar { transform: translateX(0); }
  .sidebar-head {
    position: sticky;
    top: 0;
    z-index: 2;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 -2px 18px;
    border-bottom: 1px solid var(--line);
    background: #0d0d0f;
    font-weight: 800;
  }
  #sidebar-close { display: block; width: 34px; height: 34px; font-size: 25px; }
  .sidebar-backdrop {
    position: fixed;
    z-index: 105;
    inset: 0;
    display: block;
    background: rgba(0, 0, 0, 0.64);
  }
  .doc-main { padding-top: 28px; }
}

@media (max-width: 650px) {
  :root { --header: 116px; --section-nav: 40px; }
  .app-header {
    height: var(--header);
    grid-template-columns: 1fr auto;
    grid-template-rows: 58px 48px;
    align-content: center;
    gap: 0 10px;
    padding: 0 12px;
  }
  .header-left { grid-column: 1; grid-row: 1; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .global-search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .global-search kbd { display: none; }
  .section-nav { width: calc(100% - 24px); gap: 2px; padding: 0 9px; }
  .section-nav span { display: none; }
  .section-nav a { padding: 0 8px; font-size: 11px; }
  .docs-shell { width: calc(100% - 24px); }
  .doc-summary { margin-bottom: 20px; }
  .doc-summary a { width: 100%; justify-content: center; text-align: center; }
  .doc-content h1 { font-size: 34px; }
  .doc-content h2 { margin-top: 44px; font-size: 23px; }
  .doc-content h3 { font-size: 19px; }
  .doc-content table { width: calc(100vw - 24px); }
  .search-results { top: calc(var(--header-offset) + var(--header) + 8px); }
}

.sidebar-backdrop[hidden] { display: none !important; }

/* Wizer product theme — inspired by the CRM authentication experience */
:root {
  --accent: #ff8b38;
  --accent-strong: #ff6a00;
  --accent-soft: rgba(255, 139, 56, 0.12);
  --bg: #0d1118;
  --bg-raised: #111722;
  --panel: #151b26;
  --panel-strong: #1d2532;
  --interactive: #273247;
  --interactive-hover: #303d55;
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.28);
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --muted: #8491a6;
  --code: #d9f7ba;
  --radius: 14px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 18% -8%, rgba(255, 139, 56, 0.10), transparent 31rem),
    radial-gradient(circle at 92% 12%, rgba(39, 50, 71, 0.34), transparent 34rem);
  background-size: 64px 64px, 64px 64px, auto, auto;
  background-position: -1px -1px, -1px -1px, center, center;
}

.app-header,
.section-nav {
  background: rgba(19, 24, 33, 0.94);
  border-color: var(--line);
  box-shadow: none;
}

.app-header {
  border-radius: 18px;
  min-height: 76px;
  height: auto;
  padding-block: 12px;
}

.brand { gap: 13px; }
.brand-mark {
  width: 27px;
  height: 27px;
  border-radius: 999px;
  background: var(--accent-strong);
  box-shadow: 0 0 0 10px rgba(255, 106, 0, 0.06), 0 0 24px rgba(255, 106, 0, 0.48);
  color: transparent;
  font-size: 0;
}
.brand-copy strong {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.035em;
}
.brand-copy strong::after {
  content: ".";
  margin-left: 2px;
  color: var(--accent-strong);
}
.brand-copy small { color: var(--muted); }

.global-search {
  min-height: 44px;
  border-color: var(--line-strong);
  background: var(--interactive);
}
.global-search:hover { border-color: rgba(148, 163, 184, 0.4); }
.global-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 139, 56, 0.12);
}
.global-search kbd {
  border-color: rgba(148, 163, 184, 0.26);
  background: rgba(13, 17, 24, 0.38);
  color: var(--text-soft);
}

.header-button {
  border-color: var(--line-strong);
  background: var(--panel-strong);
  color: var(--text-soft);
}
.header-button:hover { border-color: rgba(148, 163, 184, 0.46); background: #273043; }
.header-button-primary {
  border-color: var(--accent);
  background: rgba(255, 139, 56, 0.05);
  color: #fff;
}
.header-button-primary:hover {
  border-color: var(--accent-strong);
  background: rgba(255, 139, 56, 0.11);
}

.section-nav { border-radius: 14px; }
.section-nav a:hover { background: var(--interactive); }

.left-sidebar {
  border-right-color: var(--line);
}
.side-title,
.console-heading small,
.credential-card small {
  color: #f1a766;
  letter-spacing: 0.14em;
}
.side-link,
.endpoint-link,
.side-group summary { color: #aeb9c9; }
.side-link:hover,
.endpoint-link:hover,
.side-group summary:hover { background: rgba(39, 50, 71, 0.58); }
.side-link.active,
.endpoint-link.active {
  background: rgba(255, 139, 56, 0.10);
  box-shadow: inset 2px 0 var(--accent);
}

.search-results {
  background: #151b26;
  border-color: var(--line-strong);
}
.search-result:hover { background: var(--interactive); }

.doc-summary span,
.doc-summary a {
  border-color: var(--line);
  background: rgba(21, 27, 38, 0.86);
}
.doc-summary a { border-color: rgba(255, 139, 56, 0.46); color: #ffc18f; }

.doc-content > h1:first-child::before {
  content: "DOCUMENTAÇÃO DA API";
  display: block;
  margin-bottom: 12px;
  color: #f1a766;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
}
.doc-content h1 {
  max-width: 720px;
  font-weight: 900;
}
.doc-content h2 { border-top-color: var(--line); }
.doc-content p { color: #dce3ed; }
.doc-content > p:first-of-type { color: #9eabc0; }
.doc-content li { color: #d6deea; }
.doc-content hr { border-top-color: var(--line); }
.doc-content a { color: #ffb578; }

.doc-content code:not(pre code),
.endpoint-path-copy,
.request-path-copy {
  border-color: rgba(148, 163, 184, 0.28);
  background: var(--interactive);
  color: #f8fafc;
}
.endpoint-path-copy,
.request-path-copy {
  min-height: 34px;
  border-radius: 9px;
  padding: 7px 10px;
}
.endpoint-path-copy:hover,
.endpoint-path-copy:focus-visible,
.request-path-copy:hover,
.request-path-copy:focus-visible {
  border-color: var(--accent);
  background: var(--interactive-hover);
}

.doc-content table,
.code-shell,
.request-card,
.credential-card {
  border-color: var(--line);
  background: rgba(21, 27, 38, 0.92);
  box-shadow: none;
}
.doc-content thead,
.code-top,
.request-meta { background: #1c2431; }
.doc-content th,
.doc-content td,
.code-top,
.request-meta { border-color: var(--line); }
.doc-content tbody tr:hover { background: rgba(39, 50, 71, 0.34); }

.doc-content blockquote {
  position: relative;
  margin: 24px 0;
  border: 1px solid rgba(148, 163, 184, 0.20);
  border-left: 1px solid rgba(148, 163, 184, 0.20);
  border-radius: 14px;
  padding: 16px 18px 16px 54px;
  background: linear-gradient(135deg, rgba(39, 50, 71, 0.72), rgba(24, 31, 43, 0.80));
  color: #eef3f9;
}
.doc-content blockquote::before {
  content: "i";
  position: absolute;
  top: 15px;
  left: 16px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #141821;
  font-size: 13px;
  font-weight: 900;
}
.doc-content blockquote p:last-child { margin-bottom: 0; }

.copy-btn,
.copy-console,
.credential-card button {
  border-color: var(--line-strong);
  background: var(--interactive);
  color: var(--text-soft);
}
.copy-btn:hover,
.copy-console:hover,
.credential-card button:hover {
  border-color: var(--accent);
  background: var(--interactive-hover);
}

.right-console {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.console-heading strong { font-size: 16px; }
.request-card { border-radius: 15px; }
.request-meta { min-height: 54px; }
.credential-card { background: rgba(21, 27, 38, 0.92); }
.console-note { color: var(--muted); }
.openapi-card {
  border-color: rgba(255, 139, 56, 0.44);
  background: linear-gradient(145deg, rgba(255, 139, 56, 0.10), rgba(21, 27, 38, 0.88));
}
.openapi-card span { color: #f1a766; }

.method-mini,
.method-badge,
.doc-content .method-pill { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }

@media (max-width: 1280px) {
  .right-console { border-left: 0; padding-left: 0; }
}

@media (max-width: 980px) {
  .left-sidebar { background: #111722; }
  .sidebar-head { background: #111722; }
}
