.api-preview { min-width: 0; width: 100%; border: 1px solid #78948155; border-radius: 8px; background: #0b1813; color: #d8e5dc; overflow: hidden; text-align: left; }
.api-preview-heading { padding: 20px 23px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #a4b9aa; font-size: 10px; letter-spacing: .08em; border-bottom: 1px solid #78948133; }
.api-preview-badge { font-size: 10px; padding: 5px 9px; border: 1px solid #d5b35a55; border-radius: 20px; color: #e1ca8a; letter-spacing: 0; white-space: nowrap; }
.api-flow-tabs { display: flex; border-bottom: 1px solid #78948133; padding: 0 22px; gap: 25px; }
.api-flow-tabs button { border: 0; border-bottom: 2px solid transparent; padding: 16px 0 14px; min-height: 48px; font-size: 13px; background: transparent; color: #a3b6a9; cursor: pointer; }
.api-flow-tabs button[aria-selected="true"] { color: #e6cf92; border-bottom-color: #d5b35a; }
.api-code-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px 8px; }
.api-code-languages { display: flex; gap: 4px; background: #ffffff06; padding: 3px; border: 1px solid #78948133; border-radius: 4px; }
.api-code-languages button, .api-copy { min-height: 34px; border: 0; padding: 6px 12px; font-size: 11px; background: transparent; color: #a4b9aa; border-radius: 3px; cursor: pointer; }
.api-code-languages button[aria-pressed="true"] { background: #264334; color: #e8eee9; }
.api-copy { border: 1px solid #78948155; color: #d5e2d8; white-space: nowrap; }
.api-copy:hover { background: #264334; }
.api-code-label { padding: 13px 23px; color: #b7cfae; font: 11px/1.6 Consolas,'Courier New',monospace; overflow-wrap: anywhere; }
.api-preview pre { margin: 0; padding: 12px 23px 24px; max-height: 365px; overflow: auto; scrollbar-width: thin; scrollbar-color: #557060 #10251b; background: #09140f; color: #c3d7c8; font: 12px/1.9 Consolas,'Courier New',monospace; tab-size: 2; white-space: pre; }
.api-preview code { font: inherit; }
.api-code-note { padding: 18px 23px 0; margin: 0; font-size: 12px; line-height: 1.8; color: #b3c5b8; }
.api-code-status { padding: 0 23px; margin: 10px 0; min-height: 20px; color: #e4cc89; font-size: 11px; line-height: 1.7; }
.api-preview-footer { padding: 14px 23px 19px; border-top: 1px solid #78948133; color: #90a797; font-size: 11px; line-height: 1.8; }
.api-preview button:focus-visible, .api-preview [tabindex]:focus-visible { outline: 2px solid #e0c483; outline-offset: -3px; }
.api-preview [hidden] { display: none; }
.api-preview-section { margin-top: 40px; max-width: 1000px; }
.api-code-note { font-size: 14px; line-height: 1.8; }
.api-preview-footer, .api-code-status { font-size: 12px; line-height: 1.8; }
.api-preview pre { font-size: 13px; line-height: 1.8; }
.api-flow-tabs button { font-size: 14px; }
.api-code-languages button, .api-copy { font-size: 12px; }
@media (max-width: 760px) {
  .api-preview-heading { padding: 17px; font-size: 9px; }
  .api-flow-tabs { padding: 0 17px; gap: 24px; }
  .api-flow-tabs button { font-size: 12px; }
  .api-code-toolbar { padding: 14px 14px 6px; gap: 6px; flex-wrap: wrap; }
  .api-copy { margin-left: auto; }
  .api-code-languages button, .api-copy { min-height: 44px; padding: 6px 10px; font-size: 11px; }
  .api-code-label { padding: 13px 17px; font-size: 10px; }
  .api-preview pre { padding: 10px 17px 22px; font-size: 12px; max-height: 330px; }
  .api-code-note, .api-preview-footer { padding-left: 17px; padding-right: 17px; }
  .api-code-status { padding-left: 17px; padding-right: 17px; }
}
