﻿* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0a0a0f;
    --bg-elevated: #13131a;
    --bg-surface: #1a1a24;
    --bg-hover: #24242f;
    --bg-active: #2d2d3a;
    --border: #2a2a36;
    --border-light: #35354a;
    
    --text: #e8e8ed;
    --text-muted: #8a8a9a;
    --text-dim: #5a5a6a;
    
    --accent: #6366f1;
    --accent-hover: #7c7ff7;
    --accent-soft: rgba(99, 102, 241, 0.12);
    
    --success: #10b981;
    --success-soft: rgba(16, 185, 129, 0.12);
    --danger: #ef4444;
    --danger-soft: rgba(239, 68, 68, 0.12);
    --warning: #f59e0b;
    --warning-soft: rgba(245, 158, 11, 0.12);
    
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 14px;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.6);
    
    --sidebar-width: 260px;
    --header-height: 56px;
}

html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font-family: inherit; color: inherit; }

/* ============ AUTH ============ */
.auth-screen {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at top, #1a1a2e 0%, #0a0a0f 70%);
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.auth-logo { text-align: center; margin-bottom: 28px; }
.logo-mark {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}
.auth-logo h1 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.auth-subtitle { color: var(--text-muted); font-size: 13px; }

.auth-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-surface);
    padding: 4px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}
.tab-btn {
    flex: 1;
    padding: 8px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s;
}
.tab-btn.active {
    background: var(--bg-hover);
    color: var(--text);
}

.auth-form { display: flex; flex-direction: column; gap: 14px; }
.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.input-group input, .input-group select {
    padding: 10px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.input-group input:focus, .input-group select:focus {
    border-color: var(--accent);
}
.input-group.compact { margin-bottom: 0; }
.input-group.compact input { padding: 8px 10px; font-size: 13px; }

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-full { width: 100%; justify-content: center; }
.btn-ghost {
    background: var(--bg-surface);
    color: var(--text);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.btn-ghost:hover { background: var(--bg-hover); border-color: var(--border-light); }
.btn-small { padding: 6px 10px; font-size: 12px; }
.btn-icon-only { padding: 8px; }

.auth-error {
    margin-top: 12px;
    padding: 10px;
    background: var(--danger-soft);
    color: var(--danger);
    border-radius: var(--radius-sm);
    font-size: 13px;
    text-align: center;
    display: none;
}
.auth-error.show { display: block; }

/* ============ APP LAYOUT ============ */
.app-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* ============ SIDEBAR ============ */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-elevated);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.user-profile { display: flex; align-items: center; gap: 10px; }
.user-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}
.user-avatar.small { width: 32px; height: 32px; font-size: 12px; }
.user-info { min-width: 0; }
.user-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-status { font-size: 11px; color: var(--success); display: flex; align-items: center; gap: 4px; }
.user-status::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--success);
    border-radius: 50%;
}

.icon-btn {
    width: 32px; height: 32px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: all 0.15s;
}
.icon-btn:hover { background: var(--bg-hover); color: var(--text); }

.sidebar-nav {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s;
    position: relative;
}
.nav-item:hover { background: var(--bg-hover); color: var(--text); }
.nav-item.active {
    background: var(--accent-soft);
    color: var(--accent);
}
.nav-item svg { flex-shrink: 0; }
.nav-badge {
    margin-left: auto;
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--text-dim);
}

/* ============ MAIN CONTENT ============ */
.main-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.view-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.panel-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-elevated);
    flex-shrink: 0;
}
.panel-header h2 { font-size: 16px; font-weight: 600; }

/* ============ CHAT LAYOUT ============ */
.chat-layout {
    display: flex;
    height: 100%;
    overflow: hidden;
}

.chat-list-panel {
    width: 320px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    background: var(--bg-elevated);
    flex-shrink: 0;
}

.search-box {
    padding: 10px 14px;
    position: relative;
    border-bottom: 1px solid var(--border);
}
.search-box svg {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    pointer-events: none;
}
.search-box input {
    width: 100%;
    padding: 8px 10px 8px 34px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    outline: none;
}
.search-box input:focus { border-color: var(--accent); }

.chat-list {
    flex: 1;
    overflow-y: auto;
    padding: 6px;
}

.chat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.15s;
}
.chat-item:hover { background: var(--bg-hover); }
.chat-item.active { background: var(--accent-soft); }
.chat-item-info { flex: 1; min-width: 0; }
.chat-item-name { font-weight: 500; font-size: 14px; margin-bottom: 2px; }
.chat-item-last { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item-meta { text-align: right; flex-shrink: 0; }
.chat-item-time { font-size: 11px; color: var(--text-dim); }
.chat-item-unread {
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    margin-top: 4px;
    display: inline-block;
}

.chat-main-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--bg);
}

.empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
    padding: 40px;
}
.empty-icon {
    color: var(--text-dim);
    margin-bottom: 16px;
    opacity: 0.5;
}
.empty-state h3 { font-size: 16px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.empty-state p { font-size: 13px; }

.chat-view {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-elevated);
}
.chat-header-info { display: flex; align-items: center; gap: 10px; flex: 1; }
.chat-name { font-weight: 600; font-size: 14px; }
.chat-status { font-size: 11px; color: var(--success); }

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.message {
    max-width: 70%;
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    animation: msgIn 0.2s ease-out;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.message.mine {
    align-self: flex-end;
    background: var(--accent);
    color: white;
    border-bottom-right-radius: 4px;
}
.message.theirs {
    align-self: flex-start;
    background: var(--bg-surface);
    border-bottom-left-radius: 4px;
}
.message-author { font-size: 11px; font-weight: 600; opacity: 0.8; margin-bottom: 2px; }
.message-time { font-size: 10px; opacity: 0.6; margin-top: 3px; text-align: right; }

.chat-input-bar {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
    background: var(--bg-elevated);
}
.chat-input-bar input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}
.chat-input-bar input:focus { border-color: var(--accent); }

/* ============ FILES LAYOUT ============ */
.files-layout {
    display: flex;
    height: 100%;
    overflow: hidden;
}

.files-sidebar {
    width: 260px;
    border-right: 1px solid var(--border);
    background: var(--bg-elevated);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.device-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.device-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.15s;
    margin-bottom: 2px;
}
.device-item:hover { background: var(--bg-hover); }
.device-item.active { background: var(--accent-soft); }
.device-item-info { flex: 1; min-width: 0; }
.device-item-name { font-weight: 500; font-size: 13px; margin-bottom: 2px; }
.device-item-desc { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device-status {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.device-status.online { background: var(--success); box-shadow: 0 0 8px var(--success); }
.device-status.offline { background: var(--text-dim); }

.files-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--bg);
}

.files-toolbar {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-elevated);
    flex-shrink: 0;
}

.breadcrumbs {
    flex: 1;
    font-size: 13px;
    color: var(--text-muted);
    font-family: 'SF Mono', 'Consolas', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.breadcrumbs .crumb { color: var(--text); }

.files-actions { display: flex; gap: 6px; }

.file-grid {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    align-content: start;
}

.file-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 10px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
}
.file-item:hover {
    background: var(--bg-hover);
    border-color: var(--border-light);
    transform: translateY(-2px);
}
.file-item.selected {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.file-icon-wrap {
    width: 48px; height: 48px;
    margin: 0 auto 8px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
}
.file-icon-wrap.folder { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.file-icon-wrap.image { background: rgba(236, 72, 153, 0.12); color: #ec4899; }
.file-icon-wrap.video { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; }
.file-icon-wrap.audio { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.file-icon-wrap.code { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }
.file-icon-wrap.archive { background: rgba(249, 115, 22, 0.12); color: #f97316; }
.file-icon-wrap.file { background: var(--bg-hover); color: var(--text-muted); }

.file-name {
    font-size: 12px;
    color: var(--text);
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

/* ============ DEVICES GRID ============ */
.devices-grid {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    overflow-y: auto;
}

.device-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    transition: all 0.15s;
}
.device-card:hover { border-color: var(--border-light); }
.device-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.device-card-icon {
    width: 40px; height: 40px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.device-card-name { font-weight: 600; font-size: 14px; }
.device-card-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.device-card-token {
    font-family: 'SF Mono', 'Consolas', monospace;
    font-size: 12px;
    background: var(--bg);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    word-break: break-all;
}
.device-card-actions { display: flex; gap: 6px; }

.add-device-inline, .invite-inline {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--accent-soft);
}
.inline-form {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.inline-form .input-group { flex: 1; min-width: 180px; }
.flex-grow { flex-grow: 1; }

/* ============ CONTACTS ============ */
.contacts-list {
    padding: 12px 20px;
    overflow-y: auto;
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
}
.contact-item-info { flex: 1; }
.contact-item-name { font-weight: 500; font-size: 14px; margin-bottom: 3px; }
.contact-item-status { font-size: 11px; }
.contact-item-status.pending { color: var(--warning); }
.contact-item-status.accepted { color: var(--success); }
.contact-item-actions { display: flex; gap: 6px; }

/* ============ DRAWER ============ */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
    animation: fadeIn 0.2s;
}
.drawer-overlay.show { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.drawer {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.25s ease-out;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.drawer-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.drawer-header h3 { font-size: 16px; font-weight: 600; }
.drawer-body { padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }

.info-block {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
}
.info-block.success {
    background: var(--success-soft);
    border-color: var(--success);
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}
.info-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.token-display {
    font-family: 'SF Mono', 'Consolas', monospace;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.path-display {
    font-family: 'SF Mono', 'Consolas', monospace;
    font-size: 12px;
    color: var(--text);
    word-break: break-all;
}
.code-block {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-family: 'SF Mono', 'Consolas', monospace;
    font-size: 12px;
    color: var(--text);
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0;
}
.info-text { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }

/* ============ MODAL ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
}
.modal-overlay.show { display: flex; }

.modal {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    animation: slideUp 0.2s ease-out;
}
.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-header h3 { font-size: 16px; font-weight: 600; }
.modal-body { padding: 20px; }
.modal-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.modal-hint { font-size: 12px; color: var(--text-muted); margin-top: 8px; }

/* ============ CONTEXT MENU ============ */
.context-menu {
    position: fixed;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 6px;
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 200;
    animation: fadeIn 0.1s;
}
.context-menu.show { display: block; }

.ctx-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text);
    transition: background 0.1s;
}
.ctx-item:hover { background: var(--bg-hover); }
.ctx-item.danger { color: var(--danger); }
.ctx-item.danger:hover { background: var(--danger-soft); }
.ctx-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ============ TOAST ============ */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 300;
    pointer-events: none;
}
.toast {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 13px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn 0.25s ease-out;
    pointer-events: auto;
    max-width: 320px;
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ============ MOBILE ============ */
.mobile-only { display: none; }

@media (max-width: 768px) {
    .sidebar { display: none; }
    .mobile-only { display: flex; }
    
    .chat-list-panel { width: 100%; }
    .chat-main-panel { 
        position: absolute;
        inset: 0;
        z-index: 10;
        transform: translateX(100%);
        transition: transform 0.25s ease-out;
    }
    .chat-main-panel.show { transform: translateX(0); }
    
    .files-sidebar { 
        position: absolute;
        inset: 0;
        z-index: 10;
    }
    .files-sidebar.hidden { display: none; }
    
    .file-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; padding: 12px; }
    .file-icon-wrap { width: 40px; height: 40px; }
    
    .devices-grid { grid-template-columns: 1fr; padding: 12px; }
    .drawer { max-width: 100%; max-height: 90vh; }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }
