.inventory-device-owner { display:flex; flex-direction:column; gap:7px; align-items:stretch; max-width:100%; }
.inventory-device-owner > span { display:flex; gap:6px; align-items:baseline; font-size:13px; line-height:1.4; color:#587583; overflow-wrap:anywhere; }
.inventory-device-owner > span:empty { display:none; }
.inventory-device-owner > span::before { content:'○'; flex:none; font-weight:700; }
.inventory-device-owner > span[data-state="connected"] { color:#00826a; }
.inventory-device-owner > span[data-state="connected"]::before { content:'✓'; }
.inventory-device-owner > span[data-state="invited"] { color:#956000; }
.inventory-device-owner > span[data-state="invited"]::before { content:'◷'; }
.inventory-device-owner > span[data-state="error"] { color:#b4233e; }
.inventory-device-owner > span[data-state="error"]::before { content:'!'; }
#ux-inventory .inventory-document-actions { align-items:flex-start; }
#ux-inventory .inventory-document-actions > .inventory-device-owner { flex-direction:row; flex-wrap:wrap; align-items:center; gap:8px 12px; }
.inventory-device-dialog { width:min(460px,calc(100% - 32px)); box-sizing:border-box; border:1px solid #dce6ed; border-radius:14px; padding:24px; color:#183648; }
.inventory-device-dialog::backdrop { background:#17344a77; }
.inventory-device-dialog h2 { font-size:20px; margin:0 0 16px; }
.inventory-device-dialog p { line-height:1.5; }
.inventory-device-dialog canvas { display:block; width:100%; max-width:280px; height:auto; margin:16px auto; }
.inventory-device-dialog label { display:block; font-size:14px; }
.inventory-device-dialog textarea { width:100%; box-sizing:border-box; font:13px monospace; min-height:84px; margin:8px 0 16px; border:1px solid #cadce7; border-radius:8px; padding:10px; overflow-wrap:anywhere; }
.inventory-device-dialog button { margin:4px 8px 4px 0; white-space:normal; }
#ux-inventory .inventory-workspace-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:12px; align-items:flex-start; }
@media(max-width:600px) { #ux-inventory .inventory-workspace-actions { flex-direction:column; align-items:stretch; width:100%; } .inventory-device-dialog { padding:16px; } }
.inventory-device-manager { width:min(700px,calc(100% - 32px)); max-height:calc(100dvh - 32px); overflow-y:auto; }
.inventory-device-manager > p { color:#587583; font-size:14px; }
.inventory-device-slots { display:flex; gap:5px; margin:16px 0 8px; }
.inventory-device-slots > span { flex:1; height:6px; border-radius:4px; background:#edf2f5; }
.inventory-device-slots > span[data-state="connected"] { background:#009c83; }
.inventory-device-slots > span[data-state="invited"] { background:#d4a844; }
.inventory-device-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 0; border-top:1px solid #e4edf2; }
.inventory-device-row > div { min-width:0; }
.inventory-device-state { display:block; margin-top:6px; color:#587583; font-size:13px; }
.inventory-device-state::before { content:'◷'; margin-right:6px; color:#956000; }
.inventory-device-state[data-state="connected"]::before { content:'✓'; color:#00826a; }
.inventory-device-row-actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.inventory-device-dialog .inventory-device-row-actions button { margin:0; }
.inventory-device-dialog .inventory-device-add { width:100%; margin:12px 0 0; }
.inventory-device-dialog button:focus-visible { outline:2px solid #48aedd; outline-offset:3px; }
@media(max-width:420px) { .inventory-device-row { align-items:flex-start; flex-direction:column; } .inventory-device-row-actions { justify-content:flex-start; } .inventory-device-owner > button { overflow-wrap:anywhere; white-space:normal; } }
