/* DMS: icons mode — full-width files, folder sidebar hidden */

.d4-dms-folders.dms-icons-mode .d4-dms-sidebar {
    display: none !important;
}

.d4-dms-folders.dms-icons-mode .d4-dms-files-col {
    flex: 0 0 100%;
    max-width: 100%;
}

.dms-icons-pane {
    min-height: 12rem;
    background: #fff;
}

.dark-mode .dms-icons-pane {
    background: var(--bs-body-bg);
}

.d4-dms.dms-icons-mode .d4-dms-files-col {
    background: #fff;
}

.dark-mode .d4-dms.dms-icons-mode .d4-dms-files-col {
    background: var(--bs-body-bg);
}

/* DMS: folder sidebar — nested tree, expand/collapse, actions on hover */

.d4-dms-sidebar .dms-folder-tree .list-group-item.list-group-item-action {
    border: none;
    padding: 0.15rem;
}

.d4-dms-sidebar .dms-folder-item.dms-folder-drop-indicator--before {
    box-shadow: inset 0 3px 0 0 var(--bs-primary, #405189);
}

.d4-dms-sidebar .dms-folder-item.dms-folder-drop-indicator--after {
    box-shadow: inset 0 -3px 0 0 var(--bs-primary, #405189);
}

.d4-dms-sidebar .dms-folder-item.dms-folder-drop-indicator--into {
    background-color: rgba(var(--bs-primary-rgb, 64, 81, 137), 0.14) !important;
    border-radius: 0.25rem;
}

.d4-dms-sidebar .dms-folder-tree-node {
    margin: 0;
}

.d4-dms-sidebar .dms-folder-branch {
    margin-left: 0.35rem;
    padding-left: 0.4rem;
    border-left: 1px solid var(--bs-border-color);
}

.dark-mode .d4-dms-sidebar .dms-folder-branch {
    border-left-color: rgba(255, 255, 255, 0.12);
}

.d4-dms-sidebar .dms-folder-toggle-cell {
    width: 1.75rem;
    min-width: 1.75rem;
    min-height: 1.85rem;
}

.d4-dms-sidebar .dms-folder-tree-toggle {
    width: 100%;
    min-height: 1.75rem;
    text-decoration: none;
}

.d4-dms-sidebar .dms-folder-tree-toggle:hover,
.d4-dms-sidebar .dms-folder-tree-toggle:focus {
    text-decoration: none;
    background-color: rgba(var(--bs-primary-rgb), 0.08);
}

.d4-dms-sidebar .dms-folder-tree-toggle-spacer {
    width: 100%;
    min-height: 1.5rem;
}

.d4-dms-sidebar .dms-folder-actions {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease;
}

.d4-dms-sidebar .dms-folder-item:hover .dms-folder-actions,
.d4-dms-sidebar .dms-folder-item:focus-within .dms-folder-actions,
.d4-dms-sidebar .dms-folder-item.dms-folder-selected .dms-folder-actions {
    opacity: 1;
    pointer-events: auto;
}

.d4-dms-sidebar .dms-folder-dropdown {
    min-width: 2.125rem;
    min-height: 2rem;
    line-height: 1;
}

/* Icons toolbar: breadcrumb + sort row */
.dms-icons-toolbar {
    padding: 0.5rem 0.75rem 0.35rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dark-mode .dms-icons-toolbar {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dms-icons-toolbar-inner {
    min-width: 0;
}

.dms-icons-trash-banner {
    font-size: 0.8125rem;
    line-height: 1.35;
    padding-bottom: 0.35rem;
    margin-bottom: 0.15rem;
    border-bottom: 1px solid rgba(251, 192, 45, 0.35);
}

.dark-mode .dms-icons-trash-banner {
    border-bottom-color: rgba(251, 192, 45, 0.28);
}

.dms-icons-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.35rem;
    font-size: 0.8125rem;
    line-height: 1.3;
    margin-bottom: 0;
}

.dms-breadcrumb-item:not(:disabled) {
    color: var(--bs-primary);
}

.dms-breadcrumb-item:disabled,
.dms-breadcrumb-item.text-body {
    color: var(--bs-body-color) !important;
    opacity: 1;
}

.dms-breadcrumb-sep {
    color: var(--bs-secondary);
    user-select: none;
    line-height: 1;
}

.dms-icons-sort-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--bs-secondary);
    padding: 0.1rem 0 0.15rem;
}

/* DMS: files header — active view toggle (outline buttons) */

.d4-dms .dms-view-mode-btn.active {
    background-color: rgba(var(--bs-primary-rgb), 0.14);
    border-color: rgba(var(--bs-primary-rgb), 0.45);
    color: var(--bs-primary);
    z-index: 1;
}

/* Icon grid: Explorer-style tiles (white canvas, Win-style selection) */
.dms-explorer-grid {
    display: grid;
    gap: 0.125rem;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    padding: 1rem 0.75rem 1.25rem;
    min-height: 20rem;
    background: #fff;
    border-radius: 0.25rem;
}

.dark-mode .dms-explorer-grid {
    background: var(--bs-body-bg);
}

.dms-explorer-item {
    position: relative;
    cursor: pointer;
    user-select: none;
    border-radius: 0.25rem;
    padding: 0.15rem;
    transition: background-color 0.1s ease-out;
}

.dms-explorer-item:focus {
    outline: none;
}

.dms-explorer-grid:focus-visible {
    outline: none!important;
}

.dms-explorer-item:focus-visible .dms-explorer-card {
    box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.45);
}

.dms-explorer-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    overflow: hidden;
    box-shadow: none;
    transition: border-color 0.12s ease-out, box-shadow 0.12s ease-out, background-color 0.12s ease-out;
}

.dark-mode .dms-explorer-card {
    background: var(--bs-body-bg);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.dms-explorer-item:hover:not(.dms-explorer-item--selected) .dms-explorer-card {
    border-color: rgba(0, 120, 212, 0.35);
    box-shadow: none;
}

/* Selected: single light tint + Explorer blue border (folders + files) */
.dms-explorer-item--selected .dms-explorer-card {
    border: 1px solid #0078d4;
    box-shadow: none;
    background: #f0f4f8;
}

.dms-explorer-item--selected:hover .dms-explorer-card {
    border-color: #0078d4;
    box-shadow: none;
    background: #e8eef5;
}

.dms-explorer-item--folder {
    cursor: pointer;
}

.dms-explorer-item--folder .dms-explorer-name span {
    cursor: pointer;
}

.dms-move-picker-list {
    max-height: min(22rem, 50vh);
    overflow-y: auto;
}

.dms-move-picker-row:last-child {
    border-bottom: 0 !important;
}

/* Move-to modal: primary action left of Cancel (SweetAlert2 puts confirm after cancel in DOM) */
.dms-move-folder-modal .swal2-actions {
    flex-direction: row-reverse;
    gap: 0.5rem;
}

/* Icon grid: drop files onto a folder tile, or reorder/move folders (same indicators as sidebar) */
.dms-explorer-grid .dms-explorer-item--folder.dms-folder-drop-indicator--before > .dms-explorer-card {
    box-shadow: inset 0 3px 0 0 var(--bs-primary, #405189);
}

.dms-explorer-grid .dms-explorer-item--folder.dms-folder-drop-indicator--after > .dms-explorer-card {
    box-shadow: inset 0 -3px 0 0 var(--bs-primary, #405189);
}

.dms-explorer-grid .dms-explorer-item--folder.dms-folder-drop-indicator--into > .dms-explorer-card {
    background-color: rgba(var(--bs-primary-rgb, 64, 81, 137), 0.12);
    box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb, 64, 81, 137), 0.35);
}

.dark-mode .dms-explorer-grid .dms-explorer-item--folder.dms-folder-drop-indicator--into > .dms-explorer-card {
    background-color: rgba(var(--bs-primary-rgb, 64, 81, 137), 0.18);
}

.dms-explorer-thumb {
    min-height: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.25rem 0.2rem;
    background: #fff;
    pointer-events: none;
}

.dark-mode .dms-explorer-thumb {
    background: var(--bs-body-bg);
}

.dms-explorer-item--selected .dms-explorer-thumb {
    background: transparent;
}

.dark-mode .dms-explorer-item--selected .dms-explorer-thumb {
    background: transparent;
}

.dms-explorer-thumb img,
.dms-explorer-thumb svg {
    max-width: 2.5rem;
    max-height: 2.5rem;
    object-fit: contain;
}

.dms-explorer-folder-icon-img {
    max-width: 3.25rem !important;
    max-height: 3.25rem !important;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.08));
}

/* Image files: real thumbnail in explorer (thumb endpoint, falls back to preview in JS) */
.dms-explorer-file-thumb {
    width: 100%;
    max-width: 5.5rem;
    height: 4.25rem;
    object-fit: cover;
    object-position: center;
    border-radius: 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

.dark-mode .dms-explorer-file-thumb {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.dms-explorer-caption {
    padding: 0.3rem 0.4rem 0.4rem;
    background: #fff;
    transition: background-color 0.12s ease-out, border-color 0.12s ease-out;
}

.dark-mode .dms-explorer-caption {
    background: var(--bs-body-bg);
    border-top-color: rgba(255, 255, 255, 0.06);
}

.dms-explorer-item--selected .dms-explorer-caption {
    background: transparent;
    border-top-color: rgba(0, 120, 212, 0.12);
}

.dark-mode .dms-explorer-item--selected .dms-explorer-caption {
    background: transparent;
    border-top-color: rgba(var(--bs-primary-rgb), 0.25);
}

.dms-explorer-name {
    font-size: 0.8125rem;
    line-height: 1.25;
    font-weight: 500;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
    min-height: 1.75em;
    color: var(--bs-body-color);
}

/* Icons mode: centered single-line labels like Explorer */
.d4-dms.dms-icons-mode .dms-explorer-name {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-height: 1.25em;
    text-align: center;
}

.d4-dms.dms-icons-mode .dms-explorer-meta {
    display: none;
}

.dark-mode .dms-explorer-item--selected .dms-explorer-card {
    border-color: rgba(var(--bs-primary-rgb), 0.85);
    background: rgba(var(--bs-primary-rgb), 0.12);
}

.dark-mode .dms-explorer-item--selected:hover .dms-explorer-card {
    background: rgba(var(--bs-primary-rgb), 0.16);
}

.dms-explorer-name a {
    color: inherit;
    text-decoration: none;
    pointer-events: auto;
}

.dms-explorer-name a:hover {
    text-decoration: underline;
    color: var(--bs-primary);
}

.dms-explorer-meta {
    font-size: 0.625rem;
    line-height: 1.2;
    margin-top: 0.1rem;
    opacity: 0.8;
}

.dms-explorer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.1rem;
    margin-top: 0.25rem;
    padding: 0 0.15rem 0.2rem;
    opacity: 0;
    transition: opacity 0.1s ease-out;
    pointer-events: none;
}

.dms-explorer-item:hover .dms-explorer-actions,
.dms-explorer-item--selected .dms-explorer-actions {
    opacity: 1;
    pointer-events: auto;
}

.dms-explorer-empty {
    grid-column: 1 / -1;
}

/* Explorer grid context menu */
.dms-explorer-ctx-menu {
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: #fff;
}

.dark-mode .dms-explorer-ctx-menu {
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: var(--bs-body-bg);
}

.dms-explorer-ctx-icon {
    color: #fbc02d;
}

.dms-explorer-ctx-menu .dropdown-item {
    padding: 0.45rem 0.85rem;
    cursor: pointer;
}

.dms-explorer-ctx-menu .dropdown-item:hover,
.dms-explorer-ctx-menu .dropdown-item:focus {
    background: rgba(var(--bs-primary-rgb), 0.08);
    color: inherit;
}

/* DMS upload progress panel (bottom-right) */
.dms-upload-progress-panel {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1075;
    width: min(22rem, calc(100vw - 2rem));
    max-height: min(24rem, calc(100vh - 2rem));
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.dark-mode .dms-upload-progress-panel {
    background: var(--bs-body-bg);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.35);
}

.dms-upload-progress-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.dark-mode .dms-upload-progress-panel__header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dms-upload-progress-panel__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bs-body-color);
    line-height: 1.3;
}

.dms-upload-progress-panel__close {
    color: #fbc02d !important;
    line-height: 1;
    flex-shrink: 0;
}

.dms-upload-progress-panel__close:hover,
.dms-upload-progress-panel__close:focus {
    color: #f9a825 !important;
}

.dms-upload-progress-panel__list {
    overflow-y: auto;
    padding: 0.35rem 0.5rem 0.6rem;
    max-height: 18rem;
}

.dms-upload-progress-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0.35rem;
    border-radius: 0.35rem;
}

.dms-upload-progress-row + .dms-upload-progress-row {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.dark-mode .dms-upload-progress-row + .dms-upload-progress-row {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.dms-upload-progress-row__icon-wrap {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.35rem;
    background: #fafafa;
    overflow: hidden;
}

.dark-mode .dms-upload-progress-row__icon-wrap {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.dms-upload-progress-row__icon-wrap img,
.dms-upload-progress-row__icon-wrap svg {
    max-width: 2rem;
    max-height: 2rem;
    object-fit: contain;
}

.dms-upload-progress-row__body {
    flex: 1;
    min-width: 0;
}

.dms-upload-progress-row__name {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
    word-break: break-word;
    color: var(--bs-body-color);
}

.dms-upload-progress-row__status {
    font-size: 0.75rem;
    color: var(--bs-secondary);
    margin-top: 0.15rem;
}

.dms-upload-progress-row__track {
    height: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.08);
    margin-top: 0.35rem;
    overflow: hidden;
}

.dark-mode .dms-upload-progress-row__track {
    background: rgba(255, 255, 255, 0.12);
}

.dms-upload-progress-row__bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: #fbc02d;
    transition: width 0.15s ease-out;
}

.dms-upload-progress-row--done .dms-upload-progress-row__track {
    opacity: 0.85;
}

.dms-upload-progress-row__state {
    flex-shrink: 0;
    width: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.15rem;
}

.dms-upload-progress-row__spinner {
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid rgba(251, 192, 45, 0.35);
    border-top-color: #fbc02d;
    border-radius: 50%;
    animation: dms-upload-spin 0.7s linear infinite;
}

.dms-upload-progress-row__check {
    font-size: 1.35rem;
    color: #fbc02d;
    line-height: 1;
}

.dms-upload-progress-row__err {
    font-size: 1.25rem;
    line-height: 1;
}

@keyframes dms-upload-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Full-screen file preview modal (toolbar + iframe / fallback) */

.d4-fs-file-preview.modal {
    --d4-fpv-header-bg: #fff;
    --d4-fpv-header-border: #e0e0e0;
    --d4-fpv-body-bg: #f9f9f9;
    --d4-fpv-muted: #5c5c5c;
    --d4-fpv-btn-blue: #3577f1;
}

.dark-mode .d4-fs-file-preview.modal {
    --d4-fpv-header-bg: var(--bs-body-bg, #212529);
    --d4-fpv-header-border: var(--bs-border-color, #373b3e);
    --d4-fpv-body-bg: rgba(0, 0, 0, 0.2);
    --d4-fpv-muted: var(--bs-secondary-color, #adb5bd);
    --d4-fpv-btn-blue: var(--bs-primary, #3577f1);
}

.d4-fs-file-preview .modal-content {
    border: none;
    border-radius: 0;
    background: var(--d4-fpv-body-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.d4-fs-file-preview__header {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem 1rem;
    padding: 0.65rem 1.25rem;
    background: var(--d4-fpv-header-bg);
    border-bottom: 1px solid var(--d4-fpv-header-border);
    min-height: 3.25rem;
}

@media (max-width: 767.98px) {
    .d4-fs-file-preview__header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .d4-fs-file-preview__header-left,
    .d4-fs-file-preview__header-right {
        justify-content: center;
    }

    .d4-fs-file-preview__header-center {
        order: -1;
    }
}

.d4-fs-file-preview__header-left,
.d4-fs-file-preview__header-right {
    display: flex;
    align-items: center;
    gap: 0.35rem 1rem;
    min-width: 0;
}

.d4-fs-file-preview__header-left {
    justify-content: flex-start;
}

.d4-fs-file-preview__header-right {
    justify-content: flex-end;
}

.d4-fs-file-preview__header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--bs-body-color, #212529);
}

.d4-fs-file-preview__header-center i {
    font-size: 1.25rem;
    color: var(--bs-secondary-color, #6c757d);
    flex-shrink: 0;
}

.d4-fs-file-preview__title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.d4-fs-file-preview__toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem;
    border: none;
    background: transparent;
    color: var(--bs-body-color, #212529);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.25rem;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.d4-fs-file-preview__toolbar-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--bs-primary, #405189);
}

.dark-mode .d4-fs-file-preview__toolbar-btn:hover {
    background: rgba(255, 255, 255, 0.06);
}

.d4-fs-file-preview__toolbar-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.d4-fs-file-preview__toolbar-btn i {
    font-size: 1.05rem;
    opacity: 0.9;
}

a.d4-fs-file-preview__toolbar-btn {
    color: inherit;
}

.d4-fs-file-preview__nav {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.875rem;
    color: var(--d4-fpv-muted);
    font-weight: 500;
}

.d4-fs-file-preview__nav-sep {
    width: 1px;
    height: 1.25rem;
    background: var(--d4-fpv-header-border);
    margin: 0 0.35rem 0 0.5rem;
}

.d4-fs-file-preview__body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--d4-fpv-body-bg);
}

.d4-fs-file-preview__stage {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
}

.d4-fs-file-preview__stage--fill {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
    flex-direction: column;
}

.d4-fs-file-preview__iframe {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: 100%;
    border: 0;
    background: #525659;
}

.d4-fs-file-preview__img {
    max-width: 100%;
    max-height: min(85vh, calc(100dvh - 5.5rem));
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}

.d4-fs-file-preview__video {
    max-width: 100%;
    max-height: min(85vh, calc(100dvh - 5.5rem));
    width: auto;
    height: auto;
    display: block;
    margin: auto;
    outline: none;
}

.d4-fs-file-preview__audio {
    width: 100%;
    max-width: 28rem;
    display: block;
    margin: auto;
}

.d4-fs-file-preview__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: min(50vh, 18rem);
    padding: 1.5rem 1rem;
}

.d4-fs-file-preview__fallback-card {
    background: var(--d4-fpv-header-bg);
    border: 1px solid var(--d4-fpv-header-border);
    border-radius: 0.35rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    padding: 2rem 2.25rem;
    text-align: center;
    max-width: 22rem;
}

.dark-mode .d4-fs-file-preview__fallback-card {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.d4-fs-file-preview__fallback-text {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    color: var(--d4-fpv-muted);
    line-height: 1.45;
}

.d4-fs-file-preview__fallback-dl {
    display: inline-block;
    padding: 0.5rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--d4-fpv-btn-blue);
    border: none;
    border-radius: 0.25rem;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.35;
}

.d4-fs-file-preview__fallback-dl:hover {
    filter: brightness(1.05);
    color: #fff;
}
