:root { --bg-base: #f0f0f0; /* 米灰底 */ --bg-panel: #ffffff; /* 统一白色背景 */ --border-solid: #dddddd; /* 实体边框 */ --text-main: #000000; /* 文字统一黑色 */ --text-muted: #555555; --accent-primary: #3b82f6; --accent-hover: #2563eb; --success: #10b981; --warning: #f59e0b; --danger: #ef4444; --card-hover: #f9f9f9; --shadow-solid: 0 2px 8px rgba(0, 0, 0, 0.06); --radius-lg: 16px; --radius-md: 8px; --radius-sm: 4px; } * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Inter', sans-serif; background: var(--bg-base); color: var(--text-main); height: 100vh; overflow: hidden; } /* Panel Utilities */ .glass-panel { background: #ffffff; border: none; box-shadow: none; } /* Layout */ .app-container { display: flex; flex-direction: column; height: 100vh; padding: 0; gap: 0; } /* Topbar */ .topbar { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 1.5rem; border-radius: 0; border-bottom: 1px solid var(--border-solid); gap: 1rem; flex-shrink: 0; } .topbar-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; } .topbar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; } #req-selector { min-width: 200px; max-width: 500px; flex: 1; padding: 6px 12px; font-size: 0.95rem; color: var(--text-main); text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } .stats { font-size: 0.85rem; color: var(--text-muted); display: flex; gap: 1rem; white-space: nowrap; flex-shrink: 0; } /* Scrollbar */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--border-glass); border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { background: var(--text-muted); } .task-tags { display: flex; gap: 0.25rem; flex-wrap: wrap; } .tag { font-size: 0.7rem; padding: 0.2rem 0.4rem; border-radius: 4px; background: rgba(0, 0, 0, 0.1); } .tag.success { background: rgba(16, 185, 129, 0.2); color: #34d399; } .tag.warning { background: rgba(245, 158, 11, 0.2); color: #fbbf24; } .tag.danger { background: rgba(239, 68, 68, 0.2); color: #f87171; } .tag.running { background: rgba(59, 130, 246, 0.2); color: #60a5fa; animation: pulse 2s infinite; } @keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } } /* Main Content */ .main-content { flex: 1; border-radius: 0; display: flex; flex-direction: column; overflow: hidden; position: relative; background: #ffffff; } .empty-state { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--text-muted); } .empty-state .icon { font-size: 4rem; margin-bottom: 1rem; opacity: 0.5; } .hidden { display: none !important; } .detail-view { display: flex; flex-direction: column; height: 100%; } .detail-header { padding: 1.5rem; border-bottom: 1px solid var(--border-glass); display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; } .title-section h1 { font-size: 1.25rem; font-weight: 500; line-height: 1.4; margin-top: 0.5rem; } .badge { background: var(--accent-primary); color: white; padding: 0.25rem 0.5rem; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 600; } .btn { padding: 0.6rem 1.2rem; border-radius: var(--radius-md); border: none; font-weight: 500; cursor: pointer; font-family: inherit; transition: all 0.2s ease; display: inline-flex; align-items: center; justify-content: center; } .btn-primary { background: linear-gradient(135deg, var(--accent-primary), #8b5cf6); color: white; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4); } .btn-secondary { background: #f1f5f9; color: var(--text-main); border: 1px solid var(--border-solid); } .btn-secondary:hover { background: #e2e8f0; } .btn-small { padding: 0.4rem 0.8rem; font-size: 0.8rem; } /* Status Banner */ .status-banner { padding: 0.75rem 1.5rem; background: rgba(59, 130, 246, 0.1); border-bottom: 1px solid var(--border-glass); display: flex; align-items: center; gap: 1rem; } .status-indicator { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-primary); box-shadow: 0 0 10px var(--accent-primary); animation: pulse 1.5s infinite; } /* Tabs */ .data-tabs { display: flex; padding: 0 1.5rem; border-bottom: 1px solid var(--border-solid); background: #fafafa; } .tab-btn { padding: 1rem 1.5rem; background: transparent; border: none; color: var(--text-muted); cursor: pointer; font-family: inherit; font-weight: 500; border-bottom: 2px solid transparent; transition: all 0.2s ease; } .tab-btn:hover { color: var(--text-main); } .tab-btn.active { color: var(--accent-primary); border-bottom-color: var(--accent-primary); } /* New Pill Tabs for Topbar */ .tab-btn-pill { padding: 5px 12px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 6px; color: var(--text-muted); cursor: pointer; font-family: inherit; font-size: 0.85rem; transition: all 0.2s ease; } .tab-btn-pill:hover { border-color: #cbd5e1; color: var(--text-main); } .tab-btn-pill.active { background: #1e293b; border-color: #1e293b; color: #ffffff; } .search-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); } .tab-content-container { flex: 1; overflow: auto; padding: 1.5rem; background: #ffffff; } .tab-content { display: none; } .tab-content.active { display: block; } .json-viewer { font-family: 'Consolas', 'Monaco', monospace; font-size: 0.85rem; line-height: 1.5; color: #e2e8f0; white-space: pre-wrap; word-break: break-all; } /* Modals */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 100; opacity: 1; transition: opacity 0.2s ease; } .modal-overlay.hidden { opacity: 0; pointer-events: none; } .modal { width: 100%; max-width: 500px; border-radius: var(--radius-lg); overflow: hidden; transform: translateY(0); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .modal.large { max-width: 800px; height: 80vh; display: flex; flex-direction: column; } .modal-overlay.hidden .modal { transform: translateY(20px); } .modal-header { padding: 1.5rem; border-bottom: 1px solid var(--border-glass); display: flex; justify-content: space-between; align-items: center; } .close-btn { background: transparent; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; line-height: 1; } .close-btn:hover { color: white; } .modal-body { padding: 1.5rem; } .modal.large .modal-body { flex: 1; overflow: auto; padding: 0; } .form-group { margin-bottom: 1.2rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--text-muted); } .form-group.checkbox { display: flex; align-items: center; gap: 0.5rem; } .form-group.checkbox label { margin: 0; cursor: pointer; } .glass-input { width: 100%; padding: 0.8rem; background: #ffffff; border: 1px solid var(--border-solid); border-radius: var(--radius-md); color: var(--text-main); font-family: inherit; } .modal-footer { padding: 1.2rem 1.5rem; border-top: 1px solid var(--border-solid); display: flex; justify-content: flex-end; gap: 1rem; background: #f8f9fa; } /* Terminal */ .terminal { background: #000; color: #0f0; font-family: 'Consolas', monospace; padding: 1rem; height: 100%; overflow-y: auto; font-size: 0.85rem; line-height: 1.4; margin: 0; } /* JSON Viewer */ .json-object, .json-array { margin-left: 1rem; border-left: 1px solid rgba(0, 0, 0, 0.1); padding-left: 0.5rem; } .json-key { color: #a78bfa; font-weight: 500; } .json-string { color: #34d399; } .json-number { color: #fbbf24; } .json-boolean { color: #f472b6; } .json-null { color: #94a3b8; font-style: italic; } .json-prop { margin-bottom: 0.25rem; } /* Sub Tabs for Raw Cases */ .sub-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border-solid); padding-bottom: 0.5rem; } .sub-tab-btn { background: #e2e8f0; border: none; color: var(--text-main); padding: 0.4rem 1rem; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s; font-weight: 600; font-size: 0.8rem; } .sub-tab-btn:hover { background: #cbd5e1; } .sub-tab-btn.active { background: var(--accent-primary); color: #fff; box-shadow: 0 0 10px rgba(59,130,246,0.3); } /* Data Cards and Rendered UI */ .data-card { background: var(--bg-panel); border: 1px solid var(--border-solid); border-radius: var(--radius-md); padding: 1.2rem; margin-bottom: 1rem; transition: transform 0.2s; box-shadow: var(--shadow-solid); } .data-card:hover { background: var(--card-hover); border-color: #cccccc; } .card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.8rem; gap: 1rem; } .card-title { font-size: 1.1rem; font-weight: 600; color: var(--text-main); line-height: 1.4; } .badge-emoji { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.6rem; border-radius: 20px; background: rgba(0, 0, 0, 0.1); font-size: 0.8rem; color: var(--text-muted); border: 1px solid var(--border-glass); white-space: nowrap; } .badge-emoji.success { background: rgba(16, 185, 129, 0.15); color: #34d399; border-color: rgba(16, 185, 129, 0.3); } .badge-emoji.warning { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border-color: rgba(245, 158, 11, 0.3); } .badge-emoji.primary { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border-color: rgba(59, 130, 246, 0.3); } .card-body { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; } .card-section { margin-top: 1rem; padding-top: 0.8rem; border-top: 1px dashed var(--border-glass); } .section-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: #a78bfa; margin-bottom: 0.5rem; font-weight: 600; } /* Image Gallery */ .image-gallery { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.8rem; } .image-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border-glass); background: #000; } .image-item img { max-height: 180px; max-width: 100%; object-fit: cover; display: block; transition: transform 0.3s; } .image-item img:hover { transform: scale(1.05); } .image-caption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.7); color: white; font-size: 0.7rem; padding: 0.3rem 0.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Phase List */ .phase-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; } .phase-item { position: relative; padding-left: 1.5rem; border-left: 2px solid var(--accent-primary); } .phase-item::before { content: ''; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--text-main); border: 2px solid var(--accent-primary); } .phase-title { font-weight: 600; color: var(--text-main); margin-bottom: 0.3rem; } /* Score Bar */ .score-container { display: flex; align-items: center; gap: 1rem; margin: 1rem 0; padding: 0.8rem; background: rgba(0, 0, 0, 0.2); border-radius: var(--radius-sm); } .score-circle { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; color: white; background: conic-gradient(var(--success) var(--score-deg, 0deg), rgba(0, 0, 0, 0.1) 0deg); } .score-circle.medium { background: conic-gradient(var(--warning) var(--score-deg, 0deg), rgba(0, 0, 0, 0.1) 0deg); } .score-circle.low { background: conic-gradient(var(--danger) var(--score-deg, 0deg), rgba(0, 0, 0, 0.1) 0deg); } .score-text { flex: 1; font-size: 0.9rem; color: var(--text-muted); } .tags-container { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; } @keyframes highlight-pulse { 0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); border-color: var(--accent-primary); } 70% { box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); border-color: var(--accent-primary); } 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); } } .highlight-pulse { animation: highlight-pulse 2s cubic-bezier(0.165, 0.84, 0.44, 1); } .memo-container { background: rgba(0, 0, 0, 0.2); border-radius: var(--radius-sm); padding: 1rem; margin-bottom: 1.5rem; border: 1px solid rgba(0, 0, 0, 0.05); } .memo-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; } .memo-title { font-size: 0.95rem; font-weight: 600; color: var(--text-main); display: flex; align-items: center; gap: 0.5rem; } .memo-textarea { width: 100%; min-height: 80px; background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 6px; padding: 0.8rem; color: var(--text-main); font-family: inherit; font-size: 0.9rem; resize: vertical; transition: border-color 0.2s ease; } .memo-textarea:focus { outline: none; border-color: var(--accent-primary); } .save-status { font-size: 0.8rem; color: var(--text-muted); transition: opacity 0.3s; } .prompt-tab { padding: 0.6rem 1rem; border-radius: 6px; background: rgba(0, 0, 0, 0.05); color: var(--text-muted); cursor: pointer; transition: all 0.2s; font-size: 0.9rem; text-align: left; border: 1px solid transparent; } .prompt-tab:hover { background: rgba(0, 0, 0, 0.1); color: var(--text-main); } .prompt-tab.active { background: rgba(59, 130, 246, 0.2); color: var(--accent-primary); border-color: rgba(59, 130, 246, 0.4); font-weight: 600; } .task-memo { font-size: 0.75rem; color: var(--text-muted); background: rgba(0,0,0,0.2); padding: 4px 6px; border-radius: 4px; margin-bottom: 0.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-style: italic; border-left: 2px solid var(--accent-primary); } /* Uniform Grid for Raw Cases */ .masonry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding-bottom: 2rem; } @media (max-width: 1600px) { .masonry-grid { grid-template-columns: repeat(4, 1fr); } } @media (max-width: 1200px) { .masonry-grid { grid-template-columns: repeat(3, 1fr); } } .masonry-card { display: flex; flex-direction: column; width: 100%; height: 100%; background: var(--bg-panel); border: 1px solid var(--border-solid); border-radius: var(--radius-md); cursor: pointer; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; position: relative; box-shadow: var(--shadow-solid); } .masonry-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); background: var(--card-hover); border-color: #cccccc; } .masonry-card img.cover-img { width: 100%; height: 180px; display: block; object-fit: cover; background: #000; } .masonry-card-info { padding: 12px; flex: 1; display: flex; flex-direction: column; } .masonry-card-title { font-size: 0.95em; font-weight: 600; margin-bottom: 6px; line-height: 1.4; color: var(--text-main); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .masonry-card-snippet { font-size: 0.8em; color: var(--text-muted); margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .masonry-card-stats { font-size: 0.8em; color: var(--text-muted); display: flex; justify-content: space-between; align-items: center; margin-top: auto; } .masonry-card-author { display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .masonry-card-likes { display: flex; align-items: center; gap: 4px; flex-shrink: 0; } /* Master-Detail Modal Layout */ .modal-sidebar { width: 320px; background: rgba(0,0,0,0.2); border-right: 1px solid var(--border-glass); overflow-y: auto; flex-shrink: 0; display: flex; flex-direction: column; } .modal-sidebar-item { padding: 1rem; border-bottom: 1px solid rgba(0, 0, 0, 0.05); cursor: pointer; transition: background 0.2s; color: var(--text-main); display: flex; gap: 12px; } .modal-sidebar-item:hover { background: rgba(0, 0, 0, 0.05); } .modal-sidebar-item.active { background: rgba(var(--accent-primary-rgb, 16, 185, 129), 0.15); border-left: 3px solid var(--accent-primary); } .sidebar-item-index { color: var(--text-muted); font-size: 0.85em; padding-top: 2px; } .sidebar-item-content { flex: 1; overflow: hidden; } .sidebar-item-title { font-weight: 500; font-size: 0.9em; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; } .sidebar-item-meta { font-size: 0.75em; color: var(--text-muted); display: flex; gap: 8px; } .modal-main-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; background: rgba(0, 0, 0, 0.02); } .modal-main-scrollable { flex: 1; overflow-y: auto; padding: 1.5rem; } /* Collapsible Source Post Panel */ .source-panel { background: rgba(0, 0, 0, 0.03); border: 1px solid var(--border-glass); border-radius: var(--radius-md); margin-bottom: 1.5rem; overflow: hidden; } .source-panel-header { padding: 0.75rem 1rem; background: rgba(0,0,0,0.1); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.9em; color: var(--text-main); } .source-panel-header:hover { background: rgba(0, 0, 0, 0.05); } .source-panel-body { padding: 1rem; border-top: 1px solid var(--border-glass); display: none; } .source-panel.open .source-panel-body { display: block; } /* Detail Tabs */ .detail-tabs-header { display: flex; gap: 1rem; border-bottom: 1px solid var(--border-glass); margin-bottom: 1.5rem; } .detail-tab-btn { padding: 0.75rem 1.5rem; font-size: 0.9em; font-weight: 600; color: var(--text-muted); background: none; border: none; cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.2s; } .detail-tab-btn:hover { color: var(--text-main); } .detail-tab-btn.active { color: var(--text-main); border-bottom: 2px solid var(--accent-primary); } /* Structured Field Cards */ .structured-card { background: rgba(0, 0, 0, 0.02); border: 1px solid rgba(0, 0, 0, 0.1); border-radius: var(--radius-md); padding: 1.2rem; margin: 0 3rem 1.5rem 1.5rem; border-left: 3px solid var(--accent-primary); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } .structured-card-title { font-size: 1.1em; font-weight: 600; margin-bottom: 0.8rem; color: var(--text-main); display: flex; align-items: center; gap: 8px; } .structured-row { display: flex; margin-bottom: 0.5rem; align-items: flex-start; } .structured-row:last-child { margin-bottom: 0; } .structured-label { width: 80px; flex-shrink: 0; font-size: 0.85em; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; padding-top: 2px; } .structured-value { flex: 1; font-size: 1em; line-height: 1.6; color: var(--text-main); } .structured-badge { display: inline-block; padding: 2px 8px; background: rgba(0, 0, 0, 0.1); border-radius: 4px; font-size: 0.8em; margin-right: 6px; margin-bottom: 6px; color: var(--text-main); border: 1px solid rgba(0, 0, 0, 0.05); } .structured-badge.highlight { background: rgba(var(--accent-primary-rgb, 16, 185, 129), 0.2); border-color: rgba(var(--accent-primary-rgb, 16, 185, 129), 0.5); color: var(--accent-primary); } .kv-pair { display: flex; margin-bottom: 4px; } .kv-key { background: rgba(0, 0, 0, 0.1); padding: 2px 8px; border-radius: 4px; font-size: 0.8em; margin-right: 8px; white-space: nowrap; } .kv-value { font-size: 0.9em; flex: 1; } /* Steps Rendering */ .steps-container { display: flex; flex-direction: column; gap: 1.2rem; padding-left: 0.2rem; border-left: 2px solid rgba(0, 0, 0, 0.05); margin-left: 0.5rem; } .step-item { display: flex; flex-direction: column; gap: 0.4rem; } .step-header { display: flex; align-items: flex-start; gap: 0.6rem; } .step-number { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background-color: var(--text-main); color: #ffffff; font-size: 0.8em; font-weight: bold; flex-shrink: 0; margin-top: 2px; } .step-title { font-weight: 600; font-size: 0.95em; color: var(--text-main); line-height: 1.4; } .step-body { padding-left: 30px; font-size: 0.85em; color: var(--text-muted); line-height: 1.6; } .step-tools { padding-left: 30px; margin-top: 4px; } .tool-badge { background: #fffbeb !important; border: 1px solid #fcd34d !important; color: #b45309 !important; } /* New structured card advanced styles */ .structured-card-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem; } .unstruct-badge { display: inline-block; padding: 2px 8px; border: 1px solid #e5e7eb; border-radius: 12px; font-size: 0.75em; color: #6b7280; background: #ffffff; } .apply-to-subrow { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 4px; } .apply-to-key-badge { display: inline-block; padding: 2px 8px; background: #ede9fe; color: #7c3aed; border-radius: 4px; font-size: 0.75em; font-weight: bold; flex-shrink: 0; } .apply-to-values { display: flex; flex-wrap: wrap; gap: 6px; } .apply-to-path-item { font-size: 0.85em; padding: 4px 8px; border: 1px solid var(--border-solid); border-radius: 4px; background: #fafafa; display: inline-block; position: relative; cursor: help; transition: border-color 0.2s, background 0.2s; line-height: 1.6; word-break: break-all; } .apply-to-path-item.has-tooltip:hover { border-color: var(--accent-primary); background: #eff6ff; } .apply-to-tooltip { visibility: hidden; opacity: 0; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-4px); background: #27272a; color: #fff; padding: 10px 14px; border-radius: 6px; font-size: 0.85rem; white-space: normal; width: max-content; max-width: 320px; z-index: 1000; transition: opacity 0.2s, transform 0.2s; pointer-events: none; box-shadow: 0 4px 15px rgba(0,0,0,0.15); line-height: 1.5; text-align: left; } .apply-to-tooltip::after { content: ''; position: absolute; bottom: 100%; left: 50%; margin-left: -6px; border-width: 6px; border-style: solid; border-color: transparent transparent #27272a transparent; } .apply-to-path-item.has-tooltip:hover .apply-to-tooltip { visibility: hidden; opacity: 0; } .floating-apply-to-tooltip { position: fixed; z-index: 10000; background: #27272a; color: #fff; padding: 10px 14px; border-radius: 6px; font-size: 0.85rem; white-space: normal; width: max-content; max-width: 320px; pointer-events: none; box-shadow: 0 4px 15px rgba(0,0,0,0.15); line-height: 1.5; text-align: left; transition: opacity 0.12s; } .tooltip-id { color: #a1a1aa; font-family: Consolas, monospace; margin-bottom: 6px; display: block; } .tooltip-rationale { color: #e4e4e7; display: block; } .tooltip-body-excerpt { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.14); color: #bfdbfe; font-size: 0.82rem; } .tooltip-body-note { display: block; margin-top: 6px; color: #cbd5e1; font-size: 0.82rem; } .apply-to-path-prefix { color: #9ca3af; } .apply-to-path-leaf { color: #2563eb; background: #dbeafe; padding: 0 4px; border-radius: 4px; font-weight: 600; display: inline-block; white-space: nowrap; margin-left: 4px; } .stage-blue { background: #eff6ff !important; border: 1px solid #bfdbfe !important; color: #1d4ed8 !important; font-weight: bold; border-radius: 999px !important; } .stage-purple { background: #f5f3ff !important; border: 1px solid #ddd6fe !important; color: #6d28d9 !important; font-weight: bold; border-radius: 999px !important; } .effects-list { margin: 0; padding-left: 1.2rem; } .effects-list li { margin-bottom: 4px; } .io-item { display: flex; align-items: flex-start; gap: 8px; } .data-type-badge { display: inline-block; padding: 1px 6px; background: #f3f4f6; color: #6b7280; border-radius: 4px; font-size: 0.75em; flex-shrink: 0; font-family: Consolas, monospace; } .io-desc { font-size: 0.9em; color: var(--text-main); } /* Sidebar Nav List */ .sidebar-nav-list { display: flex; flex-direction: column; } .sidebar-nav-item { padding: 12px 16px; border-bottom: 1px solid #f1f3f4; cursor: pointer; background: transparent; transition: background 0.2s; border-left: 3px solid transparent; } .sidebar-nav-item:hover { background: #f8fafc; } .sidebar-nav-item.active { background: #eff6ff; border-left-color: #3b82f6; } .sidebar-nav-meta { font-size: 0.8rem; color: #64748b; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; font-family: Consolas, monospace; } .sidebar-nav-badge { background: #f1f5f9; color: #475569; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-family: sans-serif; } .sidebar-nav-title { font-size: 0.95rem; color: #1e293b; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }