@charset "UTF-8";
/* Developer-experience code tabs — matches Figma node 15489:1887 */
.code_tabs {
  padding: 80px 0;
}
.code_tabs__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.code_tabs__eyebrow {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: #4a3bbe;
}
.code_tabs__title {
  margin: 0;
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  color: #1a1a22;
}
.code_tabs__subtitle {
  margin: 0;
  max-width: 720px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: #1a1a22;
}
.code_tabs__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.code_tabs {
  /* Tab bar */
}
.code_tabs__bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 16px;
  border: 1px solid #e7e7ea;
  background: #f4f4f5;
}
.code_tabs__tab {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px 20px 12px;
  border-radius: 12px;
  font-family: "Plus Jakarta Sans";
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #1a1a22;
  white-space: nowrap;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.code_tabs__tab.is-active {
  background: #ffffff;
  font-weight: 600;
  color: #23232e;
  box-shadow: 0 4px 12px rgba(26, 26, 34, 0.1);
}
.code_tabs {
  /* Code panel */
}
.code_tabs__panel {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 12px;
  background: #f4f4f5;
  overflow: hidden;
}
.code_tabs__panel[hidden] {
  display: none;
}
.code_tabs__pre {
  margin: 0;
  height: 100%;
  padding: 32px;
  overflow: auto;
  font-size: 14px;
  line-height: 20px;
  scrollbar-width: thin;
  scrollbar-color: #1a1a22 #e7e7ea;
}
.code_tabs__pre::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.code_tabs__pre::-webkit-scrollbar-track {
  background: #e7e7ea;
  border-radius: 8px;
}
.code_tabs__pre::-webkit-scrollbar-thumb {
  background: #1a1a22;
  border-radius: 8px;
}
.code_tabs__pre code {
  display: block;
  /* !important required: base.css paints every element with
     `* { font-family: 'Plus Jakarta Sans' !important }`. */
  font-family: "Azeret Mono", monospace !important;
  font-size: 14px;
  line-height: 20px;
  color: #1a1a22;
  background: transparent;
  white-space: pre;
}
.code_tabs__pre code * {
  color: inherit;
  font: inherit;
  font-family: "Azeret Mono", monospace !important;
}
.code_tabs__copy {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid #23232e;
  background: transparent;
  color: #23232e;
  cursor: pointer;
  transition: background 0.15s ease;
}
.code_tabs__copy:hover {
  background: rgba(35, 35, 46, 0.06);
}
.code_tabs__copy .code_tabs__copied {
  display: none;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: #0b433b;
}
.code_tabs__copy.is-copied .code_tabs__copied {
  display: inline;
}
.code_tabs {
  /* Prism light theme — token colors picked for >= 4.5:1 contrast on #f4f4f5.
     Overrides the `* { color: inherit }` guard above (same specificity, later
     in source). */
}
.code_tabs .token.comment,
.code_tabs .token.prolog,
.code_tabs .token.doctype,
.code_tabs .token.cdata {
  color: #0b433b;
}
.code_tabs .token.keyword,
.code_tabs .token.atrule,
.code_tabs .token.directive {
  color: #4a3bbe;
}
.code_tabs .token.string,
.code_tabs .token.char,
.code_tabs .token.attr-value {
  color: #0a3069;
}
.code_tabs .token.function,
.code_tabs .token.class-name,
.code_tabs .token.selector {
  color: #8250df;
}
.code_tabs .token.number,
.code_tabs .token.boolean,
.code_tabs .token.constant,
.code_tabs .token.symbol {
  color: #b54708;
}
.code_tabs .token.operator,
.code_tabs .token.punctuation {
  color: #43434f;
}
.code_tabs .token.property,
.code_tabs .token.tag,
.code_tabs .token.builtin {
  color: #0550ae;
}
.code_tabs .token.important,
.code_tabs .token.bold {
  font-weight: 700;
}
.code_tabs .token.italic {
  font-style: italic;
}

@media (max-width: 1100px) {
  .code_tabs {
    padding: 48px 0;
  }
  .code_tabs__title {
    font-size: 32px;
    line-height: 40px;
  }
  .code_tabs__bar {
    max-width: 100%;
    overflow-x: auto;
  }
  .code_tabs__panel {
    height: 420px;
  }
}
@media (max-width: 575px) {
  .code_tabs {
    padding: 40px 0;
  }
  .code_tabs__title {
    font-size: 26px;
    line-height: 34px;
  }
  .code_tabs__subtitle {
    font-size: 16px;
    line-height: 22px;
  }
  .code_tabs__pre {
    padding: 20px;
  }
  .code_tabs__panel {
    height: 380px;
  }
}
/* Tablet only — tab bar scrolls horizontally (nav scrolls off-screen)
   per Figma 15648:9078. Bounded band: mobile (<=767) and desktop (>1281)
   untouched. */
@media screen and (min-width: 768px) and (max-width: 1281px) {
  .code_tabs {
    padding: 48px 0;
  }
  .code_tabs__title {
    font-size: 32px;
    line-height: 40px;
  }
  .code_tabs__bar {
    display: flex;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .code_tabs__bar::-webkit-scrollbar {
    display: none;
  }
  .code_tabs__tab {
    flex: 0 0 auto;
  }
  .code_tabs__panel {
    height: 420px;
  }
}
