.rd-bedrock-host {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--text-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.rd-bedrock-primary {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.rd-bedrock-primary:hover { background: var(--accent-border); }
.rd-bedrock-primary i { font-size: 11px; }
.rd-bedrock-primary .rd-bedrock-copied-icon,
.rd-bedrock-primary.is-copied .rd-bedrock-launch-icon { display: none; }
.rd-bedrock-primary.is-copied .rd-bedrock-copied-icon { display: inline-block; }

.rd-bedrock-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-subtle);
  font-size: 12px;
  line-height: 1.2;
}

.rd-bedrock-actions button {
  min-height: 32px;
  padding: 0 2px;
  white-space: nowrap;
  color: var(--text-body);
  font-weight: 600;
}

.rd-bedrock-actions button:hover { text-decoration: underline; }
.rd-bedrock-primary:focus-visible,
.rd-bedrock-actions button:focus-visible {
  outline: 2px solid var(--accent-border);
  outline-offset: 2px;
}

@media (max-width: 639px) {
  .rd-bedrock-host { max-width: calc(100% - 112px); }
}

@media (min-width: 1280px) {
  .rd-bedrock-host { text-align: center; }
  .rd-bedrock-primary { min-height: 30px; }
  .rd-bedrock-actions { justify-content: center; font-size: 11px; }
  .rd-bedrock-actions button { min-height: 20px; }
}
