svg { vertical-align: middle; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
@keyframes toast-in { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes toast-out { from { transform: translateY(0); opacity: 1; } to { transform: translateY(100%); opacity: 0; } }
.toast-enter { animation: toast-in 0.3s ease-out; }
.toast-exit { animation: toast-out 0.3s ease-in forwards; }

@media (prefers-color-scheme: dark) {
    ::-webkit-scrollbar-track { background: #0f172a; }
    ::-webkit-scrollbar-thumb { background: #475569; }
    ::-webkit-scrollbar-thumb:hover { background: #64748b; }
    .wiki-section {
        border-top-color: #334155;
    }
    #overviewNodeList > div:hover {
        box-shadow: 0 2px 8px rgba(255,255,255,0.06);
    }
}

#overviewNodeList > div {
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
#overviewNodeList > div:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

#focusedConceptTitle {
    letter-spacing: -0.02em;
}

h2, h1 {
    letter-spacing: -0.01em;
}

.wiki-section {
    border-top: 1px solid #e2e8f0;
}

.wiki-header {
    padding: 6px 16px;
    font-size: 10px;
    font-weight: 600;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wiki-loading {
    padding: 6px 16px 10px;
    font-size: 11px;
    color: #94a3b8;
}

.wiki-item {
    transition: background-color 0.1s ease;
}
