.p-standard .section-bg-dark.std-theme .container > .developer-hub-heading {
  margin: 0;
  text-align: center;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--std-accent-orange);
  margin-bottom: 1.5rem;
}

.p-standard .developer-hub-shell {
  display: grid;
  gap: 24px;
  padding-block: 8px 40px;
}

.p-standard .developer-hub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.p-standard .developer-hub-tab {
  border: 1px solid rgba(80, 120, 220, 0.42);
  background: linear-gradient(180deg, rgba(9, 22, 51, 0.92), rgba(10, 24, 54, 0.84));
  color: #78a8ff;
  border-radius: 999px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.p-standard .developer-hub-tab[data-tab-tone="orange"] {
  border-color: rgba(247, 140, 44, 0.42);
  color: var(--std-accent-orange);
}

.p-standard .developer-hub-tab:hover,
.p-standard .developer-hub-tab:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(119, 162, 255, 0.62);
  outline: none;
}

.p-standard .developer-hub-tab.is-active {
  background: linear-gradient(135deg, rgba(33, 86, 198, 0.96), rgba(62, 119, 255, 0.84));
  border-color: rgba(130, 173, 255, 0.86);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(15, 48, 112, 0.26);
}

.p-standard .developer-hub-tab[data-tab-tone="orange"].is-active {
  background: linear-gradient(135deg, rgba(196, 95, 24, 0.96), rgba(255, 143, 41, 0.84));
  border-color: rgba(255, 183, 114, 0.9);
  box-shadow: 0 18px 34px rgba(120, 54, 8, 0.26);
}

.p-standard .developer-hub-panel {
  /* Taller than global --std-card-height so API Quickstart and similar cards need less scrolling. */
  --std-card-height: clamp(300px, 42vh, 400px);
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(80, 120, 220, 0.28);
  background:
    linear-gradient(180deg, rgba(8, 18, 42, 0.94), rgba(9, 23, 50, 0.86)),
    radial-gradient(circle at top right, rgba(63, 118, 255, 0.14), transparent 34%);
  box-shadow: 0 24px 54px rgba(3, 8, 20, 0.36);
}

.p-standard .developer-hub-product-panel[hidden] {
  display: none !important;
}

.p-standard .developer-hub-note {
  margin: 0;
  color: rgba(218, 227, 255, 0.76);
  max-width: 72ch;
}

.p-standard .developer-hub-footnote {
  margin: 28px 2px 0;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--std-accent-orange);
}

.p-standard .developer-hub-empty {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px dashed rgba(100, 133, 212, 0.35);
  background: rgba(10, 16, 34, 0.42);
  color: rgba(230, 236, 255, 0.82);
}

.p-standard .developer-hub-card-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(49, 93, 190, 0.18);
  color: #8eb4ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.p-standard .developer-hub-code-caption {
  margin-top: 8px;
}

.p-standard .developer-hub-panel .contact-grid {
  margin-top: 0;
  align-items: start;
  grid-auto-rows: auto;
}

.p-standard .developer-hub-panel .contact-card {
  height: var(--std-card-height) !important;
  min-height: var(--std-card-height);
  overflow: hidden !important;
  gap: 0.7rem;
  opacity: 1 !important;
  transform: none !important;
  display: flex;
  flex-direction: column;
}

.p-standard .developer-hub-panel .developer-hub-card-header {
  flex: 0 0 auto;
  display: grid;
  gap: 0.7rem;
}

.p-standard .developer-hub-panel .developer-hub-card-body-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.p-standard .developer-hub-panel .contact-card .developer-hub-card-body {
  flex: 0 0 auto;
  overflow: visible;
  padding-right: 0;
  margin-bottom: 0.1rem;
}

.p-standard .developer-hub-panel .contact-card p {
  display: block !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  line-clamp: unset !important;
}

.p-standard .developer-hub-panel .developer-hub-card-header h3 {
  margin: 0;
}

.p-standard .developer-hub-panel .developer-hub-card-body-wrap::-webkit-scrollbar {
  width: 10px;
}

.p-standard .developer-hub-panel .developer-hub-card-body-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.p-standard .developer-hub-panel .developer-hub-card-body-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(120, 150, 220, 0.42);
  border: 2px solid transparent;
  background-clip: content-box;
}

.p-standard .developer-hub-panel .contact-card .dev-link {
  flex: 0 0 auto;
  margin-top: auto;
}

body.light-mode.p-standard .developer-hub-panel .contact-card,
html.light-mode body.p-standard .developer-hub-panel .contact-card,
body.p-standard[data-theme="light"] .developer-hub-panel .contact-card,
html[data-theme="light"] body.p-standard .developer-hub-panel .contact-card {
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  border-color: rgba(62, 99, 238, 0.28);
}

body.light-mode.p-standard .developer-hub-card-tag,
html.light-mode body.p-standard .developer-hub-card-tag,
body.p-standard[data-theme="light"] .developer-hub-card-tag,
html[data-theme="light"] body.p-standard .developer-hub-card-tag {
  background: rgba(62, 99, 238, 0.12);
  color: #1f3d86;
}

/* Only inactive tabs use the light pill surface; `.is-active` keeps the gradient from
   `.developer-hub-tab.is-active` (otherwise higher-specificity light rules erased it → white on white). */
body.light-mode.p-standard .developer-hub-tab:not(.is-active),
html.light-mode body.p-standard .developer-hub-tab:not(.is-active),
body.p-standard[data-theme="light"] .developer-hub-tab:not(.is-active),
html[data-theme="light"] body.p-standard .developer-hub-tab:not(.is-active) {
  background: rgba(255, 255, 255, 0.96);
  color: #203158;
  border-color: rgba(80, 120, 220, 0.28);
}

body.light-mode.p-standard .developer-hub-tab[data-tab-tone="orange"]:not(.is-active),
html.light-mode body.p-standard .developer-hub-tab[data-tab-tone="orange"]:not(.is-active),
body.p-standard[data-theme="light"] .developer-hub-tab[data-tab-tone="orange"]:not(.is-active),
html[data-theme="light"] body.p-standard .developer-hub-tab[data-tab-tone="orange"]:not(.is-active) {
  color: var(--std-accent-orange);
  border-color: rgba(212, 120, 48, 0.34);
}

body.light-mode.p-standard .developer-hub-panel,
html.light-mode body.p-standard .developer-hub-panel,
body.p-standard[data-theme="light"] .developer-hub-panel,
html[data-theme="light"] body.p-standard .developer-hub-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 245, 255, 0.92)),
    radial-gradient(circle at top right, rgba(63, 118, 255, 0.1), transparent 34%);
  border-color: rgba(85, 118, 189, 0.2);
}

body.light-mode.p-standard .developer-hub-note,
html.light-mode body.p-standard .developer-hub-note,
body.p-standard[data-theme="light"] .developer-hub-note,
html[data-theme="light"] body.p-standard .developer-hub-note {
  color: rgba(31, 46, 77, 0.76);
}

body.light-mode.p-standard .developer-hub-footnote,
html.light-mode body.p-standard .developer-hub-footnote,
body.p-standard[data-theme="light"] .developer-hub-footnote,
html[data-theme="light"] body.p-standard .developer-hub-footnote {
  color: var(--std-accent-orange);
}

body.light-mode.p-standard .developer-hub-empty,
html.light-mode body.p-standard .developer-hub-empty,
body.p-standard[data-theme="light"] .developer-hub-empty,
html[data-theme="light"] body.p-standard .developer-hub-empty {
  background: rgba(248, 251, 255, 0.94);
  color: #294061;
}

body.light-mode.p-standard .section-bg-dark.std-theme .container > .developer-hub-heading,
html.light-mode body.p-standard .section-bg-dark.std-theme .container > .developer-hub-heading,
body.p-standard[data-theme="light"] .section-bg-dark.std-theme .container > .developer-hub-heading,
html[data-theme="light"] body.p-standard .section-bg-dark.std-theme .container > .developer-hub-heading {
  color: var(--std-accent-orange);
}

@media (max-width: 720px) {
  .p-standard .developer-hub-panel {
    padding: 20px;
  }
}
