/* New entrypoints/modal and only the rows that contain an editor entry. */
.upload-document .asset-item.bcr-has-online-editor{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.upload-document .bcr-has-online-editor>.asset-info{flex:1 1 260px;min-width:0;max-width:100%}
.upload-document .bcr-has-online-editor>.asset-actions{flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-left:auto;max-width:100%}
.upload-document .bcr-has-online-editor>.asset-actions .asset-state{margin-right:auto}
.upload-document .bcr-has-online-editor>.asset-actions .upload-button{margin-left:0}
.upload-document .bcr-has-online-editor>.asset-info .asset-name{min-width:0;flex:1}
.upload-document .bcr-has-online-editor>.asset-info .asset-meta-pixels{white-space:normal}
.upload-document .bcr-has-online-editor>:is(.slimcase-mode-switch,.slimcase-split-interface){flex-basis:100%;min-width:0}
/* Inherit the original file action's typography, spacing, hover and icon geometry. */
.upload-document .bcr-online-editor-entry::before{background-image:url('/integration/edit.svg')}
.bcr-online-editor-entry:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.upload-document dialog.bcr-editor-overlay{inset:0;width:calc(100% - 32px);max-width:none;height:calc(100dvh - 32px);max-height:none;padding:0;border:1px solid var(--ui-line,#75966d);border-radius:0;background:var(--ui-glass,rgba(250,255,242,.22));backdrop-filter:blur(18px) saturate(115%);overflow:hidden}
.bcr-editor-overlay::backdrop{background:rgba(25,58,35,.25);backdrop-filter:blur(12px)}
.bcr-editor-overlay-status{height:30px;margin:0;padding:5px 12px;color:var(--muted);font:400 12px/20px "Noto Sans SC",sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bcr-editor-overlay-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:0 10px}
.bcr-editor-overlay-toolbar .bcr-editor-overlay-status{min-width:0;flex:1;height:auto}
.bcr-editor-overlay>iframe{display:block;border:0;width:100%;height:calc(100% - 44px)}
@media(max-width:760px){.upload-document dialog.bcr-editor-overlay{width:100%;height:100dvh;margin:0;border:0}}
@media(max-width:360px){.upload-document .bcr-has-online-editor>.asset-actions .asset-state{flex-basis:100%;margin-left:0;padding-left:0}}
/* The login prompt is part of the upload host, not of the editor feedback page.
   Do not rely on the feedback stylesheet being loaded in another document. */
.upload-document dialog.bcr-store-login-dialog{box-sizing:border-box;inset:0;margin:auto;width:calc(100% - 32px);max-width:520px;height:fit-content;min-height:0;max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:28px;border:1px solid rgba(49,94,58,.6);border-radius:0;background:rgba(242,252,226,.76);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 16px 48px rgba(25,58,35,.12);color:var(--ink,#17241f);font:400 16px/1.7 "Noto Sans SC",sans-serif;overflow:auto;overflow-wrap:break-word}
.upload-document dialog.bcr-store-login-dialog::backdrop{background:rgba(25,58,35,.26);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.upload-document .bcr-store-login-dialog>header{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:12px;margin:0 0 20px;padding:0;border:0}
.upload-document .bcr-store-login-dialog h2{margin:0;color:inherit;font:400 22px/1.5 "Noto Sans SC",sans-serif}
.upload-document .bcr-store-login-dialog .bcr-feedback-close{display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;font:400 28px/1 sans-serif;cursor:pointer}
.upload-document .bcr-store-login-dialog .bcr-feedback-close::before,.upload-document .bcr-store-login-dialog .bcr-feedback-close::after{display:none}
.upload-document .bcr-store-login-dialog>p{margin:0 0 20px;font:inherit;color:inherit}
.upload-document .bcr-store-login-dialog .bcr-store-login-actions{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 20px;padding:0}
.upload-document .bcr-store-login-dialog .bcr-store-login-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:0;margin:0;padding:8px 12px;border:0;border-bottom:1px solid rgba(49,94,58,.6);border-radius:0;background:rgba(255,255,255,.12);box-shadow:none;color:var(--ink,#17241f);font:inherit;text-decoration:none;cursor:pointer}
.upload-document .bcr-store-login-dialog .bcr-store-login-link:visited{color:var(--ink,#17241f)}
.upload-document .bcr-store-login-dialog .bcr-store-login-link:hover{background:rgba(255,255,255,.25)}
.upload-document .bcr-store-login-dialog :is(a,button):focus-visible{outline:2px solid var(--forest,#315e3a);outline-offset:3px}
.upload-document .bcr-store-login-dialog>p.bcr-feedback-privacy{margin:0;color:var(--muted,#52745b);font-size:13px}
.upload-document .bcr-store-login-dialog [hidden]{display:none!important}
@media(max-width:600px){.upload-document dialog.bcr-store-login-dialog{padding:20px;width:calc(100% - 32px)}.upload-document .bcr-store-login-dialog h2{font-size:20px}.upload-document .bcr-store-login-dialog .bcr-store-login-actions{gap:12px}}
