.am-compact {
  --am-tone: #64748b;
  --am-soft: #f1f5f9;
  display: inline-flex;
  min-width: 178px;
  flex-direction: column;
  gap: 2px;
  padding: 7px 9px;
  border: 1px solid color-mix(in srgb,var(--am-tone) 28%,transparent);
  border-left: 4px solid var(--am-tone);
  border-radius: 9px;
  background: var(--am-soft);
  color: #172033;
  line-height: 1.25;
}
.am-compact strong { color: var(--am-tone); font-size: 12px; font-weight: 800; }
.am-compact span { font-size: 10px; white-space: nowrap; }
.am-green { --am-tone: #167451; --am-soft: #ecf8f2; }
.am-amber { --am-tone: #a85d00; --am-soft: #fff6e6; }
.am-red { --am-tone: #be3131; --am-soft: #fff0f0; }
.am-neutral { --am-tone: #64748b; --am-soft: #f1f5f9; }

.am-hero {
  --am-tone: #64748b;
  --am-soft: #f1f5f9;
  width: min(520px,100%);
  margin: 14px 0 0;
  padding: 11px 13px;
  border: 1px solid color-mix(in srgb,var(--am-tone) 30%,transparent);
  border-left: 5px solid var(--am-tone);
  border-radius: 12px;
  background: var(--am-soft);
}
.am-hero-title { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.am-hero-title span { color: #536075; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.am-hero-title strong { color: var(--am-tone); font-size: 19px; }
.am-hero dl { display: grid; grid-template-columns: repeat(4,minmax(74px,1fr)); gap: 8px; margin: 8px 0 0; }
.am-hero dl div { min-width: 0; }
.am-hero dt { color: #657187; font-size: 10px; font-weight: 700; }
.am-hero dd { margin: 2px 0 0; color: #172033; font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.am-hero p { margin: 7px 0 0; color: #536075; font-size: 12px; }

@media (max-width: 650px) {
  .am-hero dl { grid-template-columns: repeat(2,minmax(90px,1fr)); }
  .am-compact { min-width: 0; }
  .am-compact span { white-space: normal; }
}
