:root { --bottom-reserve: 0px; --radius-sm: 4px; --radius-md: 9px; --shadow-elevated: 0 14px 34px rgba(12, 20, 32, 0.18); --shadow-panel: 0 2px 8px rgba(8, 14, 22, 0.06); } :root { --bg: var(--color-page-bg); --panel: var(--color-surface); --border: var(--color-border); --text: var(--color-text-primary); --muted: var(--color-text-muted); --error: var(--color-danger); --accent: var(--color-accent); --active-border: var(--color-active-pane-border); --active-bg: var(--color-surface); } * { box-sizing: border-box; } html, body { height: 100%; } body { margin: 0; font-family: Inter, "Segoe UI", "SF Pro Text", "Helvetica Neue", Arial, sans-serif; background: var(--color-page-bg); color: var(--color-text-primary); overflow: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; } #app-shell { height: 100vh; display: grid; grid-template-rows: auto 1fr auto; } #title-zone { padding: 8px 12px; border-bottom: 1px solid var(--color-border); background: var(--color-surface-elevated); display: flex; align-items: center; justify-content: space-between; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03); } #title-zone-actions { display: flex; align-items: center; gap: 10px; min-width: 0; } h1, h2, h3 { margin: 0; } h1 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; } .workspace { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px; min-height: 0; } .panel { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 8px; box-shadow: var(--shadow-panel); } .pane { display: flex; flex-direction: column; min-height: 0; height: 100%; } .pane.active-pane { border-color: var(--color-active-pane-border); box-shadow: 0 0 0 1px var(--color-active-pane-border) inset, var(--shadow-panel); background: var(--color-surface); } .pane-header { flex: 0 0 auto; margin-bottom: 5px; } .pane-content { flex: 1 1 auto; min-height: 0; border-top: 1px solid var(--color-border); padding-top: 5px; position: relative; background: var(--color-surface); display: flex; flex-direction: column; } .pane-list-header { flex: 0 0 auto; position: relative; z-index: 2; background: var(--color-surface); } .pane-list-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; position: relative; z-index: 1; } .pane-focus-line { flex: 0 0 auto; min-height: 24px; padding: 5px 8px 3px 8px; border-top: 1px solid var(--color-border); background: var(--color-surface-elevated); color: var(--color-text-muted); font-size: 12px; line-height: 1.25; display: flex; align-items: center; gap: 10px; min-width: 0; } .pane-focus-name { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pane-focus-selected { flex: 0 0 auto; white-space: nowrap; color: var(--color-text-secondary, var(--color-text-primary)); opacity: 0.9; } .toolbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 4px; } .compact-toolbar { margin-bottom: 2px; } .pane-topbar { justify-content: flex-end; } .checkbox { color: var(--color-text-muted); font-size: 13px; } input, button, textarea { font: inherit; font-size: 13px; } input, textarea { padding: 5px 7px; color: var(--color-text-primary); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-sm); } button { padding: 4px 7px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-button-bg); color: var(--color-text-primary); cursor: pointer; transition: background 120ms ease, border-color 120ms ease, color 120ms ease, box-shadow 120ms ease; } button:hover { background: var(--color-button-hover); border-color: var(--color-accent); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset; } button:disabled { opacity: 0.56; cursor: not-allowed; } #theme-toggle { width: 30px; min-width: 30px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--color-button-secondary-bg); } .upload-progress { display: grid; gap: 1px; margin-top: 4px; padding: 4px 8px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-elevated); color: var(--color-text-muted); font-size: 12px; line-height: 1.25; } .upload-progress-target, .upload-progress-file { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .upload-progress-count { color: var(--color-text-primary); } #theme-toggle-icon { font-size: 14px; line-height: 1; } .pathline { color: var(--color-text-muted); margin-bottom: 3px; font-size: 12px; } .compact-line { display: flex; gap: 6px; flex-wrap: wrap; } .breadcrumbs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 2px; color: var(--color-text-muted); font-size: 12px; } .breadcrumbs button { padding: 1px 4px; font-size: 12px; background: transparent; color: var(--color-text-muted); } .breadcrumbs button:hover { color: var(--color-accent); background: var(--color-button-secondary-bg); } .list { list-style: none; margin: 0; padding: 0; } .list-grid-header { display: grid; grid-template-columns: minmax(0, 1fr) 88px 138px; gap: 6px; padding: 5px 6px 6px 6px; border-bottom: 1px solid var(--color-border); margin-bottom: 0; background: var(--color-list-header-bg); border-radius: var(--radius-sm); color: var(--color-text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 8px 10px -10px rgba(0, 0, 0, 0.45); } .col-name { padding-left: 0; } .col-size, .col-modified { text-align: right; } .list li { border-top: 1px solid var(--color-border); padding: 6px 6px 5px 6px; display: grid; grid-template-columns: minmax(0, 1fr) 88px 138px; gap: 6px; align-items: center; border-radius: var(--radius-sm); transition: background 100ms ease, box-shadow 100ms ease; } .list li.selectable { cursor: pointer; } .list li.selectable:hover { background: var(--color-list-row-hover); } .entry-name { display: flex; align-items: center; gap: 8px; min-width: 0; } .entry-select-slot { width: 18px; min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; } .entry-select-toggle { width: 18px; min-width: 18px; height: 18px; padding: 0; border: none; border-radius: 999px; background: transparent; display: inline-flex; align-items: center; justify-content: center; box-shadow: none; } .entry-select-toggle:hover { background: transparent; border-color: transparent; box-shadow: none; } .entry-select-toggle.is-disabled { pointer-events: none; } .entry-select-indicator { width: 16px; height: 16px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--color-text-muted) 80%, transparent); opacity: 0; transition: opacity 100ms ease, border-color 100ms ease, background 100ms ease; position: relative; } .list li:hover .entry-select-indicator, .entry-select-toggle:focus-visible .entry-select-indicator, .entry-select-toggle.is-selected .entry-select-indicator { opacity: 1; } .entry-select-toggle.is-selected .entry-select-indicator { border-color: var(--color-accent); background: var(--color-accent); } .entry-select-toggle.is-selected .entry-select-indicator::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; line-height: 1; color: var(--color-surface); } .entry-media-slot { width: 28px; min-width: 28px; height: 28px; border: 1px solid var(--color-border); border-radius: 6px; background: var(--color-button-secondary-bg); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; } .entry-media-slot img { width: 100%; height: 100%; object-fit: cover; display: block; } .entry-media-icon { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; color: var(--color-text-muted); } .entry-media-svg { width: 18px; height: 18px; display: block; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; } .entry-media-svg.is-filled { fill: currentColor; stroke: currentColor; } .entry-media-svg .entry-media-detail { fill: none; stroke: var(--color-surface); stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; } .entry-media-svg .entry-media-detail-solid { fill: var(--color-surface); stroke: none; } .entry-media-icon.folder { color: color-mix(in srgb, #d1a85e 72%, var(--color-text-muted)); } .entry-media-icon.file { color: var(--color-text-muted); } .entry-media-icon.image { color: color-mix(in srgb, #62a58c 70%, var(--color-text-muted)); } .entry-media-icon.video { color: color-mix(in srgb, #7f8ed1 70%, var(--color-text-muted)); } .entry-media-icon.pdf { color: color-mix(in srgb, #d06b6b 70%, var(--color-text-muted)); } .entry-media-icon.markdown, .entry-media-icon.text, .entry-media-icon.yaml, .entry-media-icon.xml { color: color-mix(in srgb, #8ea0b8 82%, var(--color-text-muted)); } .entry-media-icon.json, .entry-media-icon.javascript, .entry-media-icon.typescript, .entry-media-icon.css, .entry-media-icon.html, .entry-media-icon.shell, .entry-media-icon.python, .entry-media-icon.docker { color: color-mix(in srgb, var(--color-accent) 60%, var(--color-text-muted)); } .entry-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .settings-option { display: flex; align-items: center; gap: 8px; margin: 10px 0 8px; } .settings-field { display: grid; gap: 6px; margin: 10px 0 6px; } .settings-field input { width: 100%; } .settings-actions { display: flex; margin-top: 8px; } .list li.is-selected { background: var(--color-selection-bg); box-shadow: inset 0 0 0 1px var(--color-selection-border); } .list li.is-current-row { box-shadow: inset 0 0 0 1px var(--color-current-row-border); } .list li.is-current-row:not(.is-selected) { background: var(--color-current-row-bg); } .list li.is-current-row.is-selected { background: var(--color-selection-bg); box-shadow: inset 0 0 0 1px var(--color-current-row-border), inset 3px 0 0 var(--color-active-pane-border); } .pane:not(.active-pane) .list li.is-selected { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-selection-border) 60%, transparent); } .pane:not(.active-pane) .list li.is-current-row.is-selected { box-shadow: inset 0 0 0 1px var(--color-current-row-border), inset 2px 0 0 color-mix(in srgb, var(--color-active-pane-border) 55%, transparent); } .entry-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; } .entry-name.entry-dir { font-weight: 600; } .dir-link { border: 0; background: transparent; padding: 0; color: var(--color-accent); text-decoration: underline; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dir-link:hover { background: transparent; } .entry-size, .entry-modified { font-size: 12px; color: var(--color-text-muted); text-align: right; white-space: nowrap; } .error { color: var(--color-danger); min-height: 12px; margin-bottom: 2px; font-size: 12px; } #status { color: var(--color-text-muted); font-size: 12px; min-width: 0; text-align: right; font-weight: 500; letter-spacing: -0.01em; } #footer-bar { border-top: 1px solid var(--color-border); background: var(--color-surface-elevated); padding: 6px 12px 5px 12px; display: flex; justify-content: center; } #function-bar { margin-bottom: 0; justify-content: center; gap: 5px; width: 100%; max-width: none; flex-wrap: nowrap; } #function-bar button { min-width: 72px; padding: 4px 9px; display: inline-flex; align-items: baseline; gap: 6px; justify-content: center; } .split-button { position: relative; display: inline-flex; align-items: stretch; } .split-button > button { min-width: 0; } #upload-btn { border-top-right-radius: 0; border-bottom-right-radius: 0; } #upload-menu-toggle { min-width: 32px; padding-left: 7px; padding-right: 7px; border-left: 1px solid var(--color-border); border-top-left-radius: 0; border-bottom-left-radius: 0; } .split-menu { position: absolute; left: 0; bottom: calc(100% + 6px); min-width: 148px; display: grid; gap: 4px; padding: 6px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-elevated); box-shadow: var(--shadow-elevated); z-index: 20; } .split-menu button { width: 100%; justify-content: flex-start; } .shortcut-hint { color: var(--color-text-muted); font-size: 10px; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; } .popup-overlay { position: fixed; inset: 0; background: var(--color-overlay-bg); display: flex; align-items: center; justify-content: center; z-index: 1000; } .popup-overlay.hidden { display: none; } .hidden { display: none !important; } .popup-card { width: min(420px, calc(100vw - 24px)); background: var(--color-surface-elevated); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 11px; box-shadow: var(--shadow-elevated); } .feedback-card { width: min(440px, calc(100vw - 24px)); } .context-menu { position: fixed; min-width: 220px; padding: 8px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-elevated); box-shadow: var(--shadow-elevated); z-index: 1100; } .context-menu-scope { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-text-muted); } .context-menu-target { margin-top: 4px; font-size: 12px; color: var(--color-text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .context-menu-separator { height: 1px; margin: 8px 0; background: var(--color-border); } .context-menu button { width: 100%; justify-content: flex-start; } #upload-modal .popup-card { max-width: 320px; padding: 12px 14px; text-align: left; } #download-modal .popup-card { max-width: 320px; padding: 12px 14px; text-align: left; } .upload-modal-progress { width: 100%; height: 4px; border-radius: 999px; background: var(--color-border); margin: 6px 0; overflow: hidden; } .upload-modal-progress-bar { height: 100%; width: 0; background: var(--color-accent); transition: width 150ms ease; } .upload-modal-count { font-size: 12px; color: var(--color-text-muted); } .download-modal-progress { width: 100%; height: 4px; border-radius: 999px; background: var(--color-border); margin: 6px 0; overflow: hidden; } .download-modal-progress-bar { height: 100%; width: 0; background: var(--color-accent); transition: width 150ms ease; } .download-modal-count { font-size: 12px; color: var(--color-text-muted); } .popup-meta { color: var(--color-text-muted); font-size: 12px; margin: 4px 0 8px 0; } #editor-file-name { color: var(--color-text-primary); font-size: 13px; font-weight: 600; margin-top: 8px; margin-bottom: 2px; } #editor-file-path { margin-top: 0; margin-bottom: 8px; } .popup-label { font-size: 12px; color: var(--color-text-muted); } #wildcard-pattern-input, #move-input { width: 100%; margin-top: 4px; margin-bottom: 6px; } #rename-popup .popup-card, #move-popup .popup-card { width: min(520px, calc(100vw - 28px)); } #rename-input { width: 100%; margin-top: 4px; margin-bottom: 6px; min-width: 0; } .popup-actions { display: flex; gap: 8px; justify-content: flex-end; } .viewer-card { position: relative; width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 32px); display: flex; flex-direction: column; } .editor-card { width: min(1180px, calc(100vw - 28px)); max-height: calc(100vh - 24px); } .video-player { width: 100%; max-height: calc(100vh - 180px); background: #000; border-radius: var(--radius-sm); border: 1px solid var(--color-border); } .pdf-frame { width: 100%; height: calc(100vh - 180px); min-height: 420px; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--color-border); } .image-card { width: min(1100px, calc(100vw - 28px)); } .image-toolbar { display: flex; gap: 8px; margin: 8px 0 8px 0; } .image-viewport { display: flex; align-items: center; justify-content: center; min-height: 420px; height: calc(100vh - 240px); overflow: auto; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--color-surface) 88%, black 12%); } .image-viewer-img { max-width: none; max-height: none; transform-origin: center center; transition: transform 120ms ease; user-select: none; } .search-card { width: min(680px, calc(100vw - 32px)); } .info-card { width: min(620px, calc(100vw - 32px)); } .info-grid { display: grid; grid-template-columns: minmax(110px, 150px) minmax(0, 1fr); gap: 10px 14px; margin-top: 12px; } .info-label { color: var(--color-muted); font-size: 0.88rem; font-weight: 600; } .info-value { color: var(--color-text); min-width: 0; overflow-wrap: anywhere; } .search-input { width: 100%; } .search-results { display: grid; gap: 8px; max-height: 320px; overflow: auto; margin-top: 10px; } .search-result { display: grid; gap: 2px; width: 100%; text-align: left; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-elevated); } .search-result:hover { border-color: var(--color-active-border); } .search-result-name { font-weight: 600; color: var(--color-text); } .search-result-path { color: var(--color-muted); font-size: 0.9rem; } .search-result-meta { color: var(--color-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; } .settings-card { position: relative; width: min(1180px, calc(100vw - 32px)); max-height: calc(100vh - 56px); display: flex; flex-direction: column; gap: 10px; } .settings-tabs { display: flex; gap: 6px; padding-bottom: 4px; border-bottom: 1px solid var(--color-border); } .settings-tab { background: var(--color-button-secondary-bg); } .settings-tab.is-active { border-color: var(--color-accent); background: var(--color-button-hover); } .settings-panel { min-height: 180px; } .settings-readonly-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; } .settings-readonly-item { border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface); padding: 8px 10px; } .settings-readonly-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); margin-bottom: 4px; } .settings-readonly-value { font-size: 14px; word-break: break-word; } .settings-placeholder-title { font-size: 13px; font-weight: 700; margin-bottom: 8px; } .settings-activity-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; } .settings-activity-panel { min-width: 0; display: flex; flex-direction: column; } .settings-log-list { display: flex; flex-direction: column; gap: 8px; max-height: 46vh; overflow-y: auto; padding-right: 2px; } .settings-log-item { border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 8px 9px; background: var(--color-surface); } .settings-log-item.status-failed { border-color: var(--color-danger); } .settings-log-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 3px; } .settings-log-path { font-size: 13px; margin-bottom: 4px; word-break: break-word; } .settings-log-meta { font-size: 12px; color: var(--color-text-muted); } .settings-log-error { margin-top: 5px; font-size: 12px; color: var(--color-danger); } @media (max-width: 900px) { .settings-activity-grid { grid-template-columns: minmax(0, 1fr); } } @media (max-width: 720px) { .settings-card { width: min(1180px, calc(100vw - 20px)); } } .viewer-close { position: absolute; top: 10px; right: 10px; min-width: 32px; padding: 2px 8px; } .viewer-content, .editor-host { margin: 6px 0 0 0; padding: 11px; overflow: auto; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface); color: var(--color-text-primary); font: 12px/1.45 "SFMono-Regular", Consolas, "Liberation Mono", monospace; } .viewer-content { min-height: 240px; max-height: calc(100vh - 180px); white-space: pre-wrap; word-break: break-word; user-select: text; } .editor-host { margin-bottom: 8px; min-height: 520px; height: calc(100vh - 220px); width: 100%; overflow: hidden; padding: 0; } .editor-host .monaco-editor { border-radius: calc(var(--radius-sm) - 1px); } @media (max-width: 1200px) { .workspace { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; } .list-grid-header, .list li { grid-template-columns: 14px minmax(0, 1fr) 70px 112px; gap: 4px; } }