.vdb-device-editor { margin-top: 16px; padding: 18px; border: 1px solid #d5dfe7; border-radius: 12px; background: #fff; color: #152c3d; }
.vdb-device-editor[hidden] { display: none !important; }
.vdb-device-editor h3 { margin: 20px 0 10px; overflow-wrap: anywhere; }
.vdb-device-editor__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.vdb-device-editor__button { padding: 11px 16px; border: 1px solid #bb241d; border-radius: 7px; background: #bb241d; color: white; font: inherit; font-weight: 600; cursor: pointer; }
.vdb-device-editor__button--secondary { background: white; color: #bb241d; }
.vdb-device-editor__button:disabled { opacity: .5; cursor: default; }
.vdb-device-editor__button:focus-visible, .vdb-device-editor input:focus-visible { outline: 3px solid #ae302a; outline-offset: 3px; }
.vdb-device-editor__status { min-height: 1.5em; line-height: 1.6; }
.vdb-device-editor__status.is-error { color: #a31b16; }
.vdb-device-editor__identity, .vdb-device-editor__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.vdb-device-editor__identity { padding: 14px; background: #f6f8fa; border-radius: 8px; }
.vdb-device-editor__identity dt { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.vdb-device-editor__identity dd { margin: 0; overflow-wrap: anywhere; }
.vdb-device-editor__field { display: grid; gap: 7px; font-size: 13px; font-weight: 600; }
.vdb-device-editor__field input { box-sizing: border-box; min-width: 0; width: 100%; padding: 11px 12px; border: 1px solid #cad6df; border-radius: 7px; background: white; color: #162a3a; font: inherit; font-size: 14px; font-weight: 400; }
.vdb-device-editor__field input:disabled { background: #f1f4f6; }
.vdb-device-editor__events { min-width: 0; margin: 20px 0; padding: 15px; border: 1px solid #d5dfe7; border-radius: 8px; }
.vdb-device-editor__events legend { padding: 0 7px; font-weight: 700; }
.vdb-device-editor__event + .vdb-device-editor__event { border-top: 1px solid #dce3e9; margin-top: 18px; padding-top: 18px; }
.vdb-device-editor__eventcheck { display: flex; align-items: start; gap: 8px; font-weight: 600; line-height: 1.5; }
.vdb-device-editor__eventcheck input { flex: 0 0 auto; margin-top: 4px; }
.vdb-device-editor__meta { margin: 7px 0 12px; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; color: #516473; }
.vdb-device-editor .vdb-pulse { margin-top: 24px; }
@media (max-width: 620px) {
  .vdb-device-editor { padding: 13px; }
  .vdb-device-editor__identity, .vdb-device-editor__grid { grid-template-columns: 1fr; gap: 13px; }
  .vdb-device-editor__actions { flex-direction: column; }
  .vdb-device-editor__button { white-space: normal; }
}
