.dxf-3d-button { margin-left: .5rem; }
.dxf-3d-button[hidden] { display: none !important; }
.dxf-3d-dialog { box-sizing: border-box; width: min(1000px, 94vw); max-width: 94vw; max-height: 94vh; padding: 0; border: 0; border-radius: 12px; color: #243443; background: #fff; box-shadow: 0 20px 80px #0005; }
.dxf-3d-dialog::backdrop { background: #13212ecc; }
.dxf-3d-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 20px; border-bottom: 1px solid #dce3e9; }
.dxf-3d-header h3 { margin: 0; font-size: 20px; }
.dxf-3d-close { border: 0; background: transparent; font-size: 28px; padding: 0 8px; line-height: 1.2; }
.dxf-3d-stage { height: min(56vh, 560px); min-height: 240px; width: 100%; background: #edf2f6; position: relative; }
.dxf-3d-stage canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.dxf-3d-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 20px; }
.dxf-3d-tools label { margin: 0; font-weight: normal; }
.dxf-3d-tools input { width: 90px; margin: 0 6px; padding: 5px; }
.dxf-3d-description, .dxf-3d-message { padding: 0 20px 12px; margin: 0; font-size: 14px; }
.dxf-3d-message { color: #475e70; }
.dxf-3d-message[data-error="true"] { color: #a32121; }

.dxf-3d-dialog:not([open]) { display: none; }
