/* Passkey optional button only when backend reports availability. */
.mh-pk-button{display:block;width:100%;min-height:41px;margin:7px auto;padding:9px 14px;
 border:1px solid #ae263d;border-radius:10px;color:#91172a;background:white;
 font-weight:800;font-size:13px;cursor:pointer;text-align:center}
.mh-pk-button:hover,.mh-pk-button:focus-visible{background:#fff1f4;outline:2px solid #b64d60;outline-offset:1px}
.mh-pk-button[disabled]{opacity:.55;pointer-events:none}
.mh-pk-enroll{max-width:290px;position:fixed;bottom:70px;left:10px;z-index:90;background:#fff;box-shadow:0 6px 18px #0002;}
.mh-pk-enroll[hidden]{display:none!important}
dialog.mh-pk-confirm{border:1px solid #d7bbc1;border-radius:15px;background:#fff;color:#333;max-width:390px;width:calc(100vw - 36px);padding:25px}
dialog.mh-pk-confirm::backdrop{background:rgba(0,0,0,.6)}
dialog.mh-pk-confirm input{display:block;margin:10px auto;min-height:40px;width:100%;max-width:100%;box-sizing:border-box}
.mh-pk-actions{display:flex;gap:8px;justify-content:flex-end}
.mh-pk-actions button{background:#91172a;border:none;border-radius:8px;color:#fff;padding:9px 15px;cursor:pointer}
@media(max-width:560px){.mh-pk-enroll{bottom:48px;max-width:220px;font-size:12px;}}

.mh-pk-manager{max-height:80dvh;overflow:auto;}
.mh-pk-manager h2{font-size:18px;text-align:center;color:#89192b;}
.mh-pk-list-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e9d9df;padding:9px 2px;font-size:13px;}
.mh-pk-list-row span{overflow-wrap:anywhere;}
.mh-pk-remove{color:#aa2238;border:1px solid #dcb1bd;background:#fff;border-radius:8px;padding:8px;cursor:pointer;}
.mh-pk-add,.mh-pk-close{background:#91172a;border:0;color:white;border-radius:9px;padding:9px 12px;cursor:pointer;}
.mh-pk-enroll{position:fixed;bottom:65px;right:10px;left:auto;max-width:220px;padding:7px 10px;z-index:91;}
