.shared-image-gallery[data-slot=dialog-content]{box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;padding:calc(env(safe-area-inset-top) + 64px) 8px env(safe-area-inset-bottom);color:#fff;z-index:160;background:#101820;border:0;border-radius:0;flex-direction:column;gap:0;animation:none;display:flex;position:fixed;inset:0;overflow:auto;transform:translate(0,0)}.shared-image-gallery button:not(.po-button){min-width:44px;height:auto;min-height:44px;color:inherit;touch-action:manipulation}.shared-image-gallery button:not(.po-button):focus-visible{outline-offset:2px;outline:3px solid #93c5fd}.shared-image-gallery button:not(.po-button):hover{color:#fff;background:#334155}.shared-image-gallery .gallery-close{right:8px;top:calc(env(safe-area-inset-top) + 8px);position:absolute}.gallery-tools{left:8px;top:calc(env(safe-area-inset-top) + 8px);gap:4px;display:flex;position:absolute}.gallery-stage{touch-action:none;flex:1;min-height:0;position:relative;overflow:hidden}.gallery-stage img{object-fit:contain;-webkit-user-select:none;user-select:none;width:100%;max-width:none;height:100%}.gallery-message{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex;position:absolute;inset:0}.gallery-message button:not(.po-button){pointer-events:auto;color:#101820}.shared-image-gallery footer{flex:none;justify-content:center;align-items:center;gap:16px;padding:8px;display:flex}.shared-image-gallery output{text-align:center;font-variant-numeric:tabular-nums;min-width:54px}.gallery-accessory{font-variant-numeric:tabular-nums;flex:none;justify-content:center;align-items:center;gap:16px;padding:8px;font-size:16px;display:flex}.gallery-accessory button:not(.po-button){color:#fff;background:#b42318;font-weight:700}.gallery-tools{flex-wrap:wrap;flex:none;gap:4px;padding:4px 0;display:flex;position:relative;top:auto;left:auto}.gallery-tools button:not(.po-button){min-width:44px;min-height:44px}.chat-image-viewer .gallery-stage{flex:1;height:calc(100dvh - 160px);min-height:120px}.gallery-stage{width:100%}.gallery-stage .ai-issue-overlay{width:100%;height:100%;position:absolute;inset:0}.shared-image-gallery[data-slot=dialog-content]{z-index:1150;min-width:0;transition:none}
