html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.key-x-passkey {
    box-sizing: border-box;
    width: min(32rem, calc(100% - 2rem));
    padding: 2rem;
    border: 1px solid #ddd3dc;
    border-radius: 1rem;
    background: #fff;
    color: #29202a;
    font: 1rem/1.5 system-ui, sans-serif;
}

.key-x-passkey::backdrop { background: #f6f0f5; }
.key-x-passkey h1 { margin: 0 0 1.25rem; font-size: 1.35rem; }
.key-x-passkey p:empty { display: none; }
.key-x-passkey button {
    border: 0;
    border-radius: 0.5rem;
    padding: 0.65rem 1rem;
    background: #64285a;
    color: #fff;
    font: inherit;
    cursor: pointer;
}
.key-x-passkey button:disabled { opacity: 0.65; cursor: wait; }

.key-stock-device { max-height: calc(100% - 2rem); overflow: auto; }
.key-stock-device button { max-width: 100%; }
.key-stock-device a { display: block; width: fit-content; margin-top: 1rem; color: #64285a; }
.key-stock-device dt { font-weight: 600; }
.key-stock-device dd { margin: 0 0 0.75rem; overflow-wrap: anywhere; }
