/*
! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  /* 3 */
  tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.block {
  display: block;
}

.hidden {
  display: none;
}

.resize {
  resize: both;
}

.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

/* ==========================================================================
   Docs layout (dashboard-style: fixed sidebar + main with offset)
   ========================================================================== */

/* Whole-page theme: body and all sections use light/dark */

.docs-body {
  min-height: 100vh;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity));
}

.docs-body:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity));
}

.docs-layout {
  display: flex;
  min-height: 100vh;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.docs-layout:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity));
}

/* Sidebar: sticky column on desktop, off-canvas drawer on mobile */

.docs-sidebar {
  display: flex;
  width: 16rem;
  flex-shrink: 0;
  flex-direction: column;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.docs-sidebar:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity));
}

.docs-sidebar {
  height: 100vh;
  position: sticky;
  top: 0;
}

/* ── Mobile drawer ─────────────────────────────────────────────────────── */

@media (max-width: 767px) {
  .docs-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    /* dynamic viewport height — avoids mobile browser chrome overlap */
    width: min(280px, 85vw);
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: none;
  }

  .docs-layout.sidebar-open .docs-sidebar {
    transform: translateX(0);
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.18);
  }

  /* Prevent body scroll when drawer is open */

  body.sidebar-open {
    overflow: hidden;
  }
}

/* Backdrop — rendered in the DOM, only visible on mobile when drawer is open */

.docs-sidebar-backdrop {
  display: none;
}

@media (max-width: 767px) {
  .docs-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 49;
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
  }

  .docs-layout.sidebar-open .docs-sidebar-backdrop {
    display: block;
  }
}

/* Mobile logo — hidden on desktop (sidebar already shows it) */

.docs-mobile-logo {
  display: none;
}

/* Left group wrapper (hamburger + logo) — hidden on desktop */

.docs-mobile-left {
  display: none;
}

/* Mobile menu (hamburger) button — hidden on desktop */

.docs-mobile-menu-btn {
  display: none;
}

/* Sidebar close (✕) button — hidden on desktop */

.docs-sidebar-toggle {
  display: none;
}

/* ── All mobile header overrides in one block ──────────────────────────── */

@media (max-width: 767px) {
  /* Header row: hamburger + logo on the left, toggle pinned to the right */

  .docs-page-header {
    justify-content: flex-start !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .docs-page-header-inner {
    justify-content: space-between !important;
    gap: 10px !important;
  }

  /* Hide the search bar on mobile — it clashes with the logo via absolute positioning */

  .docs-search {
    display: none;
  }

  /* Center the documentation content with balanced padding */

  .docs-content {
    padding: 24px 20px !important;
  }

  .docs-content-inner {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Hamburger button */

  .docs-mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    color: #9ca3af;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .docs-mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  /* Left group: hamburger + logo grouped together */

  .docs-mobile-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  /* Logo in header */

  .docs-mobile-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
  }

  .docs-mobile-logo .docs-sidebar-logo {
    height: 22px;
    width: auto;
  }

  /* Sidebar close button */

  .docs-sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #9ca3af;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .docs-sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
  }
}

.docs-sidebar-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  height: 67px;
  border-bottom: 1px solid #e5e7eb;
}

.dark .docs-sidebar-header {
  border-bottom-color: #1f2937;
}

.docs-sidebar-brand {
  display: flex;
  min-width: 0px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  text-decoration-line: none;
}

.docs-sidebar-nav {
  flex: 1 1 0%;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  border-right: 1px solid #e5e7eb;
  /* Custom scrollbar — subtle and theme-aware */
  scrollbar-width: thin;
  scrollbar-color: rgba(156, 163, 175, 0.4) transparent;
}

.dark .docs-sidebar-nav {
  border-right-color: #1f2937;
}

.docs-sidebar-nav::-webkit-scrollbar {
  width: 4px;
}

.docs-sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.docs-sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.4);
  border-radius: 2px;
}

.dark .docs-sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(75, 85, 99, 0.5);
}

.docs-sidebar-list {
  margin: 0px;
  list-style-type: none;
  padding: 0px;
}

.docs-sidebar-section {
  margin-bottom: 0.75rem;
}

.docs-sidebar-section summary {
  display: flex;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
  list-style-type: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  padding-right: 1rem;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity));
}

.docs-sidebar-section summary:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
}

.docs-sidebar-section summary:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
}

.docs-sidebar-section summary:hover:is(.dark *) {
  background-color: rgb(31 41 55 / 0.5);
}

.docs-sidebar-section summary {
  padding-left: 50px;
}

.docs-sidebar-section summary > span:first-of-type {
  min-width: 0px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-sidebar-section summary::-webkit-details-marker {
  display: none;
}

.docs-sidebar-section summary .docs-sidebar-section-arrow {
  display: flex;
  height: 1rem;
  width: 1rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.docs-sidebar-section summary .docs-sidebar-section-arrow:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity));
}

.docs-sidebar-section[open] summary .docs-sidebar-section-arrow {
  --tw-rotate: 0deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.docs-sidebar-section:not([open]) summary .docs-sidebar-section-arrow {
  --tw-rotate: -90deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.docs-sidebar-section .docs-sidebar-items {
  padding-top: 0.125rem;
  padding-bottom: 0.25rem;
}

/* First block: Introduction first, no dropdown heading */

.docs-sidebar-section-plain {
}

.docs-sidebar-section-plain .docs-sidebar-items {
  padding-top: 0.125rem;
  padding-bottom: 0.25rem;
}

.docs-sidebar-items {
  margin: 0px;
  list-style-type: none;
  padding: 0px;
}

.docs-sidebar-items > li + li {
  margin-top: 0.375rem;
}

.docs-sidebar-link {
  display: block;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  padding-right: 1rem;
  font-size: 15px;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity));
  text-decoration-line: none;
}

.docs-sidebar-link:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity));
}

.docs-sidebar-link:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity));
}

.docs-sidebar-link:hover:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity));
}

.docs-sidebar-link {
  padding-left: 50px;
}

.docs-sidebar-link-active {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.docs-sidebar-link-active:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity));
}

.docs-sidebar-items.sub {
  margin-left: 0.5rem;
  padding-left: 0.5rem;
}

/* Collapsible sub-item (e.g. Getting Started inside 1. API).
   The summary inherits .docs-sidebar-section summary styles; we only override
   the text properties so it looks like a normal link row, not a section header. */

.docs-sidebar-subsection > summary {
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #374151 !important;
}

.dark .docs-sidebar-subsection > summary {
  color: #d1d5db !important;
}

.docs-sidebar-subsection[open] > summary .docs-sidebar-section-arrow {
  transform: rotate(0deg) !important;
}

.docs-sidebar-subsection:not([open]) > summary .docs-sidebar-section-arrow {
  transform: rotate(-90deg) !important;
}

.docs-sidebar-group-label {
  display: block;
  padding: 0.45rem 1rem 0.15rem 50px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9ca3af;
}

.dark .docs-sidebar-group-label {
  color: #6b7280;
}

.docs-sidebar-items.sub .docs-sidebar-link {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-right: 0.75rem;
  font-size: 14px;
  padding-left: 54px;
}

/* ── HTTP method badges in sidebar ─────────────────────────────────────── */

.cs-http-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
  line-height: 1.7;
  flex-shrink: 0;
}

.cs-http-label {
  vertical-align: middle;
}

/* POST — green */

.cs-http-badge--post  {
  background: #dcfce7;
  color: #15803d;
}

/* GET — blue */

.cs-http-badge--get   {
  background: #dbeafe;
  color: #1d4ed8;
}

/* PATCH — amber */

.cs-http-badge--patch {
  background: #fef3c7;
  color: #b45309;
}

/* DELETE — red */

.cs-http-badge--delete{
  background: #fee2e2;
  color: #b91c1c;
}

/* PUT — purple */

.cs-http-badge--put   {
  background: #ede9fe;
  color: #6d28d9;
}

/* Dark mode */

.dark .cs-http-badge--post  {
  background: #14532d;
  color: #4ade80;
}

.dark .cs-http-badge--get   {
  background: #1e3a5f;
  color: #60a5fa;
}

.dark .cs-http-badge--patch {
  background: #78350f;
  color: #fbbf24;
}

.dark .cs-http-badge--delete{
  background: #7f1d1d;
  color: #f87171;
}

.dark .cs-http-badge--put   {
  background: #3b0764;
  color: #c084fc;
}

/* Main content area - themed like the rest of the page */

.docs-main {
  display: flex;
  min-width: 0px;
  flex: 1 1 0%;
  flex-direction: column;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity));
}

.docs-main:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity));
}

/* Override dark-mode background to new design token */

.dark .docs-body,
.dark .docs-layout,
.dark .docs-main,
.dark .docs-content,
.dark .docs-sidebar,
.dark .docs-page-header {
  background-color: var(--body-backgroundColor, #0A0A0A) !important;
}

/* Page header: theme toggle all the way to the right */

.docs-page-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding-left: 1rem;
  padding-right: 1rem;
}

.docs-page-header:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity));
}

@media (min-width: 768px) {
  .docs-page-header {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.docs-page-header {
  height: 64px;
}

@media (max-width: 767px) {
  .docs-page-header {
    border-bottom: 1px solid #1f2937;
  }
}

.docs-page-header-inner {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.docs-search {
  width: 100%;
  max-width: 28rem;
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.docs-search-results {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  max-height: 360px;
  overflow-y: auto;
}

.dark .docs-search-results {
  background: #1f2937;
  border-color: #374151;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.docs-search-results.open {
  display: block;
}

.docs-search-result-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background 0.1s;
}

.dark .docs-search-result-item {
  border-bottom-color: #374151;
}

.docs-search-result-item:last-child {
  border-bottom: none;
}

.docs-search-result-item:hover,
.docs-search-result-item.selected {
  background: #f9fafb;
}

.dark .docs-search-result-item:hover,
.dark .docs-search-result-item.selected {
  background: #374151;
}

.docs-search-result-item.is-section .docs-search-result-title {
  font-weight: 600;
}

.docs-search-result-title {
  font-size: 14px;
  color: #111827;
  line-height: 1.4;
}

.dark .docs-search-result-title {
  color: #f9fafb;
}

.docs-search-result-title mark {
  background: #fef08a;
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
}

.dark .docs-search-result-title mark {
  background: #854d0e;
}

.docs-search-result-section {
  font-size: 12px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.docs-search-no-results {
  padding: 14px;
  font-size: 14px;
  color: #6b7280;
  text-align: center;
}

.docs-search-input {
  width: 100%;
  border-radius: 0.375rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity));
}

.docs-search-input::placeholder {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
}

.docs-search-input:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
}

.docs-search-input:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity));
}

.docs-search-input:is(.dark *)::placeholder {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity));
}

.docs-search-input:focus:is(.dark *) {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity));
}

.docs-content {
  flex: 1 1 0%;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding: 1.5rem;
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity));
}

.docs-content:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity));
}

@media (min-width: 768px) {
  .docs-content {
    padding: 2rem;
  }
}

.docs-content-inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem;
}

/* Vertical rhythm between top‑level sections in the main page */

.docs-content-inner > section + section {
  margin-top: 4rem;
}

/* Spacing for subsections (e.g. 1.1, 1.2, etc.) */

.docs-content-inner h2 {
  margin-top: 2.5rem;
}

/* ==========================================================================
   Content typography helpers (plain CSS, no @apply)
   ========================================================================== */

.cs-title-main {
  max-width: 900px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 24px 0;
  color: inherit;
}

.cs-title-section {
  max-width: 900px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  margin: 64px 0 20px 0;
  color: inherit;
}

.cs-body {
  max-width: 900px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: inherit;
}

.cs-body p {
  margin-bottom: 1rem;
}

.cs-body p:last-child {
  margin-bottom: 0;
}

.cs-subtitle {
  max-width: 900px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  margin: 32px 0 8px 0;
  color: inherit;
}

/* Step/route title: same as .cs-subtitle for consistent spacing and size */

.cs-route-title {
  max-width: 900px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  margin: 32px 0 8px 0;
  color: inherit;
}

/* Callout box for notes like X-Event-Id uniqueness */

.cs-callout {
  max-width: 900px;
  padding: 1rem 1.25rem;
  border-left: 3px solid #33DBC8;
  background: rgba(51, 219, 200, 0.06);
  border-radius: 0 0.375rem 0.375rem 0;
  font-size: 16px;
  line-height: 1.6;
  color: inherit;
}

.dark .cs-callout {
  background: rgba(51, 219, 200, 0.08);
}

.cs-callout-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #0f766e;
}

.dark .cs-callout-title {
  color: #5eead4;
}

.cs-callout p + p {
  margin-top: 0.5rem;
}

/* Bullet lists inside body copy and callouts */

.cs-list,
.cs-callout-list {
  list-style: disc;
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 16px;
  line-height: 1.65;
  color: #374151;
}

.dark .cs-list,
.dark .cs-callout-list {
  color: #d1d5db;
}

.cs-callout-list {
  color: inherit;
}

/* Child (nested object) field rows — visually indented */

.cs-param-child-row td {
  background: rgba(0, 0, 0, 0.015);
  border-bottom-color: rgba(0, 0, 0, 0.04) !important;
}

.dark .cs-param-child-row td {
  background: rgba(255, 255, 255, 0.02);
  border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

/* ── Child attributes toggle ─────────────────────────────────────────────── */

.cs-children-toggle {
  display: flex;
  width: 160px;
  align-items: center;
  gap: 10px;
  margin-top: 0.5rem;
  padding: 0.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  text-align: left;
}

.cs-children-toggle:hover {
  color: #111827;
}

.dark .cs-children-toggle {
  color: #9ca3af;
}

.dark .cs-children-toggle:hover {
  color: #f9fafb;
}

.cs-toggle-arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.cs-toggle-arrow--open {
  transform: rotate(180deg);
}

.cs-param-grandchild-row .cs-param-child-name {
  padding-left: 2rem;
}

.cs-param-child-name {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  padding-left: 1rem;
  color: #6b7280;
}

.dark .cs-param-child-name {
  color: #9ca3af;
}

.cs-bullet-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0 0 1rem 0;
}

.cs-bullet-list li {
  margin-bottom: 0.5rem;
}

.cs-bullet-list li:last-child {
  margin-bottom: 0;
}

/* Route block with copy button */

/* HTTP method badges on route blocks */

.cs-method-badge {
  flex-shrink: 0;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 0.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* POST — green */

.cs-method-post {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}

.dark .cs-method-post {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

/* GET — blue */

.cs-method-get {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.dark .cs-method-get {
  background: rgba(96, 165, 250, 0.15);
  color: #60a5fa;
}

/* PUT — amber */

.cs-method-put {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
}

.dark .cs-method-put {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

/* PATCH — violet */

.cs-method-patch {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

.dark .cs-method-patch {
  background: rgba(167, 139, 250, 0.15);
  color: #a78bfa;
}

/* DELETE — red */

.cs-method-delete {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.dark .cs-method-delete {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
}

.cs-route-block {
  max-width: 900px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0.5rem 0 1.5rem 0;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.375rem;
}

.dark .cs-route-block {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.cs-route-code {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, monospace;
  font-size: 15px;
  line-height: 1.5;
  color: inherit;
  word-break: break-all;
}

.cs-route-copy {
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  font-size: 13px;
  font-weight: 500;
  color: inherit;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  cursor: pointer;
}

.dark .cs-route-copy {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.cs-route-copy:hover {
  background: rgba(0, 0, 0, 0.1);
}

.dark .cs-route-copy:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Code block with copy */

.cs-code-block {
  max-width: 900px;
  position: relative;
  margin: 0.5rem 0 1.5rem 0;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cs-code-pre {
  margin: 0;
  padding: 1rem 1.25rem 2.5rem 1.25rem;
  font-size: 14px;
  line-height: 1.6;
  color: #e5e5e5;
  overflow-x: auto;
}

.cs-code-pre code {
  font-family: ui-monospace, monospace;
}

.cs-code-copy {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.35rem 0.65rem;
  font-size: 13px;
  font-weight: 500;
  color: #e5e5e5;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.25rem;
  cursor: pointer;
}

.cs-code-copy:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Parameters table */

/* Webhook event field list */

.cs-code-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #888;
  padding: 0.5rem 1.25rem 0;
}

.cs-field-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 900px;
}

.cs-field-row {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  align-items: baseline;
}

.dark .cs-field-row {
  border-bottom-color: rgba(255,255,255,0.06);
}

.cs-field-row--child {
  padding-left: 1.5rem;
  opacity: 0.85;
}

.cs-field-name {
  font-family: ui-monospace, monospace;
  font-size: 13.5px;
  font-weight: 600;
  color: #1a1a1a;
  background: rgba(0,0,0,0.05);
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.dark .cs-field-name {
  color: #e5e5e5;
  background: rgba(255,255,255,0.08);
}

.cs-field-name--child {
  font-weight: 400;
}

.cs-field-desc {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.5;
}

.dark .cs-field-desc {
  color: #9ca3af;
}

.cs-params-table {
  width: 100%;
  max-width: 900px;
  border-collapse: collapse;
  font-size: 15px;
}

/* No borders on cells — rows separated by a single bottom divider */

.cs-params-table th,
.cs-params-table td {
  padding: 0.75rem 0;
  text-align: left;
  border: none;
  vertical-align: top;
}

/* Thin divider between rows only */

.cs-params-table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.dark .cs-params-table tbody tr {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.cs-params-table tbody tr:last-child {
  border-bottom: none;
}

/* Hide thead — layout is self-explanatory with badges */

.cs-params-table thead {
  display: none;
}

/* Column spacing */

.cs-params-table td:first-child {
  padding-right: 1.25rem;
  width: 32%;
}

.cs-params-table td:nth-child(2) {
  padding-right: 0.75rem;
  width: auto;
  white-space: nowrap;
}

/* Type badges — base style */

.cs-type-badge {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
  white-space: nowrap;
}

/* string — muted gray */

.cs-type-string {
  background: rgba(0, 0, 0, 0.05);
  color: #6b7280;
}

.dark .cs-type-string {
  background: rgba(255, 255, 255, 0.08);
  color: #9ca3af;
}

/* number — brand teal */

.cs-type-number {
  background: rgba(51, 219, 200, 0.2);
  color: #61C2B7;
}

.dark .cs-type-number {
  background: rgba(51, 219, 200, 0.2);
  color: #61C2B7;
}

/* boolean — violet */

.cs-type-boolean {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}

.dark .cs-type-boolean {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

/* object — amber */

.cs-type-object {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.dark .cs-type-object {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

/* array — blue */

.cs-type-array {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.dark .cs-type-array {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

/* Required badge — orange to match design */

.cs-badge-required {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
  letter-spacing: 0.01em;
}

.dark .cs-badge-required {
  background: rgba(251, 146, 60, 0.15);
  color: #fb923c;
}

/* Optional badge — muted gray */

.cs-badge-optional {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
  background: rgba(0, 0, 0, 0.05);
  color: #9ca3af;
  letter-spacing: 0.01em;
}

.dark .cs-badge-optional {
  background: rgba(255, 255, 255, 0.07);
  color: #6b7280;
}

.cs-param-name {
  font-family: ui-monospace, monospace;
  font-size: 15px;
  font-weight: 600;
}

.cs-param-desc {
  color: inherit;
  font-size: 15px;
  line-height: 1.6;
}

.cs-param-desc > div {
  margin-top: 0.25rem;
  color: #6b7280;
}

.dark .cs-param-desc > div {
  color: #9ca3af;
}

.cs-param-desc .cs-enum-values {
  margin-top: 0.4rem;
  font-size: 13px;
  color: #6b7280;
}

.dark .cs-param-desc .cs-enum-values {
  color: #9ca3af;
}

.cs-enum-values code {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  padding: 0.1rem 0.35rem;
  border-radius: 0.2rem;
  background: rgba(0, 0, 0, 0.05);
  margin-right: 0.25rem;
}

.dark .cs-enum-values code {
  background: rgba(255, 255, 255, 0.08);
}

.cs-params-section-header td {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6b7280;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.dark .cs-params-section-header td {
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.04);
}

/* Single logo slot: only one logo visible at a time */

.docs-sidebar-logo-slot {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.docs-sidebar-logo {
  height: 24px;
  width: auto;
  max-height: 24px;
  object-fit: contain;
  object-position: left;
  display: block;
}

/* Light mode: show light logo, hide dark logo */

.docs-sidebar-logo--light {
  display: block;
}

.docs-sidebar-logo--dark  {
  display: none;
}

/* Dark mode: show dark logo, hide light logo */

.dark .docs-sidebar-logo--light {
  display: none;
}

.dark .docs-sidebar-logo--dark  {
  display: block;
}

/* Commerce Integration flow steps */

.cs-flow {
  max-width: 760px;
  display: flex;
  flex-direction: column;
}

.cs-flow-step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cs-flow-content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cs-flow-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: #111827;
}

.dark .cs-flow-title {
  color: #f9fafb;
}

.cs-flow-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 0.1rem 0.45rem;
  border-radius: 0.2rem;
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

.dark .cs-flow-tag {
  background: rgba(167, 139, 250, 0.15);
  color: #a78bfa;
}

.cs-flow-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  margin: 0;
}

.dark .cs-flow-desc {
  color: #d1d5db;
}

.cs-flow-note {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
  padding: 0.6rem 0.85rem;
  border-left: 2px solid rgba(51, 219, 200, 0.4);
  background: rgba(51, 219, 200, 0.04);
  border-radius: 0 0.25rem 0.25rem 0;
}

.dark .cs-flow-note {
  color: #9ca3af;
  border-left-color: rgba(51, 219, 200, 0.25);
  background: rgba(51, 219, 200, 0.05);
}

.cs-flow-divider {
  margin: 1.5rem 0;
  border: none;
  border-top: 1px solid #e5e7eb;
}

.dark .cs-flow-divider {
  border-top-color: #1f2937;
}

.cs-link {
  color: #0891b2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dark .cs-link {
  color: #22d3ee;
}

/* Request example tabs */

.cs-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.dark .cs-tabs {
  border-bottom-color: rgba(255,255,255,0.1);
}

.cs-tab {
  padding: 0.5rem 1.25rem;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
}

.cs-tab:hover {
  color: #111827;
}

.dark .cs-tab {
  color: #9ca3af;
}

.dark .cs-tab:hover {
  color: #f3f4f6;
}

.cs-tab.cs-tab-active {
  color: #111827;
  border-bottom-color: #111827;
}

.dark .cs-tab.cs-tab-active {
  color: #f3f4f6;
  border-bottom-color: #f3f4f6;
}

/* 200 OK badge */

.cs-badge-success {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 0.1rem 0.5rem;
  border-radius: 0.2rem;
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.dark .cs-badge-success {
  background: rgba(22, 163, 74, 0.2);
  color: #4ade80;
}

/* Response status tab color overrides */

.cs-resp-tab.cs-resp-200 {
  color: #16a34a;
}

.cs-resp-tab.cs-resp-200.cs-tab-active {
  border-bottom-color: #16a34a;
  color: #16a34a;
}

.dark .cs-resp-tab.cs-resp-200 {
  color: #4ade80;
}

.dark .cs-resp-tab.cs-resp-200.cs-tab-active {
  border-bottom-color: #4ade80;
  color: #4ade80;
}

.cs-resp-tab.cs-resp-201 {
  color: #16a34a;
}

.cs-resp-tab.cs-resp-201.cs-tab-active {
  border-bottom-color: #16a34a;
  color: #16a34a;
}

.cs-resp-tab.cs-resp-400,
.cs-resp-tab.cs-resp-401,
.cs-resp-tab.cs-resp-403,
.cs-resp-tab.cs-resp-404 {
  color: #d97706;
}

.cs-resp-tab.cs-resp-400.cs-tab-active,
.cs-resp-tab.cs-resp-401.cs-tab-active,
.cs-resp-tab.cs-resp-403.cs-tab-active,
.cs-resp-tab.cs-resp-404.cs-tab-active {
  border-bottom-color: #d97706;
  color: #d97706;
}

.dark .cs-resp-tab.cs-resp-400,
.dark .cs-resp-tab.cs-resp-401,
.dark .cs-resp-tab.cs-resp-403,
.dark .cs-resp-tab.cs-resp-404 {
  color: #fbbf24;
}

.dark .cs-resp-tab.cs-resp-400.cs-tab-active,
.dark .cs-resp-tab.cs-resp-401.cs-tab-active,
.dark .cs-resp-tab.cs-resp-403.cs-tab-active,
.dark .cs-resp-tab.cs-resp-404.cs-tab-active {
  border-bottom-color: #fbbf24;
  color: #fbbf24;
}

.cs-resp-tab.cs-resp-500 {
  color: #dc2626;
}

.cs-resp-tab.cs-resp-500.cs-tab-active {
  border-bottom-color: #dc2626;
  color: #dc2626;
}

.dark .cs-resp-tab.cs-resp-500 {
  color: #f87171;
}

.dark .cs-resp-tab.cs-resp-500.cs-tab-active {
  border-bottom-color: #f87171;
  color: #f87171;
}

/* Response description line under error tabs */

.cs-resp-desc {
  font-size: 13px;
  color: #6b7280;
  margin: 0.75rem 0;
}

.dark .cs-resp-desc {
  color: #9ca3af;
}

/* Theme toggle button */

.docs-theme-toggle {
  flex-shrink: 0;
  border-radius: 0.375rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
  padding: 0.375rem;
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity));
}

.docs-theme-toggle:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.docs-theme-toggle:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity));
  --tw-ring-offset-width: 1px;
}

.docs-theme-toggle:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
}

.docs-theme-toggle:hover:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity));
}

.docs-theme-toggle:focus:is(.dark *) {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity));
}

/* On mobile: show toggle, pinned to the right via space-between on parent */

@media (max-width: 767px) {
  .docs-theme-toggle {
    display: flex;
    flex-shrink: 0;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #d1d5db;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
  }
}

.docs-sidebar-toggle {
  flex-shrink: 0;
  border-radius: 0.375rem;
  padding: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity));
}

.docs-sidebar-toggle:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.docs-sidebar-toggle:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.docs-sidebar-toggle:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
}

.docs-sidebar-toggle:hover:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity));
}

@media (min-width: 768px) {
  .docs-sidebar-toggle {
    display: none;
  }
}

