.file-version-dialog{position:fixed;inset:0;margin:auto;width:min(600px,calc(100% - 24px));min-width:0;min-height:0;height:fit-content;max-width:calc(100% - 24px);max-height:85dvh;padding:24px;overflow:auto;background:#102a34;color:#edf4f2;border:1px solid #527079;border-radius:16px}
.file-version-dialog:not([open]){display:none}
.file-version-dialog[open]{display:block}
.file-version-dialog::backdrop{background:rgb(0 0 0 / .7)}
.file-version-dialog h2{font-size:1.3rem;margin:0}
.file-version-dialog p,.file-version-dialog a{overflow-wrap:anywhere}
.file-version-name{font-weight:700}
.file-version-dialog input[type=file]{width:100%;min-width:0}
.file-version-list{padding:0;list-style:none}
.file-version-list li{display:grid;gap:8px;padding:16px 0;border-top:1px solid #527079;list-style:none}
.file-version-dialog .form-actions{flex-wrap:wrap}
.catalog-summary{flex-wrap:wrap}
.catalog-summary #catalogCount{margin-right:auto}
.file-actions:has(.file-update),.file-actions:has(.file-history){flex-wrap:wrap}
@media(max-width:700px){.file-card:has(.file-history){flex-wrap:wrap}.file-card:has(.file-history) .file-info{min-width:0;flex:1}.file-card:has(.file-history) .file-actions{width:100%;justify-content:flex-end}.file-version-dialog{padding:18px}}
