.wecom-device-dialog { width:900px; max-width:calc(100vw - 40px); max-height:85vh; padding:0; border:1px solid #d1d5db; border-radius:6px; color:#374151; background:white; }
.wecom-device-dialog::backdrop { background:#0006; }
.wecom-device-dialog header { display:flex; align-items:center; justify-content:space-between; padding:14px 20px; border-bottom:1px solid #e5e7eb; }
.wecom-device-dialog h3 { font-size:18px; margin:0; }
.wecom-device-dialog h4 { font-size:14px; margin:10px 0; }
.wecom-device-dialog header button { font-size:24px; background:none; border:0; cursor:pointer; }
.wecom-device-dialog main { padding:0 20px 20px; }
.wecom-device-dialog section { padding:18px 0; border-bottom:1px solid #e5e7eb; }
.wecom-device-dialog .wd-fields { display:grid; grid-template-columns:150px minmax(0,1fr); gap:20px; }
.wecom-device-dialog .wd-fields label { display:flex; flex-direction:column; gap:8px; }
.wecom-device-dialog input:not([type=checkbox]),.wecom-device-dialog select,.wecom-device-dialog textarea { font:inherit; padding:9px; border:1px solid #d1d5db; border-radius:4px; min-width:0; }
.wecom-device-dialog textarea { width:100%; box-sizing:border-box; resize:vertical; }
.wecom-device-dialog .wd-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:12px; }
.wecom-device-dialog .wd-muted { color:#6b7280; }
.wecom-device-dialog .wd-readiness { padding:10px 12px; border-left:3px solid #9ca3af; background:#f9fafb; }
.wecom-device-dialog .wd-readiness.is-ready { border-left-color:#16a34a; }
.wecom-device-dialog .wd-readiness.is-blocked { border-left-color:#dc2626; color:#991b1b; }
.wecom-device-dialog p { white-space:pre-wrap; overflow-wrap:anywhere; font-size:14px; }
.wecom-device-dialog .wd-chunk { border-bottom:1px solid #e5e7eb; padding:12px 0; }
.wecom-device-dialog details { margin:10px 0; }
