@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #25333b;
  --muted: #586970;
  --line: #dce3e6;
  --teal: #126b57;
  --teal-line: #a8cfc1;
  --teal-light: #f0f8f4;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, summary { cursor: pointer; }
button:focus-visible, summary:focus-visible, a:focus-visible,
input:focus-visible, select:focus-visible, pre:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
code, pre { font-family: var(--mono); }
p, h1, h2, h3, pre { margin: 0; }
h2, h3 { font-size: 13px; margin-bottom: 12px; }
[hidden] { display: none !important; }

.page-shell { max-width: 1048px; margin: 0 auto; padding: 30px 24px; }
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 5;
  padding: 8px 12px;
  color: #fff;
  background: var(--teal);
}
.skip-link:focus { top: 12px; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo-link { display: flex; flex-shrink: 0; }
.brand img { display: block; width: 40px; height: 40px; object-fit: contain; }
h1 { font-size: 23px; font-weight: 650; letter-spacing: -.035em; line-height: 1.2; }
.service-note { color: var(--muted); font-size: 12px; margin-top: 5px; }
.site-header nav { display: flex; flex-shrink: 0; gap: 20px; font-size: 12px; }
.site-header nav a { color: var(--muted); text-decoration: none; padding: 5px 0; }
.site-header nav a:hover { color: var(--teal); text-decoration: underline; }
.explorer-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 24px 0; }
.base-url { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; padding-bottom: 8px; }
.base-url span { color: var(--muted); font-size: 12px; }
.base-url code { font-size: 12px; overflow-wrap: anywhere; }
.filter-group { width: 230px; flex-shrink: 0; }
.filter-group label { display: block; margin-bottom: 5px; font-size: 12px; color: var(--muted); }
input, select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 7px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #87999f;
  border-radius: 3px;
  font-size: 13px;
}
input::placeholder { color: var(--muted); opacity: 1; }
input:focus, select:focus { border-color: var(--teal); }
#explorer-status { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
#explorer-status:empty { display: none; }
#explorer-status[data-state="error"] { color: #b3271b; }
#endpoint-list, #alias-list { display: grid; gap: 8px; min-width: 0; }

.endpoint {
  min-width: 0;
  border: 1px solid var(--teal-line);
  border-radius: 4px;
  background: var(--teal-light);
  overflow: clip;
}
.endpoint > summary {
  display: grid;
  grid-template-columns: 54px minmax(0, max-content) minmax(0, 1fr) 12px;
  gap: 12px;
  align-items: center;
  min-height: 49px;
  padding: 10px 14px 10px 10px;
  list-style: none;
}
.endpoint > summary::-webkit-details-marker { display: none; }
.endpoint > summary::marker { content: ""; }
.endpoint > summary:hover { background: #e7f3ec; }
.endpoint > summary:focus-visible { outline-offset: -3px; }
.endpoint[open] > summary { border-bottom: 1px solid var(--teal-line); }
.method {
  padding: 5px 7px;
  border-radius: 3px;
  background: var(--teal);
  color: #fff;
  font: 650 11px/1.4 var(--mono);
  text-align: center;
}
.endpoint-path, .endpoint-path code {
  min-width: 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.endpoint-label { min-width: 0; color: var(--muted); font-size: 12px; }
.chevron {
  justify-self: end;
  width: 7px;
  height: 7px;
  margin-right: 2px;
  margin-top: -3px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  font-size: 0;
  transform: rotate(45deg);
}
.endpoint[open] > summary .chevron { transform: rotate(225deg); margin-top: 4px; }
.endpoint-body { padding: 18px; background: #fff; min-width: 0; }
.endpoint-form { min-width: 0; }
.parameters { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.param { display: block; min-width: 0; }
.param-name { font: 600 13px var(--mono); }
.required { color: #b3271b; font-size: 10px; margin-left: 5px; }
.param-type { display: block; color: var(--muted); font-size: 11px; margin: 3px 0 7px; }
.param input, .param select { font-family: var(--mono); font-size: 12px; }
.param p, .param-description { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.no-parameters { color: var(--muted); font-size: 12px; }
.request-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 12px; }
.copy-status { align-self: center; color: var(--muted); font-size: 12px; }
.copy-status:empty { display: none; }
button {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #a3b0b6;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
}
button:hover { background: #f1f4f5; }
button.execute { border-color: var(--teal); background: var(--teal); color: #fff; padding-inline: 22px; }
button.execute:hover { background: #0d5948; }
button:disabled { opacity: .6; cursor: wait; }
a.request-url { display: block; max-width: 100%; font: 12px/1.6 var(--mono); overflow-wrap: anywhere; }
pre.curl, pre.response-code {
  max-width: 100%;
  min-width: 0;
  overflow: auto;
  padding: 12px;
  border: 1px solid #e0e6e9;
  border-radius: 3px;
  background: #f6f8f9;
  font-size: 12px;
  line-height: 1.7;
  tab-size: 2;
  white-space: pre;
  scrollbar-width: thin;
}
pre.curl { margin-top: 10px; }
pre.curl code { font: inherit; }
.request-status { min-height: 18px; color: var(--muted); font-size: 12px; margin-top: 10px; overflow-wrap: anywhere; }
.request-status.error, .request-status[data-state="error"] { color: #b3271b; }
.request-status.success, .request-status[data-state="success"] { color: var(--teal); }
.request-status.partial, .request-status[data-state="partial"] { color: #855800; }
.live-response { min-width: 0; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.response-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-bottom: 10px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.response-meta > :first-child { color: var(--ink); font-weight: 600; }
pre.response-code { max-height: 480px; }
details.contract { min-width: 0; margin-top: 18px; border-top: 1px solid var(--line); }
details.contract > summary { padding: 12px 0; color: var(--muted); font-size: 12px; font-weight: 600; }
.response-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: 12px; }
.response-table th, .response-table td { padding: 9px 10px; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.response-table th { color: var(--muted); font-size: 11px; font-weight: 600; background: #f8f9fa; }
.response-table th:first-child, .response-table td:first-child { width: 62px; padding-left: 0; }
.response-table th:last-child, .response-table td:last-child { width: 30%; padding-right: 0; }
.response-table code { font-size: 11px; }
.schema-link { overflow-wrap: anywhere; }
#aliases { margin-top: 18px; }
#aliases > summary { padding: 6px 0; color: var(--muted); font-size: 12px; }
#alias-list { margin-top: 8px; }
.noscript-note { margin-top: 20px; font-size: 13px; }
.site-footer { padding-top: 24px; margin-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.8; }
.site-footer a { color: inherit; }

@media (max-width: 650px) {
  .page-shell { padding: 22px 18px; }
  .site-header { align-items: flex-start; flex-wrap: wrap; gap: 16px; padding-bottom: 20px; }
  .site-header nav { gap: 18px; }
  .explorer-toolbar { align-items: stretch; flex-direction: column; gap: 15px; padding: 20px 0; }
  .base-url { padding: 0; }
  .filter-group { width: 100%; }
  .endpoint > summary { grid-template-columns: 46px minmax(0, 1fr) 10px; gap: 2px 10px; padding: 10px; }
  .method { grid-column: 1; grid-row: 1 / span 2; }
  .endpoint-path { grid-column: 2; grid-row: 1; font-size: 12px; }
  .endpoint-path code { font-size: 12px; }
  .endpoint-label { grid-column: 2; grid-row: 2; font-size: 11px; }
  .chevron { grid-column: 3; grid-row: 1 / span 2; }
  .endpoint-body { padding: 14px; }
  .parameters { grid-template-columns: 1fr; gap: 14px; }
  .request-actions { gap: 7px; }
  .request-actions button { flex-grow: 1; }
  pre.curl, pre.response-code { padding: 10px; font-size: 11px; }
  .response-table { font-size: 11px; }
  .response-table th, .response-table td { padding: 8px 6px; }
  .response-table th:first-child, .response-table td:first-child { width: 44px; }
  .response-table th:last-child, .response-table td:last-child { width: 32%; }
  .response-table code { font-size: 10px; }
}

@media (max-width: 390px) {
  .page-shell { padding-inline: 14px; }
  .brand { gap: 9px; }
  .brand img { width: 34px; height: 34px; }
  h1 { font-size: 22px; }
  .service-note { font-size: 11px; }
  .endpoint-path, .endpoint-path code { font-size: 11px; }
}

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