.compact-record-list .record-card{
  gap: 8px;
}
.reporter-mini-pill {
  border-radius: var(--radius-sm);
  flex: 1 1 14rem;
  justify-content: flex-start;
}
.compact-heading {
  margin-top: var(--space-2);
}
.reporter-endpoint-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 34rem));
}
.reporter-endpoint-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: inherit;
  display: grid;
  gap: var(--space-3);
  padding: 14px;
  text-decoration: none;
}
.reporter-endpoint-card:hover,
.reporter-endpoint-card:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 102, 209, .12);
  outline: 0;
}

.reporter-endpoint-card-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}
.reporter-endpoint-card-facts .key-value-item {
  padding: var(--space-2);
}

.reporter-table-actions {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reporter-assignment-form {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.reporter-assignment-form select {
  max-width: 15rem;
}

[data-table-key="reporter-endpoints"] [data-table-column="endpoint"] > *,
[data-table-key="reporter-endpoints"] [data-table-column="system"] > *,
[data-table-key="reporter-endpoints"] [data-table-column="telemetry"] > * {
  display: block;
}
.status-stack {
  align-items: end;
  display: grid;
  gap: 6px;
  justify-items: end;
}
.reporter-card-actions,
.reporter-detail-actions {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: var(--space-2);
  grid-template-columns: auto minmax(16rem, 1fr) auto;
  padding-top: var(--space-2);
}
.reporter-card-actions form,
.reporter-detail-actions form {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.compact-field {
  margin: 0;
  min-width: 12rem;
}
.reporter-customer-field {
  flex: 1 1 12rem;
}
.compact-field input,
.compact-field select {
  min-height: 34px;
}
.reporter-card-title {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}
.reporter-icon {
  align-items: center;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  display: inline-flex;
  flex: 0 0 38px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  width: 38px;
}
.reporter-icon .ui-icon {
  color: var(--brand);
}
.pill-definition-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: var(--space-3) 0 0;
}
.pill-definition-grid > div {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  gap: 8px;
  min-height: 34px;
  min-width: 0;
  padding: 6px 10px;
}
.pill-definition-grid dt {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}
.pill-definition-grid dd {
  font-weight: 800;
  margin: 0;
  overflow-wrap: anywhere;
}
.reporter-summary-cards {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  margin: var(--space-3) 0 0;
}
.reporter-summary-cards.pill-definition-grid {
  display: grid;
}
.reporter-summary-cards > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
}
.reporter-summary-cards dt {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}
.reporter-summary-cards dd {
  color: var(--ink);
  font-weight: 800;
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
}
.reporter-metric-strip {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.reporter-metric-strip .metric-card strong {
  overflow-wrap: normal;
  word-break: normal;
}
.metric-pill {
  cursor: pointer;
  text-align: left;
}
.metric-pill:hover,
.metric-pill:focus-visible,
.metric-pill.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 102, 209, .12);
}
.reporter-raw-snapshot summary {
  cursor: pointer;
  font-weight: 900;
}
.reporter-raw-snapshot pre {
  background: #0f172a;
  border-radius: var(--radius-sm);
  color: #dbeafe;
  max-height: min(60vh, 26rem);
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
}
@media (max-width: 760px) {
  .reporter-summary-cards,
  .reporter-card-actions,
  .reporter-detail-actions {
    grid-template-columns: 1fr;
  }
}
