.header-inner { gap: 24px; }
.header nav { margin-left: auto; }
.audience-switch {
  display: inline-flex;
  flex-shrink: 0;
  gap: 3px;
  padding: 3px;
  border: 1px solid #ffffff24;
  border-radius: 7px;
  background: #0f0f0f80;
  font: 12px ui-monospace, monospace;
}
.audience-switch a { padding: 7px 10px; border-radius: 4px; color: #a4a6a9; }
.audience-switch a[aria-current] { color: #eff0f0; background: #ffffff12; }
.audience-switch a:hover { color: #ed1e79; }
.audience-switch a:focus-visible, .bot-resources a:focus-visible {
  outline: 2px solid #ed1e79;
  outline-offset: 4px;
}
.bot-page { padding-top: 170px; padding-bottom: 96px; max-width: 1040px; }
.bot-intro h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.08; margin: 20px 0; }
.bot-intro h1 span { color: #a4a6a9; }
.bot-intro > p:last-child { color: #a4a6a9; line-height: 1.6; }
.bot-resources { display: flex; flex-wrap: wrap; gap: 20px 30px; margin: 32px 0; font-size: 14px; }
.bot-resources a { border-bottom: 1px solid #ffffff24; padding-bottom: 7px; }
.bot-resources span { color: #ed1e79; margin-left: 6px; }
.bot-document { border: 1px solid #ffffff1c; border-radius: 10px; background: #111113; overflow: hidden; }
.bot-document-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 24px;
  border-bottom: 1px solid #ffffff1c;
  color: #a4a6a9;
  font: 12px ui-monospace, monospace;
}
.bot-document-bar span:first-child { color: #ed1e79; }
.bot-document pre {
  margin: 0;
  padding: 32px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #d1d4d6;
  font: 14px/1.85 ui-monospace, SFMono-Regular, Consolas, monospace;
}
@media (max-width: 1050px) {
  .header-inner { gap: 16px; }
  .header nav { gap: 18px; }
}
@media (max-width: 720px) {
  .header-inner { gap: 0; }
  .header nav { order: 2; margin-left: 0; }
  .audience-switch { margin-left: auto; }
  .audience-switch a { padding: 7px 8px; }
  .bot-page { padding-top: 170px; padding-bottom: 60px; }
  .bot-document pre { padding: 20px; font-size: 12px; }
  .bot-document-bar { padding: 14px 20px; }
}
