.document-preview-controls{display:flex;align-items:center;gap:8px;padding:9px 12px;flex-wrap:wrap;border-bottom:1px solid var(--line)}
.document-preview-controls select{min-width:0;max-width:100%;flex:1 1 180px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--ink);padding:6px 8px;font:inherit;font-size:13px}
.document-preview-status{flex:1 1 100%;font-size:12px;line-height:1.5;color:var(--ink-3);overflow-wrap:anywhere}
.document-preview-host{display:flex;flex:1;min-height:0;background:white}.document-preview-frame{border:0;width:100%;min-height:0;flex:1}
.plugin-webview.document-mode>.plugin-webview-body>.plugin-webview-page,.plugin-webview.document-mode>.plugin-webview-body>.plugin-webview-notice{display:none}
.plugin-webview>header .icon-button{flex-shrink:0}.plugin-webview.document-mode>header strong{font-size:13px}
.chat-file-wrap{display:inline-flex;position:relative;max-width:100%;width:380px;vertical-align:middle;margin:6px 0}
.message-body .chat-file-wrap a.chat-file-card{width:100%;margin:0;padding-right:54px;grid-template-columns:32px minmax(0,1fr)}
.chat-file-wrap>.chat-file-download{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:32px;height:32px;display:grid;place-items:center;border:1px solid transparent;border-radius:5px;color:var(--ink-3);background:transparent;cursor:pointer}
.chat-file-wrap>.chat-file-download:hover{background:var(--surface-2);color:var(--ink)}.chat-file-download svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}.chat-file-download:disabled{opacity:.3;cursor:default}
