.dc-page {
  --dc-bg: #fff;
  --dc-panel: #fff;
  --dc-ink: #192a40;
  --dc-text: #526681;
  --dc-muted: #728298;
  --dc-border: #dfe6f0;
  --dc-soft: #f5f7fa;
  --dc-hover: #edf3ff;
  --dc-link: #185bf0;
  background: var(--dc-bg);
  color: var(--dc-ink);
}
[data-theme="dark"] .dc-page {
  --dc-bg: #141d29;
  --dc-panel: #1b2736;
  --dc-ink: #e2eaf6;
  --dc-text: #becad9;
  --dc-muted: #a2b2c5;
  --dc-border: #35465b;
  --dc-soft: #222f40;
  --dc-hover: #243a57;
  --dc-link: #8eb1ff;
}
.dc-layout {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr);
  align-items: start;
  gap: 32px;
  width: min(calc(100% - 64px),1320px);
  margin-inline: auto;
  padding-block: 40px 72px;
}
.dc-main { min-width: 0; }
.dc-toc {
  position: sticky;
  top: 85px;
  display:flex;
  flex-direction:column;
  max-height: calc(100dvh - 102px);
  padding: 8px 0;
  border-left: 1px solid var(--dc-border);
}
.dc-toc nav {
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width: thin;
  scrollbar-color: var(--dc-border) transparent;
}
.dc-toc > :is(strong,button) { flex:none; }
.dc-toc > strong { display: block; padding: 8px 17px 15px; font-size: 14px; font-weight: 650; color: var(--dc-text); }
.dc-toc a {
  display: block;
  padding: 7px 16px;
  min-height: 36px;
  border-left: 2px solid transparent;
  color: var(--dc-muted);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.dc-toc a:is(:hover,:focus-visible) { background: var(--dc-hover); }
.dc-toc a:is(:hover,:focus-visible,[aria-current]) { color: var(--dc-link); border-left-color: var(--dc-link); }
.dc-toc button { display: none; }
.dc-main :where(section,details)[data-dc-target] { scroll-margin-top: 85px; }
.dc-main :where(h2,h3,h4,p) { margin: 0; }
.dc-main h2 { font-size: 24px; font-weight: 650; line-height: 1.5; }
.dc-main code { font-family: Consolas, "SFMono-Regular", monospace; font-variant-ligatures: none; }
.dc-intro, .dc-operation {
  background: var(--dc-panel);
  border: 1px solid var(--dc-border);
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.dc-intro { padding: 29px 32px 30px; }
.dc-intro > p {
  margin: 16px 0 0;
  color: var(--dc-text);
  font-size: 14px;
  line-height: 1.9;
}
.dc-intro > p + p { margin-top: 19px; }
.dc-base {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 13px;
  margin-top: 21px;
  padding: 15px 17px;
  background: var(--dc-soft);
  border: 1px solid var(--dc-border);
  border-radius: 3px;
  font-size: 13px;
  line-height: 1.55;
}
.dc-base span { color: var(--dc-muted); }
.dc-base code { min-width: 0; color: var(--dc-text); font-size: 12px; }
.dc-security { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; color: var(--dc-muted); }
.dc-security svg { flex: none; margin-top: 2px; }
.dc-security p { font-size: 12px; line-height: 1.8; }
.dc-reference { margin-top: 34px; }
.dc-reference > header, .dc-code-head, .dc-notice { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dc-reference > header { margin-bottom: 15px; }
.dc-reference > header > span { color: var(--dc-muted); font-size: 13px; }
.dc-operation { margin: 0; }
.dc-operation > summary, .dc-response > summary {
  display: flex; align-items: center; cursor: pointer; list-style: none;
}
.dc-page summary::-webkit-details-marker { display: none; }
.dc-arrow {
  display: inline-block;
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  flex: none;
  color: var(--dc-muted);
}
.dc-operation[open] > summary > .dc-arrow,
.dc-response[open] > summary > .dc-arrow, .dc-mobile-toc[aria-expanded=true] > .dc-arrow { transform: rotate(225deg); }
.dc-operation + .dc-operation { margin-top: 12px; }
.dc-operation > summary { min-height: 70px; gap: 16px; padding: 18px 23px; }
.dc-operation > summary strong { min-width: 0; flex: 1; color: var(--dc-ink); font-size: 15px; font-weight: 500; }
.dc-operation > summary code { max-width: 58%; padding: 5px 9px; border-radius: 2px; background: var(--dc-soft); color: var(--dc-text); font-size: 12px; }
.dc-operation[open] > summary { border-bottom: 1px solid var(--dc-border); }
.dc-operation > summary:hover, .dc-response > summary:hover { background: var(--dc-soft); }
.dc-operation-body { padding: 18px 23px 21px; }
.dc-operation-body > p { font-size: 13px; line-height: 1.8; color: var(--dc-text); white-space: pre-line; }
.dc-operation-body .dc-access { display: flex; flex-wrap:wrap; align-items: baseline; gap: 6px 9px; margin-top: 7px; color: var(--dc-muted); font-size: 12px; }
.dc-access b { font-weight: 550; color: var(--dc-text); }
.dc-grant { display:inline-flex; flex-wrap:wrap; gap:5px; padding:2px 7px; background:var(--dc-soft); color:var(--dc-text); border-radius:3px; }
.dc-operation-body .dc-request-note { margin-top:10px; font-size:12px; }
.dc-operation h4 { margin: 21px 0 9px; font-size: 13px; font-weight: 600; }
.dc-table-scroll { max-width: 100%; overflow-x: auto; }
.dc-main table { width: 100%; min-width: 420px; border-collapse: collapse; text-align: left; font-size: 12px; color: var(--dc-text); }
.dc-main :is(th,td) { padding: 9px 12px; border-bottom: 1px solid var(--dc-border); line-height: 1.8; vertical-align: top; }
.dc-main thead th { background: var(--dc-soft); color: var(--dc-muted); font-weight: 500; }
.dc-main tbody th { font-weight: 500; }
.dc-code { position: relative; margin-top: 16px; padding: 13px 15px; min-width: 0; background: var(--dc-soft); border: 1px solid var(--dc-border); border-radius: 3px; }
.dc-code-head { margin-bottom: 7px; color: var(--dc-muted); font-size: 12px; }
.dc-syntax { margin-right: auto; font-size: 11px; }
.dc-code-head button, .dc-notice button {
  color: var(--dc-link);
  font: inherit;
  padding: 3px 8px;
  border: 1px solid var(--dc-border);
  border-radius: 3px;
  background: var(--dc-panel);
}
.dc-code pre { margin: 0; max-width: 100%; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--dc-text); font-size: 12px; line-height: 1.75; }
.dc-copy-note { display: block; font-size: 12px; color: var(--dc-muted); }
.dc-copy-note:not(:empty) { margin-top: 7px; }
.dc-responses { border: 1px solid var(--dc-border); border-radius: 3px; }
.dc-responses > * + * { border-top: 1px solid var(--dc-border); }
.dc-status, .dc-response > summary { display: flex; align-items: baseline; gap: 10px; padding: 9px 12px; font-size: 12px; color: var(--dc-text); }
.dc-responses code { color: var(--dc-ink); }
.dc-response > summary > .dc-arrow { margin-left: auto; }
.dc-response .dc-code { margin: 0 10px 10px; }
.dc-notice { justify-content: flex-start; color: var(--dc-muted); font-size: 13px; padding: 16px; border: 1px solid var(--dc-border); }
@media (max-width: 1000px) {
  .dc-layout { grid-template-columns: 180px minmax(0,1fr); gap: 24px; width: calc(100% - 40px); }
}
@media (max-width: 760px) {
  .dc-layout { grid-template-columns: minmax(0,1fr); width: calc(100% - 32px); gap: 15px; padding-block: 20px 40px; }
  .dc-toc { position: sticky; top:64px; z-index:2; background:var(--dc-panel); padding: 0; border: 1px solid var(--dc-border); border-radius: 3px; max-height: 50dvh; }
  .dc-layout { display:block; }
  .dc-main { margin-top:15px; }
  .dc-main :where(section,details)[data-dc-target] { scroll-margin-top:121px; }
  .dc-toc > strong { display: none; }
  .dc-toc > button { display: flex; align-items: center; justify-content: space-between; width: 100%; color: var(--dc-ink); background: var(--dc-panel); border: 0; padding: 12px 16px; font: inherit; font-size: 14px; font-weight: 550; }
  .dc-mobile-toc[aria-expanded=false] + nav { display: none; }
  .dc-intro { padding: 19px 17px; }
  .dc-intro > p { font-size: 13px; }
  .dc-reference { margin-top: 24px; }
  .dc-main h2 { font-size: 20px; }
  .dc-operation > summary { min-height: 55px; padding: 13px 12px; gap: 9px; }
  .dc-operation-body { padding: 13px 12px 16px; }
  .dc-operation > summary code { font-size: 11px; padding: 4px 5px; }
  .dc-operation > summary strong { font-size: 14px; }
}
@media (max-width:620px) {
  .dc-toc { top:55px; }
  .dc-main :where(section,details)[data-dc-target] { scroll-margin-top:111px; }
}
.pe-doc-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
