[data-view="api"] main {
  max-width: 1160px;
  overflow-wrap: anywhere;
}
.accessHero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  gap: 32px;
  padding: 28px 0 38px;
}
.accessHero img {
  width: 100%;
}
.accessHero h1 {
  font-size: clamp(26px, 3.1vw, 43px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
[data-view="api"] p {
  max-width: 74ch;
  line-height: 1.65;
  color: #b6c3d5;
  font-size: 15px;
}
.accessHero p {
  font-size: 17px !important;
  max-width: 62ch;
  margin: 16px 0 24px;
}
.docGate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  min-height: 46px;
}
.offer,
.accessNotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.offer section,
.accessNotes section {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
}
.offer section + section {
  border-inline-start: 1px solid var(--line);
}
.accessNotes {
  gap: 48px;
  margin-top: 18px;
}
.accessNotes section {
  padding: 24px 0;
}
.offer p,
.accessNotes p {
  margin: 0;
}
.offer h2,
.accessNotes h2,
.document h2 {
  font-size: 20px;
  margin: 0;
}
.offer h2 svg,
#credits,
#passState,
.accessNotes a,
.docLinks a,
.offer a,
#sign a,
.paths b,
.accessNotes summary {
  color: var(--mint);
}
.offer a {
  margin-top: auto;
}
.fig,
.userActions,
.docLinks,
#keyState {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}
details,
.packs button {
  width: 100%;
}
.accessNotes summary {
  list-style: none;
  cursor: pointer;
  padding-block: 12px;
}
.accessNotes ul,
.balanceLog,
.paths {
  margin: 0;
  padding: 0;
  list-style: none;
}
.accessNotes li,
.balanceLog li,
.packs button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.balanceLog small {
  display: block;
  color: var(--muted);
}
[data-view="api"] #modal h2 {
  padding-inline-end: 38px;
  line-height: 1.35;
}
#sign,
.packs {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
#sign label {
  font-weight: 600;
}
#sign input {
  display: block;
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: inherit;
  border-radius: 8px;
  font-size: 16px;
  padding: 0 12px;
  margin-top: 9px;
}
#sign input:focus {
  border-color: var(--mint);
}
#sign p,
#userEmail {
  overflow-wrap: anywhere;
  min-width: 0;
  margin: 0;
}
[data-view="api"] button {
  white-space: normal;
  max-width: 100%;
}
.packs button:disabled {
  opacity: 0.8;
  background: var(--bg);
  cursor: not-allowed;
}
#rawKey,
pre {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.65;
  color: #b7eadd;
  background: #0a0e15;
  margin: 18px 0;
  user-select: all;
}
.document {
  margin: 32px 0;
  line-height: 1.65;
}
.document h2 {
  margin-top: 32px;
}
.refFile {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
}
.refFile button,
.refFile .ib,
.docLinks > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--mint);
  border: 1px solid var(--line);
}
.refFile button {
  border-start-end-radius: 0;
  border-end-end-radius: 0;
  min-width: 0;
}
.refFile .ib {
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  border-inline-start: 0;
}
#docSelection {
  width: 100%;
  height: min(45vh, 360px);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--light);
  font: 16px/1.5 monospace;
}
.docLinks > a {
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.paths li {
  display: grid;
  grid-template-columns: 48px 1fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.paths span {
  color: var(--muted);
}
.document dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  row-gap: 10px;
}
.document dt {
  font-family: monospace;
  color: var(--mint);
}
@media (max-width: 720px) {
  .offer,
  .accessNotes {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .accessHero {
    display: block;
    padding: 8px 0 24px;
  }
  .accessHero img {
    display: none;
  }
  .offer section {
    padding: 20px;
  }
  .offer section + section {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }
  .paths li {
    grid-template-columns: 44px 1fr;
  }
  .paths span {
    grid-column: 2;
  }
  [data-view="api"] .heading .group {
    flex-wrap: wrap;
    max-width: 100%;
  }
}
.document dl {
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
}
.document dd {
  margin-inline-start: 16px;
}
