#iot-settings .tool-select{appearance:none;-webkit-appearance:none;min-height:46px;padding-inline-end:34px;background-image:var(--site-select-arrow);background-repeat:no-repeat;background-position:right 12px center;background-size:12px 8px}
html[dir=rtl] #iot-settings .tool-select{background-position:left 12px center}
#iot-settings .tool-actions>button{min-height:46px}
#iot-file-list summary{display:flex;align-items:center;gap:8px;min-height:46px;cursor:pointer;margin-bottom:0}
#iot-file-list summary::before{content:'+';flex:none;color:var(--site-muted)}
#iot-file-list details[open]>summary::before{content:'−'}

#iot-file-list .iot-region-editor .tool-help{margin:8px 0 12px;line-height:1.6}#iot-file-list .iot-region-editor>button{margin-top:12px}#iot-file-list .iot-region-stage{position:relative;max-width:800px;line-height:0;background:var(--site-surface-muted);margin-top:10px;width:fit-content;max-width:100%}#iot-file-list .iot-region-image{display:block;max-width:100%;height:auto;touch-action:none;cursor:crosshair;max-height:none}#iot-file-list .iot-region-box{position:absolute;pointer-events:none;border:2px solid #2563eb;background:rgba(37,99,235,.15);box-sizing:border-box}#iot-file-list .iot-region-box[hidden]{display:none}#iot-file-list .iot-region-editor{min-width:0}

#iot-file-list .iot-order-controls{display:flex;align-items:center;gap:8px}#iot-file-list .iot-region-coordinates{margin-top:16px}#iot-file-list .iot-region-editor>button{margin-inline-end:8px}#iot-file-list .iot-region-editor[open] .iot-region-image{min-width:1px}

#iot-file-list.file-sort-list:has(.iot-region-editor[open]),#iot-file-list.file-sort-list:has(>[data-sort-item]:only-child){max-height:none;overflow:visible;overscroll-behavior:auto}
