:root {
  --sw-brand-ink: #071419;
  --sw-brand-ink-2: #0d3035;
  --sw-accent: #4caf50;
  --sw-accent-2: #138f86;
  --sw-ink: #102027;
  --sw-bg: #091419;
  --sw-card: rgba(255, 255, 255, .96);
  --sw-sub: #5d6976;
  --sw-soft: rgba(145, 169, 186, .34);
  --sw-gold: #caa24b;
  --sw-red: #c6534c;
  --sw-blue: #236b91;
}

/* Base */
/* Base */
/* Base */
html, body {
  margin: 0;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(9, 20, 25, .94), rgba(14, 38, 43, .90) 44%, rgba(245, 248, 251, .98) 44%),
    radial-gradient(circle at 18% 0%, rgba(19, 143, 134, .26), transparent 32%),
    #091419;
  color: var(--sw-ink);
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  min-height: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Appbar */
/* Appbar */
header.appbar {
  position: fixed;  /* CHANGED: sticky → fixed */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(90deg, rgba(7, 20, 25, .98), rgba(13, 48, 53, .98));
  color: #fff;
  border-bottom: 1px solid rgba(202, 162, 75, .24);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
}

header.api-admin-header {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
}

header.api-admin-header h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

header.api-admin-header .slogan {
  color: var(--sw-sub);
  font-size: .85rem;
}

#user-name {
  margin-left: auto;
  margin-right: 8px;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid var(--sw-soft);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--sw-sub);
  font-size: .84rem;
}

#user-name:empty {
  display: inline-block;
}

.menu-icon {
  cursor: pointer;
  padding: 6px 10px;
  border: 1px solid var(--sw-soft);
  border-radius: 8px;
  color: var(--sw-ink);
}

.menu-icon:hover {
  border-color: rgba(232, 238, 242, .68);
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 12px;
  top: 56px;
  min-width: 220px;
  overflow: hidden;
  border: 1px solid var(--sw-soft);
  border-radius: 8px;
  background: #0b1217;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .32);
}

.dropdown-content a {
  display: block;
  padding: 11px 14px;
  color: var(--sw-ink);
  text-decoration: none;
  font-size: .9rem;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, .045);
}

.appbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(18px, env(safe-area-inset-right)) 14px max(18px, env(safe-area-inset-left));
  min-height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #fbffa1;
  box-shadow: 0 0 10px #fbffa1;
}
.brand-text h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: .25px;
  margin: 0;
  line-height: 1.15;
}
.brand-text small {
  display: block;
  font-size: .72rem;
  color: #f1d27a;
  opacity: .95;
  margin-top: 2px;
}

/* Header actions (Register/Login) */
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}
.button {
  background: rgba(255, 255, 255, .10);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}
.button:hover {
  transform: translateY(-1px);
  border-color: rgba(202, 162, 75, .62);
  background: rgba(202, 162, 75, .15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}
.button a {
  display: block;
  color: #ffffff;
  text-decoration: none;
}

/* Shell */
/* Shell – space for fixed header + footer */
.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 92px 18px 28px;
  box-sizing: border-box;
  min-height: calc(100svh - 72px);
}


/* Hero */
.hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(232, 248, 246, .94));
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 8px;
  padding: 18px 18px 6px 18px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .20);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
.hero-copy h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  margin: .25rem 0 .35rem 0;
  letter-spacing: .2px;
}
.hero-copy p {
  color: var(--sw-sub);
  margin: .25rem 0 .5rem 0;
  line-height: 1.55;
}
.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kpi {
  background: var(--sw-card);
  border: 1px solid var(--sw-soft);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}
.kpi .v {
  font-weight: 700;
  font-size: 1.1rem;
  color: #0a2540;
  font-family: 'Roboto Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}
.kpi .k {
  font-size: .75rem;
  color: var(--sw-sub);
}
.hero-note {
  color: var(--sw-sub);
  font-size: .8rem;
  margin-top: 8px;
}
.hero-media video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--sw-soft);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

/* Attorney API service console */
.api-console {
  margin-top: 18px;
  border: 1px solid rgba(145, 169, 186, .34);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 36px rgba(12, 30, 35, .10);
  overflow: hidden;
}
.api-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(232, 248, 246, .94), rgba(255, 255, 255, .98));
  border-bottom: 1px solid rgba(145, 169, 186, .34);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(19, 143, 134, .24);
  border-radius: 6px;
  color: #0d665f;
  background: #e9f8f6;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Roboto Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}
.api-head h2,
.api-cta h3,
.console-panel h3,
.api-plan h3,
.access-panel h3,
.workflow-grid h3 {
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0;
  color: #172033;
}
.api-head h2 {
  margin: 10px 0 8px;
  font-size: 1.45rem;
}
.api-head p,
.api-plan p,
.workflow-grid p,
.console-panel p,
.api-cta p,
.access-panel span {
  color: #526176;
  line-height: 1.55;
}
.api-status-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  border: 1px solid #cfdce9;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(12, 30, 35, .08);
}
.api-status-card strong {
  color: #172033;
  font-size: 1.05rem;
}
.api-status-card small {
  color: #526176;
  line-height: 1.45;
}
.status-pill {
  align-self: flex-start;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: .76rem;
  font-weight: 700;
}
.status-pill.paid {
  background: #dff6ea;
  color: #146b38;
}
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 8px;
  padding: 9px 12px;
  font-weight: 700;
  text-decoration: none;
}
.primary-link {
  background: #0a5960;
  color: #ffffff;
}
.secondary-link {
  border: 1px solid #b8c7d8;
  color: #17304a;
  background: #ffffff;
}
.api-choice-grid,
.console-grid,
.payload-layout,
.workflow-grid {
  display: grid;
  gap: 14px;
  padding: 16px 20px 0;
}
.console-grid,
.payload-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.api-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.api-plan,
.console-panel,
.access-panel,
.workflow-grid article {
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 15px;
}
.api-plan.featured {
  border-color: rgba(19, 143, 134, .45);
  box-shadow: inset 4px 0 0 #138f86;
}
.plan-top,
.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.plan-top h3,
.panel-title h3,
.workflow-grid h3,
.access-panel h3 {
  margin: 0;
  font-size: 1rem;
}
.plan-top span,
.panel-title span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 8px;
  background: #f0f5fb;
  color: #526176;
  font-size: .74rem;
  font-weight: 700;
}
.api-plan ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #334155;
  line-height: 1.5;
}
.api-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 20px 0;
}
.api-guide article {
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #f8fbfd;
  padding: 14px;
}
.guide-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: #0a5960;
  color: #ffffff;
  font-weight: 800;
}
.api-guide h3 {
  margin: 0 0 6px;
  color: #172033;
  font-size: .98rem;
}
.api-guide p {
  margin: 0;
  color: #526176;
  line-height: 1.45;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 20px 0;
}
.metric-tile {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 12px;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #f8fbfd;
}
.metric-tile strong {
  font-size: 1.2rem;
  color: #092329;
}
.metric-tile span {
  color: #526176;
  font-size: .82rem;
  line-height: 1.25;
}
.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-bottom: 8px;
  background: #0a5960;
  color: #ffffff;
  font-weight: 700;
}
.secure-row,
.access-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #edf2f7;
}
.secure-row b,
.access-row b {
  color: #172033;
}
.secure-row span,
.access-row span {
  color: #526176;
  line-height: 1.45;
}
.event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.event-list code {
  border: 1px solid #dce5ef;
  border-radius: 6px;
  padding: 7px 8px;
  background: #f8fbfd;
  color: #17304a;
  font-size: .82rem;
}
.code-sample {
  margin: 12px 0 0;
  max-height: 430px;
  overflow: auto;
  border-radius: 8px;
  border: 1px solid #1d3145;
  background: #0c1724;
  color: #d8e7f0;
  padding: 14px;
  font-size: .82rem;
  line-height: 1.45;
}
.access-panel {
  align-self: start;
}
.access-row {
  grid-template-columns: 120px minmax(0, 1fr);
  border-left: 4px solid #cfdce9;
  padding-left: 10px;
}
.access-row.allowed {
  border-left-color: #2c9b62;
}
.access-row.limited {
  border-left-color: #b9891d;
}
.access-row.blocked {
  border-left-color: #c6534c;
}
.log-table {
  display: grid;
  gap: 0;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  overflow: hidden;
}
.log-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) .8fr .55fr .65fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid #edf2f7;
}
.log-row:first-child {
  border-top: none;
}
.log-head {
  background: #f0f5fb;
  color: #526176;
  font-weight: 700;
  font-size: .82rem;
}
.log-row code {
  color: #17304a;
  font-weight: 700;
}
.log-row small {
  display: block;
  margin-top: 3px;
  color: #526176;
}
.ok {
  color: #146b38;
  font-weight: 700;
}
.warn {
  color: #9a6a09;
  font-weight: 700;
}
.api-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 20px 20px;
  padding: 16px;
  border: 1px solid #cfdce9;
  border-radius: 8px;
  background: #f8fbfd;
}
.api-cta h3 {
  margin: 0 0 5px;
}
.api-cta p {
  margin: 0;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

/* Sections / Placards — keep your IDs/behavior */
.section {
  margin-top: 18px;
}
.placard {
  background: var(--sw-card);
  border: 1px solid var(--sw-soft);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
  overflow: hidden;
}
.placard-toggle {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  cursor: pointer;
  background: #f9fbfc;
  user-select: none;
}
.placard-toggle:hover {
  background: #f0f5fb;
}
.placard-toggle .title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.toggle-icon {
  font-size: 1.1rem;
  transition: transform .25s ease;
  color: #243046;
}
.placard-content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease, padding .25s ease;
  background: #fff;
}
.placard-content.open {
  padding: 16px 18px 18px 18px;
  max-height: 600px;
}
.placard-content p {
  margin: .4rem 0;
  line-height: 1.6;
  color: #243046;
}

/* Footer */
/* Footer */
footer.appfoot {
  width: 100%;
  background: var(--sw-brand-ink);
  color: #fff;
  text-align: center;
  padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  font-size: .8em;
  margin-top: 0;
}

.footline {
  font-size: x-small;
  margin: 0;
}
footer.appfoot a {
  color: #a8dadc;
  text-decoration: none;
}
footer.appfoot a:hover {
  text-decoration: underline;
}
.share-link {
  cursor: pointer;
  color: #fbffa1;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .api-head,
  .api-choice-grid,
  .api-guide,
  .console-grid,
  .payload-layout,
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .api-status-card {
    max-width: none;
  }
  .api-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .cta-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 580px) {
  .appbar-inner {
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 76px;
  }
  .brand {
    gap: 8px;
  }
  .brand-text h1 {
    font-size: 1.05rem;
  }
  .brand-text small {
    font-size: .66rem;
    max-width: 44vw;
  }
  .button {
    border-radius: 8px;
    padding: 8px 10px;
    font-size: .86rem;
  }
  .shell {
    padding: 92px 12px 22px;
  }
  .hero {
    border-radius: 12px;
    padding: 14px 12px 10px;
    gap: 14px;
  }
  .hero-copy h2 {
    font-size: 1.18rem;
  }
  .hero-kpis {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  }
  .actions { gap: 8px; }
  .api-head,
  .api-choice-grid,
  .api-guide,
  .console-grid,
  .payload-layout,
  .workflow-grid {
    padding-left: 12px;
    padding-right: 12px;
  }
  .api-head {
    gap: 12px;
  }
  .api-head h2 {
    font-size: 1.2rem;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 12px;
    padding-right: 12px;
  }
  .secure-row,
  .access-row,
  .log-row {
    grid-template-columns: 1fr;
  }
  .log-head {
    display: none;
  }
  .api-cta {
    margin-left: 12px;
    margin-right: 12px;
  }
  .primary-link,
  .secondary-link,
  .cta-actions {
    width: 100%;
  }
  .placard-toggle {
    align-items: flex-start;
    gap: 12px;
    padding: 13px 12px;
  }
  .placard-toggle .title {
    min-width: 0;
    line-height: 1.25;
  }
  .placard-content,
  .placard-content.open {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 380px) {
  .appbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .actions {
    width: 100%;
    justify-content: flex-start;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .shell {
    padding-top: 122px;
  }
}

/* API Integration workspace skin */
:root {
  --sw-ink: #e8eef2;
  --sw-bg: #070d11;
  --sw-card: rgba(9, 15, 19, .82);
  --sw-sub: #9caab4;
  --sw-soft: rgba(188, 205, 216, .26);
  --sw-accent-2: #9bc8c3;
}

html,
body {
  background: #070d11;
  color: var(--sw-ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), rgba(0, 0, 0, .16));
}

.shell {
  position: relative;
  z-index: 1;
}

header.appbar {
  background: rgba(7, 13, 17, .96);
  border-bottom: 1px solid var(--sw-soft);
  box-shadow: none;
}

.brand-text small {
  color: var(--sw-sub);
}

.button,
.primary-link,
.secondary-link {
  color: var(--sw-ink);
  background: transparent;
  border: 1px solid var(--sw-soft);
  box-shadow: none;
  font-family: 'Roboto Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .82rem;
}

.button:hover,
.primary-link:hover,
.secondary-link:hover {
  background: transparent;
  border-color: rgba(232, 238, 242, .68);
  box-shadow: none;
}

.button a {
  color: var(--sw-ink);
}

.hero,
.api-console,
.api-status-card,
.api-plan,
.console-panel,
.access-panel,
.workflow-grid article,
.api-guide article,
.metric-tile,
.api-cta,
.placard {
  background: var(--sw-card);
  border: 1px solid var(--sw-soft);
  color: var(--sw-ink);
  box-shadow: none;
}

.hero,
.api-head {
  background: linear-gradient(135deg, rgba(10, 17, 22, .94), rgba(13, 24, 29, .86));
}

.hero-media video {
  border: 1px solid var(--sw-soft);
  border-radius: 8px;
  box-shadow: none;
}

.api-head {
  border-bottom: 1px solid var(--sw-soft);
}

.api-plan.featured {
  border-color: rgba(232, 238, 242, .46);
  box-shadow: inset 3px 0 0 rgba(232, 238, 242, .55);
}

.api-head h2,
.api-cta h3,
.console-panel h3,
.api-plan h3,
.access-panel h3,
.workflow-grid h3,
.hero-copy h2,
.api-status-card strong,
.api-guide h3,
.metric-tile strong,
.placard-toggle,
.placard-content p,
.kpi .v {
  color: var(--sw-ink);
}

.hero-copy p,
.hero-note,
.api-head p,
.api-plan p,
.workflow-grid p,
.console-panel p,
.api-cta p,
.access-panel span,
.api-status-card small,
.api-guide p,
.metric-tile span,
.kpi .k {
  color: var(--sw-sub);
}

.eyebrow,
.status-pill,
.plan-top span,
.panel-title span,
.guide-icon,
.step-number,
.kpi {
  color: var(--sw-sub);
  background: transparent;
  border: 1px solid var(--sw-soft);
  border-radius: 6px;
  box-shadow: none;
  font-family: 'Roboto Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}

.status-pill.paid,
.ok,
.warn {
  color: var(--sw-ink);
  background: transparent;
}

.api-plan ul {
  color: #c8d3da;
}

.secure-row,
.access-row,
.log-row,
.payload-card,
.placard-toggle,
.placard-content,
.placard-content.open {
  background: transparent;
  border-color: var(--sw-soft);
  color: var(--sw-ink);
}

.secure-row b,
.access-row b {
  color: var(--sw-ink);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.45;
}

.secure-row span,
.access-row span {
  color: #b7c4cc;
  font-size: .86rem;
  line-height: 1.5;
}

.placard-toggle:hover {
  background: rgba(255, 255, 255, .025);
}

code,
.log-row code {
  color: #dbe7ec;
  font-family: 'Roboto Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}

/* Match attorney_admin_panel.html header positioning exactly. */
header.appbar.api-admin-header {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  z-index: 10;
  width: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 0;
  padding: 10px 16px;
  background: rgba(7, 13, 17, .96);
  color: var(--sw-ink);
  border-bottom: 1px solid var(--sw-soft);
  box-shadow: none;
}

header.appbar.api-admin-header h1 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .3px;
}

header.appbar.api-admin-header .slogan {
  color: var(--sw-sub);
  font-size: .85rem;
}

header.appbar.api-admin-header #user-name {
  margin-left: auto;
  margin-right: 8px;
  display: inline-block;
  min-width: 0;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(255, 255, 255, .08);
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
}

header.appbar.api-admin-header .menu-icon {
  cursor: pointer;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
}

header.appbar.api-admin-header .menu-icon:hover {
  background: rgba(255, 255, 255, .13);
}

header.appbar.api-admin-header .dropdown-content {
  display: none;
  position: absolute;
  right: 12px;
  top: 56px;
  min-width: 220px;
  overflow: hidden;
  background: #0b1217;
  border: 1px solid var(--sw-soft);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .32);
}

header.appbar.api-admin-header .dropdown-content a {
  display: block;
  padding: 12px 14px;
  color: var(--sw-ink);
  text-decoration: none;
}

header.appbar.api-admin-header .dropdown-content a:hover {
  background: rgba(255, 255, 255, .045);
}

.shell {
  padding-top: 20px;
}

header.appbar.api-admin-header #user-name:empty {
  display: inline-block;
  width: 0;
  max-width: 0;
  padding: 0;
  margin-left: auto;
  margin-right: 8px;
  overflow: hidden;
  background: transparent;
}

/* Distinct, compact bands for the API introduction. */
.api-console > .section-band {
  position: relative;
  padding: 18px 20px;
  border-top: 1px solid var(--sw-soft);
  border-left: 2px solid rgba(188, 205, 216, .48);
  background: rgba(5, 10, 13, .20);
}

.api-console > .section-band-alt {
  background: rgba(255, 255, 255, .018);
}

.api-console > .band-membership { border-left-color: rgba(155, 200, 195, .72); }
.api-console > .band-setup { border-left-color: rgba(202, 162, 75, .68); }
.api-console > .band-capabilities { border-left-color: rgba(35, 107, 145, .82); }
.api-console > .band-contract { border-left-color: rgba(198, 83, 76, .72); }
.api-console > .band-messaging { border-left-color: rgba(188, 205, 216, .68); }

.api-choice-grid.two-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  margin-bottom: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(188, 205, 216, .18);
}

.section-label span {
  flex: 0 0 auto;
  color: var(--sw-sub);
  font: 700 .68rem 'Roboto Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  text-transform: uppercase;
}

.section-label strong {
  min-width: 0;
  color: var(--sw-ink);
  font: 600 .92rem 'Poppins', sans-serif;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .api-choice-grid.two-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .api-console > .section-band {
    padding: 15px 12px;
  }

  .section-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}
