:root {
    color-scheme: light;
    --font-body: 'Space Grotesk', 'Segoe UI', sans-serif;
    --font-display: 'Fraunces', 'Segoe UI', serif;
    --bg: #f7f2ed;
    --bg-soft: #efe6dc;
    --text: #1f2a1f;
    --muted: #6d6257;
    --card: rgba(255, 252, 248, 0.86);
    --card-strong: rgba(255, 252, 248, 0.95);
    --border: rgba(31, 42, 31, 0.12);
    --accent: #0f766e;
    --accent-2: #f97316;
    --gold: #f97316;
    --gold-strong: #ea580c;
    --folder: #14b8a6;
    --danger: #dc2626;
    --shadow: 0 18px 40px rgba(31, 42, 31, 0.14);
    --shadow-soft: 0 10px 24px rgba(31, 42, 31, 0.1);
    --radius: 22px;
}

html.dark {
    color-scheme: dark;
    --bg: #0c1411;
    --bg-soft: #101b17;
    --text: #f5eee6;
    --muted: #b7a893;
    --card: rgba(18, 28, 25, 0.92);
    --card-strong: rgba(15, 24, 22, 0.96);
    --border: rgba(245, 238, 230, 0.08);
    --accent: #34d399;
    --accent-2: #fb923c;
    --gold: #fb923c;
    --gold-strong: #f97316;
    --folder: #5eead4;
    --danger: #f87171;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

.bg-animated {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 18%, rgba(15, 118, 110, 0.18), transparent 55%),
        radial-gradient(circle at 82% 12%, rgba(249, 115, 22, 0.18), transparent 55%),
        radial-gradient(circle at 68% 82%, rgba(20, 184, 166, 0.16), transparent 50%),
        linear-gradient(120deg, #f7f2ed 0%, #eef5f0 55%, #fdf1e4 100%);
}

.bg-animated::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 42, 31, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 42, 31, 0.04) 1px, transparent 1px);
    background-size: 140px 140px;
    opacity: 0.35;
}

html.dark .bg-animated {
    background:
        radial-gradient(circle at 12% 12%, rgba(52, 211, 153, 0.16), transparent 55%),
        radial-gradient(circle at 80% 12%, rgba(251, 146, 60, 0.18), transparent 55%),
        radial-gradient(circle at 70% 80%, rgba(94, 234, 212, 0.12), transparent 50%),
        linear-gradient(120deg, #0c1411 0%, #0f1915 55%, #101b17 100%);
}

html.dark .bg-animated::before {
    background-image:
        linear-gradient(rgba(245, 238, 230, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 238, 230, 0.06) 1px, transparent 1px);
    opacity: 0.2;
}

.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.55;
    animation: blob 14s infinite;
}

.orb-a {
    width: 420px;
    height: 420px;
    background: #99f6e4;
    top: -40px;
    left: -40px;
}

.orb-b {
    width: 360px;
    height: 360px;
    background: #fed7aa;
    top: 40px;
    right: -80px;
    animation-delay: 2s;
}

.orb-c {
    width: 340px;
    height: 340px;
    background: #bbf7d0;
    bottom: -80px;
    left: 80px;
    animation-delay: 4s;
}

.orb-d {
    width: 520px;
    height: 520px;
    background: rgba(15, 118, 110, 0.35);
    top: -20%;
    right: -10%;
    opacity: 0.4;
    animation: pulse 6s ease-in-out infinite;
}

.light-only {
    display: block;
}

.dark-only {
    display: none;
}

html.dark .light-only {
    display: none;
}

html.dark .dark-only {
    display: block;
}

@keyframes blob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -40px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.app {
    min-height: 100vh;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: rgba(255, 250, 244, 0.72);
    border-bottom: 1px solid rgba(31, 42, 31, 0.08);
    backdrop-filter: blur(18px);
}

html.dark .topbar {
    background: rgba(12, 20, 17, 0.9);
    border-bottom: 1px solid rgba(245, 238, 230, 0.06);
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-link {
    padding: 0;
    border: none;
    background: none;
    color: inherit;
    cursor: pointer;
}

.brand-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 16px;
}

.logo {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(140deg, #0f766e 0%, #14b8a6 48%, #f97316 100%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.logo svg {
    width: 26px;
    height: 26px;
}

html.dark .logo {
    background: linear-gradient(140deg, #115e59 0%, #0f766e 50%, #fb923c 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.25);
}

.brand-text h1 {
    margin: 0;
    font-size: 22px;
    letter-spacing: 0.04em;
    font-family: var(--font-display);
}

.brand-text p {
    margin: 4px 0 0;
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent-2);
    font-weight: 600;
}

html.dark .brand-text p {
    color: var(--gold);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.divider {
    width: 1px;
    height: 24px;
    background: var(--border);
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    color: var(--text);
    background: rgba(15, 23, 42, 0.06);
}

html.dark .icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--muted);
}

html.dark .user-chip {
    background: rgba(18, 34, 54, 0.9);
    border-color: rgba(255, 255, 255, 0.06);
}

.lucide {
    width: 18px;
    height: 18px;
    stroke-width: 1.8px;
}

.icon-moon {
    display: none;
}

html.dark .icon-moon {
    display: inline-block;
}

html.dark .icon-sun {
    display: none;
}

.btn {
    border: none;
    border-radius: 14px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    background: transparent;
    color: var(--text);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #f97316 100%);
    color: #fff;
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.28);
}

html.dark .btn-primary {
    background: linear-gradient(135deg, #0f766e 0%, #22c55e 50%, #fb923c 100%);
    color: #101412;
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--text);
}

html.dark .btn-secondary {
    background: rgba(17, 30, 48, 0.8);
    border-color: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
    background: transparent;
    color: var(--muted);
}

.btn-ghost:hover {
    color: var(--text);
    background: rgba(15, 23, 42, 0.06);
}

html.dark .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

html.dark .btn-danger {
    color: #fca5a5;
}

.btn-icon {
    padding: 10px;
    width: 40px;
    height: 40px;
    justify-content: center;
}

.file-upload.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.btn-xs {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 10px;
}

.file-upload input {
    display: none;
}

.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

.hero {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    padding: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.stats-card {
    min-height: 220px;
}

.card-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.18), transparent);
    border-bottom-left-radius: 36px;
}

html.dark .card-corner {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.18), transparent);
}

.card-glow {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.12;
}

.card-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    font-weight: 600;
    margin: 0;
}

html.dark .card-label {
    color: var(--gold);
}

.card-title {
    margin: 10px 0 18px;
    font-size: 26px;
    font-weight: 700;
    font-family: var(--font-display);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.chart {
    width: 84px;
    height: 84px;
    position: relative;
}

.chart svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.chart-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    padding: 8px;
}

.stat-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-number {
    font-size: 36px;
    font-weight: 300;
    font-family: var(--font-display);
}

.stat-label {
    font-size: 12px;
    color: var(--muted);
}

.action-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search {
    position: relative;
    display: flex;
    align-items: center;
}

.search input {
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.6);
    padding: 10px 14px 10px 40px;
    min-width: 200px;
    color: var(--text);
    transition: width 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

html.dark .search input {
    background: rgba(15, 23, 36, 0.7);
}

.search input:focus {
    outline: none;
    border-color: rgba(15, 118, 110, 0.5);
    background: var(--card-strong);
}

html.dark .search input:focus {
    border-color: rgba(251, 146, 60, 0.5);
}

.search i {
    position: absolute;
    left: 14px;
    color: var(--muted);
}

.view-toggle {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: rgba(148, 163, 184, 0.2);
    border: 1px solid var(--border);
}

.toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.toggle-btn.active {
    background: var(--card-strong);
    color: var(--accent);
    box-shadow: var(--shadow-soft);
}

html.dark .toggle-btn.active {
    color: var(--gold);
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.action-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
    display: none;
}

.files {
    margin-top: 28px;
    position: relative;
}

.empty-state {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 80px 20px;
    border-radius: 24px;
    border: 1px dashed var(--border);
    background: var(--card);
    text-align: center;
    color: var(--muted);
}

.empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

.empty-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--text);
}

.empty-subtitle {
    margin: 0;
    font-size: 13px;
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.file-card {
    border-radius: 18px;
    padding: 16px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    cursor: pointer;
}

.file-card[draggable="true"] {
    cursor: grab;
}

.files-list tbody tr[draggable="true"] {
    cursor: grab;
}

.file-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.file-card.selected {
    border-color: rgba(15, 118, 110, 0.5);
    background: rgba(15, 118, 110, 0.08);
}

html.dark .file-card.selected {
    border-color: rgba(251, 146, 60, 0.5);
    background: rgba(251, 146, 60, 0.12);
}

.file-card .select-indicator {
    align-self: flex-start;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, 0.6);
    margin-bottom: 8px;
}

.file-card.selected .select-indicator {
    border-color: var(--accent);
    background: var(--accent);
}

html.dark .file-card.selected .select-indicator {
    border-color: var(--gold);
    background: var(--gold);
}

.file-card.drop-target {
    border-color: rgba(15, 118, 110, 0.6);
    background: rgba(15, 118, 110, 0.12);
}

html.dark .file-card.drop-target {
    border-color: rgba(251, 146, 60, 0.7);
    background: rgba(251, 146, 60, 0.18);
}

.files-list tbody tr.drop-target {
    background: rgba(15, 118, 110, 0.12);
}

html.dark .files-list tbody tr.drop-target {
    background: rgba(251, 146, 60, 0.18);
}

.file-icon {
    width: 56px;
    height: 56px;
    margin: 8px 0;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, rgba(148, 163, 184, 0.24), rgba(255, 255, 255, 0.65));
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.file-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.4;
}

.icon-folder {
    color: var(--accent);
}

html.dark .icon-folder {
    color: var(--gold);
}

.icon-image {
    color: #22d3ee;
}

.icon-video {
    color: #f472b6;
}

.icon-audio {
    color: #a78bfa;
}

.icon-doc {
    color: #34d399;
}

.icon-file {
    color: #94a3b8;
}

.file-name {
    font-weight: 600;
    font-size: 14px;
    margin: 6px 0 2px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-meta {
    font-size: 12px;
    color: var(--muted);
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2;
    word-break: break-all;
}

.file-ext {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.files-list {
    display: none;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card);
    margin-top: 16px;
}

.files-list table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.files-list thead {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--muted);
    background: rgba(148, 163, 184, 0.15);
}

.files-list th,
.files-list td {
    padding: 14px 16px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.files-list tbody tr {
    border-top: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.15s ease;
}

.files-list tbody tr:hover {
    background: rgba(148, 163, 184, 0.1);
}

.files-list tbody tr.selected {
    background: rgba(15, 118, 110, 0.08);
}

html.dark .files-list tbody tr.selected {
    background: rgba(251, 146, 60, 0.12);
}

.col-select {
    width: 56px;
    min-width: 56px;
    max-width: 56px;
    text-align: center;
}

.col-size {
    width: 35%;
    text-align: left;
}

.col-date {
    width: 140px;
    text-align: right;
}

.list-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    min-width: 0;
}

.list-name span:last-child {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-size,
.list-date {
    text-align: left;
    color: var(--muted);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-date {
    text-align: right;
}

/* .file-icon.small {
    width: 22px;
    height: 22px;
} */

.files-list .select-indicator {
    width: 16px;
    height: 16px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, 0.6);
    background: transparent;
    transition: all 0.12s ease;
}

.files-list .select-indicator::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    transform: scale(0);
    transition: transform 0.12s ease;
}

.files-list tbody tr:hover .select-indicator {
    border-color: var(--accent);
}

.files-list tbody tr.selected .select-indicator {
    border-color: var(--accent);
    background: var(--accent);
}

.files-list tbody tr.selected .select-indicator::after {
    transform: scale(1);
}

.files[data-view="grid"] .files-grid {
    display: grid;
}

.files[data-view="grid"] .files-list {
    display: none;
}

.files[data-view="grid"] .empty-state {
    display: flex;
}

.files[data-view="list"] .files-grid {
    display: none;
}

.files[data-view="list"] .files-list {
    display: block;
}

.files[data-view="list"] .empty-state {
    display: flex;
}

.files.has-content .empty-state {
    display: none;
}

.upload-panel {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.upload-card {
    background: var(--card-strong);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px 14px;
    min-width: 260px;
    box-shadow: var(--shadow);
}

.upload-card .upload-title {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.upload-progress {
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
    overflow: hidden;
}

.upload-progress span {
    display: block;
    height: 100%;
    background: var(--accent);
    transition: width 0.2s ease;
}

html.dark .upload-progress span {
    background: var(--gold);
}

.modal {
    border: none;
    border-radius: 20px;
    padding: 0;
    background: var(--card-strong);
    color: var(--text);
    width: min(460px, 92vw);
    box-shadow: var(--shadow);
}

.modal::backdrop {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-display);
}

.modal-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    font-weight: 600;
}

.field input {
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 12px 14px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--text);
}

html.dark .field input {
    background: rgba(15, 23, 36, 0.7);
}

.field input:focus {
    outline: none;
    border-color: rgba(15, 118, 110, 0.5);
}

html.dark .field input:focus {
    border-color: rgba(251, 146, 60, 0.5);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.error {
    color: var(--danger);
    font-size: 13px;
    min-height: 16px;
}

.modal-move {
    width: min(640px, 94vw);
}

.move-summary {
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(148, 163, 184, 0.12);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.move-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.move-path,
.move-target {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.move-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.move-target-name {
    font-weight: 600;
}

.muted {
    color: var(--muted);
}

.move-search input,
.move-create input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--text);
}

html.dark .move-search input,
html.dark .move-create input {
    background: rgba(15, 23, 36, 0.7);
}

.move-list {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.4);
    max-height: 260px;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

html.dark .move-list {
    background: rgba(15, 23, 36, 0.6);
}

.move-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.move-row:last-child {
    border-bottom: none;
}

.move-row.selected {
    background: rgba(15, 118, 110, 0.1);
}

html.dark .move-row.selected {
    background: rgba(251, 146, 60, 0.12);
}

.move-row-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.move-create {
    display: flex;
    gap: 10px;
    align-items: center;
}

@media (max-width: 900px) {
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 720px) {
    .toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .toolbar-left {
        width: 100%;
    }

    .search input {
        width: 100%;
    }

    .files-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .col-date {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}