This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){"use strict";if(document.getElementById("toc-panel")||document.getElementById("toc-handle"))return;const css=document.createElement("style");css.textContent="#toc-panel{position:fixed;top:0;right:0;width:300px;height:100%;background:#fafafa;box-shadow:-4px 0 8px rgba(0,0,0,0.1);font-family:sans-serif;font-size:0.9rem;border-left:1px solid #ddd;display:flex;flex-direction:column;z-index:9998;transform:translateX(0);transition:transform 0.3s ease;}#toc-panel.collapsed{transform:translateX(300px);}#toc-header{padding:8px 12px;background:#ddd;border-bottom:1px solid #ccc;font-weight:bold;color:#333;flex-shrink:0;}#toc-list{list-style:none;flex:1;overflow-y:auto;margin:0;padding:8px;line-height:1.5;}#toc-list li{padding:6px 10px;cursor:pointer;border-radius:4px;margin-bottom:4px;transition:background-color 0.2s;}#toc-list li.user{background:#e6f3ff;}#toc-list li.ai{background:#f0f0f0;}#toc-list li:hover{filter:brightness(95%);}#toc-list li.selected{background:#fffacd;border:1px solid #ffd700 |