.mta-sts-checker-page .decoder-heading > div:first-child {
  max-width: 850px;
}

.mta-sts-checker-page .decoder-heading code,
.mta-sts-checker-page .domain-help code,
.mta-sts-checker-page .decoder-reference code {
  font-size: 0.92em;
}

.live-state {
  color: #24527b;
  background: #e8f3fc;
  border-color: #b6d2e8;
}

.live-state span {
  background: #2873b8;
}

.mta-sts-workbench .decoder-input,
.mta-sts-workbench .decoder-output {
  min-height: 570px;
}

#mta-sts-checker-form {
  display: grid;
  gap: 10px;
}

#mta-sts-checker-form label {
  color: #34443f;
  font-size: 12px;
  font-weight: 800;
}

#mta-sts-domain,
.mta-sts-checker-actions button,
.full-scan-action {
  border-radius: 6px;
  font: inherit;
  letter-spacing: 0;
}

#mta-sts-domain {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #bac8c3;
  outline: 0;
}

#mta-sts-domain:focus {
  border-color: #238b7e;
  box-shadow: 0 0 0 3px rgba(35, 139, 126, 0.13);
}

.mta-sts-checker-actions {
  min-height: 46px;
  margin-top: 5px;
}

.mta-sts-checker-actions button {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid #087e73;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.mta-sts-checker-actions button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.domain-help {
  margin: 16px 0 0;
  color: #65746f;
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.mta-sts-metrics {
  margin: 20px 0 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #d8e1de;
  border-bottom: 1px solid #d8e1de;
}

.mta-sts-metrics > div {
  min-width: 0;
  padding: 14px 12px;
}

.mta-sts-metrics > div:nth-child(even) {
  border-left: 1px solid #d8e1de;
}

.mta-sts-metrics > div:nth-child(n + 3) {
  border-top: 1px solid #d8e1de;
}

.mta-sts-metrics > .metric-wide {
  grid-column: 1 / -1;
  border-top: 1px solid #d8e1de;
}

.mta-sts-metrics dt {
  color: #65746f;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.mta-sts-metrics dd {
  margin: 6px 0 0;
  color: #172c27;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.full-scan-action {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #2873b8;
  border: 1px solid #2873b8;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.full-scan-action:hover {
  background: #215f96;
}

.evidence-boundary {
  margin: 10px 0 0;
  color: #667570;
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 560px) {
  .mta-sts-metrics {
    grid-template-columns: 1fr;
  }

  .mta-sts-metrics > div:nth-child(even) {
    border-left: 0;
  }

  .mta-sts-metrics > div + div {
    border-top: 1px solid #d8e1de;
  }

  .mta-sts-metrics > .metric-wide {
    grid-column: auto;
  }

  .full-scan-action {
    width: 100%;
  }
}
