.attachment-preview-layout{height:100%;min-height:0;display:flex;position:relative;overflow:hidden}.attachment-preview-layout .attachment-preview-scroll{background:var(--mui-palette-background-default);flex:1;min-width:0}.attachment-page-frame{flex-shrink:0;margin:auto;position:relative}.attachment-page-frame .attachment-preview-page{max-width:none;margin:0;position:absolute;top:50%;left:50%}.attachment-pages-drawer{background:var(--mui-palette-background-paper);border-right:1px solid var(--mui-palette-divider);flex-direction:column;flex-shrink:0;width:154px;min-height:0;display:flex}.attachment-pages-drawer header{justify-content:space-between;align-items:center;padding:4px 8px;font-size:.875rem;display:flex}.attachment-thumbnails{overscroll-behavior:contain;flex:1;min-height:0;padding:8px;overflow:auto}.attachment-thumbnails button{width:100%;color:inherit;font:inherit;cursor:pointer;background:0 0;border:2px solid #0000;border-radius:6px;flex-direction:column;align-items:center;gap:6px;margin-bottom:8px;padding:8px;font-size:.75rem;display:flex}.attachment-thumbnails button[aria-current=page]{border-color:var(--mui-palette-primary-main);background:var(--mui-palette-app-selected)}.attachment-thumbnails button:focus-visible{outline:2px solid var(--mui-palette-primary-main);outline-offset:-2px}.attachment-thumbnails img,.attachment-thumbnail-placeholder{object-fit:contain;background:#fff;width:104px;height:136px;box-shadow:0 1px 4px #0003}.attachment-thumbnail-placeholder{background:var(--mui-palette-divider)}.attachment-preview-tools{flex-wrap:wrap;gap:4px!important}.attachment-page-jump{width:54px}.attachment-page-jump input{text-align:center;padding:7px 4px}.attachment-page-total{white-space:nowrap;font-size:.875rem}.attachment-zoom-tools{flex-wrap:wrap;align-items:center;gap:2px;display:flex}.attachment-zoom-value{text-align:center;min-width:40px;font-size:.8rem}.attachment-zoom-tools button[aria-pressed=true]{background:var(--mui-palette-app-selected)}@media (max-width:600px){.attachment-pages-drawer{z-index:2;width:170px;position:absolute;inset:0 auto 0 0;box-shadow:5px 0 14px #0003}.attachment-preview-tool-gap{display:none}.attachment-zoom-tools{justify-content:space-between;width:100%}.attachment-preview-tools :is(.MuiIconButton-root,.aw-icon-button){padding:7px}}.attachment-preview-body .attachment-summary{z-index:3}.attachment-preview-layout .attachment-preview-scroll{padding:12px}.attachment-pages-drawer{visibility:hidden;border-right:0;width:0;transition:width .2s,visibility .2s;overflow:hidden}.attachment-pages-drawer.is-open{visibility:visible;border-right:1px solid var(--mui-palette-divider);width:154px}.attachment-pages-drawer>header,.attachment-pages-drawer>nav{min-width:153px}.attachment-switcher{flex:1;align-items:center;gap:4px;min-width:0;display:flex}.attachment-switcher :is(.MuiTextField-root,.aw-field){flex:1;min-width:0;max-width:460px}.attachment-switcher :is(.MuiSelect-select,.ant-select-content-value){align-items:center;gap:8px;display:flex}.attachment-switcher :is(.MuiSelect-select,.ant-select-content-value)>span{text-overflow:ellipsis;overflow:hidden}.attachment-switcher small{white-space:nowrap}@media (max-width:600px){.attachment-pages-drawer,.attachment-pages-drawer.is-open{width:170px;transition:transform .2s,visibility .2s;transform:translate(-100%)}.attachment-pages-drawer.is-open{transform:translate(0)}.attachment-preview-footer{flex-wrap:wrap}.attachment-switcher{flex-basis:100%}.attachment-pages-drawer>header,.attachment-pages-drawer>nav{min-width:169px}}@media (prefers-reduced-motion:reduce){.attachment-pages-drawer{transition:none!important}}.attachment-orientation-status{z-index:2;background:var(--mui-palette-background-paper);border-radius:6px;max-width:calc(100% - 24px);padding:5px 10px;font-size:.8rem;position:absolute;top:4px;right:12px;box-shadow:0 1px 5px #0002}
