.sheet.profile-qr-dialog{width:300px;max-width:calc(100% - 48px);padding:0;max-height:calc(100dvh - 32px);overflow:auto;background:transparent;border-radius:0;box-shadow:none}
.profile-qr-dialog::backdrop{background:rgba(0,0,0,.6);backdrop-filter:none}
.profile-qr-modes{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#fff;border-radius:14px}
.profile-qr-modes button{min-width:0;min-height:42px;padding:8px 6px;background:transparent;border:0;border-radius:10px;color:#73737d;font:600 13px/1.4 Noto,sans-serif}
.profile-qr-modes button[aria-pressed="true"]{background:#fff2df;color:#ae5314}
.profile-qr-description{margin:12px 4px 14px;color:rgba(255,255,255,.9);font-size:12px;line-height:1.7;text-align:center;word-break:keep-all;overflow-wrap:anywhere}
.profile-qr-preview{width:300px;max-width:100%;margin:auto;text-align:center;min-height:200px;background:#fff;border-radius:28px;overflow:hidden}
.profile-qr-preview img{display:block;width:100%;height:auto}
.profile-qr-preview p{padding:64px 16px;font-size:13px;color:var(--muted)}
.profile-link-actions{margin-top:16px;padding:16px;border-radius:20px;background:white}
.profile-link-actions label{display:block;margin:0 0 8px;color:#55555f;font-size:12px;font-weight:500}
.profile-link-field{display:flex;align-items:center;gap:6px;border:1px solid #e8e8ee;border-radius:10px;background:#f7f7f9;padding:0 4px 0 10px}
.profile-link-field input{flex:1;min-width:0;width:0;height:42px;padding:0;border:0;border-radius:0;background:transparent;color:#65656f;font-size:12px;text-overflow:ellipsis}
.profile-link-field [data-qr="copy"]{flex:none;min-height:36px;padding:6px 10px;border:0;border-radius:8px;background:white;color:#33333b;font-size:12px;font-weight:700}
.profile-link-actions [data-qr="link"]{width:100%;min-height:46px;margin-top:12px;border:0;border-radius:24px;background:var(--amber);color:white;font-size:15px;font-weight:700}
.profile-qr-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.profile-qr-actions>button{width:100%;min-height:44px;padding:10px 4px;border:0;border-radius:24px;background:white;color:#55555f;font-size:12px;font-weight:500}
.profile-qr-close{display:block;width:100%;min-height:44px;padding:8px 20px;margin-top:4px;border:0;background:transparent;color:rgba(255,255,255,.85);font-size:14px;font-weight:500}
.profile-qr-dialog button:focus-visible,.profile-link-field input:focus-visible{outline:2px solid #ff9f32;outline-offset:3px}
.profile-qr-feedback{margin:0;font-size:13px;text-align:center;color:#fff}
.profile-qr-feedback:not(:empty){margin-top:12px;padding:11px 18px;border-radius:22px;background:rgba(20,20,20,.92)}
.sheet.profile-qr-dialog[data-mode="letter"]{width:560px}
.profile-qr-dialog[data-mode="letter"] .profile-qr-preview{width:100%;min-height:160px;border-radius:16px}
.profile-qr-print{margin-top:16px;padding:16px;background:#fff;border-radius:20px}
.profile-qr-print>span{color:#55555f;font-size:12px;font-weight:600}
.profile-qr-print .profile-qr-actions{margin-top:10px}
.profile-qr-print button{border:1px solid #e8e8ee;border-radius:12px}
.profile-qr-print p{margin:12px 0 0;color:#85858e;font-size:11px;line-height:1.7;word-break:keep-all}
.profile-qr-dialog button:disabled{opacity:.5;cursor:default}
@media(max-height:780px){.profile-qr-preview{width:230px;min-height:160px}.profile-link-actions{margin-top:12px;padding:12px}}
