/* Site-scoped presentation; original image links remain usable without script. */
.vf-capture-dialog { box-sizing:border-box; width:min(92rem,calc(100% - 2rem)); height:calc(100dvh - 2rem); max-width:none; max-height:none; padding:0; border:1px solid var(--vf-control); background:var(--vf-canvas); color:var(--vf-text); overflow:hidden; }
.vf-capture-dialog[open] { display:flex; flex-direction:column; }
.vf-capture-dialog::backdrop { background:rgb(8 18 36 / .85); }
.vf-capture-dialog__bar,.vf-capture-dialog__footer { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.75rem 1.25rem; flex:none; }
.vf-capture-dialog__bar { border-bottom:1px solid var(--vf-line); }
.vf-capture-dialog__footer { border-top:1px solid var(--vf-line); }
.vf-capture-dialog__bar p,.vf-capture-dialog__footer p { margin:0; }
.vf-capture-dialog__footer p { max-width:65ch; font-size:.875rem; text-align:center; }
.vf-capture-dialog button { min-height:44px; min-width:44px; flex-shrink:0; padding:.5rem; border:0; background:transparent; color:var(--vf-link); font:inherit; cursor:pointer; }
.vf-capture-dialog button[hidden] { display:none; }
.vf-capture-dialog :focus-visible { outline:3px solid var(--vf-link); outline-offset:-3px; }
.vf-capture-dialog__stage { display:flex; justify-content:center; align-items:center; min-height:0; min-width:0; flex:1; padding:1rem; overflow:auto; touch-action:pan-y pinch-zoom; }
.vf-capture-dialog__stage img { display:block; width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; }
@media(max-width:40rem) { .vf-capture-dialog { width:calc(100% - 1rem); height:calc(100dvh - 1rem); }.vf-capture-dialog__bar,.vf-capture-dialog__footer{padding:.5rem;gap:.25rem}.vf-capture-dialog__footer{flex-wrap:wrap}.vf-capture-dialog__footer p{order:3;flex-basis:100%;padding:.25rem}.vf-capture-dialog__stage{padding:.5rem}.vf-capture-dialog button{font-size:.9375rem} }
@media(forced-colors:active) { .vf-capture-dialog,.vf-capture-dialog button { border:1px solid CanvasText; } }
