.arx-image-viewer { position:fixed; inset:0; width:100vw; max-width:none; height:100dvh; max-height:none; margin:0; padding:0; border:0; color:#fff; background:#151515; z-index:100000; }
.arx-image-viewer::backdrop { background:rgba(0,0,0,.94); }
.arx-image-viewer[open] { display:block; }
.arx-image-viewer__shell { display:flex; flex-direction:column; height:100%; }
.arx-image-viewer header { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:12px 20px; border-bottom:1px solid #444; flex-shrink:0; }
.arx-image-viewer h2 { margin:0; color:#fff; font:600 1.1rem 'Source Sans 3',sans-serif; }
.arx-image-viewer button { min-width:44px; min-height:44px; padding:6px 13px; border:1px solid #777; border-radius:5px; background:#292929; color:#fff; font:600 1.15rem 'Source Sans 3',sans-serif; cursor:pointer; }
.arx-image-viewer button:hover { background:#414141; }
.arx-image-viewer button:focus-visible,.arx-image-viewer__stage:focus-visible { outline:3px solid #f5cb78; outline-offset:2px; }
.arx-image-viewer button:disabled { opacity:.38; cursor:default; }
.arx-image-viewer [hidden] { display:none !important; }
.arx-image-viewer__toolbar { display:flex; align-items:center; justify-content:center; gap:9px; padding:10px; flex-shrink:0; }
.arx-image-viewer__toolbar output { min-width:58px; text-align:center; font-variant-numeric:tabular-nums; }
.arx-image-viewer [data-image-action="fit"] { font-size:.95rem; }
.arx-image-viewer__stage { position:relative; flex:1 1 auto; min-height:100px; overflow:hidden; touch-action:none; cursor:grab; }
.arx-image-viewer__stage:active { cursor:grabbing; }
.arx-image-viewer__stage img { position:absolute; left:50%; top:50%; max-width:none; max-height:none; object-fit:contain; user-select:none; -webkit-user-drag:none; transform-origin:center; border-radius:0; }
.arx-image-viewer footer { flex-shrink:0; padding:10px 20px max(12px,env(safe-area-inset-bottom)); border-top:1px solid #444; font-size:.85rem; text-align:center; }
.arx-image-viewer footer p { margin:2px 0; color:#ddd; }
.arx-image-viewer__caption { font-weight:600; }
.arx-public-copy-note { display:block; flex-basis:100%; order:20; font-size:.78rem; line-height:1.5; color:var(--arx-text-muted,#666); }
.arx-public-export-status { flex-basis:100%; order:21; font-size:.85rem; line-height:1.45; }
.arx-public-export-status:empty { display:none; }
.arx-doc__media-actions { flex-wrap:wrap; }
img.arx-img-zoomable[role="button"] { cursor:zoom-in; }
@media(max-width:600px) { .arx-image-viewer header { padding:8px 12px; } .arx-image-viewer__toolbar { gap:5px; padding:7px 5px; } .arx-image-viewer button { padding:6px 10px; } .arx-image-viewer footer { padding:8px 12px max(10px,env(safe-area-inset-bottom)); font-size:.78rem; } }
