| |
| |
| |
| |
| |
| |
| |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Fira+Code:wght@400;500;600&display=swap'); |
|
|
| :root { |
| --bg-base: #0D1117; |
| --bg-card: #161B22; |
| --bg-raised: #21262D; |
| --bg-overlay: #30363D; |
|
|
| --accent: #2F81F7; |
| --accent-hover: #388BE8; |
| --accent-dim: rgba(47,129,247,0.12); |
| --accent-border: rgba(47,129,247,0.3); |
|
|
| --red: #F85149; |
| --orange: #E3B341; |
| --yellow: #F0E24A; |
| --green: #3FB950; |
| --blue: #58A6FF; |
| --purple: #A5A0F8; |
| --teal: #39D0C4; |
|
|
| --text-primary: #E6EDF3; |
| --text-secondary: #8B949E; |
| --text-tertiary: #6E7681; |
|
|
| --border: #30363D; |
| --border-subtle: #21262D; |
| --border-accent: rgba(47,129,247,0.25); |
|
|
| --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; |
| --mono: 'Fira Code', 'Cascadia Code', 'Consolas', monospace; |
|
|
| --radius: 6px; |
| --radius-sm: 4px; |
| --radius-lg: 10px; |
|
|
| --shadow-sm: 0 1px 3px rgba(0,0,0,0.4); |
| --shadow-md: 0 4px 12px rgba(0,0,0,0.5); |
| --shadow-lg: 0 16px 48px rgba(0,0,0,0.6); |
|
|
| --transition: 150ms cubic-bezier(0.16, 1, 0.3, 1); |
| --transition-md: 220ms cubic-bezier(0.16, 1, 0.3, 1); |
| } |
|
|
| |
| *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } |
| html, body { height: 100%; } |
| body { |
| background: var(--bg-base); |
| color: var(--text-primary); |
| font-family: var(--sans); |
| font-size: 14px; |
| line-height: 1.6; |
| -webkit-font-smoothing: antialiased; |
| } |
|
|
| ::-webkit-scrollbar { width: 6px; height: 6px; } |
| ::-webkit-scrollbar-track { background: transparent; } |
| ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; } |
| ::-webkit-scrollbar-thumb:hover { background: #484f58; } |
|
|
| @media (prefers-reduced-motion: reduce) { |
| *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } |
| } |
|
|
| :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } |
|
|
| #app { min-height: 100vh; display: flex; flex-direction: column; } |
| .hidden { display: none !important; } |
|
|
| main { |
| flex: 1; |
| max-width: 1280px; |
| width: 100%; |
| margin: 0 auto; |
| padding: 24px 24px 48px; |
| display: flex; |
| flex-direction: column; |
| gap: 16px; |
| } |
|
|
| |
| .th-header { |
| display: flex; |
| align-items: center; |
| gap: 16px; |
| padding: 0 24px; |
| height: 56px; |
| background: var(--bg-card); |
| border-bottom: 1px solid var(--border); |
| position: sticky; |
| top: 0; |
| z-index: 100; |
| flex-shrink: 0; |
| } |
|
|
| .th-brand { display: flex; align-items: center; gap: 12px; } |
| .th-logo-icon { color: var(--accent); flex-shrink: 0; } |
| .th-title { font-size: 15px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em; white-space: nowrap; } |
| .th-subtitle { |
| font-size: 10px; font-weight: 500; color: var(--text-tertiary); |
| letter-spacing: 0.04em; text-transform: uppercase; |
| font-family: var(--mono); margin-top: 1px; |
| } |
|
|
| |
| .th-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; } |
|
|
| .nav-link { |
| display: flex; align-items: center; gap: 5px; |
| color: var(--text-secondary); text-decoration: none; |
| font-size: 13px; font-weight: 500; |
| padding: 5px 12px; border-radius: var(--radius); |
| border: 1px solid transparent; |
| transition: color var(--transition), border-color var(--transition), background var(--transition); |
| cursor: pointer; |
| } |
| .nav-link:hover { color: var(--text-primary); background: var(--bg-raised); border-color: var(--border); } |
|
|
| .nav-btn { |
| display: flex; align-items: center; gap: 5px; |
| color: var(--text-secondary); background: none; |
| font-size: 13px; font-weight: 500; font-family: var(--sans); |
| padding: 5px 12px; border-radius: var(--radius); |
| border: 1px solid var(--border); |
| cursor: pointer; |
| transition: color var(--transition), background var(--transition), border-color var(--transition); |
| position: relative; |
| } |
| .nav-btn:hover { color: var(--text-primary); background: var(--bg-raised); border-color: #484f58; } |
|
|
| .nav-btn-badge { |
| font-size: 9px; font-weight: 700; letter-spacing: 0.04em; |
| background: var(--accent); color: #fff; |
| padding: 1px 5px; border-radius: 10px; vertical-align: middle; |
| } |
|
|
| |
| .th-status-wrap { |
| display: flex; align-items: center; gap: 8px; |
| padding: 4px 12px; border-radius: var(--radius); |
| border: 1px solid var(--border); background: var(--bg-base); |
| } |
| .status-dot { |
| width: 7px; height: 7px; border-radius: 50%; |
| background: var(--text-tertiary); flex-shrink: 0; |
| } |
| .status-dot.idle { background: var(--text-tertiary); } |
| .status-dot.scanning { background: var(--accent); animation: pulse 1.4s ease-in-out infinite; } |
| @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } } |
| .status-text { font-size: 11px; font-weight: 600; font-family: var(--mono); letter-spacing: 0.06em; color: var(--text-secondary); } |
|
|
| |
| .th-system-info { |
| display: flex; align-items: center; gap: 6px; |
| margin-left: 8px; |
| padding-left: 12px; |
| border-left: 1px solid var(--border); |
| } |
| .sys-chip { |
| display: inline-flex; align-items: center; gap: 5px; |
| padding: 3px 10px; border-radius: 999px; |
| font-family: var(--mono); font-size: 10px; font-weight: 600; |
| letter-spacing: 0.03em; white-space: nowrap; |
| border: 1px solid var(--border); |
| background: var(--bg-base); |
| color: var(--text-tertiary); |
| transition: all var(--transition); |
| cursor: default; |
| } |
| .sys-chip svg { flex-shrink: 0; opacity: 0.7; } |
|
|
| |
| .sys-chip-gpu.connected { |
| color: #ED1C24; |
| border-color: rgba(237,28,36,0.35); |
| background: rgba(237,28,36,0.08); |
| } |
| .sys-chip-gpu.connected svg { stroke: #ED1C24; opacity: 1; } |
| .sys-chip-gpu.not-configured { |
| color: var(--orange); |
| border-color: rgba(227,179,65,0.3); |
| background: rgba(227,179,65,0.06); |
| } |
|
|
| |
| .sys-chip-model.connected { |
| color: var(--blue); |
| border-color: rgba(88,166,255,0.3); |
| background: rgba(88,166,255,0.08); |
| } |
| .sys-chip-model.connected svg { stroke: var(--blue); opacity: 1; } |
| .sys-chip-model.not-configured { |
| color: var(--text-tertiary); |
| } |
|
|
| |
| .sys-chip-deg { |
| font-weight: 800; |
| letter-spacing: 0.05em; |
| } |
| .sys-chip-deg.deg-1 { |
| color: var(--green); |
| border-color: rgba(63,185,80,0.3); |
| background: rgba(63,185,80,0.08); |
| } |
| .sys-chip-deg.deg-2 { |
| color: var(--orange); |
| border-color: rgba(227,179,65,0.35); |
| background: rgba(227,179,65,0.1); |
| } |
| .sys-chip-deg.deg-3, |
| .sys-chip-deg.deg-4, |
| .sys-chip-deg.deg-5 { |
| color: var(--red); |
| border-color: rgba(248,81,73,0.35); |
| background: rgba(248,81,73,0.1); |
| } |
|
|
| @media (max-width: 900px) { |
| .th-system-info { display: none; } |
| } |
|
|
| |
| .section-label { |
| font-size: 11px; font-weight: 600; letter-spacing: 0.08em; |
| text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 8px; |
| } |
|
|
| |
| .btn { |
| display: inline-flex; align-items: center; gap: 5px; |
| padding: 6px 14px; border-radius: var(--radius); |
| border: 1px solid var(--border); background: var(--bg-raised); |
| color: var(--text-primary); font-family: var(--sans); |
| font-size: 13px; font-weight: 500; cursor: pointer; |
| transition: background var(--transition), border-color var(--transition); |
| white-space: nowrap; line-height: 1.4; |
| } |
| .btn:hover { background: var(--bg-overlay); border-color: #484f58; } |
| .btn:disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; } |
| .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } |
|
|
| .btn-primary { |
| background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; |
| } |
| .btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); } |
|
|
| .btn-ghost { background: transparent; border-color: var(--border); color: var(--text-secondary); } |
| .btn-ghost:hover { background: var(--bg-raised); color: var(--text-primary); border-color: #484f58; } |
|
|
| |
| .input-card { |
| background: var(--bg-card); border: 1px solid var(--border); |
| border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); |
| } |
| .input-area { display: flex; flex-direction: column; gap: 12px; } |
|
|
| .drop-zone { |
| border: 1px dashed var(--border); border-radius: var(--radius); |
| padding: 16px 24px; background: var(--bg-base); cursor: pointer; |
| transition: border-color var(--transition), background var(--transition); |
| } |
| .drop-zone:hover, .drop-zone.drag-over { |
| border-color: var(--accent); background: var(--accent-dim); |
| } |
| .drop-zone-content { |
| display: flex; align-items: center; justify-content: center; |
| gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--text-tertiary); |
| } |
| .drop-icon-svg { color: var(--text-tertiary); flex-shrink: 0; } |
| .drop-text { color: var(--text-secondary); } |
| .drop-divider { color: var(--text-tertiary); } |
| .drop-formats { font-family: var(--mono); font-size: 11px; color: var(--text-tertiary); opacity: 0.7; } |
|
|
| .code-textarea { |
| width: 100%; padding: 12px 16px; |
| background: var(--bg-base); border: 1px solid var(--border); |
| border-radius: var(--radius); color: var(--text-primary); |
| font-family: var(--mono); font-size: 13px; line-height: 1.7; |
| resize: vertical; min-height: 120px; |
| transition: border-color var(--transition); |
| } |
| .code-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); } |
| .code-textarea::placeholder { color: var(--text-tertiary); } |
|
|
| .input-footer { |
| display: flex; align-items: center; justify-content: space-between; |
| gap: 12px; flex-wrap: wrap; |
| } |
| .input-actions { display: flex; align-items: center; gap: 8px; } |
|
|
| .type-indicator { |
| font-size: 12px; font-family: var(--mono); color: var(--text-tertiary); |
| padding: 3px 8px; border-radius: var(--radius-sm); |
| border: 1px solid var(--border-subtle); background: var(--bg-base); |
| } |
| .type-indicator.code { color: var(--blue); border-color: rgba(88,166,255,0.25); background: rgba(88,166,255,0.06); } |
| .type-indicator.config { color: var(--orange); border-color: rgba(227,179,65,0.25); background: rgba(227,179,65,0.06); } |
| .type-indicator.injection { color: var(--red); border-color: rgba(248,81,73,0.3); background: rgba(248,81,73,0.08); } |
|
|
| .file-select-btn { |
| color: var(--accent); cursor: pointer; font-size: 13px; font-weight: 500; |
| text-decoration: underline; text-underline-offset: 2px; |
| transition: color var(--transition); |
| } |
| .file-select-btn:hover { color: #58a6ff; } |
|
|
| |
| .example-dropdown-wrap { position: relative; } |
| .example-dropdown { |
| position: absolute; right: 0; top: calc(100% + 6px); |
| background: var(--bg-card); border: 1px solid var(--border); |
| border-radius: var(--radius); min-width: 200px; |
| z-index: 50; box-shadow: var(--shadow-md); overflow: hidden; |
| } |
| .example-item { |
| display: flex; align-items: center; gap: 8px; |
| padding: 8px 16px; font-size: 13px; color: var(--text-secondary); |
| cursor: pointer; transition: background var(--transition), color var(--transition); |
| } |
| .example-item:hover { background: var(--bg-raised); color: var(--text-primary); } |
| .ex-tag { |
| font-family: var(--mono); font-size: 10px; font-weight: 600; |
| padding: 1px 5px; border-radius: 3px; background: var(--bg-overlay); |
| color: var(--text-tertiary); border: 1px solid var(--border); |
| flex-shrink: 0; letter-spacing: 0.03em; |
| } |
| .ex-tag-warn { color: var(--red); border-color: rgba(248,81,73,0.3); background: rgba(248,81,73,0.08); } |
|
|
| |
| .pipeline-bar { |
| display: flex; align-items: center; gap: 8px; |
| padding: 12px 20px; background: var(--bg-card); |
| border: 1px solid var(--border); border-radius: var(--radius); |
| overflow-x: auto; flex-wrap: nowrap; |
| } |
| .pipeline-step { |
| font-family: var(--mono); font-size: 11px; font-weight: 500; |
| padding: 4px 10px; border-radius: var(--radius-sm); border: 1px solid var(--border); |
| white-space: nowrap; transition: all var(--transition); letter-spacing: 0.02em; |
| } |
| .step-pending { color: var(--text-tertiary); background: var(--bg-base); } |
| .step-running { color: var(--accent); background: var(--accent-dim); border-color: var(--accent-border); } |
| .step-done { color: var(--green); background: rgba(63,185,80,0.08); border-color: rgba(63,185,80,0.25); } |
| .step-skipped { color: var(--text-tertiary); background: var(--bg-raised); border-color: var(--border); } |
| .step-degraded { color: var(--orange); background: rgba(227,179,65,0.08); border-color: rgba(227,179,65,0.25); } |
| .step-error { color: var(--red); background: rgba(248,81,73,0.08); border-color: rgba(248,81,73,0.25); } |
| .step-arrow { color: var(--text-tertiary); font-size: 0; flex-shrink: 0; width: 14px; text-align: center; } |
| .step-arrow::before { content: '\2192'; font-size: 12px; } |
|
|
| .pipeline-step-parallel { |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| min-width: 132px; |
| position: relative; |
| overflow: hidden; |
| } |
| .parallel-step-title { font-size: 11px; font-weight: 600; } |
| .parallel-step-chips { display: inline-flex; gap: 5px; } |
| .parallel-step-chip { |
| display: inline-flex; |
| align-items: center; |
| justify-content: center; |
| min-width: 28px; |
| padding: 1px 6px; |
| border-radius: 999px; |
| border: 1px solid var(--border); |
| background: var(--bg-base); |
| color: var(--text-tertiary); |
| font-size: 10px; |
| line-height: 1.4; |
| } |
| .parallel-step-chip.state-pending { color: var(--text-tertiary); border-color: var(--border); background: var(--bg-base); } |
| .parallel-step-chip.state-running { color: var(--accent); border-color: var(--accent-border); background: rgba(47,129,247,0.12); box-shadow: 0 0 0 1px rgba(47,129,247,0.08) inset; } |
| .parallel-step-chip.state-done { color: var(--green); border-color: rgba(63,185,80,0.25); background: rgba(63,185,80,0.08); } |
| .parallel-step-chip.state-skipped { color: var(--text-tertiary); border-color: var(--border); background: var(--bg-raised); } |
| .parallel-step-chip.state-degraded, |
| .parallel-step-chip.state-error { color: var(--orange); border-color: rgba(227,179,65,0.3); background: rgba(227,179,65,0.1); } |
|
|
| .parallel-visualizer { |
| position: relative; |
| overflow: hidden; |
| padding: 16px 18px 18px; |
| background: |
| radial-gradient(circle at top left, rgba(47,129,247,0.12), transparent 40%), |
| linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)), |
| var(--bg-card); |
| border: 1px solid rgba(47,129,247,0.18); |
| border-radius: var(--radius-lg); |
| box-shadow: var(--shadow-sm); |
| } |
| .parallel-visualizer::before { |
| content: ''; |
| position: absolute; |
| inset: 0; |
| background: linear-gradient(110deg, transparent 0%, rgba(47,129,247,0.08) 32%, transparent 60%); |
| transform: translateX(-120%); |
| opacity: 0; |
| pointer-events: none; |
| } |
| .parallel-visualizer.is-live::before { |
| opacity: 1; |
| animation: parallelSweep 3.6s linear infinite; |
| } |
| .parallel-visualizer-header { |
| display: flex; |
| align-items: flex-start; |
| justify-content: space-between; |
| gap: 14px; |
| margin-bottom: 14px; |
| } |
| .parallel-visualizer-title { |
| font-size: 13px; |
| font-weight: 700; |
| color: var(--text-primary); |
| letter-spacing: 0.01em; |
| } |
| .parallel-visualizer-subtitle { |
| margin-top: 4px; |
| font-size: 12px; |
| color: var(--text-secondary); |
| max-width: 620px; |
| } |
| .parallel-merge-badge { |
| display: inline-flex; |
| align-items: center; |
| justify-content: center; |
| padding: 4px 10px; |
| border-radius: 999px; |
| border: 1px solid var(--border); |
| background: var(--bg-base); |
| color: var(--text-tertiary); |
| font-family: var(--mono); |
| font-size: 10px; |
| font-weight: 700; |
| letter-spacing: 0.05em; |
| white-space: nowrap; |
| } |
| .parallel-merge-badge.state-running { color: var(--accent); border-color: var(--accent-border); background: rgba(47,129,247,0.12); } |
| .parallel-merge-badge.state-done { color: var(--green); border-color: rgba(63,185,80,0.25); background: rgba(63,185,80,0.1); } |
| .parallel-merge-badge.state-skipped { color: var(--text-tertiary); border-color: var(--border); background: var(--bg-raised); } |
| .parallel-merge-badge.state-degraded, |
| .parallel-merge-badge.state-error { color: var(--orange); border-color: rgba(227,179,65,0.3); background: rgba(227,179,65,0.12); } |
|
|
| .parallel-lane-grid { |
| display: grid; |
| grid-template-columns: repeat(2, minmax(0, 1fr)); |
| gap: 14px; |
| } |
| @media (max-width: 768px) { |
| .parallel-visualizer-header { flex-direction: column; } |
| .parallel-lane-grid { grid-template-columns: 1fr; } |
| .parallel-merge-row { justify-content: stretch; } |
| .parallel-merge-node { width: 100%; min-width: 0; } |
| } |
| .parallel-lane { |
| position: relative; |
| overflow: hidden; |
| padding: 14px; |
| border-radius: var(--radius); |
| border: 1px solid var(--border); |
| background: rgba(13,17,23,0.72); |
| transition: border-color var(--transition-md), transform var(--transition-md), background var(--transition-md), box-shadow var(--transition-md); |
| } |
| .parallel-lane.state-running { |
| border-color: rgba(47,129,247,0.4); |
| background: linear-gradient(180deg, rgba(47,129,247,0.08), rgba(47,129,247,0.03)); |
| box-shadow: 0 10px 28px rgba(47,129,247,0.08); |
| transform: translateY(-1px); |
| } |
| .parallel-lane.state-done { |
| border-color: rgba(63,185,80,0.25); |
| background: linear-gradient(180deg, rgba(63,185,80,0.08), rgba(63,185,80,0.03)); |
| } |
| .parallel-lane.state-degraded, |
| .parallel-lane.state-error { |
| border-color: rgba(227,179,65,0.35); |
| background: linear-gradient(180deg, rgba(227,179,65,0.1), rgba(227,179,65,0.04)); |
| } |
| .parallel-lane-top { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| gap: 10px; |
| } |
| .parallel-lane-name { |
| font-size: 13px; |
| font-weight: 600; |
| color: var(--text-primary); |
| } |
| .parallel-lane-status { |
| font-family: var(--mono); |
| font-size: 10px; |
| font-weight: 700; |
| color: var(--text-tertiary); |
| letter-spacing: 0.05em; |
| } |
| .parallel-lane.state-running .parallel-lane-status { color: var(--accent); } |
| .parallel-lane.state-done .parallel-lane-status { color: var(--green); } |
| .parallel-lane.state-degraded .parallel-lane-status, |
| .parallel-lane.state-error .parallel-lane-status { color: var(--orange); } |
|
|
| .parallel-track { |
| position: relative; |
| height: 34px; |
| margin: 12px 0 10px; |
| } |
| .parallel-track-line { |
| position: absolute; |
| top: 50%; |
| left: 0; |
| right: 0; |
| height: 2px; |
| border-radius: 999px; |
| transform: translateY(-50%); |
| background: linear-gradient(90deg, rgba(110,118,129,0.18), rgba(110,118,129,0.4), rgba(110,118,129,0.18)); |
| } |
| .parallel-packet { |
| position: absolute; |
| top: 50%; |
| left: -8%; |
| width: 12px; |
| height: 12px; |
| margin-top: -6px; |
| border-radius: 50%; |
| background: rgba(88,166,255,0.95); |
| box-shadow: 0 0 0 4px rgba(88,166,255,0.12); |
| opacity: 0; |
| } |
| .parallel-lane.state-running .parallel-packet { |
| opacity: 1; |
| animation: lanePacket 2.1s linear infinite; |
| } |
| .parallel-lane.state-running .packet-2 { animation-delay: 0.5s; } |
| .parallel-lane.state-running .packet-3 { animation-delay: 1s; } |
| .parallel-lane.state-done .parallel-packet { |
| opacity: 1; |
| left: calc(100% - 12px); |
| background: rgba(63,185,80,0.95); |
| box-shadow: 0 0 0 4px rgba(63,185,80,0.12); |
| } |
| .parallel-lane.state-degraded .parallel-packet, |
| .parallel-lane.state-error .parallel-packet { |
| opacity: 1; |
| left: calc(100% - 12px); |
| background: rgba(227,179,65,0.95); |
| box-shadow: 0 0 0 4px rgba(227,179,65,0.12); |
| } |
| .parallel-lane-detail { |
| font-size: 12px; |
| line-height: 1.5; |
| color: var(--text-secondary); |
| min-height: 18px; |
| } |
|
|
| .parallel-merge-row { |
| display: flex; |
| justify-content: center; |
| margin-top: 14px; |
| } |
| .parallel-merge-node { |
| min-width: 220px; |
| padding: 8px 14px; |
| border-radius: 999px; |
| border: 1px dashed var(--border); |
| background: var(--bg-base); |
| color: var(--text-tertiary); |
| text-align: center; |
| font-family: var(--mono); |
| font-size: 11px; |
| letter-spacing: 0.04em; |
| transition: all var(--transition-md); |
| } |
| .parallel-merge-node.state-running { |
| color: var(--accent); |
| border-style: solid; |
| border-color: rgba(47,129,247,0.35); |
| background: rgba(47,129,247,0.08); |
| box-shadow: 0 0 0 1px rgba(47,129,247,0.08) inset; |
| } |
| .parallel-merge-node.state-done { |
| color: var(--green); |
| border-style: solid; |
| border-color: rgba(63,185,80,0.28); |
| background: rgba(63,185,80,0.08); |
| } |
| .parallel-merge-node.state-skipped { |
| color: var(--text-tertiary); |
| border-style: solid; |
| border-color: var(--border); |
| background: var(--bg-raised); |
| } |
| .parallel-merge-node.state-degraded, |
| .parallel-merge-node.state-error { |
| color: var(--orange); |
| border-style: solid; |
| border-color: rgba(227,179,65,0.3); |
| background: rgba(227,179,65,0.1); |
| } |
|
|
| @keyframes lanePacket { |
| 0% { left: -8%; opacity: 0; } |
| 12% { opacity: 1; } |
| 82% { opacity: 1; } |
| 100% { left: calc(100% - 12px); opacity: 0; } |
| } |
| @keyframes parallelSweep { |
| 0% { transform: translateX(-120%); } |
| 100% { transform: translateX(120%); } |
| } |
|
|
| |
| .agent-grid { |
| display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; |
| } |
| #cardOrchestrator { order: 1; } |
| #cardSecurityGuard { order: 2; } |
| #cardScout { order: 3; } |
| #cardIntelFusion { order: 4; } |
| #cardAnalyst { order: 5; } |
| #cardCritic { order: 6; } |
| #cardAdvisor { order: 7; } |
| .agent-card { |
| display: flex; align-items: flex-start; gap: 12px; |
| padding: 16px; background: var(--bg-card); border: 1px solid var(--border); |
| border-radius: var(--radius); transition: border-color var(--transition), background var(--transition); |
| } |
| .agent-card:hover { border-color: #484f58; background: var(--bg-raised); } |
| .agent-card.running { |
| border-color: rgba(47,129,247,0.28); |
| background: linear-gradient(180deg, rgba(47,129,247,0.06), rgba(47,129,247,0.02)); |
| } |
| .agent-card.parallel-agent { position: relative; overflow: hidden; } |
| .agent-card.parallel-agent.running::after { |
| content: ''; |
| position: absolute; |
| inset: 0; |
| background: linear-gradient(100deg, transparent 0%, rgba(47,129,247,0.12) 40%, transparent 72%); |
| transform: translateX(-110%); |
| animation: parallelSweep 2.8s linear infinite; |
| pointer-events: none; |
| } |
| .agent-icon-wrap { |
| color: var(--text-tertiary); flex-shrink: 0; padding: 6px; |
| background: var(--bg-base); border: 1px solid var(--border); border-radius: var(--radius-sm); |
| } |
| .agent-info { flex: 1; min-width: 0; } |
| .agent-name { font-size: 13px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } |
| .agent-role { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; } |
| .agent-status-wrap { text-align: right; flex-shrink: 0; } |
| .agent-status { |
| display: inline-block; font-family: var(--mono); font-size: 10px; font-weight: 600; |
| letter-spacing: 0.04em; padding: 2px 6px; border-radius: var(--radius-sm); border: 1px solid; |
| } |
| .agent-status.pending { color: var(--text-tertiary); border-color: var(--border); background: var(--bg-base); } |
| .agent-status.running { color: var(--accent); border-color: var(--accent-border); background: var(--accent-dim); } |
| .agent-status.done { color: var(--green); border-color: rgba(63,185,80,0.3); background: rgba(63,185,80,0.08); } |
| .agent-status.degraded { color: var(--red); border-color: rgba(248,81,73,0.5); background: rgba(248,81,73,0.1); animation: degraded-pulse 2s ease-in-out infinite; } |
| .agent-status.error { color: var(--red); border-color: rgba(248,81,73,0.3); background: rgba(248,81,73,0.08); } |
| |
| .agent-card.degraded { |
| border-color: rgba(248,81,73,0.5) !important; |
| background: rgba(248,81,73,0.04) !important; |
| animation: degraded-border-pulse 2.2s ease-in-out infinite; |
| } |
| @keyframes degraded-pulse { |
| 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(248,81,73,0); } |
| 50% { opacity: 0.8; box-shadow: 0 0 0 2px rgba(248,81,73,0.3); } |
| } |
| @keyframes degraded-border-pulse { |
| 0%, 100% { border-color: rgba(248,81,73,0.4); box-shadow: 0 0 0 0 rgba(248,81,73,0); } |
| 50% { border-color: rgba(248,81,73,0.7); box-shadow: 0 0 8px rgba(248,81,73,0.2); } |
| } |
| |
| .agent-card.degraded .agent-detail { |
| color: var(--red) !important; |
| white-space: normal !important; |
| overflow: visible !important; |
| text-overflow: unset !important; |
| max-width: 100% !important; |
| line-height: 1.4; |
| margin-top: 6px; |
| font-size: 0.68rem !important; |
| cursor: help; |
| } |
|
|
| |
| .monitor-layout { display: grid; grid-template-columns: 1fr 280px; gap: 16px; } |
| @media (max-width: 768px) { .monitor-layout { grid-template-columns: 1fr; } } |
|
|
| .log-panel { |
| background: var(--bg-base); border: 1px solid var(--border); border-radius: var(--radius); |
| height: 220px; overflow-y: auto; padding: 8px 12px; |
| font-family: var(--mono); font-size: 12px; |
| } |
| .log-empty { color: var(--text-tertiary); padding: 12px; font-style: italic; } |
| .log-entry { display: flex; gap: 12px; padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,0.03); line-height: 1.5; } |
| .log-time { color: var(--text-tertiary); flex-shrink: 0; width: 60px; } |
| .log-tag { font-weight: 600; flex-shrink: 0; width: 40px; } |
| .log-msg { color: var(--text-secondary); flex: 1; word-break: break-all; } |
| .log-ok .log-tag { color: var(--green); } |
| .log-info .log-tag { color: var(--accent); } |
| .log-warn .log-tag { color: var(--orange); } |
| .log-fail .log-tag { color: var(--red); } |
|
|
| .meta-side { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; } |
| .meta-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 16px; border-bottom: 1px solid var(--border-subtle); font-size: 12px; } |
| .meta-row:last-child { border-bottom: none; } |
| .meta-label { color: var(--text-tertiary); font-weight: 500; flex-shrink: 0; } |
| .meta-value { color: var(--text-secondary); font-family: var(--mono); font-size: 11px; text-align: right; word-break: break-all; } |
|
|
| .runtime-label { margin-top: 14px; } |
| .runtime-panel { |
| background: |
| linear-gradient(135deg, rgba(57,208,196,0.08), transparent 48%), |
| var(--bg-card); |
| border: 1px solid rgba(57,208,196,0.22); |
| border-radius: var(--radius); |
| overflow: hidden; |
| } |
| .runtime-row { |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| gap: 10px; |
| padding: 9px 12px; |
| border-bottom: 1px solid var(--border-subtle); |
| } |
| .runtime-row:last-of-type { border-bottom: none; } |
| .runtime-name { |
| color: var(--text-secondary); |
| font-size: 12px; |
| font-weight: 600; |
| } |
| .runtime-badge { |
| display: inline-flex; |
| align-items: center; |
| justify-content: center; |
| min-width: 84px; |
| padding: 3px 8px; |
| border-radius: 999px; |
| border: 1px solid var(--border); |
| background: var(--bg-base); |
| color: var(--text-tertiary); |
| font-family: var(--mono); |
| font-size: 10px; |
| font-weight: 800; |
| letter-spacing: 0.05em; |
| white-space: nowrap; |
| } |
| .runtime-badge.state-ok { color: var(--green); border-color: rgba(63,185,80,0.3); background: rgba(63,185,80,0.1); } |
| .runtime-badge.state-warn { color: var(--orange); border-color: rgba(227,179,65,0.32); background: rgba(227,179,65,0.12); } |
| .runtime-badge.state-fail { color: var(--red); border-color: rgba(248,81,73,0.3); background: rgba(248,81,73,0.1); } |
| .runtime-badge.state-loading { color: var(--accent); border-color: rgba(47,129,247,0.3); background: rgba(47,129,247,0.1); } |
| .runtime-note { |
| padding: 9px 12px; |
| color: var(--text-tertiary); |
| font-size: 11px; |
| line-height: 1.5; |
| border-top: 1px solid var(--border-subtle); |
| } |
|
|
| |
| .error-banner { |
| padding: 12px 20px; background: rgba(248,81,73,0.08); |
| border: 1px solid rgba(248,81,73,0.3); border-radius: var(--radius); color: var(--red); font-size: 13px; |
| } |
| .success-banner { |
| padding: 12px 20px; background: rgba(63,185,80,0.06); |
| border: 1px solid rgba(63,185,80,0.25); border-radius: var(--radius); color: var(--green); font-size: 13px; |
| } |
| .success-banner strong { font-weight: 600; } |
| .critic-band { |
| display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 600; |
| padding: 2px 8px; border-radius: 3px; margin-left: 8px; |
| } |
| .verdict-PASS { background: rgba(63,185,80,0.15); color: var(--green); } |
| .verdict-FAIL { background: rgba(248,81,73,0.15); color: var(--red); } |
| .verdict-WARN { background: rgba(227,179,65,0.15); color: var(--orange); } |
| .verdict-SKIPPED { background: var(--bg-raised); color: var(--text-tertiary); } |
|
|
| |
| .exec-summary { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; } |
| .exec-text { color: var(--text-secondary); font-size: 14px; line-height: 1.8; } |
|
|
| .result-lineage { |
| background: linear-gradient(180deg, rgba(47,129,247,0.08), rgba(47,129,247,0.02)); |
| border: 1px solid rgba(47,129,247,0.2); |
| border-radius: var(--radius); |
| padding: 14px 16px; |
| margin-bottom: 16px; |
| } |
| .lineage-chip-row { |
| display: flex; |
| flex-wrap: wrap; |
| gap: 8px; |
| } |
| .lineage-chip { |
| display: inline-flex; |
| align-items: center; |
| padding: 4px 10px; |
| border-radius: 999px; |
| border: 1px solid var(--border); |
| background: var(--bg-base); |
| color: var(--text-secondary); |
| font-size: 11px; |
| font-weight: 600; |
| letter-spacing: 0.02em; |
| } |
| .lineage-chip.primary { color: var(--accent); border-color: rgba(47,129,247,0.35); background: rgba(47,129,247,0.12); } |
| .lineage-chip.enriched { color: var(--green); border-color: rgba(63,185,80,0.28); background: rgba(63,185,80,0.1); } |
| .lineage-chip.fallback { color: var(--orange); border-color: rgba(227,179,65,0.32); background: rgba(227,179,65,0.12); } |
| .lineage-chip.degraded { color: var(--red); border-color: rgba(248,81,73,0.3); background: rgba(248,81,73,0.1); } |
| .lineage-chip.neutral { color: var(--text-tertiary); border-color: var(--border); background: var(--bg-card); } |
| .lineage-note { |
| margin-top: 10px; |
| color: var(--text-secondary); |
| font-size: 12px; |
| line-height: 1.6; |
| } |
|
|
| .metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 16px; } |
| @media (max-width: 640px) { .metric-grid { grid-template-columns: repeat(2, 1fr); } } |
| .metric-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; transition: border-color var(--transition); } |
| .metric-card:hover { border-color: #484f58; } |
| .metric-value { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; } |
| .metric-label { font-size: 11px; font-weight: 500; color: var(--text-tertiary); letter-spacing: 0.04em; text-transform: uppercase; } |
| .metric-critical .metric-value { color: var(--red); } |
| .metric-high .metric-value { color: var(--orange); } |
| .metric-score .metric-value { color: var(--blue); } |
| .metric-new .metric-value { color: var(--green); } |
| .metric-code .metric-value { color: var(--purple); } |
| .metric-cwe .metric-value { color: var(--teal); } |
| .metric-secret .metric-value { color: var(--yellow); } |
|
|
| .scan-split-grid { |
| display: grid; |
| grid-template-columns: repeat(2, minmax(0, 1fr)); |
| gap: 12px; |
| margin-bottom: 16px; |
| } |
| @media (max-width: 900px) { .scan-split-grid { grid-template-columns: 1fr; } } |
| .scan-split-card { |
| border: 1px solid var(--border); |
| border-radius: var(--radius); |
| overflow: hidden; |
| background: var(--bg-card); |
| min-height: 220px; |
| } |
| .scan-package-card { |
| border-color: rgba(47,129,247,0.28); |
| background: linear-gradient(135deg, rgba(47,129,247,0.08), transparent 44%), var(--bg-card); |
| } |
| .scan-code-card { |
| border-color: rgba(248,81,73,0.28); |
| background: linear-gradient(135deg, rgba(248,81,73,0.08), transparent 44%), var(--bg-card); |
| } |
| .scan-split-header { |
| display: flex; |
| align-items: flex-start; |
| justify-content: space-between; |
| gap: 12px; |
| padding: 14px 16px; |
| border-bottom: 1px solid var(--border); |
| } |
| .scan-split-kicker { |
| color: var(--text-tertiary); |
| font-family: var(--mono); |
| font-size: 10px; |
| font-weight: 800; |
| letter-spacing: 0.08em; |
| text-transform: uppercase; |
| } |
| .scan-split-title { |
| color: var(--text-primary); |
| font-size: 15px; |
| font-weight: 800; |
| margin-top: 2px; |
| } |
| .scan-count-pill { |
| flex: 0 0 auto; |
| border: 1px solid var(--border); |
| border-radius: 999px; |
| padding: 4px 9px; |
| color: var(--text-secondary); |
| background: var(--bg-base); |
| font-family: var(--mono); |
| font-size: 10px; |
| font-weight: 800; |
| } |
| .scan-split-summary { |
| padding: 10px 16px; |
| color: var(--text-secondary); |
| font-size: 12px; |
| line-height: 1.6; |
| border-bottom: 1px solid var(--border-subtle); |
| } |
| .scan-split-body { padding: 12px 16px; } |
| .scan-mini-list { display: flex; flex-direction: column; gap: 8px; } |
| .scan-package-item { |
| border: 1px solid rgba(47,129,247,0.2); |
| background: rgba(47,129,247,0.05); |
| border-radius: var(--radius-sm); |
| padding: 9px 11px; |
| } |
| .scan-package-top { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| gap: 10px; |
| margin-bottom: 4px; |
| } |
| .scan-package-id { |
| color: var(--blue); |
| font-family: var(--mono); |
| font-size: 11px; |
| font-weight: 800; |
| } |
| .scan-package-desc { |
| color: var(--text-secondary); |
| font-size: 12px; |
| line-height: 1.45; |
| } |
| .scan-source-badges { display: inline-flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; } |
| .scan-source-badge { |
| border: 1px solid var(--border); |
| border-radius: 999px; |
| padding: 1px 6px; |
| color: var(--text-tertiary); |
| background: var(--bg-base); |
| font-size: 10px; |
| font-weight: 700; |
| } |
|
|
| .report-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 12px; } |
| @media (max-width: 768px) { .report-grid { grid-template-columns: 1fr; } } |
| .report-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; } |
| .report-card-header { padding: 10px 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid var(--border); } |
| .header-urgent { color: var(--red); background: rgba(248,81,73,0.06); } |
| .header-important { color: var(--orange); background: rgba(227,179,65,0.06); } |
| .header-resolved { color: var(--green); background: rgba(63,185,80,0.06); } |
| .header-cve { color: var(--blue); background: rgba(47,129,247,0.06); } |
| .report-card-body { padding: 12px 16px; } |
| .report-empty { color: var(--text-tertiary); font-size: 12px; font-style: italic; } |
|
|
| .action-card { padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); margin-bottom: 8px; transition: transform 150ms; cursor: default; } |
| .action-card:hover { transform: translateX(2px); } |
| .action-urgent { border-color: rgba(248,81,73,0.3); background: rgba(248,81,73,0.04); } |
| .action-important { border-color: rgba(227,179,65,0.3); background: rgba(227,179,65,0.04); } |
| .action-resolved { border-color: rgba(63,185,80,0.3); background: rgba(63,185,80,0.04); opacity: 0.75; } |
| .action-cve { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--blue); margin-bottom: 4px; } |
| .action-cve.action-cwe { color: var(--purple); } |
| .action-title { font-size: 13px; font-weight: 500; color: var(--text-primary); margin-bottom: 4px; } |
| .action-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; } |
| .affected-line { |
| display: inline-flex; |
| align-items: center; |
| gap: 8px; |
| margin: 4px 0 6px; |
| padding: 4px 8px; |
| border: 1px solid rgba(248,81,73,0.28); |
| border-radius: var(--radius-sm); |
| background: rgba(248,81,73,0.08); |
| font-family: var(--mono); |
| font-size: 11px; |
| color: var(--text-secondary); |
| } |
| .affected-line strong { color: var(--red); font-weight: 700; } |
|
|
| |
| .snippet-compare { margin: 8px 0 4px; display: flex; flex-direction: column; gap: 6px; } |
| .snippet-block { border-radius: var(--radius-sm); overflow: hidden; } |
| .snippet-label { font-size: 10px; font-weight: 700; letter-spacing: 0.04em; padding: 4px 10px; } |
| .snippet-vuln .snippet-label { background: rgba(248,81,73,0.12); color: var(--red); } |
| .snippet-fix .snippet-label { background: rgba(63,185,80,0.12); color: var(--green); } |
| .snippet-code { font-family: var(--mono); font-size: 11px; line-height: 1.6; color: var(--text-primary); background: var(--bg-base); border: 1px solid var(--border); padding: 8px 10px; margin: 0; white-space: pre-wrap; word-break: break-word; overflow-x: auto; } |
| .snippet-vuln .snippet-code { border-color: rgba(248,81,73,0.25); } |
| .snippet-fix .snippet-code { border-color: rgba(63,185,80,0.25); } |
| .snippet-why { font-size: 11px; color: var(--text-tertiary); line-height: 1.5; padding: 4px 0; } |
| .snippet-why strong { color: var(--teal); } |
|
|
| .cve-table { width: 100%; border-collapse: collapse; font-size: 12px; } |
| .cve-table th { background: var(--bg-base); color: var(--text-tertiary); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; } |
| .cve-table td { padding: 8px 12px; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); vertical-align: middle; } |
| .cve-table tr:last-child td { border-bottom: none; } |
| .cve-table tr:hover td { background: var(--bg-raised); } |
| .cve-id { font-family: var(--mono); color: var(--blue) !important; font-size: 11px; font-weight: 500; } |
| .severity-badge { display: inline-block; font-family: var(--mono); font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: var(--radius-sm); border: 1px solid; text-transform: uppercase; letter-spacing: 0.04em; } |
| .sev-critical { color: var(--red); border-color: rgba(248,81,73,0.4); background: rgba(248,81,73,0.08); } |
| .sev-high { color: var(--orange); border-color: rgba(227,179,65,0.4); background: rgba(227,179,65,0.08); } |
| .sev-medium { color: var(--yellow); border-color: rgba(240,226,74,0.4); background: rgba(240,226,74,0.08); } |
| .sev-low { color: var(--green); border-color: rgba(63,185,80,0.3); background: rgba(63,185,80,0.06); } |
| .cve-desc { max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
| .cve-source-tags { |
| display: inline-flex; |
| gap: 6px; |
| margin-left: 8px; |
| vertical-align: middle; |
| } |
| .cve-source-tag { |
| display: inline-flex; |
| align-items: center; |
| padding: 1px 6px; |
| border-radius: 999px; |
| border: 1px solid var(--border); |
| background: var(--bg-base); |
| color: var(--text-tertiary); |
| font-size: 10px; |
| line-height: 1.4; |
| } |
| .cve-source-tag.scout { color: var(--accent); border-color: rgba(47,129,247,0.3); background: rgba(47,129,247,0.1); } |
| .cve-source-tag.fusion { color: var(--green); border-color: rgba(63,185,80,0.28); background: rgba(63,185,80,0.1); } |
| .cve-source-tag.fallback { color: var(--orange); border-color: rgba(227,179,65,0.3); background: rgba(227,179,65,0.12); } |
|
|
| .vuln-glossary { margin-bottom: 18px; } |
| .glossary-grid, |
| .glossary-cwe-strip { |
| display: grid; |
| grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); |
| gap: 10px; |
| } |
| .glossary-cwe-strip { margin-top: 10px; } |
| .glossary-card { |
| border: 1px solid var(--border); |
| border-radius: var(--radius); |
| background: |
| linear-gradient(135deg, rgba(57,208,196,0.06), transparent 42%), |
| var(--bg-card); |
| padding: 12px 14px; |
| } |
| .glossary-base-card { border-color: rgba(57,208,196,0.22); } |
| .glossary-cwe-card { border-color: rgba(248,81,73,0.24); } |
| .glossary-term { font-family: var(--mono); font-size: 11px; font-weight: 800; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 4px; } |
| .glossary-title { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; } |
| .glossary-desc { font-size: 12px; line-height: 1.55; color: var(--text-secondary); } |
| .glossary-hint { |
| margin-top: 10px; |
| border: 1px dashed var(--border); |
| border-radius: var(--radius); |
| padding: 10px 12px; |
| color: var(--text-tertiary); |
| font-size: 12px; |
| } |
|
|
| |
| .th-footer { text-align: center; padding: 20px 24px; font-size: 11px; font-family: var(--mono); color: var(--text-tertiary); border-top: 1px solid var(--border); letter-spacing: 0.02em; } |
|
|
| |
| |
| |
| .tp-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0); z-index: 200; transition: background 0.3s ease; pointer-events: none; } |
| .tp-overlay.tp-overlay-visible { background: rgba(0,0,0,0.6); pointer-events: all; } |
|
|
| .tp-drawer { |
| position: fixed; top: 0; right: 0; height: 100vh; width: min(520px, 95vw); |
| background: var(--bg-card); border-left: 1px solid var(--border); |
| display: flex; flex-direction: column; z-index: 201; |
| transform: translateX(105%); transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1); |
| box-shadow: var(--shadow-lg); |
| } |
| .tp-drawer.tp-open { transform: translateX(0); } |
|
|
| .tp-drawer-header { |
| display: flex; align-items: center; gap: 12px; |
| padding: 16px 20px; border-bottom: 1px solid var(--border); |
| background: var(--bg-base); flex-shrink: 0; |
| } |
| .tp-drawer-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--text-primary); } |
| .tp-drawer-title svg { color: var(--accent); } |
| .tp-drawer-meta { font-size: 11px; color: var(--text-tertiary); font-family: var(--mono); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
| .tp-close-btn { |
| display: flex; align-items: center; justify-content: center; |
| background: none; border: 1px solid var(--border); color: var(--text-secondary); |
| cursor: pointer; padding: 6px; border-radius: var(--radius-sm); transition: all var(--transition); flex-shrink: 0; |
| } |
| .tp-close-btn:hover { background: var(--bg-raised); color: var(--text-primary); } |
|
|
| .tp-drawer-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; } |
|
|
| .tp-loading { display: flex; align-items: center; gap: 12px; justify-content: center; color: var(--text-tertiary); font-size: 13px; padding: 48px 0; } |
| .tp-spinner { width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: tpSpin 0.7s linear infinite; } |
| @keyframes tpSpin { to { transform: rotate(360deg); } } |
| .tp-empty { text-align: center; color: var(--text-tertiary); font-size: 13px; padding: 40px 0; line-height: 1.8; } |
| .tp-content { display: flex; flex-direction: column; gap: 12px; } |
|
|
| .tp-agent-block { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-base); transition: border-color var(--transition); } |
| .tp-agent-block.tp-agent-has-error { border-color: rgba(248,81,73,0.35); } |
| .tp-agent-block:hover { border-color: #484f58; } |
|
|
| .tp-agent-header { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; background: none; border: none; cursor: pointer; text-align: left; transition: background var(--transition); } |
| .tp-agent-header:hover { background: rgba(255,255,255,0.025); } |
| .tp-agent-left { display: flex; align-items: center; gap: 8px; min-width: 0; } |
| .tp-agent-right { display: flex; align-items: center; gap: 4px; flex-shrink: 0; } |
| .tp-agent-chevron { font-size: 11px; color: var(--text-tertiary); } |
| .tp-agent-name { font-size: 13px; font-weight: 600; color: var(--text-primary); text-transform: capitalize; white-space: nowrap; } |
| .tp-agent-role { font-size: 11px; color: var(--text-tertiary); white-space: nowrap; } |
|
|
| |
| .tp-skill-badge { |
| font-size: 10px; font-family: var(--mono); |
| padding: 2px 7px; border-radius: 4px; border: 1px solid; |
| font-weight: 600; white-space: nowrap; display: inline-flex; |
| align-items: center; gap: 3px; line-height: 1.6; |
| } |
| .tp-skill-ok { color: var(--green); border-color: rgba(63,185,80,0.3); background: rgba(63,185,80,0.08); } |
| .tp-skill-warn { color: var(--orange); border-color: rgba(227,179,65,0.3); background: rgba(227,179,65,0.08); } |
|
|
| |
| |
| .tp-skill-pkg { color: #c792ff; border-color: rgba(199,146,255,0.3); background: rgba(199,146,255,0.08); } |
| |
| .tp-skill-code { color: #7ecfff; border-color: rgba(126,207,255,0.3); background: rgba(126,207,255,0.08); } |
| |
| .tp-skill-injection { color: #ffd166; border-color: rgba(255,209,102,0.35); background: rgba(255,209,102,0.1); } |
| |
| .tp-skill-config { color: #4fd1c5; border-color: rgba(79,209,197,0.3); background: rgba(79,209,197,0.08); } |
|
|
| .tp-stat-badge { font-size: 10px; font-family: var(--mono); padding: 2px 6px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 3px; color: var(--text-tertiary); white-space: nowrap; } |
| .tp-stat-badge.tp-dur { color: var(--accent); border-color: var(--accent-border); background: var(--accent-dim); } |
|
|
| .tp-agent-steps { border-top: 1px solid var(--border-subtle); overflow: hidden; } |
| .tp-agent-steps.tp-collapsed { display: none; } |
| .tp-step-empty { color: var(--text-tertiary); font-size: 12px; padding: 10px 14px; font-style: italic; } |
|
|
| .tp-record { |
| margin: 10px 12px; |
| padding: 10px; |
| border: 1px solid rgba(57,208,196,0.22); |
| border-radius: var(--radius-sm); |
| background: rgba(57,208,196,0.04); |
| } |
| .tp-record-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; } |
| .tp-record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; } |
| @media (max-width: 560px) { .tp-record-grid { grid-template-columns: 1fr; } } |
| .tp-record-details { |
| border: 1px solid var(--border-subtle); |
| border-radius: var(--radius-sm); |
| background: var(--bg-base); |
| overflow: hidden; |
| margin-top: 6px; |
| } |
| .tp-record-details summary { |
| cursor: pointer; |
| padding: 7px 9px; |
| color: var(--accent); |
| font-size: 11px; |
| font-weight: 700; |
| font-family: var(--mono); |
| } |
| .tp-record-pre { |
| margin: 0; |
| padding: 8px 10px; |
| max-height: 180px; |
| overflow: auto; |
| border-top: 1px solid var(--border-subtle); |
| color: var(--text-secondary); |
| font-size: 11px; |
| line-height: 1.55; |
| white-space: pre-wrap; |
| word-break: break-word; |
| } |
| .tp-record-empty { color: var(--text-tertiary); font-size: 11px; padding: 6px 2px; } |
|
|
| .tp-step { padding: 8px 14px; border-bottom: 1px solid rgba(255,255,255,0.03); border-left: 2px solid transparent; transition: background var(--transition); } |
| .tp-step:last-child { border-bottom: none; } |
| .tp-step:hover { background: rgba(255,255,255,0.018); } |
| .tp-step-llm { border-left-color: rgba(165,160,248,0.5); } |
| .tp-step-llm-result { border-left-color: rgba(63,185,80,0.5); } |
| .tp-step-retry { border-left-color: rgba(227,179,65,0.5); } |
| .tp-step-error { border-left-color: rgba(248,81,73,0.6); } |
| .tp-step-tool { border-left-color: rgba(57,208,196,0.5); } |
| .tp-step-stage { border-left-color: rgba(47,129,247,0.4); } |
| .tp-step-harness { border-left-color: rgba(47,129,247,0.55); } |
| .tp-step-warn { border-left-color: rgba(227,179,65,0.55); } |
| .tp-step-other { border-left-color: transparent; } |
|
|
| .tp-step-header { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; } |
| .tp-step-icon { font-size: 13px; flex-shrink: 0; } |
| .tp-step-label { font-size: 12px; font-weight: 600; color: var(--text-primary); flex: 1; } |
| .tp-step-ts { font-size: 10px; color: var(--text-tertiary); font-family: var(--mono); white-space: nowrap; } |
|
|
| .tp-step-detail { padding-left: 22px; display: flex; flex-direction: column; gap: 3px; } |
| .tp-detail-row { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; line-height: 1.5; } |
| .tp-detail-label { font-size: 10px; color: var(--text-tertiary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; flex-shrink: 0; margin-top: 1px; } |
| .tp-detail-val { font-size: 12px; color: var(--text-secondary); word-break: break-all; flex: 1; } |
| .tp-task-preview .tp-detail-val { color: var(--text-primary); } |
| .tp-muted { color: var(--text-tertiary) !important; } |
|
|
| .tp-mono { font-family: var(--mono); font-size: 11px; color: var(--text-primary); } |
| .tp-accent { color: var(--accent); } |
| .tp-badge-model { background: rgba(165,160,248,0.1); border: 1px solid rgba(165,160,248,0.25); color: var(--purple); padding: 1px 6px; border-radius: 3px; font-size: 11px; font-family: var(--mono); } |
|
|
| .tp-status-badge { font-size: 10px; font-weight: 700; font-family: var(--mono); padding: 2px 6px; border-radius: 3px; letter-spacing: 0.04em; } |
| .tp-status-ok { background: rgba(63,185,80,0.12); color: var(--green); } |
| .tp-status-warn { background: rgba(227,179,65,0.12); color: var(--orange); } |
| .tp-status-err { background: rgba(248,81,73,0.12); color: var(--red); } |
|
|
| .tp-error-text { font-size: 12px; color: var(--red); background: rgba(248,81,73,0.06); border: 1px solid rgba(248,81,73,0.2); border-radius: var(--radius-sm); padding: 6px 10px; word-break: break-word; font-family: var(--mono); } |
|
|
| |
| .tp-degraded-banner { |
| background: rgba(248,81,73,0.06); |
| border: 1px solid rgba(248,81,73,0.35); |
| border-left: 3px solid var(--red); |
| border-radius: var(--radius-sm); |
| padding: 8px 10px; |
| animation: degraded-border-pulse 2.2s ease-in-out infinite; |
| } |
| .tp-degraded-title { |
| font-size: 11px; font-weight: 700; color: var(--red); |
| letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 2px; |
| } |
|
|
| .tp-thinking-details { margin-top: 8px; } |
| .tp-thinking-details summary { font-size: 12px; color: var(--purple); cursor: pointer; user-select: none; padding: 2px 0; list-style: none; } |
| .tp-thinking-details summary::-webkit-details-marker { display: none; } |
| .tp-thinking-details summary::before { content: '\25B8 '; } |
| .tp-thinking-details[open] summary::before { content: '\25BE '; } |
| .tp-thinking-pre { font-family: var(--mono); font-size: 11px; color: var(--text-secondary); background: var(--bg-base); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 8px; white-space: pre-wrap; word-break: break-word; max-height: 240px; overflow-y: auto; line-height: 1.6; } |
|
|