



.ast-body {
  --ast-gold: #f5c542;
  --ast-cyan: #3ad8ff;
  --ast-green: #3de69a;
  --ast-red: #ff6577;
}

.ast-hero::after {
  background-image:
    linear-gradient(rgba(245, 197, 66, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 197, 66, .1) 1px, transparent 1px);
}

.ast-tabs { grid-template-columns: repeat(6, minmax(140px, 1fr)); }
.ast-overview-grid { align-items: stretch; }



.ast-badge-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 0;
}
.ast-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  border: 1px solid currentColor;
  color: var(--ast-gold);
  white-space: nowrap;
}

.ast-up { color: var(--ast-green); }

.ast-muted { color: var(--muted, #8f89a5); font-size: 11px; cursor: help; }
.ast-table-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; }
.ast-table-foot:empty { display: none; }
.ast-count { color: var(--muted, #8f89a5); font: 500 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.ast-more { min-height: 34px; }
.ast-down { color: var(--ast-red); }




.ast-gap-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.ast-gap {
  border: 1px solid var(--stroke-soft, #211b34);
  border-radius: 10px;
  padding: 16px 18px;
  background: var(--card, rgba(30, 24, 53, .35));
}
.ast-gap h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ast-gold);
}
.ast-gap dl { display: grid; gap: 0; margin: 0; }
.ast-gap dl > div {
  display: grid;
  grid-template-columns: minmax(96px, auto) minmax(0, 1fr);
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--stroke-soft, #211b34);
}
.ast-gap dl > div:last-child { border-bottom: 0; }
.ast-gap dt { color: var(--muted, #8f89a5); font-size: 12px; }
.ast-gap dd { margin: 0; color: var(--text, #f2effa); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.ast-gap code { color: var(--ast-cyan); overflow-wrap: anywhere; }

.ast-api-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.ast-api-row {
  display: block;
  padding: 9px 11px;
  border: 1px solid var(--stroke-soft, #211b34);
  border-radius: 6px;
  text-decoration: none;
}
.ast-api-row code { color: var(--ast-cyan); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.ast-api-row:hover { border-color: color-mix(in srgb, var(--ast-gold) 55%, transparent); }




.ast-body .ao-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ast-body .ao-stat dd, .ast-body .ao-pulse-rail dd, .ast-body .ao-kpi-strip strong { overflow-wrap: normal; word-break: keep-all; }
.ast-hero h1 { overflow-wrap: break-word; white-space: normal; }
.ast-body .ao-table { min-width: 720px; }

@media (max-width: 1180px) {
  .ast-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ast-gap-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .ast-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ast-api-list { grid-template-columns: 1fr; }
  .ast-gap dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

@media (max-width: 430px) {
  .ast-tabs { grid-template-columns: 1fr; }
}
