.container { max-width: 1200px; margin: 0 auto; padding: 20px; min-height: calc(100vh - 64px); display: flex; flex-direction: column; }
.toolbar { display: flex; justify-content: space-between; align-items: center; background: var(--surface); padding: 0 15px; border-radius: var(--radius); border: 1px solid var(--border-color); margin-bottom: 15px; height: 56px; flex-shrink: 0; }
.tools-left { flex: 1; min-width: 0; display: flex; align-items: center; font-size: 14px; overflow: hidden; }
.breadcrumb-item { cursor: pointer; color: var(--primary); font-weight: 600; white-space: nowrap; }
.tools-right { display: flex; gap: 8px; align-items: center; margin-left: 15px; }
.search-bar { position: relative; width: 130px; }
.search-bar input { width: 100%; background: var(--background); border: 1px solid var(--border-color); border-radius: 6px; padding: 6px 10px 6px 30px; color: #fff; outline: none; font-size: 13px; transition: width 0.2s; }
.search-bar input:focus { border-color: var(--primary); width: 180px; }
.search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); opacity: 0.5; pointer-events: none; font-size: 12px; }
#batchTools { display: none; gap: 8px; background: rgba(64, 158, 255, 0.1); padding: 0 12px; border-radius: 6px; height: 34px; align-items: center; border: 1px solid var(--primary); }
.explorer-card { background: #161e2e; border: 1px solid var(--border-color); border-radius: var(--radius); min-height: 500px; padding: 20px; flex: 1; }
.grid-layout { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 15px; }
.grid-layout .file-item { background: var(--surface); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 25px 15px; text-align: center; cursor: pointer; display: flex !important; flex-direction: column !important; height: 240px; justify-content: space-between; align-items: center; transition: 0.2s; }
.grid-layout .file-item:hover { border-color: var(--primary); transform: translateY(-2px); background: var(--surface-hover); }
.grid-layout .file-item.selected { border-color: var(--primary); background: rgba(64, 158, 255, 0.1); }
.grid-layout .file-main { flex: 1; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; pointer-events: none; width: 100%; }
.grid-layout .file-icon { font-size: 48px; margin-bottom: 12px; }
.grid-layout .file-name { font-size: 13px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; pointer-events: auto; }
.grid-layout .file-info { font-size: 11px; color: var(--text-muted); margin-bottom: 15px; }
.grid-layout .file-actions { display: flex !important; flex-direction: row !important; gap: 8px !important; justify-content: center !important; }
.list-layout { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.list-header { display: flex; align-items: center; padding: 0 15px; height: 40px; color: var(--text-muted); font-size: 12px; border-bottom: 1px solid var(--border-color); margin-bottom: 8px; }
.list-layout .file-item { background: rgba(255,255,255,0.03); border: 1px solid var(--border-color); height: 52px; padding: 0 15px; border-radius: 8px; cursor: pointer; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; }
.list-layout .file-item.selected { border-color: var(--primary); background: rgba(64, 158, 255, 0.1); }
.list-layout .col-name { flex: 3; display: flex; align-items: center; min-width: 0; pointer-events: none; justify-content: flex-start !important; }
.list-layout .col-size { width: 100px; text-align: center; font-size: 12px; }
.list-layout .col-time { width: 180px; text-align: center; font-family: monospace; font-size: 12px; }
.list-layout .col-acts { width: 160px; display: flex; gap: 10px; justify-content: flex-end; align-items: center; }
.list-layout .file-icon { font-size: 22px; margin-right: 12px; }
.list-layout .file-name { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; text-align: left; pointer-events: auto; }
.preview-modal { background: var(--surface); border: 1px solid var(--border-color); padding: 24px; border-radius: 16px; width: 95%; max-width: 1100px; height: 85vh; display: flex; flex-direction: column; }
.preview-body { flex: 1; overflow: auto; background: var(--background); border-radius: 8px; display: flex; justify-content: center; align-items: flex-start; position: relative; }
.preview-media { align-self: center; max-width: 100%; max-height: 100%; }
.edit-textarea { width: 100%; height: 100%; background: transparent; color: #cbd5e1; border: none; padding: 25px; font-family: 'Consolas', monospace; font-size: 14px; line-height: 1.6; outline: none; resize: none; }
.rename-input { background: var(--background); border: 1px solid var(--primary); color: #fff; width: 100%; padding: 2px 5px; border-radius: 4px; text-align: inherit; outline: none; }
