@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } } * { margin: 0; padding: 0; box-sizing: border-box; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.06) rgba(0, 0, 0, 0); } *::-webkit-scrollbar { width: 5px; height: 5px; } *::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0); } *::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.06); border-radius: 3px; } *::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.14); } :root { --bg-0: #111118; --bg-1: #18181f; --bg-2: #1f1f28; --bg-3: #26263a; --border-subtle: rgba(255, 255, 255, 0.06); --border: rgba(255, 255, 255, 0.09); --border-strong: rgba(255, 255, 255, 0.14); --text-0: #dcdce4; --text-1: #a0a0b8; --text-2: #6c6c84; --accent: #7c7ef5; --accent-dim: rgba(124, 126, 245, 0.15); --accent-text: #9698f7; --success: #3ec97a; --error: #e45858; --warning: #d4a037; --radius-sm: 3px; --radius: 5px; --radius-md: 7px; --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3); --shadow: 0 2px 8px rgba(0, 0, 0, 0.35); --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.45); } body { font-family: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif; background: var(--bg-0); color: var(--text-0); font-size: 13px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow: hidden; } :focus-visible:focus-visible { outline: 2px solid #7c7ef5; outline-offset: 2px; } ::selection { background: rgba(124, 126, 245, 0.15); color: #9698f7; } a { color: #9698f7; text-decoration: none; } a:hover { text-decoration: underline; } code { padding: 1px 5px; border-radius: 3px; background: #111118; color: #9698f7; font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace; font-size: 11px; } ul { list-style: none; padding: 0; } ul li { padding: 3px 0; font-size: 12px; color: #a0a0b8; } .text-muted { color: #a0a0b8; } .text-sm { font-size: 11px; } .mono { font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace; font-size: 12px; } .flex-row { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; } .flex-between { display: flex; justify-content: space-between; align-items: center; } .mb-16 { margin-bottom: 16px; } .mb-8 { margin-bottom: 12px; } .mt-16 { margin-top: 16px; } .mt-8 { margin-top: 12px; } @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } } @keyframes slide-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } } @keyframes spin { to { transform: rotate(360deg); } } @keyframes skeleton-pulse { 0% { opacity: 0.6; } 50% { opacity: 0.3; } 100% { opacity: 0.6; } } @keyframes indeterminate { 0% { transform: translateX(-100%); } 100% { transform: translateX(400%); } } .app { display: flex; flex-direction: row; justify-content: flex-start; align-items: stretch; height: 100vh; overflow: hidden; } .sidebar { width: 220px; min-width: 220px; max-width: 220px; background: #18181f; border-right: 1px solid rgba(255, 255, 255, 0.09); display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; flex-shrink: 0; user-select: none; overflow-y: auto; overflow-x: hidden; z-index: 10; transition: width 0.15s, min-width 0.15s, max-width 0.15s; } .sidebar.collapsed { width: 48px; min-width: 48px; max-width: 48px; } .sidebar.collapsed .nav-label, .sidebar.collapsed .sidebar-header .logo, .sidebar.collapsed .sidebar-header .version, .sidebar.collapsed .nav-badge, .sidebar.collapsed .nav-item-text, .sidebar.collapsed .sidebar-footer .status-text, .sidebar.collapsed .user-name, .sidebar.collapsed .role-badge, .sidebar.collapsed .user-info .btn, .sidebar.collapsed .sidebar-import-header span, .sidebar.collapsed .sidebar-import-file { display: none; } .sidebar.collapsed .nav-item { justify-content: center; padding: 8px; border-left: none; border-radius: 3px; } .sidebar.collapsed .nav-item.active { border-left: none; } .sidebar.collapsed .nav-icon { width: auto; margin: 0; } .sidebar.collapsed .sidebar-header { padding: 12px 8px; justify-content: center; } .sidebar.collapsed .nav-section { padding: 0 4px; } .sidebar.collapsed .sidebar-footer { padding: 8px; } .sidebar.collapsed .sidebar-footer .user-info { justify-content: center; padding: 4px; } .sidebar.collapsed .sidebar-import-progress { padding: 6px; } .sidebar-header { padding: 16px 16px 20px; display: flex; flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 8px; } .sidebar-header .logo { font-size: 15px; font-weight: 700; letter-spacing: -0.4px; color: #dcdce4; } .sidebar-header .version { font-size: 10px; color: #6c6c84; } .sidebar-toggle { background: rgba(0, 0, 0, 0); border: none; color: #6c6c84; padding: 8px; font-size: 18px; width: 100%; text-align: center; } .sidebar-toggle:hover { color: #dcdce4; } .sidebar-spacer { flex: 1; } .sidebar-footer { padding: 12px; border-top: 1px solid rgba(255, 255, 255, 0.06); overflow: visible; min-width: 0; } .nav-section { padding: 0 8px; margin-bottom: 2px; } .nav-label { padding: 8px 8px 4px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #6c6c84; } .nav-item { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 3px; cursor: pointer; color: #a0a0b8; font-size: 13px; font-weight: 450; transition: color 0.1s, background 0.1s; border: none; background: none; width: 100%; text-align: left; border-left: 2px solid rgba(0, 0, 0, 0); margin-left: 0; } .nav-item:hover { color: #dcdce4; background: rgba(255, 255, 255, 0.03); } .nav-item.active { color: #9698f7; border-left-color: #7c7ef5; background: rgba(124, 126, 245, 0.15); } .nav-item-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; } .sidebar:not(.collapsed) .nav-item-text { overflow: visible; } .nav-icon { width: 18px; text-align: center; font-size: 14px; opacity: 0.7; } .nav-badge { margin-left: auto; font-size: 10px; font-weight: 600; color: #6c6c84; background: #26263a; padding: 1px 6px; border-radius: 12px; min-width: 20px; text-align: center; font-variant-numeric: tabular-nums; } .status-indicator { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; min-width: 0; overflow: visible; } .sidebar:not(.collapsed) .status-indicator { justify-content: flex-start; } .status-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; } .status-dot.connected { background: #3ec97a; } .status-dot.disconnected { background: #e45858; } .status-dot.checking { background: #d4a037; animation: pulse 1.5s infinite; } .status-text { color: #6c6c84; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; } .sidebar:not(.collapsed) .status-text { overflow: visible; } .main { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; overflow: hidden; min-width: 0; } .header { height: 48px; min-height: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; padding: 0 20px; background: #18181f; } .page-title { font-size: 14px; font-weight: 600; color: #dcdce4; } .header-spacer { flex: 1; } .content { flex: 1; overflow-y: auto; padding: 20px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.06) rgba(0, 0, 0, 0); } .sidebar-import-progress { padding: 10px 12px; background: #1f1f28; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 11px; } .sidebar-import-header { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 6px; margin-bottom: 4px; color: #a0a0b8; } .sidebar-import-file { color: #6c6c84; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; } .sidebar-import-progress .progress-bar { height: 3px; } .user-info { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 6px; font-size: 12px; overflow: hidden; min-width: 0; } .user-name { font-weight: 500; color: #dcdce4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 90px; flex-shrink: 1; } .role-badge { display: inline-block; padding: 1px 6px; border-radius: 3px; font-size: 10px; font-weight: 600; text-transform: uppercase; } .role-badge.role-admin { background: rgba(139, 92, 246, 0.1); color: #9d8be0; } .role-badge.role-editor { background: rgba(34, 160, 80, 0.1); color: #5cb97a; } .role-badge.role-viewer { background: rgba(59, 120, 200, 0.1); color: #6ca0d4; } .btn { padding: 5px 12px; border-radius: 3px; border: none; cursor: pointer; font-size: 12px; font-weight: 500; transition: all 0.1s; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; line-height: 1.5; } .btn-primary { background: #7c7ef5; color: #fff; } .btn-primary:hover { background: #8b8df7; } .btn-secondary { background: #26263a; color: #dcdce4; border: 1px solid rgba(255, 255, 255, 0.09); } .btn-secondary:hover { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06); } .btn-danger { background: rgba(0, 0, 0, 0); color: #e45858; border: 1px solid rgba(228, 88, 88, 0.25); } .btn-danger:hover { background: rgba(228, 88, 88, 0.08); } .btn-ghost { background: rgba(0, 0, 0, 0); border: none; color: #a0a0b8; padding: 5px 8px; } .btn-ghost:hover { color: #dcdce4; background: rgba(255, 255, 255, 0.04); } .btn-sm { padding: 3px 8px; font-size: 11px; } .btn-icon { padding: 4px; border-radius: 3px; background: rgba(0, 0, 0, 0); border: none; color: #6c6c84; cursor: pointer; transition: color 0.1s; font-size: 13px; } .btn-icon:hover { color: #dcdce4; } .btn:disabled, .btn[disabled] { opacity: 0.4; cursor: not-allowed; pointer-events: none; } .btn.btn-disabled-hint:disabled { opacity: 0.6; border-style: dashed; pointer-events: auto; cursor: help; } .card { background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; padding: 16px; } .card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .card-title { font-size: 14px; font-weight: 600; } .card-body { padding-top: 8px; } .data-table { width: 100%; border-collapse: collapse; background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; overflow: hidden; } .data-table thead th { padding: 8px 14px; text-align: left; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #6c6c84; border-bottom: 1px solid rgba(255, 255, 255, 0.09); background: #26263a; } .data-table tbody td { padding: 8px 14px; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); max-width: 300px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .data-table tbody tr { cursor: pointer; transition: background 0.08s; } .data-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); } .data-table tbody tr.row-selected { background: rgba(99, 102, 241, 0.12); } .data-table tbody tr:last-child td { border-bottom: none; } .sortable-header { cursor: pointer; user-select: none; transition: color 0.1s; } .sortable-header:hover { color: #9698f7; } input[type="text"], textarea, select { padding: 6px 10px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.09); background: #111118; color: #dcdce4; font-size: 13px; outline: none; transition: border-color 0.15s; font-family: inherit; } input[type="text"]::placeholder, textarea::placeholder, select::placeholder { color: #6c6c84; } input[type="text"]:focus, textarea:focus, select:focus { border-color: #7c7ef5; } input[type="text"][type="number"], textarea[type="number"], select[type="number"] { width: 80px; padding: 6px 8px; -moz-appearance: textfield; } input[type="text"][type="number"]::-webkit-outer-spin-button, input[type="text"][type="number"]::-webkit-inner-spin-button, textarea[type="number"]::-webkit-outer-spin-button, textarea[type="number"]::-webkit-inner-spin-button, select[type="number"]::-webkit-outer-spin-button, select[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } textarea { min-height: 64px; resize: vertical; } select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%236c6c84' d='M5 7L1 3h8z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; padding-right: 26px; min-width: 100px; } .form-group { margin-bottom: 12px; } .form-label { display: block; font-size: 11px; font-weight: 600; color: #a0a0b8; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.03em; } .form-row { display: flex; flex-direction: row; justify-content: flex-start; align-items: flex-end; gap: 8px; } .form-row input[type="text"] { flex: 1; } .form-label-row { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 2px; margin-bottom: 4px; } .form-label-row .form-label { margin-bottom: 0; } .badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 50%; font-size: 9px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; } .badge-neutral { background: rgba(255, 255, 255, 0.04); color: #a0a0b8; } .badge-success { background: rgba(62, 201, 122, 0.08); color: #3ec97a; } .badge-warning { background: rgba(212, 160, 55, 0.06); color: #d4a037; } .badge-danger { background: rgba(228, 88, 88, 0.06); color: #d47070; } .tab-bar { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); margin-bottom: 12px; } .tab-btn { background: rgba(0, 0, 0, 0); border: none; padding: 6px 8px; font-size: 13px; color: #a0a0b8; border-bottom: 2px solid rgba(0, 0, 0, 0); margin-bottom: -1px; cursor: pointer; transition: color 0.1s, border-color 0.1s; } .tab-btn:hover { color: #dcdce4; } .tab-btn.active { color: #9698f7; border-bottom-color: #7c7ef5; } .input-sm { padding: 6px 10px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.09); background: #111118; color: #dcdce4; font-size: 13px; outline: none; transition: border-color 0.15s; font-family: inherit; padding: 3px 8px; font-size: 12px; } .input-sm::placeholder { color: #6c6c84; } .input-sm:focus { border-color: #7c7ef5; } .input-suffix { display: flex; flex-direction: row; justify-content: flex-start; align-items: stretch; } .input-suffix input { border-radius: 3px 0 0 3px; border-right: none; flex: 1; } .input-suffix .btn { border-radius: 0 3px 3px 0; } .field-error { color: #d47070; font-size: 11px; margin-top: 2px; } .comments-list { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 8px; } .comment-item { padding: 8px; background: #18181f; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.06); } .comment-text { font-size: 13px; color: #dcdce4; line-height: 1.5; margin-top: 4px; } input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 3px; background: #1f1f28; cursor: pointer; position: relative; flex-shrink: 0; transition: all 0.15s ease; } input[type="checkbox"]:hover { border-color: #7c7ef5; background: #26263a; } input[type="checkbox"]:checked { background: #7c7ef5; border-color: #7c7ef5; } input[type="checkbox"]:checked::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #111118; border-width: 0 2px 2px 0; transform: rotate(45deg); } input[type="checkbox"]:focus-visible:focus-visible { outline: 2px solid #7c7ef5; outline-offset: 2px; } .checkbox-label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: #a0a0b8; user-select: none; } .checkbox-label:hover { color: #dcdce4; } .checkbox-label input[type="checkbox"] { margin: 0; } .toggle { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: #dcdce4; } .toggle.disabled { opacity: 0.4; cursor: not-allowed; } .toggle-track { width: 32px; height: 18px; border-radius: 9px; background: #26263a; border: 1px solid rgba(255, 255, 255, 0.09); position: relative; transition: background 0.15s; flex-shrink: 0; } .toggle-track.active { background: #7c7ef5; border-color: #7c7ef5; } .toggle-track.active .toggle-thumb { transform: translateX(14px); } .toggle-thumb { width: 14px; height: 14px; border-radius: 50%; background: #dcdce4; position: absolute; top: 1px; left: 1px; transition: transform 0.15s; } .filter-bar { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 12px; padding: 12px; background: #111118; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 5px; margin-bottom: 12px; } .filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .filter-label { font-size: 11px; font-weight: 500; color: #6c6c84; text-transform: uppercase; letter-spacing: 0.5px; margin-right: 4px; } .filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 14px; cursor: pointer; font-size: 11px; color: #a0a0b8; transition: all 0.15s ease; user-select: none; } .filter-chip:hover { background: #26263a; border-color: rgba(255, 255, 255, 0.14); color: #dcdce4; } .filter-chip.active { background: rgba(124, 126, 245, 0.15); border-color: #7c7ef5; color: #9698f7; } .filter-chip input[type="checkbox"] { width: 12px; height: 12px; margin: 0; } .filter-chip input[type="checkbox"]:checked::after { left: 3px; top: 1px; width: 3px; height: 6px; } .filter-group { display: flex; align-items: center; gap: 6px; } .filter-group label { display: flex; align-items: center; gap: 3px; cursor: pointer; color: #a0a0b8; font-size: 11px; white-space: nowrap; } .filter-group label:hover { color: #dcdce4; } .filter-separator { width: 1px; height: 20px; background: rgba(255, 255, 255, 0.09); flex-shrink: 0; } .view-toggle { display: flex; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 3px; overflow: hidden; } .view-btn { padding: 4px 10px; background: #1f1f28; border: none; color: #6c6c84; cursor: pointer; font-size: 18px; line-height: 1; transition: background 0.1s, color 0.1s; } .view-btn:first-child { border-right: 1px solid rgba(255, 255, 255, 0.09); } .view-btn:hover { color: #dcdce4; background: #26263a; } .view-btn.active { background: rgba(124, 126, 245, 0.15); color: #9698f7; } .breadcrumb { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 4px; padding: 10px 16px; font-size: 0.85rem; color: #6c6c84; } .breadcrumb-sep { color: #6c6c84; opacity: 0.5; } .breadcrumb-link { color: #9698f7; text-decoration: none; cursor: pointer; } .breadcrumb-link:hover { text-decoration: underline; } .breadcrumb-current { color: #dcdce4; font-weight: 500; } .progress-bar { width: 100%; height: 8px; background: #26263a; border-radius: 4px; overflow: hidden; margin-bottom: 6px; } .progress-fill { height: 100%; background: #7c7ef5; border-radius: 4px; transition: width 0.3s ease; } .progress-fill.indeterminate { width: 30%; animation: indeterminate 1.5s ease-in-out infinite; } .loading-overlay { display: flex; align-items: center; justify-content: center; padding: 48px 16px; color: #6c6c84; font-size: 13px; gap: 10px; } .spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.09); border-top-color: #7c7ef5; border-radius: 50%; animation: spin 0.7s linear infinite; } .spinner-small { width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, 0.09); border-top-color: #7c7ef5; border-radius: 50%; animation: spin 0.7s linear infinite; } .spinner-tiny { width: 10px; height: 10px; border: 1.5px solid rgba(255, 255, 255, 0.09); border-top-color: #7c7ef5; border-radius: 50%; animation: spin 0.7s linear infinite; } .modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 100; animation: fade-in 0.1s ease-out; } .modal { background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 7px; padding: 20px; min-width: 360px; max-width: 480px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45); } .modal.wide { max-width: 600px; max-height: 70vh; overflow-y: auto; } .modal-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; } .modal-body { font-size: 12px; color: #a0a0b8; margin-bottom: 16px; line-height: 1.5; } .modal-actions { display: flex; flex-direction: row; justify-content: flex-end; align-items: center; gap: 6px; } .tooltip-trigger { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 50%; background: #26263a; color: #6c6c84; font-size: 9px; font-weight: 700; cursor: help; position: relative; flex-shrink: 0; margin-left: 4px; } .tooltip-trigger:hover { background: rgba(124, 126, 245, 0.15); color: #9698f7; } .tooltip-trigger:hover .tooltip-text { display: block; } .tooltip-text { display: none; position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 6px 10px; background: #26263a; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 3px; color: #dcdce4; font-size: 11px; font-weight: 400; line-height: 1.4; white-space: normal; width: 220px; text-transform: none; letter-spacing: normal; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); z-index: 100; pointer-events: none; } .media-player { position: relative; background: #111118; border-radius: 5px; overflow: hidden; } .media-player:focus { outline: none; } .media-player-audio .player-artwork { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 24px 16px 8px; } .player-native-video { width: 100%; display: block; } .player-native-audio { display: none; } .player-artwork img { max-width: 200px; max-height: 200px; border-radius: 5px; object-fit: cover; } .player-artwork-placeholder { width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; background: #1f1f28; border-radius: 5px; font-size: 48px; opacity: 0.3; } .player-title { font-size: 13px; font-weight: 500; color: #dcdce4; text-align: center; } .player-controls { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; padding: 10px 14px; background: #1f1f28; } .media-player-video .player-controls { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.7); opacity: 0; transition: opacity 0.2s; } .media-player-video:hover .player-controls { opacity: 1; } .play-btn, .mute-btn, .fullscreen-btn { background: none; border: none; color: #dcdce4; cursor: pointer; font-size: 18px; padding: 4px; line-height: 1; transition: color 0.1s; } .play-btn:hover, .mute-btn:hover, .fullscreen-btn:hover { color: #9698f7; } .player-time { font-size: 11px; color: #6c6c84; font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace; min-width: 36px; text-align: center; user-select: none; } .seek-bar { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; background: #26263a; outline: none; cursor: pointer; } .seek-bar::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #7c7ef5; cursor: pointer; border: none; } .seek-bar::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #7c7ef5; cursor: pointer; border: none; } .volume-slider { width: 70px; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; background: #26263a; outline: none; cursor: pointer; } .volume-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 10px; height: 10px; border-radius: 50%; background: #a0a0b8; cursor: pointer; border: none; } .volume-slider::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: #a0a0b8; cursor: pointer; border: none; } .image-viewer-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.92); z-index: 150; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; animation: fade-in 0.15s ease-out; } .image-viewer-overlay:focus { outline: none; } .image-viewer-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: rgba(0, 0, 0, 0.5); border-bottom: 1px solid rgba(255, 255, 255, 0.08); z-index: 2; user-select: none; } .image-viewer-toolbar-left, .image-viewer-toolbar-center, .image-viewer-toolbar-right { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 6px; } .iv-btn { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: #dcdce4; border-radius: 3px; padding: 4px 10px; font-size: 12px; cursor: pointer; transition: background 0.1s; } .iv-btn:hover { background: rgba(255, 255, 255, 0.12); } .iv-btn.iv-close { color: #e45858; font-weight: 600; } .iv-zoom-label { font-size: 11px; color: #a0a0b8; min-width: 40px; text-align: center; font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace; } .image-viewer-canvas { flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; } .image-viewer-canvas img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; } .pdf-viewer { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; height: 100%; min-height: 500px; background: #111118; border-radius: 5px; overflow: hidden; } .pdf-toolbar { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; padding: 10px 12px; background: #18181f; border-bottom: 1px solid rgba(255, 255, 255, 0.09); } .pdf-toolbar-group { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 4px; } .pdf-toolbar-btn { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 3px; color: #a0a0b8; font-size: 14px; cursor: pointer; transition: all 0.15s; } .pdf-toolbar-btn:hover:not(:disabled) { background: #26263a; color: #dcdce4; } .pdf-toolbar-btn:disabled { opacity: 0.4; cursor: not-allowed; } .pdf-zoom-label { min-width: 45px; text-align: center; font-size: 12px; color: #a0a0b8; } .pdf-container { flex: 1; position: relative; overflow: hidden; background: #1f1f28; } .pdf-object { width: 100%; height: 100%; border: none; } .pdf-loading, .pdf-error { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; background: #18181f; color: #a0a0b8; } .pdf-error { padding: 12px; text-align: center; } .pdf-fallback { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; padding: 48px 12px; text-align: center; color: #6c6c84; } .markdown-viewer { padding: 16px; text-align: left; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 12px; } .markdown-toolbar { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; padding: 8px; background: #1f1f28; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.09); } .toolbar-btn { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 3px; background: #18181f; color: #a0a0b8; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.15s; } .toolbar-btn:hover { background: #26263a; border-color: rgba(255, 255, 255, 0.14); } .toolbar-btn.active { background: #7c7ef5; color: #fff; border-color: #7c7ef5; } .markdown-source { max-width: 100%; background: #26263a; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; padding: 16px; overflow-x: auto; font-family: "Menlo", "Monaco", "Courier New", monospace; font-size: 13px; line-height: 1.7; color: #dcdce4; white-space: pre-wrap; word-wrap: break-word; } .markdown-source code { font-family: inherit; background: none; padding: 0; border: none; } .markdown-content { max-width: 800px; color: #dcdce4; line-height: 1.7; font-size: 14px; text-align: left; } .markdown-content h1 { font-size: 1.8em; font-weight: 700; margin: 1em 0 0.5em; border-bottom: 1px solid rgba(255, 255, 255, 0.06); padding-bottom: 0.3em; } .markdown-content h2 { font-size: 1.5em; font-weight: 600; margin: 0.8em 0 0.4em; border-bottom: 1px solid rgba(255, 255, 255, 0.06); padding-bottom: 0.2em; } .markdown-content h3 { font-size: 1.25em; font-weight: 600; margin: 0.6em 0 0.3em; } .markdown-content h4 { font-size: 1.1em; font-weight: 600; margin: 0.5em 0 0.25em; } .markdown-content h5, .markdown-content h6 { font-size: 1em; font-weight: 600; margin: 0.4em 0 0.2em; color: #a0a0b8; } .markdown-content p { margin: 0 0 1em; } .markdown-content a { color: #7c7ef5; text-decoration: none; } .markdown-content a:hover { text-decoration: underline; } .markdown-content pre { background: #26263a; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 3px; padding: 12px 16px; overflow-x: auto; margin: 0 0 1em; font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace; font-size: 12px; line-height: 1.5; } .markdown-content code { background: #26263a; padding: 1px 5px; border-radius: 3px; font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace; font-size: 0.9em; } .markdown-content pre code { background: none; padding: 0; } .markdown-content blockquote { border-left: 3px solid #7c7ef5; padding: 4px 16px; margin: 0 0 1em; color: #a0a0b8; background: rgba(124, 126, 245, 0.04); } .markdown-content table { width: 100%; border-collapse: collapse; margin: 0 0 1em; } .markdown-content th, .markdown-content td { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.09); font-size: 13px; } .markdown-content th { background: #26263a; font-weight: 600; text-align: left; } .markdown-content tr:nth-child(even) { background: #1f1f28; } .markdown-content ul, .markdown-content ol { margin: 0 0 1em; padding-left: 16px; } .markdown-content ul { list-style: disc; } .markdown-content ol { list-style: decimal; } .markdown-content li { padding: 2px 0; font-size: 14px; color: #dcdce4; } .markdown-content hr { border: none; border-top: 1px solid rgba(255, 255, 255, 0.09); margin: 1.5em 0; } .markdown-content img { max-width: 100%; border-radius: 5px; } .markdown-content .footnote-definition { font-size: 0.85em; color: #a0a0b8; margin-top: 0.5em; padding-left: 1.5em; } .markdown-content .footnote-definition sup { color: #7c7ef5; margin-right: 4px; } .markdown-content sup a { color: #7c7ef5; text-decoration: none; font-size: 0.8em; } .wikilink { color: #9698f7; text-decoration: none; border-bottom: 1px dashed #7c7ef5; cursor: pointer; transition: border-color 0.1s, color 0.1s; } .wikilink:hover { color: #7c7ef5; border-bottom-style: solid; } .wikilink-embed { display: inline-block; padding: 2px 8px; background: rgba(139, 92, 246, 0.08); border: 1px dashed rgba(139, 92, 246, 0.3); border-radius: 3px; color: #9d8be0; font-size: 12px; cursor: default; } .media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; } .media-card { background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; overflow: hidden; cursor: pointer; transition: border-color 0.12s, box-shadow 0.12s; position: relative; } .media-card:hover { border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } .media-card.selected { border-color: #7c7ef5; box-shadow: 0 0 0 1px #7c7ef5; } .card-checkbox { position: absolute; top: 6px; left: 6px; z-index: 2; opacity: 0; transition: opacity 0.1s; } .card-checkbox input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)); } .media-card:hover .card-checkbox, .media-card.selected .card-checkbox { opacity: 1; } .card-thumbnail { width: 100%; aspect-ratio: 1; background: #111118; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; } .card-thumbnail img, .card-thumbnail .card-thumb-img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; z-index: 1; } .card-type-icon { font-size: 32px; opacity: 0.4; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 0; } .card-info { padding: 8px 10px; } .card-name { font-size: 12px; font-weight: 500; color: #dcdce4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; } .card-title, .card-artist { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; } .card-meta { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 6px; font-size: 10px; } .card-size { color: #6c6c84; font-size: 10px; } .table-thumb-cell { width: 36px; padding: 4px 6px !important; position: relative; } .table-thumb { width: 28px; height: 28px; object-fit: cover; border-radius: 3px; display: block; } .table-thumb-overlay { position: absolute; top: 4px; left: 6px; z-index: 1; } .table-type-icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; font-size: 14px; opacity: 0.5; border-radius: 3px; background: #111118; z-index: 0; } .type-badge { display: inline-block; padding: 1px 6px; border-radius: 3px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; } .type-badge.type-audio { background: rgba(139, 92, 246, 0.1); color: #9d8be0; } .type-badge.type-video { background: rgba(200, 72, 130, 0.1); color: #d07eaa; } .type-badge.type-image { background: rgba(34, 160, 80, 0.1); color: #5cb97a; } .type-badge.type-document { background: rgba(59, 120, 200, 0.1); color: #6ca0d4; } .type-badge.type-text { background: rgba(200, 160, 36, 0.1); color: #c4a840; } .type-badge.type-other { background: rgba(128, 128, 160, 0.08); color: #6c6c84; } .tag-list { display: flex; flex-wrap: wrap; gap: 4px; } .tag-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; background: rgba(124, 126, 245, 0.15); color: #9698f7; border-radius: 12px; font-size: 11px; font-weight: 500; } .tag-badge.selected { background: #7c7ef5; color: #fff; cursor: pointer; } .tag-badge:not(.selected) { cursor: pointer; } .tag-badge .tag-remove { cursor: pointer; opacity: 0.4; font-size: 13px; line-height: 1; transition: opacity 0.1s; } .tag-badge .tag-remove:hover { opacity: 1; } .tag-group { margin-bottom: 6px; } .tag-children { margin-left: 16px; margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px; } .tag-confirm-delete { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: #a0a0b8; } .tag-confirm-yes { cursor: pointer; color: #e45858; font-weight: 600; } .tag-confirm-yes:hover { text-decoration: underline; } .tag-confirm-no { cursor: pointer; color: #6c6c84; font-weight: 500; } .tag-confirm-no:hover { text-decoration: underline; } .detail-actions { display: flex; gap: 6px; margin-bottom: 16px; } .detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .detail-field { padding: 10px 12px; background: #111118; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.06); } .detail-field.full-width { grid-column: 1/-1; } .detail-field input[type="text"], .detail-field textarea, .detail-field select { width: 100%; margin-top: 4px; } .detail-field textarea { min-height: 64px; resize: vertical; } .detail-label { font-size: 10px; font-weight: 600; color: #6c6c84; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; } .detail-value { font-size: 13px; color: #dcdce4; word-break: break-all; } .detail-value.mono { font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace; font-size: 11px; color: #a0a0b8; } .detail-preview { margin-bottom: 16px; background: #111118; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 5px; overflow: hidden; text-align: center; } .detail-preview:has(.markdown-viewer) { max-height: none; overflow-y: auto; text-align: left; } .detail-preview:not(:has(.markdown-viewer)) { max-height: 450px; } .detail-preview img { max-width: 100%; max-height: 400px; object-fit: contain; display: block; margin: 0 auto; } .detail-preview audio { width: 100%; padding: 16px; } .detail-preview video { max-width: 100%; max-height: 400px; display: block; margin: 0 auto; } .detail-no-preview { padding: 16px 16px; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; } .frontmatter-card { max-width: 800px; background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; padding: 12px 16px; margin-bottom: 16px; } .frontmatter-fields { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; } .frontmatter-fields dt { font-weight: 600; font-size: 12px; color: #a0a0b8; text-transform: capitalize; } .frontmatter-fields dd { font-size: 13px; color: #dcdce4; margin: 0; } .empty-state { text-align: center; padding: 48px 12px; color: #6c6c84; } .empty-state .empty-icon { font-size: 32px; margin-bottom: 12px; opacity: 0.3; } .empty-title { font-size: 15px; font-weight: 600; color: #a0a0b8; margin-bottom: 4px; } .empty-subtitle { font-size: 12px; max-width: 320px; margin: 0 auto; line-height: 1.5; } .toast-container { position: fixed; bottom: 16px; right: 16px; z-index: 300; display: flex; flex-direction: column-reverse; gap: 6px; align-items: flex-end; } .toast-container .toast { position: static; transform: none; } .toast { position: fixed; bottom: 16px; right: 16px; padding: 10px 16px; border-radius: 5px; background: #26263a; border: 1px solid rgba(255, 255, 255, 0.09); color: #dcdce4; font-size: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); z-index: 300; animation: slide-up 0.15s ease-out; max-width: 420px; } .toast.success { border-left: 3px solid #3ec97a; } .toast.error { border-left: 3px solid #e45858; } .offline-banner, .error-banner { background: rgba(228, 88, 88, 0.06); border: 1px solid rgba(228, 88, 88, 0.2); border-radius: 3px; padding: 10px 12px; margin-bottom: 12px; font-size: 12px; color: #d47070; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; } .offline-banner .offline-icon, .offline-banner .error-icon, .error-banner .offline-icon, .error-banner .error-icon { font-size: 14px; flex-shrink: 0; } .error-banner { padding: 10px 14px; } .readonly-banner { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; padding: 10px 12px; background: rgba(212, 160, 55, 0.06); border: 1px solid rgba(212, 160, 55, 0.15); border-radius: 3px; margin-bottom: 16px; font-size: 12px; color: #d4a037; } .batch-actions { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; padding: 8px 10px; background: rgba(124, 126, 245, 0.15); border: 1px solid rgba(124, 126, 245, 0.2); border-radius: 3px; margin-bottom: 12px; font-size: 12px; font-weight: 500; color: #9698f7; } .select-all-banner { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 8px; padding: 10px 16px; background: rgba(99, 102, 241, 0.08); border-radius: 6px; margin-bottom: 8px; font-size: 0.85rem; color: #a0a0b8; } .select-all-banner button { background: none; border: none; color: #7c7ef5; cursor: pointer; font-weight: 600; text-decoration: underline; font-size: 0.85rem; padding: 0; } .select-all-banner button:hover { color: #dcdce4; } .import-status-panel { background: #1f1f28; border: 1px solid #7c7ef5; border-radius: 5px; padding: 12px 16px; margin-bottom: 16px; } .import-status-header { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; color: #dcdce4; } .import-current-file { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 2px; margin-bottom: 6px; font-size: 12px; overflow: hidden; } .import-file-label { color: #6c6c84; flex-shrink: 0; } .import-file-name { color: #dcdce4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: monospace; font-size: 11px; } .import-queue-indicator { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 2px; margin-bottom: 8px; font-size: 11px; } .import-queue-badge { display: flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 6px; background: rgba(124, 126, 245, 0.15); color: #9698f7; border-radius: 9px; font-weight: 600; font-size: 10px; } .import-queue-text { color: #6c6c84; } .import-tabs { display: flex; gap: 0; margin-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); } .import-tab { padding: 10px 16px; background: none; border: none; border-bottom: 2px solid rgba(0, 0, 0, 0); color: #6c6c84; font-size: 12px; font-weight: 500; cursor: pointer; transition: color 0.1s, border-color 0.1s; } .import-tab:hover { color: #dcdce4; } .import-tab.active { color: #9698f7; border-bottom-color: #7c7ef5; } .queue-panel { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; border-left: 1px solid rgba(255, 255, 255, 0.09); background: #18181f; min-width: 280px; max-width: 320px; } .queue-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); } .queue-header h3 { margin: 0; font-size: 0.9rem; color: #dcdce4; } .queue-controls { display: flex; gap: 2px; } .queue-list { overflow-y: auto; flex: 1; } .queue-item { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; padding: 8px 16px; cursor: pointer; border-bottom: 1px solid rgba(255, 255, 255, 0.06); transition: background 0.15s; } .queue-item:hover { background: #1f1f28; } .queue-item:hover .queue-item-remove { opacity: 1; } .queue-item-active { background: rgba(124, 126, 245, 0.15); border-left: 3px solid #7c7ef5; } .queue-item-info { flex: 1; min-width: 0; } .queue-item-title { display: block; font-size: 0.85rem; color: #dcdce4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .queue-item-artist { display: block; font-size: 0.75rem; color: #6c6c84; } .queue-item-remove { opacity: 0; transition: opacity 0.15s; } .queue-empty { padding: 16px 16px; text-align: center; color: #6c6c84; font-size: 0.85rem; } .statistics-page { padding: 20px; } .stats-overview, .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; } @media (max-width: 768px) { .stats-overview, .stats-grid { grid-template-columns: 1fr; } } .stat-card { background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; padding: 20px; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 16px; } .stat-card.stat-primary { border-left: 3px solid #7c7ef5; } .stat-card.stat-success { border-left: 3px solid #3ec97a; } .stat-card.stat-info { border-left: 3px solid #6ca0d4; } .stat-card.stat-warning { border-left: 3px solid #d4a037; } .stat-card.stat-purple { border-left: 3px solid #9d8be0; } .stat-card.stat-danger { border-left: 3px solid #e45858; } .stat-icon { flex-shrink: 0; color: #6c6c84; } .stat-content { flex: 1; } .stat-value { font-size: 28px; font-weight: 700; color: #dcdce4; line-height: 1.2; font-variant-numeric: tabular-nums; } .stat-label { font-size: 12px; color: #6c6c84; margin-top: 4px; font-weight: 500; } .stats-section { background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; padding: 16px; margin-bottom: 20px; } .section-title { font-size: 16px; font-weight: 600; color: #dcdce4; margin-bottom: 20px; } .section-title.small { font-size: 14px; margin-bottom: 12px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); } .chart-bars { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 16px; } .bar-item { display: grid; grid-template-columns: 120px 1fr 80px; align-items: center; gap: 16px; } .bar-label { font-size: 13px; font-weight: 500; color: #a0a0b8; text-align: right; } .bar-track { height: 28px; background: #26263a; border-radius: 3px; overflow: hidden; position: relative; } .bar-fill { height: 100%; transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1); border-radius: 3px; } .bar-fill.bar-primary { background: linear-gradient(90deg, #7c7ef5 0%, #7c7ef3 100%); } .bar-fill.bar-success { background: linear-gradient(90deg, #3ec97a 0%, #66bb6a 100%); } .bar-value { font-size: 13px; font-weight: 600; color: #a0a0b8; text-align: right; font-variant-numeric: tabular-nums; } .settings-section { margin-bottom: 16px; } .settings-card { background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 7px; padding: 20px; margin-bottom: 16px; } .settings-card.danger-card { border: 1px solid rgba(228, 88, 88, 0.25); } .settings-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); } .settings-card-title { font-size: 14px; font-weight: 600; } .settings-card-body { padding-top: 2px; } .settings-field { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); } .settings-field:last-child { border-bottom: none; } .settings-field select { min-width: 120px; } .config-path { font-size: 11px; color: #6c6c84; margin-bottom: 12px; font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace; padding: 6px 10px; background: #111118; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.06); } .config-status { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; } .config-status.writable { background: rgba(62, 201, 122, 0.1); color: #3ec97a; } .config-status.readonly { background: rgba(228, 88, 88, 0.1); color: #e45858; } .root-list { list-style: none; } .root-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: #111118; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 3px; margin-bottom: 4px; font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace; font-size: 12px; color: #a0a0b8; } .info-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 13px; } .info-row:last-child { border-bottom: none; } .info-label { color: #a0a0b8; font-weight: 500; } .info-value { color: #dcdce4; } .tasks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 16px; padding: 12px; } .task-card { background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; overflow: hidden; transition: all 0.2s; } .task-card:hover { border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); transform: translateY(-2px); } .task-card-enabled { border-left: 3px solid #3ec97a; } .task-card-disabled { border-left: 3px solid #4a4a5e; opacity: 0.7; } .task-card-header { display: flex; justify-content: space-between; align-items: center; align-items: flex-start; padding: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); } .task-header-left { flex: 1; min-width: 0; } .task-name { font-size: 16px; font-weight: 600; color: #dcdce4; margin-bottom: 2px; } .task-schedule { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 6px; font-size: 12px; color: #6c6c84; font-family: "Menlo", "Monaco", "Courier New", monospace; } .schedule-icon { font-size: 14px; } .task-status-badge { flex-shrink: 0; } .status-badge { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 3px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; } .status-badge.status-enabled { background: rgba(76, 175, 80, 0.12); color: #3ec97a; } .status-badge.status-enabled .status-dot { animation: pulse 1.5s infinite; } .status-badge.status-disabled { background: #26263a; color: #6c6c84; } .status-badge .status-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; background: currentColor; } .task-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; padding: 16px; } .task-info-item { display: flex; flex-direction: row; justify-content: flex-start; align-items: flex-start; gap: 10px; } .task-info-icon { font-size: 18px; color: #6c6c84; flex-shrink: 0; } .task-info-content { flex: 1; min-width: 0; } .task-info-label { font-size: 10px; color: #6c6c84; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 2px; } .task-info-value { font-size: 12px; color: #a0a0b8; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .task-card-actions { display: flex; gap: 8px; padding: 10px 16px; background: #18181f; border-top: 1px solid rgba(255, 255, 255, 0.06); } .task-card-actions button { flex: 1; } .db-actions { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 16px; padding: 10px; } .db-action-row { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; padding: 10px; border-radius: 6px; background: rgba(0, 0, 0, 0.06); } .db-action-info { flex: 1; } .db-action-info h4 { font-size: 0.95rem; font-weight: 600; color: #dcdce4; margin-bottom: 2px; } .db-action-confirm { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; flex-shrink: 0; } .library-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; margin-bottom: 12px; gap: 12px; flex-wrap: wrap; } .toolbar-left { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 10px; } .toolbar-right { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 10px; } .sort-control select, .page-size-control select { padding: 4px 24px 4px 8px; font-size: 11px; background: #1f1f28; } .page-size-control { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 4px; } .library-stats { display: flex; justify-content: space-between; align-items: center; padding: 2px 0 6px 0; font-size: 11px; } .type-filter-row { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 6px; padding: 4px 0; margin-bottom: 6px; flex-wrap: wrap; } .pagination { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 16px; padding: 8px 0; } .page-btn { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; } .page-ellipsis { color: #6c6c84; padding: 0 4px; font-size: 12px; user-select: none; } .audit-controls { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; margin-bottom: 12px; } .filter-select { padding: 4px 24px 4px 8px; font-size: 11px; background: #1f1f28; } .action-danger { background: rgba(228, 88, 88, 0.1); color: #d47070; } .action-updated { background: rgba(59, 120, 200, 0.1); color: #6ca0d4; } .action-collection { background: rgba(34, 160, 80, 0.1); color: #5cb97a; } .action-collection-remove { background: rgba(212, 160, 55, 0.1); color: #c4a840; } .action-opened { background: rgba(139, 92, 246, 0.1); color: #9d8be0; } .action-scanned { background: rgba(128, 128, 160, 0.08); color: #6c6c84; } .clickable { cursor: pointer; color: #9698f7; } .clickable:hover { text-decoration: underline; } .clickable-row { cursor: pointer; } .clickable-row:hover { background: rgba(255, 255, 255, 0.03); } .duplicates-view { padding: 0; } .duplicates-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; } .duplicates-header h3 { margin: 0; } .duplicates-summary { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; } .duplicate-group { border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; margin-bottom: 8px; overflow: hidden; } .duplicate-group-header { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; background: #1f1f28; border: none; cursor: pointer; text-align: left; color: #dcdce4; font-size: 13px; } .duplicate-group-header:hover { background: #26263a; } .expand-icon { font-size: 10px; width: 14px; flex-shrink: 0; } .group-name { font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .group-badge { background: #7c7ef5; color: #fff; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; flex-shrink: 0; } .group-size { flex-shrink: 0; font-size: 12px; } .group-hash { font-size: 11px; flex-shrink: 0; } .duplicate-items { border-top: 1px solid rgba(255, 255, 255, 0.09); } .duplicate-item { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); } .duplicate-item:last-child { border-bottom: none; } .duplicate-item-keep { background: rgba(76, 175, 80, 0.06); } .dup-thumb { width: 48px; height: 48px; flex-shrink: 0; border-radius: 3px; overflow: hidden; } .dup-thumb-img { width: 100%; height: 100%; object-fit: cover; } .dup-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #26263a; font-size: 20px; color: #6c6c84; } .dup-info { flex: 1; min-width: 0; } .dup-filename { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dup-path { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dup-meta { font-size: 12px; margin-top: 2px; } .dup-actions { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 6px; flex-shrink: 0; } .keep-badge { background: rgba(76, 175, 80, 0.12); color: #4caf50; padding: 2px 10px; border-radius: 10px; font-size: 11px; font-weight: 600; } .saved-searches-list { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 4px; max-height: 300px; overflow-y: auto; } .saved-search-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: #18181f; border-radius: 3px; cursor: pointer; transition: background 0.15s ease; } .saved-search-item:hover { background: #1f1f28; } .saved-search-info { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 2px; flex: 1; min-width: 0; } .saved-search-name { font-weight: 500; color: #dcdce4; } .saved-search-query { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .backlinks-panel, .outgoing-links-panel { background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; margin-top: 16px; overflow: hidden; } .backlinks-header, .outgoing-links-header { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; padding: 10px 14px; background: #26263a; cursor: pointer; user-select: none; transition: background 0.1s; } .backlinks-header:hover, .outgoing-links-header:hover { background: rgba(255, 255, 255, 0.04); } .backlinks-toggle, .outgoing-links-toggle { font-size: 10px; color: #6c6c84; width: 12px; text-align: center; } .backlinks-title, .outgoing-links-title { font-size: 12px; font-weight: 600; color: #dcdce4; flex: 1; } .backlinks-count, .outgoing-links-count { font-size: 11px; color: #6c6c84; } .backlinks-reindex-btn { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; margin-left: auto; background: rgba(0, 0, 0, 0); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 3px; color: #6c6c84; font-size: 12px; cursor: pointer; transition: background 0.1s, color 0.1s, border-color 0.1s; } .backlinks-reindex-btn:hover:not(:disabled) { background: #1f1f28; color: #dcdce4; border-color: rgba(255, 255, 255, 0.14); } .backlinks-reindex-btn:disabled { opacity: 0.5; cursor: not-allowed; } .backlinks-content, .outgoing-links-content { padding: 12px; border-top: 1px solid rgba(255, 255, 255, 0.06); } .backlinks-loading, .outgoing-links-loading { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; padding: 12px; color: #6c6c84; font-size: 12px; } .backlinks-error, .outgoing-links-error { padding: 8px 12px; background: rgba(228, 88, 88, 0.06); border: 1px solid rgba(228, 88, 88, 0.2); border-radius: 3px; font-size: 12px; color: #e45858; } .backlinks-empty, .outgoing-links-empty { padding: 16px; text-align: center; color: #6c6c84; font-size: 12px; font-style: italic; } .backlinks-list, .outgoing-links-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 6px; } .backlink-item, .outgoing-link-item { padding: 10px 12px; background: #111118; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 3px; cursor: pointer; transition: background 0.1s, border-color 0.1s; } .backlink-item:hover, .outgoing-link-item:hover { background: #18181f; border-color: rgba(255, 255, 255, 0.09); } .backlink-item.unresolved, .outgoing-link-item.unresolved { opacity: 0.7; border-style: dashed; } .backlink-source, .outgoing-link-target { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; margin-bottom: 2px; } .backlink-title, .outgoing-link-text { font-size: 13px; font-weight: 500; color: #dcdce4; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .backlink-type-badge, .outgoing-link-type-badge { display: inline-block; padding: 1px 6px; border-radius: 12px; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; } .backlink-type-badge.backlink-type-wikilink, .backlink-type-badge.link-type-wikilink, .outgoing-link-type-badge.backlink-type-wikilink, .outgoing-link-type-badge.link-type-wikilink { background: rgba(124, 126, 245, 0.15); color: #9698f7; } .backlink-type-badge.backlink-type-embed, .backlink-type-badge.link-type-embed, .outgoing-link-type-badge.backlink-type-embed, .outgoing-link-type-badge.link-type-embed { background: rgba(139, 92, 246, 0.1); color: #9d8be0; } .backlink-type-badge.backlink-type-markdown_link, .backlink-type-badge.link-type-markdown_link, .outgoing-link-type-badge.backlink-type-markdown_link, .outgoing-link-type-badge.link-type-markdown_link { background: rgba(59, 120, 200, 0.1); color: #6ca0d4; } .backlink-context { font-size: 11px; color: #6c6c84; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .backlink-line { color: #a0a0b8; font-weight: 500; } .unresolved-badge { padding: 1px 6px; border-radius: 12px; font-size: 9px; font-weight: 600; background: rgba(212, 160, 55, 0.1); color: #d4a037; } .outgoing-links-unresolved-badge { margin-left: 8px; padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 500; background: rgba(212, 160, 55, 0.12); color: #d4a037; } .outgoing-links-global-unresolved { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 6px; margin-top: 12px; padding: 10px 12px; background: rgba(212, 160, 55, 0.06); border: 1px solid rgba(212, 160, 55, 0.15); border-radius: 3px; font-size: 11px; color: #6c6c84; } .outgoing-links-global-unresolved .unresolved-icon { color: #d4a037; } .backlinks-message { padding: 8px 10px; margin-bottom: 10px; border-radius: 3px; font-size: 11px; } .backlinks-message.success { background: rgba(62, 201, 122, 0.08); border: 1px solid rgba(62, 201, 122, 0.2); color: #3ec97a; } .backlinks-message.error { background: rgba(228, 88, 88, 0.06); border: 1px solid rgba(228, 88, 88, 0.2); color: #e45858; } .graph-view { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; height: 100%; background: #18181f; border-radius: 5px; overflow: hidden; } .graph-toolbar { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 16px; padding: 12px 16px; background: #1f1f28; border-bottom: 1px solid rgba(255, 255, 255, 0.09); } .graph-title { font-size: 14px; font-weight: 600; color: #dcdce4; } .graph-controls { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 8px; font-size: 12px; color: #a0a0b8; } .graph-controls select { padding: 4px 20px 4px 8px; font-size: 11px; background: #26263a; } .graph-stats { margin-left: auto; font-size: 11px; color: #6c6c84; } .graph-container { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #111118; } .graph-loading, .graph-error, .graph-empty { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 48px; color: #6c6c84; font-size: 13px; text-align: center; } .graph-svg { max-width: 100%; max-height: 100%; cursor: grab; } .graph-svg-container { position: relative; width: 100%; height: 100%; } .graph-zoom-controls { position: absolute; top: 16px; left: 16px; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 8px; z-index: 5; } .zoom-btn { width: 36px; height: 36px; border-radius: 6px; background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); color: #dcdce4; font-size: 18px; font-weight: bold; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.15s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } .zoom-btn:hover { background: #26263a; border-color: rgba(255, 255, 255, 0.14); transform: scale(1.05); } .zoom-btn:active { transform: scale(0.95); } .graph-edges line { stroke: rgba(255, 255, 255, 0.14); stroke-width: 1; opacity: 0.6; } .graph-edges line.edge-type-wikilink { stroke: #7c7ef5; } .graph-edges line.edge-type-embed { stroke: #9d8be0; stroke-dasharray: 4 2; } .graph-nodes .graph-node { cursor: pointer; } .graph-nodes .graph-node circle { fill: #4caf50; stroke: #388e3c; stroke-width: 2; transition: fill 0.15s, stroke 0.15s; } .graph-nodes .graph-node:hover circle { fill: #66bb6a; } .graph-nodes .graph-node.selected circle { fill: #7c7ef5; stroke: #5456d6; } .graph-nodes .graph-node text { fill: #a0a0b8; font-size: 11px; pointer-events: none; text-anchor: middle; dominant-baseline: central; transform: translateY(16px); } .node-details-panel { position: absolute; top: 16px; right: 16px; width: 280px; background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); z-index: 10; } .node-details-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); } .node-details-header h3 { font-size: 13px; font-weight: 600; color: #dcdce4; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .node-details-header .close-btn { background: none; border: none; color: #6c6c84; cursor: pointer; font-size: 14px; padding: 2px 6px; line-height: 1; } .node-details-header .close-btn:hover { color: #dcdce4; } .node-details-content { padding: 14px; } .node-details-content .node-title { font-size: 12px; color: #a0a0b8; margin-bottom: 12px; } .node-stats { display: flex; gap: 16px; margin-bottom: 12px; } .node-stats .stat { font-size: 12px; color: #6c6c84; } .node-stats .stat strong { color: #dcdce4; } .physics-controls-panel { position: absolute; top: 16px; right: 16px; width: 300px; background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); padding: 16px; z-index: 10; } .physics-controls-panel h4 { font-size: 13px; font-weight: 600; color: #dcdce4; margin: 0 0 16px 0; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); } .physics-controls-panel .btn { width: 100%; margin-top: 8px; } .control-group { margin-bottom: 14px; } .control-group label { display: block; font-size: 11px; font-weight: 500; color: #a0a0b8; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; } .control-group input[type="range"] { width: 100%; height: 4px; border-radius: 4px; background: #26263a; outline: none; -webkit-appearance: none; } .control-group input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #7c7ef5; cursor: pointer; transition: transform 0.1s; } .control-group input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); } .control-group input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #7c7ef5; cursor: pointer; border: none; transition: transform 0.1s; } .control-group input[type="range"]::-moz-range-thumb:hover { transform: scale(1.15); } .control-value { display: inline-block; margin-top: 2px; font-size: 11px; color: #6c6c84; font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace; } .theme-light { --bg-0: #f5f5f7; --bg-1: #eeeef0; --bg-2: #fff; --bg-3: #e8e8ec; --border-subtle: rgba(0, 0, 0, 0.06); --border: rgba(0, 0, 0, 0.1); --border-strong: rgba(0, 0, 0, 0.16); --text-0: #1a1a2e; --text-1: #555570; --text-2: #8888a0; --accent: #6366f1; --accent-dim: rgba(99, 102, 241, 0.1); --accent-text: #4f52e8; --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08); --shadow: 0 2px 8px rgba(0, 0, 0, 0.1); --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12); } .theme-light ::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.12); } .theme-light ::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.08); } .theme-light ::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.06); } .theme-light .graph-nodes .graph-node text { fill: #1a1a2e; } .theme-light .graph-edges line { stroke: rgba(0, 0, 0, 0.12); } .theme-light .pdf-container { background: #e8e8ec; } .skeleton-pulse { animation: skeleton-pulse 1.5s ease-in-out infinite; background: #26263a; border-radius: 4px; } .skeleton-card { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 8px; padding: 8px; } .skeleton-thumb { width: 100%; aspect-ratio: 1; border-radius: 6px; } .skeleton-text { height: 14px; width: 80%; } .skeleton-text-short { width: 50%; } .skeleton-row { display: flex; gap: 12px; padding: 10px 16px; align-items: center; } .skeleton-cell { height: 14px; flex: 1; border-radius: 4px; } .skeleton-cell-icon { width: 32px; height: 32px; flex: none; border-radius: 4px; } .skeleton-cell-wide { flex: 3; } .loading-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; background: rgba(0, 0, 0, 0.3); z-index: 100; border-radius: 8px; } .loading-spinner { width: 32px; height: 32px; border: 3px solid rgba(255, 255, 255, 0.09); border-top-color: #7c7ef5; border-radius: 50%; animation: spin 0.8s linear infinite; } .loading-message { color: #a0a0b8; font-size: 0.9rem; } .login-container { display: flex; align-items: center; justify-content: center; height: 100vh; background: #111118; } .login-card { background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 7px; padding: 24px; width: 360px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45); } .login-title { font-size: 20px; font-weight: 700; color: #dcdce4; text-align: center; margin-bottom: 2px; } .login-subtitle { font-size: 13px; color: #6c6c84; text-align: center; margin-bottom: 20px; } .login-error { background: rgba(228, 88, 88, 0.08); border: 1px solid rgba(228, 88, 88, 0.2); border-radius: 3px; padding: 8px 12px; margin-bottom: 12px; font-size: 12px; color: #e45858; } .login-form input[type="text"], .login-form input[type="password"] { width: 100%; } .login-btn { width: 100%; padding: 8px 16px; font-size: 13px; margin-top: 2px; } .pagination { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 2px; margin-top: 16px; padding: 8px 0; } .page-btn { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; } .page-ellipsis { color: #6c6c84; padding: 0 4px; font-size: 12px; user-select: none; } .help-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 200; animation: fade-in 0.1s ease-out; } .help-dialog { background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 7px; padding: 16px; min-width: 300px; max-width: 400px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45); } .help-dialog h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; } .help-shortcuts { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 8px; margin-bottom: 16px; } .shortcut-row { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; } .shortcut-row kbd { display: inline-block; padding: 2px 8px; background: #111118; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 3px; font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace; font-size: 11px; color: #dcdce4; min-width: 32px; text-align: center; } .shortcut-row span { font-size: 13px; color: #a0a0b8; } .help-close { display: block; width: 100%; padding: 6px 12px; background: #26263a; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 3px; color: #dcdce4; font-size: 12px; cursor: pointer; text-align: center; } .help-close:hover { background: rgba(255, 255, 255, 0.06); } .plugin-page { padding: 16px 24px; max-width: 100%; overflow-x: hidden; } .plugin-page-title { font-size: 14px; font-weight: 600; color: #dcdce4; margin: 0 0 16px; } .plugin-container { display: flex; flex-direction: column; gap: var(--plugin-gap, 0px); padding: var(--plugin-padding, 0); } .plugin-grid { display: grid; grid-template-columns: repeat(var(--plugin-columns, 1), 1fr); gap: var(--plugin-gap, 0px); } .plugin-flex { display: flex; gap: var(--plugin-gap, 0px); } .plugin-flex[data-direction="row"] { flex-direction: row; } .plugin-flex[data-direction="column"] { flex-direction: column; } .plugin-flex[data-justify="flex-start"] { justify-content: flex-start; } .plugin-flex[data-justify="flex-end"] { justify-content: flex-end; } .plugin-flex[data-justify="center"] { justify-content: center; } .plugin-flex[data-justify="space-between"] { justify-content: space-between; } .plugin-flex[data-justify="space-around"] { justify-content: space-around; } .plugin-flex[data-justify="space-evenly"] { justify-content: space-evenly; } .plugin-flex[data-align="flex-start"] { align-items: flex-start; } .plugin-flex[data-align="flex-end"] { align-items: flex-end; } .plugin-flex[data-align="center"] { align-items: center; } .plugin-flex[data-align="stretch"] { align-items: stretch; } .plugin-flex[data-align="baseline"] { align-items: baseline; } .plugin-flex[data-wrap="wrap"] { flex-wrap: wrap; } .plugin-flex[data-wrap="nowrap"] { flex-wrap: nowrap; } .plugin-split { display: flex; } .plugin-split-sidebar { width: var(--plugin-sidebar-width, 200px); flex-shrink: 0; } .plugin-split-main { flex: 1; min-width: 0; } .plugin-card { background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 7px; overflow: hidden; } .plugin-card-header { padding: 12px 16px; font-size: 12px; font-weight: 600; color: #dcdce4; border-bottom: 1px solid rgba(255, 255, 255, 0.09); background: #26263a; } .plugin-card-content { padding: 16px; } .plugin-card-footer { padding: 12px 16px; border-top: 1px solid rgba(255, 255, 255, 0.09); background: #18181f; } .plugin-heading { color: #dcdce4; margin: 0; line-height: 1.2; } .plugin-heading.level-1 { font-size: 28px; font-weight: 700; } .plugin-heading.level-2 { font-size: 18px; font-weight: 600; } .plugin-heading.level-3 { font-size: 16px; font-weight: 600; } .plugin-heading.level-4 { font-size: 14px; font-weight: 500; } .plugin-heading.level-5 { font-size: 13px; font-weight: 500; } .plugin-heading.level-6 { font-size: 12px; font-weight: 500; } .plugin-text { margin: 0; font-size: 12px; color: #dcdce4; line-height: 1.4; } .plugin-text.text-secondary { color: #a0a0b8; } .plugin-text.text-error { color: #d47070; } .plugin-text.text-success { color: #3ec97a; } .plugin-text.text-warning { color: #d4a037; } .plugin-text.text-bold { font-weight: 600; } .plugin-text.text-italic { font-style: italic; } .plugin-text.text-small { font-size: 10px; } .plugin-text.text-large { font-size: 15px; } .plugin-code { background: #18181f; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; padding: 16px 24px; font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace; font-size: 12px; color: #dcdce4; overflow-x: auto; white-space: pre; } .plugin-code code { font-family: inherit; font-size: inherit; color: inherit; } .plugin-tabs { display: flex; flex-direction: column; } .plugin-tab-list { display: flex; gap: 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); margin-bottom: 16px; } .plugin-tab { padding: 8px 20px; font-size: 12px; font-weight: 500; color: #a0a0b8; background: rgba(0, 0, 0, 0); border: none; border-bottom: 2px solid rgba(0, 0, 0, 0); cursor: pointer; transition: color 0.1s, border-color 0.1s; } .plugin-tab:hover { color: #dcdce4; } .plugin-tab.active { color: #9698f7; border-bottom-color: #7c7ef5; } .plugin-tab .tab-icon { margin-right: 4px; } .plugin-tab-panel:not(.active) { display: none; } .plugin-description-list-wrapper { width: 100%; } .plugin-description-list { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; padding: 0; } .plugin-description-list dt { font-size: 10px; font-weight: 500; color: #a0a0b8; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 0; white-space: nowrap; } .plugin-description-list dd { font-size: 12px; color: #dcdce4; padding: 6px 0; margin: 0; word-break: break-word; } .plugin-description-list.horizontal { display: flex; flex-wrap: wrap; gap: 16px 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } .plugin-description-list.horizontal dt { width: auto; padding: 0; } .plugin-description-list.horizontal dd { width: auto; padding: 0; } .plugin-description-list.horizontal dt, .plugin-description-list.horizontal dd { display: inline; } .plugin-description-list.horizontal dt { font-size: 9px; text-transform: uppercase; letter-spacing: 0.5px; color: #6c6c84; margin-bottom: 2px; } .plugin-description-list.horizontal dd { font-size: 13px; font-weight: 600; color: #dcdce4; } .plugin-data-table-wrapper { overflow-x: auto; } .plugin-data-table { width: 100%; border-collapse: collapse; font-size: 12px; } .plugin-data-table thead tr { border-bottom: 1px solid rgba(255, 255, 255, 0.14); } .plugin-data-table thead th { padding: 8px 12px; text-align: left; font-size: 10px; font-weight: 600; color: #a0a0b8; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; } .plugin-data-table tbody tr { border-bottom: 1px solid rgba(255, 255, 255, 0.06); transition: background 0.08s; } .plugin-data-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); } .plugin-data-table tbody tr:last-child { border-bottom: none; } .plugin-data-table tbody td { padding: 8px 12px; color: #dcdce4; vertical-align: middle; } .plugin-col-constrained { width: var(--plugin-col-width); } .table-filter { margin-bottom: 12px; } .table-filter input { width: 240px; padding: 6px 12px; background: #18181f; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; color: #dcdce4; font-size: 12px; } .table-filter input::placeholder { color: #6c6c84; } .table-filter input:focus { outline: none; border-color: #7c7ef5; } .table-pagination { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 12px; color: #a0a0b8; } .row-actions { white-space: nowrap; width: 1%; } .row-actions .plugin-button { padding: 4px 8px; font-size: 10px; margin-right: 4px; } .plugin-media-grid { display: grid; grid-template-columns: repeat(var(--plugin-columns, 2), 1fr); gap: var(--plugin-gap, 8px); } .media-grid-item { background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 7px; overflow: hidden; display: flex; flex-direction: column; } .media-grid-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; } .media-grid-no-img { width: 100%; aspect-ratio: 16/9; background: #26263a; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #6c6c84; } .media-grid-caption { padding: 8px 12px; font-size: 10px; color: #dcdce4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .plugin-list { list-style: none; margin: 0; padding: 0; } .plugin-list-item { padding: 8px 0; } .plugin-list-divider { border: none; border-top: 1px solid rgba(255, 255, 255, 0.06); margin: 0; } .plugin-list-empty { padding: 16px; text-align: center; color: #6c6c84; font-size: 12px; } .plugin-button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; font-size: 12px; font-weight: 500; cursor: pointer; transition: background 0.08s, border-color 0.08s, color 0.08s; background: #1f1f28; color: #dcdce4; } .plugin-button:disabled { opacity: 0.45; cursor: not-allowed; } .plugin-button.btn-primary { background: #7c7ef5; border-color: #7c7ef5; color: #fff; } .plugin-button.btn-primary:hover:not(:disabled) { background: #8b8df7; } .plugin-button.btn-secondary { background: #26263a; border-color: rgba(255, 255, 255, 0.14); color: #dcdce4; } .plugin-button.btn-secondary:hover:not(:disabled) { background: rgba(255, 255, 255, 0.04); } .plugin-button.btn-tertiary { background: rgba(0, 0, 0, 0); border-color: rgba(0, 0, 0, 0); color: #9698f7; } .plugin-button.btn-tertiary:hover:not(:disabled) { background: rgba(124, 126, 245, 0.15); } .plugin-button.btn-danger { background: rgba(0, 0, 0, 0); border-color: rgba(228, 88, 88, 0.2); color: #d47070; } .plugin-button.btn-danger:hover:not(:disabled) { background: rgba(228, 88, 88, 0.06); } .plugin-button.btn-success { background: rgba(0, 0, 0, 0); border-color: rgba(62, 201, 122, 0.2); color: #3ec97a; } .plugin-button.btn-success:hover:not(:disabled) { background: rgba(62, 201, 122, 0.08); } .plugin-button.btn-ghost { background: rgba(0, 0, 0, 0); border-color: rgba(0, 0, 0, 0); color: #a0a0b8; } .plugin-button.btn-ghost:hover:not(:disabled) { background: rgba(255, 255, 255, 0.04); } .plugin-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 50%; font-size: 9px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; } .plugin-badge.badge-default, .plugin-badge.badge-neutral { background: rgba(255, 255, 255, 0.04); color: #a0a0b8; } .plugin-badge.badge-primary { background: rgba(124, 126, 245, 0.15); color: #9698f7; } .plugin-badge.badge-secondary { background: rgba(255, 255, 255, 0.03); color: #dcdce4; } .plugin-badge.badge-success { background: rgba(62, 201, 122, 0.08); color: #3ec97a; } .plugin-badge.badge-warning { background: rgba(212, 160, 55, 0.06); color: #d4a037; } .plugin-badge.badge-error { background: rgba(228, 88, 88, 0.06); color: #d47070; } .plugin-badge.badge-info { background: rgba(99, 102, 241, 0.08); color: #9698f7; } .plugin-form { display: flex; flex-direction: column; gap: 16px; } .form-field { display: flex; flex-direction: column; gap: 6px; } .form-field label { font-size: 12px; font-weight: 500; color: #dcdce4; } .form-field input, .form-field textarea, .form-field select { padding: 8px 12px; background: #18181f; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; color: #dcdce4; font-size: 12px; font-family: inherit; } .form-field input::placeholder, .form-field textarea::placeholder, .form-field select::placeholder { color: #6c6c84; } .form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: #7c7ef5; box-shadow: 0 0 0 2px rgba(124, 126, 245, 0.15); } .form-field textarea { min-height: 80px; resize: vertical; } .form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a0a0b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; } .form-help { margin: 0; font-size: 10px; color: #6c6c84; } .form-actions { display: flex; gap: 12px; padding-top: 8px; } .required { color: #e45858; } .plugin-link { color: #9698f7; text-decoration: none; } .plugin-link:hover { text-decoration: underline; } .plugin-link-blocked { color: #6c6c84; text-decoration: line-through; cursor: not-allowed; } .plugin-progress { background: #18181f; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 5px; height: 8px; overflow: hidden; display: flex; align-items: center; gap: 8px; } .plugin-progress-bar { height: 100%; background: #7c7ef5; border-radius: 4px; transition: width 0.3s ease; width: var(--plugin-progress, 0%); } .plugin-progress-label { font-size: 10px; color: #a0a0b8; white-space: nowrap; flex-shrink: 0; } .plugin-chart { overflow: auto; height: var(--plugin-chart-height, 200px); } .plugin-chart .chart-title { font-size: 13px; font-weight: 600; color: #dcdce4; margin-bottom: 8px; } .plugin-chart .chart-x-label, .plugin-chart .chart-y-label { font-size: 10px; color: #6c6c84; margin-bottom: 4px; } .plugin-chart .chart-data-table { overflow-x: auto; } .plugin-chart .chart-no-data { padding: 24px; text-align: center; color: #6c6c84; font-size: 12px; } .plugin-loading { padding: 16px; color: #a0a0b8; font-size: 12px; font-style: italic; } .plugin-error { padding: 12px 16px; background: rgba(228, 88, 88, 0.06); border: 1px solid rgba(228, 88, 88, 0.2); border-radius: 5px; color: #d47070; font-size: 12px; } .plugin-feedback { position: sticky; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-radius: 7px; font-size: 12px; z-index: 300; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45); } .plugin-feedback.success { background: rgba(62, 201, 122, 0.08); border: 1px solid rgba(62, 201, 122, 0.2); color: #3ec97a; } .plugin-feedback.error { background: rgba(228, 88, 88, 0.06); border: 1px solid rgba(228, 88, 88, 0.2); color: #d47070; } .plugin-feedback-dismiss { background: rgba(0, 0, 0, 0); border: none; color: inherit; font-size: 14px; cursor: pointer; line-height: 1; padding: 0; opacity: 0.7; } .plugin-feedback-dismiss:hover { opacity: 1; } .plugin-modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65); display: flex; align-items: center; justify-content: center; z-index: 100; } .plugin-modal { position: relative; background: #1f1f28; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 32px; min-width: 380px; max-width: 640px; max-height: 80vh; overflow-y: auto; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45); z-index: 200; } .plugin-modal-close { position: absolute; top: 16px; right: 16px; background: rgba(0, 0, 0, 0); border: none; color: #a0a0b8; font-size: 14px; cursor: pointer; line-height: 1; padding: 4px; border-radius: 5px; } .plugin-modal-close:hover { background: rgba(255, 255, 255, 0.04); color: #dcdce4; }