/*
  SupportBridge production runtime safety.
  Repair190:
  - do not rewrite whole cards/containers;
  - mask Device ID via text nodes only;
  - show copy/reveal actions only in explicit Device ID detail blocks;
  - sanitize raw HTML/http errors.
*/

.sb-runtime-deviceid-mask {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .01em;
}

.sb-runtime-actions {
  display: inline-flex;
  gap: 6px;
  margin-left: 8px;
  vertical-align: middle;
}

.sb-runtime-btn {
  border: 1px solid rgba(59, 130, 246, .35);
  background: #fff;
  color: #1d4ed8;
  border-radius: 8px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.sb-runtime-btn:hover {
  background: #eff6ff;
}

.sb-runtime-http-error {
  display: inline-block;
  max-width: 100%;
  color: #991b1b;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sb-runtime-error-box {
  overflow: hidden !important;
}

.sb-runtime-truncate {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
