.feature-access-dialog{width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #ded5f2;border-radius:24px;box-shadow:0 24px 90px #22164135;color:#252038;overflow:auto;animation:feature-enter 220ms ease-out}
.feature-access-dialog.is-verifying{width:min(600px,calc(100vw - 32px))}
.feature-access-dialog [hidden]{display:none}
.feature-intro-actions{display:flex;gap:10px;margin-top:24px}.feature-intro-actions button{flex:1;min-height:46px}
#feature-intro .muted{font-size:14px}
.feature-access-dialog::backdrop{background:#17102470}
.feature-access-heading{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:14px;padding:24px 26px;border-bottom:1px solid #ece6f5;background:#faf8ff}
.feature-access-heading h2{font-size:19px;margin:0}.feature-access-heading .eyebrow{margin:0 0 6px}.feature-close{margin-left:auto;width:44px;height:44px;padding:10px;flex-shrink:0}.feature-close svg{width:20px;height:20px}
.feature-access-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#eee7fc;color:#6740ce;flex-shrink:0}.feature-access-icon svg{width:25px;height:25px}
.feature-access-body{padding:6px 26px 26px}.feature-access-body p{line-height:1.7}.feature-access-body .full{width:100%;margin:6px 0;min-height:46px}.feature-access-scope{padding:16px 18px;background:#f5f1fc;border-radius:14px;border:1px solid #e4daf7}.feature-access-scope p{margin:6px 0}.feature-access-scope small,.feature-access-body .muted{color:#6e627e}
.feature-purpose{font-size:13px;color:#4f435f}.feature-address{display:block;overflow-wrap:anywhere;margin:6px 0 16px;font-size:12px;line-height:1.8;color:#433653}.feature-message{border:1px solid #e4dcef;border-radius:12px;padding:12px 14px}.feature-message summary{cursor:pointer;font-weight:600}.feature-message pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:12px;margin-bottom:0}.feature-consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;margin:14px 0 6px}.feature-consent input{width:18px;height:18px;margin:1px 0;accent-color:#7042dd;flex-shrink:0}
#feature-qr-panel{text-align:center;padding:10px 0}#feature-qr{display:block;margin:auto;max-width:100%;height:auto}#feature-cancel-connect{display:block;margin:12px auto}#feature-error{color:#a3314e;font-size:13px}#feature-status{font-size:13px;color:#55416f}

.feature-access-dialog :focus-visible{outline:3px solid #9774e2;outline-offset:3px}
@keyframes feature-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:640px){.feature-access-dialog,.feature-access-dialog.is-verifying{width:calc(100vw - 20px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:20px}.feature-access-heading{padding:18px 16px;gap:10px}.feature-access-heading h2{font-size:17px}.feature-access-heading .feature-access-icon{width:38px;height:38px}.feature-access-body{padding:4px 18px 22px}}
@media(prefers-reduced-motion:reduce){.feature-access-dialog{animation:none}}
