.mv-device-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;flex:0 0 auto}
.mv-devices-dialog{position:fixed;inset:0;box-sizing:border-box;margin:auto;padding:0;width:min(448px,calc(100vw - 32px));max-width:100%;max-height:calc(100vh - 30px);max-height:calc(100dvh - 30px);border:1px solid var(--mv-border,#d9e1ed);border-radius:12px;background:white;color:var(--ink,#212635);box-shadow:0 16px 56px #142a5038;overflow:auto;overscroll-behavior:contain}
.mv-devices-dialog::backdrop{background:#10224775}
.mv-devices-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px 13px;border-bottom:1px solid var(--mv-border)}
.mv-devices-dialog h2{font-size:20px;font-weight:600;line-height:1.2;letter-spacing:-.035em;color:var(--mv-dark)}
.mv-devices-close{display:grid;place-items:center;flex:none;width:34px;height:34px;background:transparent;border:0;border-radius:5px;color:var(--mv-dark);cursor:pointer}
.mv-devices-close span{font:24px/1 system-ui,sans-serif}
.mv-devices-close:hover{background:#edf2ff}
.mv-devices-body{padding:0 20px}
.mv-devices-body section{padding:18px 0;min-width:0}
.mv-devices-body section+section{border-top:1px solid var(--mv-border)}
.mv-devices-body section.mv-device-invite{border:0}
.mv-devices-body h3{margin:0 0 5px;color:var(--mv-dark);font-size:15px;font-weight:600;line-height:1.4;letter-spacing:-.02em}
.mv-devices-body p{color:var(--mv-muted);font-size:13px;line-height:1.55}
.mv-device-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:12px}
.mv-device-buttons .mv-btn{margin:0;min-height:38px}
.mv-device-buttons .mv-device-primary{color:white;background:var(--blue);border-color:var(--blue)}
.mv-device-buttons .mv-device-primary:hover:not(:disabled){background:var(--navy);border-color:var(--navy)}
.mv-devices-body label,.mv-device-code-box small{display:block;color:var(--mv-muted);font-size:12px;line-height:1.45}
.mv-devices-body label{margin-top:12px}
.mv-devices-body input{display:block;box-sizing:border-box;width:100%;padding:8px 10px;margin:4px 0 0;border:1px solid #afbed9;border-radius:5px;color:var(--ink);font:16px/1.35 ui-monospace,monospace}
.mv-devices-body input[data-device=input]{max-width:240px;text-transform:uppercase;letter-spacing:.075em}
.mv-devices-body input[aria-invalid=true]{border-color:#a54136}
.mv-device-code-box{margin-top:12px;padding:10px 12px;background:#edf2ff;border:1px solid #cfdbf3;border-radius:6px}
.mv-device-code-box output{display:block;margin-bottom:3px;color:var(--mv-dark);font:600 21px/1.35 ui-monospace,monospace;letter-spacing:.075em}
.mv-devices-body p.mv-device-status{margin-top:8px;font-size:12px;color:var(--mv-dark)}
.mv-devices-body .mv-device-status:empty{display:none}
.mv p.mv-device-result{padding:8px 11px;margin:0 0 8px;border-radius:5px;background:#edf2ff;color:var(--mv-dark);font-size:12px;line-height:1.4}
@media(max-width:700px){
  .mv-device-actions{justify-content:flex-start;max-width:100%}
  .mv-devices-head{padding:12px 14px}
  .mv-devices-body{padding:0 14px}
  .mv-devices-body section{padding:14px 0}
}
@media(max-width:500px){
  .mv.mv-fullscreen .mv-device-actions{flex-wrap:nowrap;gap:4px}
  .mv.mv-fullscreen .mv-device-actions button{width:36px;height:36px;min-width:36px;min-height:36px;padding:5px}
  .mv.mv-fullscreen .mv-device-actions button span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
