/* HF12 — searchable assignee field in Gestão; theme-aware (dark/light). */
.device-user-card { min-width: 0; }
.device-user-card .detail-card-head { margin-bottom: .85rem; }
.device-user-card .device-user-current-extra { display:block; margin-top:.3rem; color:var(--muted); overflow-wrap:anywhere; }
.device-user-edit { display:grid; gap:.5rem; max-width:38rem; }
.device-user-edit>label { font-weight:650; font-size:12px; }
.device-user-controls { display:flex; align-items:start; gap:.65rem; min-width:0; }
.device-user-search-wrap { position:relative; flex:1 1 auto; min-width:0; }
.device-user-search-wrap input { width:100%; margin:0; min-width:0; background:var(--surface); color:var(--ink); border-color:var(--line); }
.device-user-search-wrap input:focus { outline:2px solid color-mix(in srgb,var(--accent) 55%,transparent); outline-offset:1px; }
.device-user-controls>button { flex:0 0 auto; margin:0; }
.device-user-help { line-height:1.55; overflow-wrap:anywhere; }
.device-user-results { position:absolute; z-index:25; top:calc(100% + 5px); left:0; right:0; max-height:min(310px,45vh); overflow-y:auto; background:var(--surface); color:var(--ink); border:1px solid var(--line); border-radius:10px; box-shadow:0 12px 32px #0003; padding:4px; }
.device-user-results[hidden] { display:none!important; }
.device-user-option { display:grid; gap:2px; padding:9px 11px; border-radius:7px; cursor:pointer; font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
.device-user-option strong { font-size:12px; font-weight:700; }
.device-user-option small { color:var(--muted); font-size:11px; }
.device-user-option:hover,.device-user-option.focused { background:color-mix(in srgb,var(--accent) 14%,var(--surface)); }
.device-user-option[aria-selected="true"] { box-shadow:inset 3px 0 0 var(--accent); }
.device-user-empty { padding:9px 11px; color:var(--muted); font-size:12px; }
@media(max-width:520px) { .device-user-controls{flex-direction:column} .device-user-search-wrap,.device-user-controls>button{width:100%} }
