.question-map-viewer-tools { display:flex; justify-content:flex-end; margin:.5rem 0; }
.question-map-viewer-tools button { padding:.45rem .75rem; border:1px solid #64748b; border-radius:.4rem; background:#fff; color:#134e9c; cursor:pointer; font:inherit; }
html.question-map-viewer-open { overflow:hidden; }
dialog.question-map-viewer { position:fixed; inset:0; width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; padding:0; border:0; background:#fff; color:#0f172a; }
dialog.question-map-viewer[open] { display:flex; flex-direction:column; }
.question-map-viewer::backdrop { background:rgb(15 23 42 / 70%); }
.question-map-viewer-surface { display:flex; flex-direction:column; width:100%; height:100%; background:#fff; }
.question-map-viewer-surface > header { display:flex; flex:0 0 auto; justify-content:space-between; align-items:center; gap:1rem; padding:.75rem 1rem; font:16px/1.4 system-ui,sans-serif; background:#fff; }
.question-map-viewer-surface > header button { padding:.5rem .8rem; border:1px solid #64748b; border-radius:.4rem; cursor:pointer; background:#fff; color:#0f172a; font:inherit; }
.question-map-viewer-surface > iframe { flex:1 1 0; min-height:0; width:100%; height:100%; border:0; }
.question-map-viewer-surface:fullscreen { width:100vw; height:100vh; }
@media print { .question-map-viewer-tools, dialog.question-map-viewer { display:none !important; } }
