.svt-image-preview-trigger { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.svt-image-preview-trigger:focus-visible { outline: 3px solid var(--ai-accent, #6ee7d2); outline-offset: -3px; }
.svt-image-dialog { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
.svt-image-dialog::backdrop { background: rgba(0,0,0,.94); }
.svt-image-dialog-content { box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 72px 24px 24px; }
.svt-image-dialog figure { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 1440px; width: 100%; max-height: 100%; margin: 0; }
.svt-image-dialog img { display: block; flex: 1 1 auto; min-height: 0; max-width: 100%; width: auto; height: auto; max-height: calc(100dvh - 170px); object-fit: contain; border-radius: 8px; }
.svt-image-dialog figcaption { flex-shrink: 0; max-width: 100%; max-height: 64px; overflow: auto; font-size: 14px; line-height: 1.6; text-align: center; font-family: ui-sans-serif, system-ui, sans-serif; color: #cbd5e1; }
.svt-image-dialog-close { position: absolute; top: 16px; inset-inline-end: 16px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff66; border-radius: 50%; background: #111827; color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
.svt-image-dialog-close:hover { background: #374151; }
.svt-image-dialog-close:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 640px) { .svt-image-dialog-content { padding: 72px 12px 20px; } }
