.api-access-card {
  margin-top: 24px;
  padding: 26px;
  border: 1px solid #cfe0f7;
  border-radius: 18px;
  background: linear-gradient(145deg, #f8fbff, #edf5ff);
}
.api-access-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: 28px;
  align-items: end;
}
.api-access-heading h3 { margin: 5px 0 8px; font-size: 24px; }
.api-access-heading p { max-width: 800px; margin: 0; color: #53647a; line-height: 1.55; }
.api-key-create { display: grid; gap: 10px; }
.api-key-create label { display: grid; gap: 6px; font-weight: 700; }
.api-token-list { margin-top: 24px; }
.api-token-list h4, .api-docs h4 { margin: 0 0 12px; }
.api-token-list article {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  background: #fff;
}
.api-token-list article + article { margin-top: 8px; }
.api-token-list article > div { display: grid; gap: 4px; }
.api-token-list code { width: max-content; color: #0757ca; }
.api-token-list small { color: #75859a; }
.api-docs { margin-top: 24px; }
.api-docs ol { margin: 0 0 18px; padding-left: 20px; color: #465a73; line-height: 1.6; }
.api-endpoint-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.api-endpoint-grid article { padding: 14px; border: 1px solid #dbe5f2; border-radius: 12px; background: #fff; }
.api-endpoint-grid code { display: block; margin-bottom: 8px; color: #0757ca; font-weight: 800; }
.api-endpoint-grid span { color: #5c6d82; font-size: 13px; line-height: 1.45; }
.api-docs pre, .api-key-example pre {
  overflow: auto;
  margin: 14px 0;
  padding: 15px;
  border-radius: 11px;
  background: #10233e;
  color: #eaf3ff;
  white-space: pre-wrap;
  word-break: break-word;
}
.api-key-created-page { display: grid; min-height: calc(100vh - 80px); place-items: center; padding: 32px; background: #f4f7fb; }
.api-key-created-card { width: min(780px, 100%); padding: 34px; border: 1px solid #dbe5f2; border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(25, 56, 101, .12); }
.api-key-created-card h1 { margin: 6px 0 18px; }
.api-key-warning { padding: 14px 16px; border-radius: 12px; background: #fff4dc; color: #74500c; }
.api-key-secret { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 18px; }
.api-key-secret input { min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.api-key-created-actions { display: flex; justify-content: flex-end; margin-top: 24px; }
@media (max-width: 800px) {
  .api-access-heading, .api-endpoint-grid { grid-template-columns: 1fr; }
  .api-token-list article { align-items: flex-start; flex-direction: column; }
  .api-key-created-page { padding: 14px; }
  .api-key-created-card { padding: 22px; }
  .api-key-secret { grid-template-columns: 1fr; }
}
