.sra-hero,
.sra-docs-hero {
  background:
    radial-gradient(circle at 88% 10%, rgba(217, 168, 78, 0.18), transparent 28%),
    radial-gradient(circle at 10% 86%, rgba(15, 143, 124, 0.12), transparent 30%),
    linear-gradient(135deg, #f7fbfa, #ffffff);
}

.sra-hero {
  padding-top: 132px;
}

.sra-docs-hero {
  padding-top: 132px;
  padding-bottom: 34px;
}

.sra-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}

.sra-kicker span {
  padding: 8px 12px;
  color: #12302a;
  background: #ecf8f5;
  border: 1px solid rgba(15, 143, 124, 0.22);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.sra-hero h1,
.sra-docs-hero h1,
.sra-detail h2,
.sra-panel h2,
.sra-doc-card h2,
.sra-upgrade-card h2 {
  color: #14231f;
}

.sra-hero h1,
.sra-docs-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
}

.sra-hero .lead {
  color: #0f8f7c;
  font-size: 22px;
  font-weight: 900;
}

.sra-endpoint {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 24px 0;
  padding: 14px;
  background: #12302a;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(20, 35, 31, 0.12);
}

.sra-endpoint span,
.sra-method,
.sra-endpoint-list span {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #12302a;
  background: #e0b15f;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.sra-endpoint code {
  min-width: 0;
  color: #fff;
  white-space: normal;
  word-break: break-word;
}

.sra-visual {
  position: relative;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(15, 143, 124, 0.18);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(20, 35, 31, 0.14);
}

.sra-visual img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.sra-visual-chip {
  position: absolute;
  left: 28px;
  bottom: 28px;
  min-width: 142px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(20, 35, 31, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(20, 35, 31, 0.12);
}

.sra-visual-chip span,
.sra-visual-chip strong,
.sra-docs-status span,
.sra-docs-status strong,
.sra-docs-status small,
.sra-quota-grid span,
.sra-quota-grid strong,
.sra-quota-grid small {
  display: block;
}

.sra-visual-chip span,
.sra-docs-status span,
.sra-docs-status small,
.sra-quota-grid span,
.sra-quota-grid small,
.sra-panel p,
.sra-info-card p,
.sra-doc-card p {
  color: #607078;
}

.sra-visual-chip strong {
  color: #14231f;
  font-size: 26px;
}

.sra-detail {
  background: #fff;
}

.sra-extension-callout {
  background:
    radial-gradient(circle at 10% 100%, rgba(15, 143, 124, 0.16), transparent 32%),
    linear-gradient(135deg, #f7fbfa, #ffffff);
  padding-top: 54px;
  padding-bottom: 54px;
}

.sra-extension-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(217, 168, 78, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 246, 0.94));
  border: 1px solid rgba(15, 143, 124, 0.22);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(20, 35, 31, 0.09);
}

.sra-extension-panel h2,
.sra-extension-doc-card h2 {
  margin-bottom: 10px;
}

.sra-extension-panel p,
.sra-extension-doc-card p {
  margin-bottom: 0;
  color: #607078;
  line-height: 1.7;
}

.sra-extension-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.sra-overview,
.sra-highlight-grid,
.sra-split {
  margin-bottom: 40px;
}

.sra-overview p,
.sra-panel p,
.sra-info-card p,
.sra-doc-card p {
  line-height: 1.7;
}

.sra-info-card,
.sra-panel,
.sra-doc-card,
.sra-docs-status,
.sra-quota-grid > div {
  height: 100%;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 246, 0.92)),
    #fff;
  border: 1px solid rgba(15, 143, 124, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(20, 35, 31, 0.08);
}

.sra-docs .sra-doc-card {
  height: auto;
}

.sra-docs .sra-token-card {
  align-self: flex-start;
}

.sra-info-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0f8f7c, #17b69d);
  border-radius: 8px;
  font-size: 22px;
}

.sra-info-card h3,
.sra-step-list h3 {
  margin: 0 0 8px;
  color: #14231f;
  font-size: 18px;
}

.sra-step-list {
  display: grid;
  gap: 18px;
}

.sra-step-list > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
}

.sra-step-list > div > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #0f8f7c;
  background: #ecf8f5;
  border-radius: 8px;
  font-weight: 900;
}

.sra-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sra-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #475965;
}

.sra-check-list i {
  color: #0f8f7c;
}

.sra-code-section {
  border-top: 1px solid rgba(20, 35, 31, 0.08);
}

.sra-plan-pricing {
  position: relative;
  overflow: hidden;
  border-color: rgba(15, 143, 124, 0.22);
  box-shadow: 0 20px 56px rgba(20, 35, 31, 0.09);
}

.sra-plan-pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 92% 8%, rgba(217, 168, 78, 0.18), transparent 28%),
    radial-gradient(circle at 8% 100%, rgba(15, 143, 124, 0.12), transparent 34%);
}

.sra-plan-pricing > * {
  position: relative;
  z-index: 1;
}

.sra-plan-pricing.sra-power-4,
.sra-plan-pricing.sra-power-5 {
  border-color: rgba(15, 143, 124, 0.36);
  box-shadow: 0 26px 72px rgba(15, 143, 124, 0.16);
}

.sra-plan-pricing.sra-power-5::before {
  background:
    radial-gradient(circle at 92% 8%, rgba(217, 168, 78, 0.28), transparent 28%),
    radial-gradient(circle at 10% 100%, rgba(15, 143, 124, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 250, 247, 0.9));
}

.sra-plan-model {
  display: grid;
  gap: 3px;
  margin: 18px 0;
  padding: 14px;
  background: rgba(18, 48, 42, 0.96);
  border: 1px solid rgba(217, 168, 78, 0.34);
  border-radius: 8px;
}

.sra-plan-model span,
.sra-plan-model small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
}

.sra-plan-model strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  word-break: break-word;
}

.sra-plan-power {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 143, 124, 0.16);
  border-radius: 8px;
}

.sra-plan-power strong,
.sra-plan-power small {
  display: block;
}

.sra-plan-power strong {
  color: #14231f;
  font-size: 14px;
}

.sra-plan-power small {
  color: #607078;
  line-height: 1.4;
}

.sra-power-bars {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 34px;
}

.sra-power-bars span,
.sra-inline-power i {
  display: block;
  width: 9px;
  border-radius: 999px;
  background: rgba(20, 35, 31, 0.16);
}

.sra-power-bars span:nth-child(1) { height: 12px; }
.sra-power-bars span:nth-child(2) { height: 17px; }
.sra-power-bars span:nth-child(3) { height: 22px; }
.sra-power-bars span:nth-child(4) { height: 27px; }
.sra-power-bars span:nth-child(5) { height: 32px; }

.sra-power-bars span.is-on,
.sra-inline-power i.is-on {
  background: linear-gradient(180deg, #e0b15f, #0f8f7c);
}

.sra-code,
.sra-response {
  margin: 0;
  padding: 18px;
  color: #d9fff7;
  background: #12302a;
  border-radius: 8px;
  white-space: pre-wrap;
  word-break: break-word;
}

.sra-response {
  max-height: 540px;
  overflow: auto;
}

.sra-docs {
  background:
    radial-gradient(circle at 86% 18%, rgba(217, 168, 78, 0.14), transparent 30%),
    radial-gradient(circle at 12% 92%, rgba(15, 143, 124, 0.12), transparent 28%),
    #f7fbfa;
}

.sra-docs-status {
  display: grid;
  gap: 4px;
}

.sra-docs-status strong,
.sra-quota-grid strong {
  color: #14231f;
  font-size: 30px;
}

.sra-quota-alert {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px;
  color: #7a4d00;
  background: #fff7e6;
  border: 1px solid rgba(217, 168, 78, 0.42);
  border-radius: 8px;
}

.sra-quota-alert i {
  color: #d9a84e;
  font-size: 24px;
}

.sra-quota-alert div {
  display: grid;
  flex: 1;
}

.sra-quota-alert a {
  color: #0f8f7c;
  font-weight: 900;
}

.sra-token-card {
  display: grid;
  gap: 14px;
}

.sra-token-card label,
.sra-test-form label {
  display: grid;
  gap: 8px;
  color: #14231f;
  font-weight: 900;
}

.sra-token-input {
  display: flex;
  gap: 8px;
}

.sra-token-input input,
.sra-test-form textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  color: #14231f;
  background: #fff;
  border: 1px solid rgba(20, 35, 31, 0.14);
  border-radius: 8px;
}

.sra-test-form textarea {
  resize: vertical;
}

.sra-token-input button,
.sra-primary-button,
.sra-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.sra-token-input button,
.sra-secondary-button {
  color: #14231f;
  background: #fff;
  border: 1px solid rgba(20, 35, 31, 0.14);
}

.sra-primary-button {
  color: #fff;
  background: #0f8f7c;
  border: 0;
}

.sra-primary-button:hover,
.sra-primary-button:focus {
  color: #fff;
  background: #0b6f61;
}

.sra-primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.sra-quota-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.sra-quota-grid strong {
  margin: 4px 0;
  font-size: clamp(20px, 2vw, 30px);
  word-break: break-word;
}

.sra-doc-card-head,
.sra-upgrade-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sra-model-summary {
  margin-bottom: 18px;
}

.sra-model-chip-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.sra-model-chip {
  display: grid;
  gap: 3px;
  padding: 13px;
  background: #fff;
  border: 1px solid rgba(15, 143, 124, 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(20, 35, 31, 0.06);
}

.sra-model-chip.sra-power-4,
.sra-model-chip.sra-power-5 {
  border-color: rgba(15, 143, 124, 0.34);
  background:
    radial-gradient(circle at 100% 0, rgba(217, 168, 78, 0.15), transparent 36%),
    #fff;
}

.sra-model-chip span,
.sra-model-chip small {
  color: #607078;
  font-size: 12px;
  font-weight: 800;
}

.sra-model-chip strong {
  color: #14231f;
  word-break: break-word;
}

.sra-plan-table {
  display: grid;
  margin-top: 18px;
  border: 1px solid rgba(20, 35, 31, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.sra-plan-table-head,
.sra-plan-table-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.4fr 1.2fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.sra-plan-table-head {
  color: #fff;
  background: #12302a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sra-plan-table-row {
  background: #fff;
}

.sra-model-catalog-table .sra-plan-table-head,
.sra-model-catalog-table .sra-plan-table-row {
  grid-template-columns: 1.15fr 1fr 0.65fr 2.25fr;
}

.sra-model-catalog-table .sra-plan-table-row {
  padding-top: 11px;
  padding-bottom: 11px;
}

.sra-plan-table-row + .sra-plan-table-row {
  border-top: 1px solid rgba(20, 35, 31, 0.08);
}

.sra-plan-table-row strong,
.sra-plan-table-row code {
  color: #14231f;
}

.sra-plan-table-row code {
  white-space: normal;
  word-break: break-word;
}

.sra-inline-power {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: #475965;
  font-weight: 800;
}

.sra-inline-power i {
  width: 7px;
  height: 18px;
}

.sra-param-table,
.sra-endpoint-list {
  display: grid;
  margin-top: 18px;
  border: 1px solid rgba(20, 35, 31, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.sra-param-table > div,
.sra-endpoint-list > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  background: #fff;
}

.sra-param-table > div + div,
.sra-endpoint-list > div + div {
  border-top: 1px solid rgba(20, 35, 31, 0.08);
}

.sra-param-table strong {
  color: #14231f;
}

.sra-param-table code,
.sra-endpoint-list code {
  color: #12302a;
  white-space: normal;
  word-break: break-word;
}

.sra-test-form {
  display: grid;
  gap: 14px;
}

.sra-test-result {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  font-weight: 900;
}

.sra-test-result.is-success {
  color: #075e52;
  background: #e8f8f3;
}

.sra-test-result.is-warning {
  color: #7a4d00;
  background: #fff7e6;
}

.sra-test-result.is-error {
  color: #941b12;
  background: #fff0ee;
}

.sra-note {
  margin-top: 14px;
}

@media (max-width: 991px) {
  .sra-hero,
  .sra-docs-hero {
    padding-top: 112px;
  }

  .sra-quota-grid,
  .sra-extension-panel,
  .sra-doc-card-head,
  .sra-upgrade-card,
  .sra-check-list,
  .sra-model-chip-row,
  .sra-plan-table-head,
  .sra-plan-table-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .sra-token-input {
    flex-direction: column;
  }

  .sra-plan-table-head {
    display: none;
  }
}

@media (max-width: 575px) {
  .sra-hero h1,
  .sra-docs-hero h1 {
    font-size: 42px;
  }

  .sra-param-table > div,
  .sra-endpoint-list > div {
    grid-template-columns: 1fr;
  }
}
