.template-preview{width:71px;height:45px;flex:0 0 71px;object-fit:contain;border:1px solid #e4e6e7;background:#fff}
.device-scan-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 9px}
.device-scan-heading .field-label{margin:0}
.device-scan-heading .button{height:32px;padding:0 10px;white-space:nowrap;font-size:11px}
.device-scan-panel{margin-top:11px;border:1px solid #dde9ea;border-radius:9px;padding:11px;background:#f7fbfb}
.scan-status{font-size:11px;color:#55747a;margin-bottom:9px}
.device-results{max-height:224px;overflow-y:auto;margin-top:8px;display:grid;gap:5px}
.device-result{width:100%;border:1px solid #e5ecec;border-radius:7px;background:#fff;text-align:left;padding:8px 10px;display:flex;gap:10px;align-items:center;color:#23383f}
.device-result:hover,.device-result.selected{border-color:#079cac;background:#eaf8f8}
.device-result-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.device-result-main strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.device-result-main small{font-family:Consolas,monospace;font-size:10px;color:#5c757b}
.device-result-rssi{font-size:10px;color:#789399;white-space:nowrap}
.scan-tip{font-size:10px;line-height:1.5;color:#81979b;margin:9px 0 0}
.single-text-hint{font-size:11px;line-height:1.7;color:#779096;margin:12px 0 18px}
.single-text-area{min-height:145px;font-size:16px}
.inspector-body .text-area:not(.single-text-area){min-height:100px}
.modal-card{max-height:min(92vh,820px);overflow-y:auto}
