/* Bounce tools shared — Mode A + Mode B */

.mg-bounce__table-wrap {
  margin: 28px 0 0;
  overflow-x: auto;
  max-width: 960px;
}

.mg-bounce__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.mg-bounce__table th,
.mg-bounce__table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--mg-border);
}

.mg-bounce__table th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mg-muted);
  background: var(--mg-cream);
}

.mg-bounce__row-label {
  display: block;
  font-weight: 700;
  color: var(--mg-black);
}

.mg-bounce__row-hint {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--mg-muted);
}

.mg-bounce__email-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.mg-bounce__email {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--mg-black);
}

.mg-bounce__copy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--mg-border);
  border-radius: var(--mg-radius-ui, 3px);
  background: var(--mg-white);
  color: var(--mg-muted);
  cursor: pointer;
}

.mg-bounce__copy-icon:hover,
.mg-bounce__copy-icon.is-copied {
  color: var(--mg-blue-link, #0062ad);
  border-color: var(--mg-blue-link, #0062ad);
}

.mg-bounce__row--selectable {
  cursor: pointer;
}

.mg-bounce__row--selectable:hover,
.mg-bounce__row.is-active {
  background: var(--mg-cream);
}

.mg-bounce__row--selectable:focus-visible {
  outline: 2px solid var(--mg-blue-link, #0062ad);
  outline-offset: -2px;
}

.mg-bounce__copy-status {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1a7f37;
}

.mg-bounce__dialog {
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.55;
  background: var(--mg-cream);
  border: 1px solid var(--mg-border);
  border-radius: 3px;
}

.mg-bounce__dialog code {
  font-family: inherit;
  white-space: pre;
}

.mg-bounce__muted {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--mg-muted);
}

.mg-bounce__health {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
}

.mg-bounce__health-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--mg-muted);
}

.mg-bounce__health-dot--ok {
  background: #1a7f37;
}

.mg-bounce__health-dot--bad {
  background: #c62828;
}

.mg-bounce__health-text {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--mg-muted);
}

.mg-bounce .mono {
  font-family: var(--mg-tool-mono);
}
