.file-version-control { margin-bottom: 12px; }
.file-version-button { display: flex; position: relative; align-items: stretch; }
.file-version-button > .download-button { flex: 1; min-width: 0; margin: 0; border-radius: 11px 0 0 11px; overflow-wrap: anywhere; }
.file-version-menu { position: static; flex: 0 0 42px; }
.file-version-menu > summary { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 48px; cursor: pointer; list-style: none; background: var(--accent, #2e9b45); color: white; border-left: 1px solid #ffffff66; border-radius: 0 11px 11px 0; }
.file-version-menu > summary::-webkit-details-marker { display: none; }
.file-version-options { position: absolute; top: 100%; right: 0; left: 0; z-index: 20; display: grid; max-height: 260px; overflow: auto; padding: 5px; background: white; border: 1px solid #ccc; border-radius: 8px; box-shadow: 0 5px 15px #0003; }
.file-version-options button { padding: 10px; cursor: pointer; background: white; color: #222; border: 0; text-align: left; font: inherit; }
.file-version-options button:hover, .file-version-options button[aria-pressed="true"] { background: #e5f3e7; }
.file-version-control > a { display: inline-block; margin-top: 4px; font-size: .85rem; }
.file-version-control > a[hidden] { display: none; }
.file-version-upload { margin: 10px 0; }
