body { background: #f5f7fb; }
.manager-sticky-header { position: sticky; top: 0; z-index: 1020; background: #f5f7fb; padding-top: 0.75rem; padding-bottom: 0.5rem; }
.app-shell { min-height: 80vh; }
.folder-tree { max-height: 68vh; overflow: auto; background: #fff; }
.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; max-height: 68vh; overflow: auto; }
.thumb-card { background: #fff; border: 1px solid #d8dee9; border-radius: 8px; padding: 8px; cursor: grab; }
.thumb-wrap { position: relative; }
.thumb-image { width: 100%; height: 120px; object-fit: cover; border-radius: 6px; border: 1px solid #e3e7ee; }
.thumb-flags { position: absolute; top: 4px; left: 4px; }
.thumb-name { font-size: 0.9rem; font-weight: 600; word-break: break-all; }
.thumb-folder { font-size: 0.75rem; word-break: break-all; }
.dropzone { border: 2px dashed #9aa8bc; border-radius: 8px; padding: 10px; text-align: center; color: #4a5568; background: #fafcff; }
.record-dropzone { cursor: pointer; }
.record-dropzone:focus-visible { outline: 2px solid #0d6efd; outline-offset: 2px; }
.dropzone.drag-over { background: #eef6ff; border-color: #0d6efd; }
.record-thumb { position: relative; border: 1px solid #d8dee9; border-radius: 6px; min-height: 140px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; }
.record-thumb img { width: 100%; height: 140px; object-fit: cover; }
.record-thumb-badges { position: absolute; top: 4px; left: 4px; display: flex; gap: 4px; flex-wrap: wrap; }
.placeholder-thumb { color: #6c757d; }
.missing-file-outline { outline: 3px solid #dc3545; }
.tree-node { margin-bottom: 4px; }
.record-card .form-label { font-size: 0.8rem; margin-bottom: 0.15rem; }
.new-record-dropzone { font-weight: 600; }
.shell-row { min-height: 70vh; }

.file-list-card { cursor: grab; }
.file-row-header { min-height: 44px; }
.thumb-flags-inline { min-width: 40px; text-align: right; }
.record-thumb img { cursor: zoom-in; }
#imagePreviewModalImg { max-height: 75vh; }

#loadingModal .spinner-border { width: 3rem; height: 3rem; }
.coa-image-list { max-height: 78vh; overflow: auto; }
.coa-image-row { border-bottom: 1px solid #e3e7ee; padding: 0.65rem; }
.coa-image-row:last-child { border-bottom: 0; }
.status-dashboard { font-size: 0.9rem; }
.status-panel { height: 100%; background: #f8f9fb; border: 1px solid #d8dee9; border-radius: 8px; padding: 0.85rem; }
.status-panel h6 { margin-bottom: 0.65rem; color: #182e49; }
.status-metric { display: flex; gap: 0.75rem; justify-content: space-between; padding: 0.22rem 0; border-bottom: 1px solid #e9edf3; }
.status-metric:last-child { border-bottom: 0; }
.status-metric span { color: #5c6775; }
.status-metric strong { text-align: right; overflow-wrap: anywhere; }
.backup-status-table { font-size: 0.85rem; }
.backup-status-table td, .backup-status-table th { vertical-align: middle; }
