Files
memind/public/oa-drive/app.css
T
john 6d5eb15b1b feat(mindspace): add per-user OA cloud drive with fds-style file manager
Expose authenticated /api/mindspace/v1/oa/drive APIs over each user's oa/ workspace and wire a MindSpace entry at /space/oa/drive.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 18:55:46 +08:00

501 lines
21 KiB
CSS

:root {
--bg: #0f1117;
--panel: #171a22;
--border: #2a3140;
--text: #e8ecf4;
--muted: #8b95a8;
--accent: #5b8cff;
--accent-2: #3dd68c;
--danger: #ff6b7a;
--drop: rgba(91, 140, 255, 0.12);
--warning: #ffb347;
}
* { box-sizing: border-box; }
body {
margin: 0;
min-height: 100vh;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: radial-gradient(circle at top, #1a2236 0%, var(--bg) 45%);
color: var(--text);
}
.wrap { max-width: min(1280px, 96vw); margin: 0 auto; padding: 10px 16px 20px; }
/* Compact top bar */
.top-bar {
display: flex;
align-items: center;
gap: 8px;
padding: 5px 10px;
border: 1px dashed var(--border);
border-radius: 8px;
background: var(--drop);
transition: .15s;
cursor: pointer;
min-height: 34px;
flex-wrap: nowrap;
overflow: hidden;
}
.top-bar.dragover { border-color: var(--accent); background: rgba(91,140,255,.22); }
.top-title { font-size: 13px; font-weight: 600; white-space: nowrap; flex: none; }
.top-sub kbd {
font-size: 10px; padding: 0 3px; border-radius: 3px;
border: 1px solid var(--border); background: var(--panel); font-family: inherit;
}
.top-sub {
font-size: 11px; color: var(--muted); white-space: nowrap;
overflow: hidden; text-overflow: ellipsis; flex: none; max-width: 220px;
}
.links {
display: flex; flex-wrap: nowrap; gap: 4px; flex: 1; min-width: 0;
overflow: hidden; justify-content: flex-end;
}
.link-chip {
background: var(--panel); border: 1px solid var(--border); border-radius: 999px;
padding: 2px 8px; font-size: 10px; color: var(--accent); text-decoration: none;
white-space: nowrap; flex: none;
}
.link-chip:hover { border-color: var(--accent); }
.link-chip.active { border-color: var(--accent); background: #e8f0fe; color: #0066cc; font-weight: 600; }
.top-actions { display: flex; gap: 4px; flex: none; }
.top-actions button { padding: 3px 8px; font-size: 11px; min-height: 0; line-height: 1.3; }
.top-actions button.primary { padding: 3px 9px; }
/* Legacy drop (unused) */
.drop {
border: 1.5px dashed var(--border); border-radius: 12px; background: var(--drop);
padding: 20px 16px; text-align: center; transition: .15s; cursor: pointer;
}
.drop.dragover { border-color: var(--accent); background: rgba(91,140,255,.22); transform: scale(1.005); }
.drop-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.drop-hint { color: var(--muted); font-size: 11px; line-height: 1.5; }
.drop-hint kbd {
font-size: 10px; padding: 1px 4px; border-radius: 4px;
border: 1px solid var(--border); background: var(--panel);
}
.actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
button, .btn {
appearance: none; border: 1px solid var(--border); background: var(--panel); color: var(--text);
border-radius: 6px; padding: 5px 10px; font-size: 12px; cursor: pointer; text-decoration: none;
display: inline-flex; align-items: center; gap: 4px;
}
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
button:hover, .btn:hover { filter: brightness(1.08); }
button:disabled { opacity: 0.45; cursor: not-allowed; filter: none; }
.status { min-height: 16px; margin: 8px 0 4px; font-size: 11px; color: var(--muted); }
.status.ok { color: var(--accent-2); }
.status.err { color: var(--danger); }
/* Sync badge */
.sync-badge {
display: inline-flex; align-items: center; gap: 4px;
font-size: 10px; margin-left: 6px; font-weight: 400;
}
.sync-badge .dot {
width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2);
flex: none;
}
.sync-badge.offline .dot { background: var(--danger); }
.sync-badge.offline { color: var(--danger); }
/* Simple progress bar */
.progress { height: 4px; background: var(--border); border-radius: 999px; overflow: hidden; margin-top: 8px; display: none; }
.progress.show { display: block; }
.progress > i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .2s; }
/* Upload progress detail panel */
.progress-detail {
display: none; margin-top: 8px; background: var(--panel); border: 1px solid var(--border);
border-radius: 10px; padding: 10px 12px; font-size: 11px;
}
.progress-detail.show { display: block; }
.progress-detail-head {
display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
color: var(--muted);
}
.progress-detail-head strong { color: var(--text); font-size: 12px; }
.progress-detail-list { max-height: 160px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.progress-item { display: grid; grid-template-columns: minmax(0, 1fr) 72px 56px; gap: 8px; align-items: center; }
.progress-item-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.progress-item-bar {
height: 4px; background: var(--border); border-radius: 999px; overflow: hidden; grid-column: 1 / -1;
}
.progress-item-bar i { display: block; height: 100%; width: 0%; background: var(--accent); transition: width .15s; }
.progress-item-meta { font-size: 10px; color: var(--muted); text-align: right; }
.progress-item-status { font-size: 10px; text-align: right; }
.progress-item-status.done { color: var(--accent-2); }
.progress-item-status.err { color: var(--danger); }
/* Drag overlay */
.drag-overlay {
position: fixed; inset: 0; z-index: 200; pointer-events: none;
display: none; align-items: center; justify-content: center;
background: rgba(15, 17, 23, 0.72); backdrop-filter: blur(4px);
}
.drag-overlay.show { display: flex; pointer-events: none; }
.drag-overlay-box {
border: 2px dashed var(--accent); border-radius: 20px; padding: 32px 48px;
background: rgba(91, 140, 255, 0.15); text-align: center;
}
.drag-overlay-box .icon { font-size: 48px; margin-bottom: 12px; }
.drag-overlay-box .hint { font-size: 18px; font-weight: 600; color: var(--text); }
.drag-overlay-box .sub { font-size: 13px; color: var(--muted); margin-top: 6px; }
/* Panel shell */
.panel-shell { margin-top: 8px; position: relative; width: 100%; max-width: 100%; }
.panel {
display: flex; flex-direction: column;
background: #f5f5f7; border: 1px solid #d1d1d6;
border-radius: 10px; overflow: hidden; color: #1d1d1f;
height: 520px; min-height: 280px; max-height: 85vh;
}
.panel-resizer {
position: absolute; right: 0; bottom: 0; width: 18px; height: 18px;
cursor: nwse-resize; z-index: 3; touch-action: none;
}
.panel-resizer::after {
content: ''; position: absolute; right: 4px; bottom: 4px; width: 10px; height: 10px;
border-right: 2px solid #86868b; border-bottom: 2px solid #86868b;
border-radius: 0 0 2px 0; opacity: 0.75; transition: opacity .15s;
}
.panel-resizer:hover::after,
.panel-shell-resizing .panel-resizer::after { opacity: 1; border-color: #0066cc; }
body.panel-shell-resizing { user-select: none; cursor: nwse-resize; }
/* Toolbar */
.panel-head {
display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
padding: 10px 14px; border-bottom: 1px solid #d1d1d6; font-weight: 600;
font-size: 13px; background: #ebebed; flex: none;
}
.panel-head small { color: #6e6e73; font-weight: 400; }
.panel-head button {
background: #fff; border-color: #c7c7cc; color: #1d1d1f; padding: 4px 10px;
border-radius: 6px; font-size: 12px;
}
.panel-head .bulk-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.panel-head .select-all-label {
display: inline-flex; align-items: center; gap: 4px; font-weight: 400;
font-size: 12px; color: #6e6e73; cursor: pointer; user-select: none;
}
.panel-head .select-all-label input { width: 14px; height: 14px; accent-color: #0066cc; cursor: pointer; }
.panel-head .bulk-actions button.danger {
background: #fff; border-color: #ff3b30; color: #ff3b30;
}
.panel-head .bulk-actions button.danger:disabled { opacity: 0.45; cursor: not-allowed; }
.panel-head .bulk-actions button.danger:not(:disabled):hover { background: #ff3b30; color: #fff; }
/* Search bar */
.toolbar-search {
display: flex; align-items: center; gap: 6px; flex: 1; min-width: 140px; max-width: 220px;
}
.toolbar-search input {
flex: 1; min-width: 0; padding: 4px 8px; border: 1px solid #c7c7cc; border-radius: 6px;
font-size: 12px; background: #fff; color: #1d1d1f;
}
.toolbar-search input:focus { outline: none; border-color: #0066cc; box-shadow: 0 0 0 2px rgba(0,102,204,.15); }
.toolbar-search input::placeholder { color: #aeaeb2; }
/* Conflict policy select */
.conflict-select {
padding: 4px 6px; border: 1px solid #c7c7cc; border-radius: 6px;
font-size: 11px; background: #fff; color: #1d1d1f; cursor: pointer;
}
.conflict-select:focus { outline: none; border-color: #0066cc; }
/* Notification toggle */
.notify-btn { position: relative; }
.notify-btn.active { background: #e8f0fe; border-color: #0066cc; color: #0066cc; }
.notify-btn .badge {
position: absolute; top: -4px; right: -4px; width: 8px; height: 8px;
border-radius: 50%; background: var(--accent-2); display: none;
}
.notify-btn.has-unread .badge { display: block; }
.view-toggle {
display: inline-flex; border: 1px solid #c7c7cc; border-radius: 6px; overflow: hidden; background: #fff;
}
.view-toggle button {
border: none; border-radius: 0; padding: 4px 8px; min-height: 0; background: #fff; color: #6e6e73;
font-size: 14px; line-height: 1;
}
.view-toggle button + button { border-left: 1px solid #c7c7cc; }
.view-toggle button.active { background: #e8f0fe; color: #0066cc; }
.view-toggle button:hover { filter: none; background: #f2f2f7; }
.view-toggle button.active:hover { background: #e8f0fe; }
.breadcrumb {
display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
padding: 8px 14px; border-bottom: 1px solid #d1d1d6; background: #fafafa;
font-size: 12px; color: #6e6e73; flex: none;
}
.breadcrumb .bc-link {
background: none; border: none; padding: 0; color: #0066cc; cursor: pointer;
font-size: 12px; border-radius: 0; min-height: 0;
}
.breadcrumb .bc-link:hover { text-decoration: underline; filter: none; }
.breadcrumb .bc-sep { color: #aeaeb2; user-select: none; }
.breadcrumb .bc-current { color: #1d1d1f; font-weight: 600; }
/* File list */
.file-list {
font-size: 13px; line-height: 1.2; flex: 1; min-height: 0;
display: flex; flex-direction: column;
}
.list-header, .list-row {
display: grid;
grid-template-columns: 28px minmax(0, 1fr) 88px 148px 72px;
align-items: center; column-gap: 12px; padding: 0 12px;
}
.list-header .col-check, .list-row .col-check {
display: flex; align-items: center; justify-content: center;
cursor: pointer; min-height: 28px;
}
.list-header .col-check input, .list-row .col-check input,
.list-row .col-check {
width: 14px; height: 14px; cursor: pointer; accent-color: #0066cc;
}
.list-row .col-check { width: 28px; margin: 0; }
.list-header {
height: 28px; background: #ebebed; border-bottom: 1px solid #d1d1d6;
color: #6e6e73; font-size: 12px; user-select: none; flex: none;
}
.list-header .sortable {
cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
}
.list-header .sortable:hover { color: #1d1d1f; }
.list-header .sortable.active { color: #1d1d1f; font-weight: 600; }
.list-header .col-size, .list-row .col-size { text-align: right; font-variant-numeric: tabular-nums; }
.list-header .col-date, .list-row .col-date { color: #6e6e73; font-variant-numeric: tabular-nums; white-space: nowrap; }
.list-body {
background: #fff; flex: 1; min-height: 0; overflow: auto; position: relative;
}
.list-body.drop-target { background: #d6e8ff; outline: 1px dashed #0066cc; outline-offset: -2px; }
.list-row {
min-height: 28px; border-bottom: 1px solid #ececf0; position: relative;
}
.list-row:last-child { border-bottom: none; }
.list-row:hover { background: #e8f0fe; }
.list-row.selected { background: #cce4ff; }
.list-row.folder { cursor: default; }
.list-row[draggable="true"], .icon-item[draggable="true"] { cursor: grab; }
.list-row.dragging, .icon-item.dragging { opacity: 0.45; }
.list-row .col-name {
display: flex; align-items: center; gap: 6px; min-width: 0;
}
.list-row .chevron {
width: 12px; flex: none; color: #86868b; font-size: 10px; text-align: center;
}
.list-row .chevron.hidden { visibility: hidden; }
/* Origin badge */
.origin-badge {
flex: none; font-size: 9px; padding: 1px 5px; border-radius: 999px;
background: #f2f2f7; border: 1px solid #d1d1d6; color: #6e6e73;
max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.origin-badge.self { background: #e8f0fe; border-color: #99caff; color: #0066cc; }
/* Inline rename */
.rename-input {
flex: 1; min-width: 0; padding: 1px 4px; border: 1px solid #0066cc; border-radius: 4px;
font-size: 13px; font-family: inherit; background: #fff; color: #1d1d1f;
}
.rename-input:focus { outline: none; box-shadow: 0 0 0 2px rgba(0,102,204,.2); }
.file-icon {
width: 16px; height: 16px; flex: none; background-size: contain; background-repeat: no-repeat;
}
.file-icon.large { width: 48px; height: 48px; }
.file-icon.folder {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%234da3ff' d='M1.5 3.5A1 1 0 0 1 2.5 2.5h3.2l1.3 1.3h6.5a1 1 0 0 1 1 1v7.7a1 1 0 0 1-1 1h-12a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
}
.file-icon.doc {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23c7c7cc' d='M3 1.5h6.5L13 5v9.5H3z'/%3E%3Cpath fill='%23fff' d='M9.5 1.5V5H13'/%3E%3C/svg%3E");
}
.file-icon.sheet {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2334c759' d='M3 1.5h6.5L13 5v9.5H3z'/%3E%3Cpath fill='%23fff' d='M9.5 1.5V5H13'/%3E%3C/svg%3E");
}
.file-icon.word {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%232b579a' d='M3 1.5h6.5L13 5v9.5H3z'/%3E%3Cpath fill='%23fff' d='M9.5 1.5V5H13'/%3E%3C/svg%3E");
}
.file-icon.pdf {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ff3b30' d='M3 1.5h6.5L13 5v9.5H3z'/%3E%3Cpath fill='%23fff' d='M9.5 1.5V5H13'/%3E%3C/svg%3E");
}
.file-icon.video {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect fill='%235b8cff' x='2' y='3' width='12' height='10' rx='1.5'/%3E%3Cpath fill='%23fff' d='M7 6.5v3l3-1.5z'/%3E%3C/svg%3E");
}
.list-row .name-link {
color: #1d1d1f; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.list-row .name-link.previewable:hover { color: #0066cc; text-decoration: underline; }
.list-row .name-text {
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1d1d1f;
}
.list-row .col-size { color: #6e6e73; }
.list-row .col-actions {
display: flex; justify-content: flex-end; gap: 4px; opacity: 0;
}
.list-row:hover .col-actions { opacity: 1; }
.list-row .col-actions button, .list-row .col-actions a {
background: transparent; border: none; color: #0066cc; padding: 2px 4px;
font-size: 12px; border-radius: 4px; min-height: 0;
}
.list-row .col-actions button:hover, .list-row .col-actions a:hover {
background: rgba(0,102,204,.1); filter: none;
}
.list-row .col-actions button[data-del] { color: #ff3b30; }
.list-row .col-actions button[data-info] { color: #6e6e73; }
/* Empty + empty folder drop zone */
.empty {
padding: 40px 18px; text-align: center; color: #86868b; background: #fff; font-size: 13px;
}
.empty-drop-zone {
margin: 24px auto; max-width: 360px; padding: 32px 20px;
border: 2px dashed #c7c7cc; border-radius: 12px; background: #fafafa;
color: #6e6e73; transition: .15s;
}
.empty-drop-zone.dragover {
border-color: #0066cc; background: #d6e8ff; color: #0066cc;
}
.empty-drop-zone .icon { font-size: 32px; margin-bottom: 8px; }
/* Load more */
.load-more-wrap { padding: 10px; text-align: center; background: #fff; border-top: 1px solid #ececf0; }
.load-more-btn {
background: #fff; border: 1px solid #c7c7cc; color: #0066cc; padding: 6px 16px;
border-radius: 6px; font-size: 12px; cursor: pointer;
}
.load-more-btn:hover { background: #e8f0fe; filter: none; }
input[type=file] { display: none; }
.list-row.drop-target { background: #d6e8ff !important; }
/* Icon mode */
.file-list.icon-mode .list-header { display: none; }
.file-list.icon-mode .list-body {
display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
gap: 8px; padding: 12px; align-content: start;
}
.icon-item {
position: relative; display: flex; flex-direction: column; align-items: center;
gap: 6px; padding: 10px 6px 8px; border-radius: 8px; cursor: default;
border: 1px solid transparent; min-width: 0; text-align: center;
}
.icon-item.folder { cursor: default; }
.icon-item:hover { background: #e8f0fe; border-color: #d1e3ff; }
.icon-item.selected { background: #cce4ff; border-color: #99caff; }
.icon-item.drop-target { background: #d6e8ff !important; border-color: #0066cc; }
.icon-item .item-check-wrap {
position: absolute; top: 4px; left: 4px; z-index: 2;
display: flex; align-items: center; justify-content: center;
width: 22px; height: 22px; cursor: pointer;
}
.icon-item .item-check {
width: 14px; height: 14px; accent-color: #0066cc; cursor: pointer; margin: 0;
}
.icon-item .icon-thumb {
width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; flex: none;
}
.icon-item .icon-thumb .file-icon { width: 48px; height: 48px; }
.icon-item .icon-thumb-img {
width: 56px; height: 56px; object-fit: cover; border-radius: 6px;
border: 1px solid #ececf0; background: #fafafa;
}
.icon-item .icon-name {
width: 100%; font-size: 11px; line-height: 1.35; color: #1d1d1f;
overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
word-break: break-all;
}
.icon-item .icon-name a { color: inherit; text-decoration: none; }
.icon-item .icon-name a.previewable:hover { color: #0066cc; text-decoration: underline; }
.icon-item .icon-meta { font-size: 10px; color: #86868b; line-height: 1.2; }
.icon-item .icon-actions {
display: flex; gap: 6px; opacity: 0; font-size: 11px;
}
.icon-item:hover .icon-actions { opacity: 1; }
.icon-item .icon-actions a, .icon-item .icon-actions button {
background: none; border: none; color: #0066cc; padding: 0; font-size: 11px; min-height: 0;
}
.icon-item .icon-actions button[data-del] { color: #ff3b30; }
/* Modals (shared) */
.modal {
position: fixed; inset: 0; background: rgba(0,0,0,.72); display: none; align-items: center;
justify-content: center; z-index: 100; padding: 24px;
}
.modal.show { display: flex; }
.modal-box {
background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
max-width: min(960px, 96vw); max-height: 92vh; width: 100%; display: flex; flex-direction: column;
}
.modal-box.sm { max-width: min(480px, 96vw); }
.modal-head {
display: flex; justify-content: space-between; align-items: center;
padding: 12px 16px; border-bottom: 1px solid var(--border); gap: 12px;
}
.modal-head span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modal-body { padding: 16px; overflow: auto; min-height: 0; }
.modal-body img, .modal-body video { max-width: 100%; display: block; margin: 0 auto; }
.modal-body iframe { width: 100%; height: 70vh; border: 0; background: #fff; }
.modal-body pre {
margin: 0; padding: 16px; white-space: pre-wrap; word-break: break-word;
font-size: 13px; line-height: 1.6;
}
.modal-foot {
display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px;
border-top: 1px solid var(--border);
}
/* Detail modal */
.detail-grid {
display: grid; grid-template-columns: 100px 1fr; gap: 8px 12px; font-size: 13px;
}
.detail-grid dt { color: var(--muted); }
.detail-grid dd { margin: 0; word-break: break-all; }
/* Conflict modal */
.conflict-list { max-height: 240px; overflow-y: auto; margin: 12px 0; }
.conflict-item {
padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px;
margin-bottom: 6px; font-size: 12px;
}
.conflict-item .path { color: var(--muted); font-size: 11px; margin-top: 2px; }
.conflict-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.conflict-actions label {
display: flex; align-items: center; gap: 4px; font-size: 12px; cursor: pointer;
}
/* Trash drawer */
.trash-drawer {
position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 92vw);
background: var(--panel); border-left: 1px solid var(--border);
z-index: 90; transform: translateX(100%); transition: transform .25s ease;
display: flex; flex-direction: column;
}
.trash-drawer.show { transform: translateX(0); }
.trash-drawer-head {
display: flex; justify-content: space-between; align-items: center;
padding: 14px 16px; border-bottom: 1px solid var(--border); font-weight: 600;
}
.trash-drawer-body { flex: 1; overflow-y: auto; padding: 8px; }
.trash-item {
display: flex; align-items: center; gap: 8px; padding: 10px;
border: 1px solid var(--border); border-radius: 8px; margin-bottom: 6px; font-size: 12px;
}
.trash-item-info { flex: 1; min-width: 0; }
.trash-item-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.trash-item-meta { font-size: 10px; color: var(--muted); margin-top: 2px; }
.trash-item-actions { display: flex; gap: 4px; flex-shrink: 0; }
.trash-item-actions button { padding: 4px 8px; font-size: 11px; }
.trash-empty { padding: 32px 16px; text-align: center; color: var(--muted); font-size: 13px; }
.trash-drawer-foot {
padding: 12px 16px; border-top: 1px solid var(--border);
display: flex; justify-content: space-between; gap: 8px;
}
.trash-backdrop {
position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 85;
display: none;
}
.trash-backdrop.show { display: block; }