.device-editor-form { display: flex; flex-direction: column; gap: 18px; }
.device-product-preview { display: flex; align-items: center; gap: 17px; padding: 16px; background: #f1f4e9; border: 1px solid #e9eddf; border-radius: 15px; margin-bottom: 4px; }
.device-preview-art { flex-shrink: 0; width: 65px; height: 69px; display: grid; place-items: center; background: #fcfdf8; border-radius: 12px; }
.device-preview-art img { width: 82%; height: 83%; object-fit: contain; filter: drop-shadow(0 5px 4px #244d4010); }
.device-product-preview > div { min-width: 0; }
.device-product-preview .eyebrow { font-size: 8px; letter-spacing: .12em; margin-bottom: 8px; }
.device-product-preview strong { display: block; font-size: 16px; color: var(--ink); font-weight: 600; letter-spacing: -.025em; line-height: 1.4; }
.device-product-preview small { display: block; font-size: 10px; color: #8d9b80; margin-top: 5px; }
.device-field { display: flex; flex-direction: column; gap: 8px; margin: 0; min-width: 0; }
.device-field > span { font-size: 11px; color: #64775b; font-weight: 600; }
.device-field input, .device-field select { width: 100%; min-width: 0; color: var(--ink); background: #fcfdf9; border: 1px solid #dfe6d8; font: inherit; font-size: 12px; border-radius: 10px; padding: 12px; min-height: 43px; outline: none; transition: box-shadow .2s, border-color .2s; }
.device-field input:focus, .device-field select:focus { border-color: #9bb287; box-shadow: 0 0 0 3px #244d4008; }
.device-field input::placeholder { color: #a1ae95; }
.device-field input[readonly], .device-field select:disabled { background: #f3f5ee; color: #86947c; opacity: 1; cursor: default; }
.device-field input[name="rfid"], .device-field input[name="compartment"] { font-variant-numeric: tabular-nums; letter-spacing: .025em; }
.device-field-helper { display: flex; align-items: flex-start; gap: 7px; color: #96a28b; font-size: 10px; line-height: 1.65; margin: -10px 0 0; }
.device-field-helper svg { margin-top: 1px; }
.device-form-divider { display: flex; align-items: center; gap: 12px; margin: 8px 0 0; }
.device-form-divider span { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: #94a187; }
.device-form-divider::after { content: ''; width: 100%; height: 1px; background: var(--line); }
.device-editor-note { display: flex; align-items: flex-start; gap: 11px; border-radius: 12px; padding: 15px; background: #f0f5e8; color: #839474; margin: 7px 0 0; }
.device-editor-note > svg { margin-top: 2px; flex-shrink: 0; }
.device-editor-note strong { display: block; font-size: 11px; font-weight: 600; color: #6e825f; margin-bottom: 7px; }
.device-editor-note p { font-size: 10px; line-height: 1.8; }
.device-editor-note.protected { background: #f8f0df; color: #aa956e; }
.device-editor-note.protected strong { color: #947e54; }
.device-editor-error { padding: 12px 14px; margin: 0; border: 1px solid #efd8ce; border-radius: 10px; background: #fbf0eb; color: #a96950; font-size: 11px; line-height: 1.7; }
.device-editor-error[hidden] { display: none; }
.device-editor-alert { display: flex; align-items: flex-start; gap: 12px; padding: 15px; background: #f8f0df; border-radius: 12px; color: #987f50; font-size: 12px; line-height: 1.7; }
@media (max-width: 560px) { .device-product-preview { padding: 13px; gap: 13px; } .device-preview-art { width: 58px; height: 63px; } .device-product-preview strong { font-size: 14px; } .device-editor-form { gap: 16px; } .device-field select { font-size: 11px; } }
