/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
:root {
  --ab-ink: #111318;
  --ab-bg: #151922;
  --ab-panel: #1f232b;
  --ab-panel-soft: #2a2f39;
  --ab-graphite: #35383f;
  --ab-slate: #5c5e64;
  --ab-accent: #45abeb;
  --ab-accent-soft: #8ed4ff;
  --ab-text: #f8fafc;
  --ab-muted: #aeb6c5;
  --ab-border: rgba(255, 255, 255, 0.1);
  --ab-danger: #fb7185;
  --ab-success: #4ade80;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--ab-bg); }

body {
  overflow-x: clip;
  min-height: 100vh;
  margin: 0;
  color: var(--ab-text);
  background:
    radial-gradient(circle at 18% 10%, rgba(69, 171, 235, 0.22), transparent 34rem),
    radial-gradient(circle at 85% 20%, rgba(142, 212, 255, 0.12), transparent 32rem),
    linear-gradient(135deg, #111318 0%, #242934 42%, #35383f 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img, svg, video, canvas { max-width: 100%; }

pre, code {
  max-width: 100%;
}

.shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.dashboard-shell {
  width: min(1920px, calc(100vw - clamp(32px, 6vw, 128px)));
}

.topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--ab-border);
  background: rgba(17, 19, 24, 0.74);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(69, 171, 235, 0.35);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(69, 171, 235, 0.25), rgba(255, 255, 255, 0.04));
  color: var(--ab-accent-soft);
  box-shadow: 0 12px 38px rgba(69, 171, 235, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a {
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 10px 13px;
  color: var(--ab-muted);
  transition: 160ms ease;
}

.nav a:hover {
  border-color: var(--ab-border);
  color: var(--ab-text);
  background: rgba(255, 255, 255, 0.04);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  grid-gap: 28px;
  gap: 28px;
  align-items: stretch;
  padding: 56px 0 32px;
}

.hero__copy, .panel {
  border: 1px solid var(--ab-border);
  border-radius: 34px;
  background: rgba(31, 35, 43, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(22px);
          backdrop-filter: blur(22px);
}

.hero__copy { padding: clamp(28px, 5vw, 56px); }
.panel { padding: 24px; }

.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(69, 171, 235, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ab-accent-soft);
  background: rgba(69, 171, 235, 0.08);
  font-size: 13px;
  font-weight: 700;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 6.4vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

h1 span, .accent { color: var(--ab-accent); }

.lead {
  max-width: 680px;
  color: var(--ab-muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.ab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--ab-border);
  border-radius: 16px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 800;
  transition: 160ms ease;
}

.ab-button--primary {
  border-color: rgba(69, 171, 235, 0.4);
  color: #06111a;
  background: linear-gradient(135deg, #8ed4ff, #45abeb);
  box-shadow: 0 14px 34px rgba(69, 171, 235, 0.28);
}

.ab-button--secondary {
  color: var(--ab-text);
  background: rgba(255, 255, 255, 0.05);
}

.ab-button--ghost {
  color: var(--ab-muted);
  background: transparent;
}

.ab-button:hover { transform: translateY(-1px); }

.ab-card {
  min-width: 0;
  border: 1px solid var(--ab-border);
  border-radius: 28px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.ab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ab-border);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--ab-muted);
  background: rgba(255,255,255,0.04);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  justify-self: start;
  align-self: start;
}

.ab-badge--blue { border-color: rgba(69,171,235,0.3); color: var(--ab-accent-soft); }
.ab-badge--green { border-color: rgba(74,222,128,0.32); color: #bbf7d0; }

.grid { display: grid; grid-gap: 16px; gap: 16px; min-width: 0; }
.grid > * { min-width: 0; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(104px, 1fr));
  grid-gap: 12px;
  gap: 12px;
  align-items: start;
}

.provider-grid .ab-badge {
  width: 100%;
  min-height: 42px;
  justify-self: stretch;
  padding: 0 14px;
  border-radius: 16px;
  border-color: rgba(69, 171, 235, 0.34);
  background:
    radial-gradient(circle at 20% 0%, rgba(142, 212, 255, 0.18), transparent 8rem),
    linear-gradient(135deg, rgba(69, 171, 235, 0.13), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
}

.metric {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 8px;
}

.metric strong {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.metric span {
  color: var(--ab-muted);
  overflow-wrap: anywhere;
}

.login-layout {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  overflow-x: hidden;
  place-items: center;
  padding: 24px;
}

.auth-glow {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(26px);
}

.auth-glow--one {
  width: 420px;
  height: 420px;
  top: -160px;
  left: -110px;
  background: rgba(69, 171, 235, 0.2);
}

.auth-glow--two {
  width: 520px;
  height: 520px;
  right: -160px;
  bottom: -190px;
  background: rgba(142, 212, 255, 0.12);
}

.login-card {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(330px, 0.95fr) minmax(360px, 1.05fr);
  overflow: hidden;
  border: 1px solid var(--ab-border);
  border-radius: 34px;
  background: rgba(31, 35, 43, 0.86);
  box-shadow: 0 30px 100px rgba(0,0,0,0.38);
  -webkit-backdrop-filter: blur(24px);
          backdrop-filter: blur(24px);
}

.login-card__aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 660px;
  padding: 34px;
  background:
    radial-gradient(circle at 30% 10%, rgba(69,171,235,0.28), transparent 16rem),
    radial-gradient(circle at 95% 90%, rgba(142,212,255,0.12), transparent 18rem),
    linear-gradient(160deg, rgba(69,171,235,0.12), rgba(255,255,255,0.04));
}

.auth-copy {
  margin-top: 42px;
}

.auth-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.auth-proof {
  display: grid;
  grid-gap: 7px;
  gap: 7px;
  min-height: 116px;
  align-content: end;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 14px;
  background: rgba(17, 19, 24, 0.24);
}

.auth-proof strong {
  color: var(--ab-text);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  letter-spacing: -0.05em;
}

.auth-proof span {
  color: var(--ab-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.auth-provider-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.login-card__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(28px, 5vw, 46px);
}

.auth-form-header {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.auth-form-header h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.055em;
}

.auth-note {
  border: 1px solid rgba(69, 171, 235, 0.2);
  border-radius: 18px;
  padding: 13px 14px;
  color: var(--ab-accent-soft);
  background: rgba(69, 171, 235, 0.075);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.auth-form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.auth-form-actions .ab-button {
  width: 100%;
}

.form-hint {
  color: var(--ab-slate);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.form { display: grid; grid-gap: 16px; gap: 16px; }
.label { display: grid; grid-gap: 8px; gap: 8px; color: var(--ab-muted); font-size: 14px; font-weight: 700; }
.input {
  width: 100%;
  border: 1px solid var(--ab-border);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--ab-text);
  outline: none;
  background: rgba(17,19,24,0.58);
}
.input:focus { border-color: rgba(69,171,235,0.58); box-shadow: 0 0 0 4px rgba(69,171,235,0.1); }

.textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.55;
}

.dashboard {
  display: grid;
  grid-template-columns: clamp(220px, 15vw, 280px) minmax(0, 1fr);
  grid-gap: clamp(18px, 2vw, 28px);
  gap: clamp(18px, 2vw, 28px);
  padding: 24px 0 48px;
}

.sidebar, .content-card {
  border: 1px solid var(--ab-border);
  border-radius: 28px;
  background: rgba(31, 35, 43, 0.78);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.sidebar {
  min-width: 0;
  padding: 18px;
  position: -webkit-sticky;
  position: sticky;
  top: 92px;
  height: max-content;
}
.sidebar nav { display: grid; grid-gap: 8px; gap: 8px; margin-top: 18px; }
.sidebar nav a {
  min-width: 0;
  border-radius: 14px;
  padding: 12px 13px;
  color: var(--ab-muted);
}
.sidebar nav a:hover,
.sidebar nav a[aria-current="page"],
.sidebar__link--active {
  color: var(--ab-text);
  background: rgba(255,255,255,0.06);
}

.content-card {
  min-width: 0;
  max-width: 100%;
  padding: clamp(22px, 2vw, 34px);
  overflow: clip;
}

.console-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.98fr) minmax(320px, 1.02fr);
  grid-gap: clamp(18px, 2vw, 28px);
  gap: clamp(18px, 2vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(69, 171, 235, 0.18);
  border-radius: 32px;
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 0% 0%, rgba(69, 171, 235, 0.22), transparent 22rem),
    radial-gradient(circle at 82% 18%, rgba(142, 212, 255, 0.14), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
}

.console-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px 42%;
  height: 220px;
  border-radius: 999px;
  background: rgba(69, 171, 235, 0.16);
  filter: blur(46px);
  pointer-events: none;
}

.console-hero__copy,
.terminal-card {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.terminal-card {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(142, 212, 255, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(6, 17, 26, 0.82), rgba(17, 19, 24, 0.82)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 60px rgba(0, 0, 0, 0.22);
}

.terminal-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  color: var(--ab-muted);
  font-size: 13px;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ab-success);
  box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.12);
}

.terminal-card__body {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
  padding: 22px 18px;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.75;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.status-grid span {
  display: grid;
  min-width: 0;
  grid-gap: 4px;
  gap: 4px;
  padding: 14px;
  color: var(--ab-muted);
  font-size: 12px;
}

.status-grid span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.status-grid strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ab-text);
  font-size: clamp(18px, 1.35vw, 24px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  grid-gap: 16px;
  gap: 16px;
}

.flow-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
}

.flow-card::after {
  content: "";
  position: absolute;
  inset: auto -32px -42px auto;
  width: 128px;
  height: 128px;
  border-radius: 999px;
  background: rgba(69, 171, 235, 0.12);
  filter: blur(8px);
}

.flow-card__index {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(69, 171, 235, 0.26);
  border-radius: 15px;
  color: var(--ab-accent-soft);
  background: rgba(69, 171, 235, 0.08);
  font-weight: 900;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 10px 0 0;
}

.model-family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  grid-gap: 14px;
  gap: 14px;
}

.model-card {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 16px;
  background: rgba(17, 19, 24, 0.32);
}

.model-card__top,
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.model-card__top span,
.price-row span {
  color: var(--ab-muted);
  font-size: 12px;
  font-weight: 800;
}

.model-card h3 {
  margin: 0;
}

.model-card code {
  color: var(--ab-accent-soft);
  word-break: break-all;
}

.price-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.clean-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--ab-muted);
  list-style: none;
}

.clean-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.clean-list li::before {
  content: "✓";
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  color: #052e16;
  background: var(--ab-success);
  font-size: 12px;
  font-weight: 900;
}

.demo-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  grid-gap: 14px;
  gap: 14px;
}

.demo-step-card {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(69, 171, 235, 0.1), transparent 10rem),
    rgba(17, 19, 24, 0.32);
}

.demo-step-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ab-muted);
  font-size: 12px;
  font-weight: 800;
}

.demo-step-card h3,
.demo-step-card p {
  margin: 0;
}

.demo-step-card p,
.demo-script {
  color: var(--ab-muted);
  line-height: 1.7;
}

.demo-script {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 920px) {
  .hero, .login-card, .dashboard, .console-hero, .flow-grid, .model-family-grid, .demo-step-grid { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .dashboard {
    gap: 14px;
    padding-top: 16px;
  }
  .sidebar {
    position: static;
    padding: 14px;
  }
  .sidebar nav {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 4px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .sidebar nav a {
    flex: 0 0 auto;
    padding: 10px 13px;
    white-space: nowrap;
  }
  .login-layout { overflow: visible; }
  .login-card__aside { min-height: auto; }
  .login-card__form { justify-content: start; }
  .status-grid { grid-template-columns: 1fr; }
  .status-grid span + span { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .section-heading { display: grid; }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .dashboard-shell {
    width: min(100% - 18px, 1180px);
  }

  .topbar {
    position: static;
  }

  .topbar__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar__actions .ab-button,
  .user-chip {
    width: 100%;
  }

  .user-chip {
    justify-content: space-between;
  }

  .login-layout {
    min-height: auto;
    padding: 12px;
    place-items: stretch;
  }

  .login-card {
    border-radius: 26px;
  }

  .login-card__aside,
  .login-card__form {
    padding: 22px;
  }

  .auth-copy {
    margin-top: 28px;
  }

  .auth-proof-grid,
  .auth-form-actions {
    grid-template-columns: 1fr;
  }

  .auth-proof {
    min-height: auto;
  }

  .dashboard {
    gap: 12px;
    padding: 12px 0 28px;
  }

  .sidebar,
  .content-card,
  .ab-card {
    border-radius: 22px;
  }

  .sidebar {
    padding: 14px;
  }

  .sidebar nav a {
    padding: 10px 12px;
    text-align: center;
  }

  .content-card {
    gap: 14px;
    padding: 14px;
  }

  .console-hero {
    gap: 14px;
    border-radius: 24px;
    padding: 16px;
  }

  .terminal-card {
    min-height: 260px;
    border-radius: 22px;
  }

  .terminal-card__top,
  .status-grid span {
    padding: 12px;
  }

  .terminal-card__body,
  .code-block {
    padding: 14px;
    font-size: 12px;
  }

  .docs-snippet {
    border-radius: 20px;
  }

  .docs-snippet__header {
    padding: 10px 12px;
  }

  .status-grid strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .actions,
  .quick-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .actions .ab-button,
  .quick-actions .ab-button,
  .form .ab-button {
    width: 100%;
  }
}

.ab-button--disabled,
.ab-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.form-error,
.form-success {
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.form-error {
  border: 1px solid rgba(251, 113, 133, 0.32);
  color: #fecdd3;
  background: rgba(251, 113, 133, 0.1);
}

.form-success {
  border: 1px solid rgba(74, 222, 128, 0.32);
  color: #bbf7d0;
  background: rgba(74, 222, 128, 0.1);
}

.muted-link {
  color: var(--ab-accent-soft);
  font-weight: 800;
}

.auth-loading {
  display: grid;
  min-height: 100vh;
  place-items: center;
  color: var(--ab-muted);
}

.user-chip {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  gap: 10px;
  border: 1px solid var(--ab-border);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--ab-muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 800;
}

.user-chip strong,
.user-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-chip strong { color: var(--ab-text); }

.api-key-form {
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: end;
}

.admin-adjust-form {
  grid-template-columns: minmax(220px, 1.15fr) minmax(130px, 0.5fr) minmax(220px, 1.15fr) auto;
  align-items: end;
}

.playground-form {
  align-items: flex-start;
}

.model-admin-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.model-admin-note {
  grid-column: span 2;
}

.docs-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
}

.docs-snippet {
  min-width: 0;
  border: 1px solid var(--ab-border);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
}

.docs-snippet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  border-bottom: 1px solid var(--ab-border);
  padding: 12px 14px;
  color: var(--ab-muted);
}

.code-block {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
  border: 1px solid rgba(69, 171, 235, 0.16);
  border-radius: 18px;
  padding: 16px;
  color: #dbeafe;
  background: rgba(6, 17, 26, 0.72);
  font-size: 13px;
  line-height: 1.65;
  white-space: pre;
  -webkit-overflow-scrolling: touch;
}

.code-block code,
.terminal-card__body code {
  display: block;
  width: max-content;
  min-width: 100%;
}

.key-reveal code,
.data-table code {
  word-break: break-all;
  color: var(--ab-accent-soft);
}

.key-reveal code {
  display: block;
  min-width: 0;
  border: 1px solid rgba(69, 171, 235, 0.24);
  border-radius: 16px;
  padding: 14px;
  background: rgba(17, 19, 24, 0.56);
}

.table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 18px;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--ab-border);
  padding: 14px 12px;
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  color: var(--ab-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table td {
  color: var(--ab-text);
}

@media (max-width: 920px) {
  .api-key-form,
  .admin-adjust-form,
  .model-admin-form {
    grid-template-columns: 1fr;
  }

  .model-admin-note {
    grid-column: auto;
  }

  .docs-grid {
    grid-template-columns: 1fr;
  }
}

