/* Proposed canonical QR modal. Opt-in, scoped, no global app/tool overrides. */
.dmr-qr{--ink:#212121;--cream:#fffcf0;--blue:#bde7fb;--green:#d1e8ca;color:var(--ink);background:var(--cream);border:2px solid var(--ink);border-radius:0;box-shadow:none;padding:0;width:min(920px,calc(100vw - 32px));max-width:none;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;overflow:auto;overscroll-behavior:contain;font:16px/1.45 Arial,sans-serif;box-sizing:border-box}
.dmr-qr *{box-sizing:border-box}.dmr-qr::backdrop{background:rgb(33 33 33 / .52)}.dmr-qr [hidden]{display:none!important}
.dmr-qr__header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px 12px;position:sticky;top:0;background:var(--cream);z-index:2}
.dmr-qr__brand{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.08;font-weight:700}.dmr-qr__brand img{width:44px;height:44px;object-fit:contain}.dmr-qr__brand span{display:block}
.dmr-qr__body{padding:10px 26px 26px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(250px,.9fr);gap:28px;align-items:center}
.dmr-qr h2{font-size:27px;line-height:1.18;margin:0 0 14px;font-weight:700;text-transform:none}.dmr-qr p{margin:0 0 18px}.dmr-qr__intro{max-width:40ch}.dmr-qr__resource{font-size:18px;margin:22px 0 10px;font-weight:700}.dmr-qr__settings{margin:0 0 20px;display:grid;gap:5px;font-size:15px}.dmr-qr__settings div{display:flex;gap:16px;justify-content:space-between}.dmr-qr dt{font-weight:400}.dmr-qr dd{margin:0;text-align:right;max-width:65%;overflow-wrap:anywhere}.dmr-qr__scope{font-size:13px;max-width:44ch}.dmr-qr__actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.dmr-qr__button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:9px 13px;border:2px solid var(--ink);border-radius:0;background:var(--blue);color:var(--ink);font:400 14px/1.3 Arial,sans-serif;text-decoration:none;cursor:pointer;text-transform:none;white-space:normal}
.dmr-qr__button img{width:20px;height:20px;flex:none}.dmr-qr__button:hover{background:#a6d9f3}.dmr-qr__button:hover span{text-decoration:underline}.dmr-qr__button:focus-visible,.dmr-qr a:focus-visible{outline:3px solid var(--ink);outline-offset:3px}.dmr-qr__button:disabled{cursor:wait;opacity:.65}.dmr-qr__button--primary{background:var(--green)}.dmr-qr__button--primary:hover{background:#bdddb5}.dmr-qr__close{width:44px;padding:10px;flex:none}.dmr-qr__close img{width:22px;height:22px}
.dmr-qr__code-area{min-width:0;text-align:center}.dmr-qr__code{background:#fff;width:100%;max-width:276px;aspect-ratio:1;margin:0 auto 10px;display:grid;place-items:center}.dmr-qr__code svg{width:100%;height:100%;display:block;max-width:100%;aspect-ratio:1;shape-rendering:crispEdges}.dmr-qr__code-area>p{font-size:13px;margin-bottom:18px}.dmr-qr__code-area .dmr-qr__actions{justify-content:center;gap:8px}.dmr-qr__code-area .dmr-qr__button{font-size:13px;padding:9px 10px}.dmr-qr__status{font-size:13px;min-height:1.45em;margin:12px 0 0!important}.dmr-qr__guest-visual{display:grid;place-items:center;gap:18px;padding:22px;background:#d1e8ca;min-height:240px}.dmr-qr__guest-visual img{width:90px;height:90px}.dmr-qr__guest-visual p{max-width:20ch;margin:0;text-align:center}.dmr-qr__notice{margin-top:16px!important;font-size:13px}.dmr-qr__pending{padding:30px 26px 40px}.dmr-qr__pending h2{font-size:25px}.dmr-qr__pending p{max-width:55ch}.dmr-qr__pending img{width:38px;height:38px;margin-bottom:14px}
.dmr-qr[data-expanded="true"]{width:min(1080px,calc(100vw - 32px))}.dmr-qr__large{padding:6px 26px 20px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.dmr-qr__large h2{font-size:22px;margin:0}.dmr-qr__large>p{font-size:14px;margin:0}.dmr-qr__large .dmr-qr__code{width:min(100%,calc(100vh - 260px),700px);width:min(100%,calc(100dvh - 260px),700px);min-width:120px;max-width:100%;margin:0;flex:none}.dmr-qr__large .dmr-qr__status{margin:0!important}.dmr-qr__large .dmr-qr__actions{justify-content:center}
@media(max-width:650px){.dmr-qr{width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}.dmr-qr__header{padding:14px 16px 10px}.dmr-qr__brand{font-size:12px}.dmr-qr__brand img{width:38px;height:38px}.dmr-qr__body{grid-template-columns:1fr;gap:22px;padding:8px 18px 20px}.dmr-qr h2{font-size:24px;margin-bottom:10px}.dmr-qr__intro{font-size:15px}.dmr-qr__resource{margin-top:15px}.dmr-qr__settings{font-size:14px;margin-bottom:14px}.dmr-qr__code{max-width:240px}.dmr-qr__guest-visual{min-height:160px;padding:16px;grid-template-columns:72px 1fr}.dmr-qr__guest-visual img{width:64px;height:64px}.dmr-qr__guest-visual p{text-align:left}.dmr-qr__large{padding:8px 16px 16px}.dmr-qr__large h2{font-size:20px}.dmr-qr__large .dmr-qr__code{width:min(100%,calc(100dvh - 260px));min-width:120px}.dmr-qr__large .dmr-qr__button{font-size:13px;padding:9px 10px}.dmr-qr__body[data-state="ready"]{gap:18px}.dmr-qr__body[data-state="ready"] .dmr-qr__scope{margin-bottom:12px}}
@media(max-height:450px) and (min-width:651px){.dmr-qr__header{padding:10px 20px 4px}.dmr-qr__brand img{width:32px;height:32px}.dmr-qr__brand{font-size:10px}.dmr-qr__body{padding:4px 20px 18px;gap:24px}.dmr-qr h2{font-size:22px;margin-bottom:8px}.dmr-qr p{margin-bottom:10px}.dmr-qr__resource{margin-top:10px;font-size:16px}.dmr-qr__settings{font-size:13px;margin-bottom:12px}.dmr-qr__code{max-width:160px}.dmr-qr__code-area>p{margin-bottom:8px}.dmr-qr__large{padding:4px 20px 12px;gap:6px}.dmr-qr__large .dmr-qr__code{width:calc(100dvh - 198px);min-width:100px}.dmr-qr__large h2{font-size:18px}.dmr-qr__large>p{font-size:12px}.dmr-qr__large .dmr-qr__status{display:none}}
@media(prefers-reduced-motion:reduce){.dmr-qr *{scroll-behavior:auto}}
/* Isolation from legacy page-wide button/link typography. Deliberately scoped. */
dialog.dmr-qr .dmr-qr__button,
dialog.dmr-qr .dmr-qr__button > span{font-family:Arial,sans-serif!important;font-weight:400!important;font-style:normal!important;text-transform:none!important;letter-spacing:normal!important;text-decoration:none!important}
dialog.dmr-qr .dmr-qr__button{font-size:14px!important;line-height:1.3!important;color:var(--ink)!important;background:var(--blue)!important;border:2px solid var(--ink)!important;border-radius:0!important;box-shadow:none!important}
dialog.dmr-qr .dmr-qr__button--primary{background:var(--green)!important}
dialog.dmr-qr .dmr-qr__button:hover{background:#a6d9f3!important}
dialog.dmr-qr .dmr-qr__button--primary:hover{background:#bdddb5!important}
dialog.dmr-qr .dmr-qr__button:hover > span{text-decoration:underline!important}
dialog.dmr-qr .dmr-qr__button > img{display:block!important;width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;object-fit:contain!important;flex:none!important;transform:none!important;filter:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
dialog.dmr-qr .dmr-qr__close > img{width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important}
dialog.dmr-qr .dmr-qr__code-area .dmr-qr__button{font-size:13px!important}
@media(max-width:650px){dialog.dmr-qr .dmr-qr__large .dmr-qr__button{font-size:13px!important}}

dialog.dmr-qr .dmr-qr__button > span{font-size:inherit!important;line-height:inherit!important}
