Files
Claude-Code-Workflow/ccw/src/templates/dashboard.css
catlog22 27273405f7 feat: CCW Dashboard 增强 - 停止命令、浏览器修复和MCP多源配置
- 新增 ccw stop 命令支持优雅停止和强制终止 (--force)
- 修复 ccw view 服务器检测时浏览器无法打开的问题
- MCP 配置现在从多个源读取:
  - ~/.claude.json (项目级)
  - ~/.claude/settings.json 和 settings.local.json (全局)
  - 各工作空间的 .claude/settings.json (工作空间级)
- 新增全局 MCP 服务器显示区域
- 修复路径选择模态框样式问题

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-08 10:28:07 +08:00

8188 lines
147 KiB
CSS

/* ===================================
Dashboard - Complementary Styles
================================== */
/* This file contains only essential CSS that cannot be achieved
with Tailwind utilities. All layout, colors, and basic styling
are handled by Tailwind classes in dashboard.html.
CSS variables are defined inline in dashboard.html <style> block. */
/* Font Family Definitions */
:root {
--font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
--font-mono: 'SF Mono', 'Consolas', 'Monaco', 'Liberation Mono', 'Courier New', monospace;
}
body {
font-family: var(--font-sans);
}
/* Scrollbar styling (cannot be done in Tailwind) */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: hsl(var(--border));
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: hsl(var(--muted-foreground));
}
/* Sidebar collapse state (JavaScript-toggled class) */
.sidebar.collapsed {
width: 60px;
}
.sidebar.collapsed .nav-text,
.sidebar.collapsed .nav-section-title,
.sidebar.collapsed .badge,
.sidebar.collapsed .toggle-text {
display: none;
}
.sidebar.collapsed .nav-section-header {
justify-content: center;
padding: 12px 0;
}
.sidebar.collapsed .nav-item {
justify-content: center;
padding: 10px 0;
}
/* Nav item active state */
.nav-item.active {
background-color: hsl(var(--accent));
color: hsl(var(--primary));
font-weight: 500;
}
.nav-item.active .nav-icon {
color: hsl(var(--primary));
}
.nav-item.active .nav-count {
background-color: hsl(var(--primary));
color: white;
}
.sidebar.collapsed .toggle-icon {
transform: rotate(180deg);
}
/* Path menu open state (JavaScript-toggled class) */
.path-menu.open {
display: block;
}
/* Mobile sidebar (responsive behavior beyond Tailwind) */
@media (max-width: 768px) {
.sidebar {
position: fixed;
left: -260px;
top: 56px;
height: calc(100vh - 56px);
z-index: 200;
box-shadow: 0 8px 24px rgb(0 0 0 / 0.15);
}
.sidebar.open {
left: 0;
}
.sidebar-overlay {
display: none;
}
.sidebar-overlay.open {
display: block;
}
.menu-toggle-btn {
display: block !important;
}
}
/* Task detail drawer (complex transform animation) */
.task-detail-drawer {
transform: translateX(100%);
transition: transform 0.3s ease;
}
.task-detail-drawer.open {
transform: translateX(0);
}
.drawer-overlay.active {
display: block;
}
/* ===================================
Session Cards (used by dashboard.js)
=================================== */
.sessions-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1rem;
}
.session-card {
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
padding: 1rem;
cursor: pointer;
transition: all 0.2s ease;
}
.session-card:hover {
box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
transform: translateY(-2px);
}
.session-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.75rem;
}
.session-title {
font-weight: 600;
font-size: 0.9rem;
color: hsl(var(--foreground));
word-break: break-word;
}
.session-badges {
display: flex;
gap: 0.5rem;
flex-shrink: 0;
}
.session-status {
font-size: 0.65rem;
font-weight: 600;
padding: 0.2rem 0.5rem;
border-radius: 9999px;
text-transform: uppercase;
}
.session-status.active {
background: hsl(var(--success-light));
color: hsl(var(--success));
}
.session-status.archived {
background: hsl(var(--muted));
color: hsl(var(--muted-foreground));
}
.session-type-badge {
font-size: 0.65rem;
font-weight: 500;
padding: 0.2rem 0.5rem;
border-radius: 9999px;
background: hsl(var(--accent));
color: hsl(var(--accent-foreground));
text-transform: uppercase;
}
.session-type-badge.review {
background: hsl(var(--warning-light));
color: hsl(var(--warning));
}
.session-type-badge.test {
background: hsl(220 80% 90%);
color: hsl(220 80% 40%);
}
.session-body {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.session-meta {
display: flex;
gap: 1rem;
font-size: 0.8rem;
color: hsl(var(--muted-foreground));
}
.session-meta-item {
display: flex;
align-items: center;
gap: 0.25rem;
}
.progress-container {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.progress-label {
font-size: 0.75rem;
color: hsl(var(--muted-foreground));
}
.progress-bar-wrapper {
display: flex;
align-items: center;
gap: 0.75rem;
}
.progress-bar {
flex: 1;
height: 6px;
background: hsl(var(--muted));
border-radius: 3px;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--success)));
border-radius: 3px;
transition: width 0.3s ease;
}
.progress-text {
font-size: 0.75rem;
color: hsl(var(--muted-foreground));
white-space: nowrap;
}
/* Empty state */
.empty-state {
text-align: center;
padding: 3rem;
color: hsl(var(--muted-foreground));
}
.empty-state-icon {
font-size: 3rem;
margin-bottom: 1rem;
opacity: 0.5;
}
/* Session detail page */
.session-detail-header {
margin-bottom: 1.5rem;
}
.session-detail-title {
font-size: 1.5rem;
font-weight: 600;
color: hsl(var(--foreground));
margin-bottom: 0.5rem;
}
.session-detail-meta {
display: flex;
gap: 1rem;
flex-wrap: wrap;
font-size: 0.875rem;
color: hsl(var(--muted-foreground));
}
.task-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.task-item {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1rem;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
cursor: pointer;
transition: all 0.15s ease;
}
.task-item:hover {
background: hsl(var(--hover));
}
.task-item.completed {
border-left: 3px solid hsl(var(--success));
opacity: 0.8;
}
.task-item.in_progress {
border-left: 3px solid hsl(var(--warning));
}
.task-item.pending {
border-left: 3px solid hsl(var(--muted-foreground));
}
.task-checkbox {
width: 1.25rem;
height: 1.25rem;
border-radius: 50%;
border: 2px solid hsl(var(--border));
display: flex;
align-items: center;
justify-content: center;
font-size: 0.7rem;
font-weight: bold;
flex-shrink: 0;
}
.task-item.completed .task-checkbox {
background: hsl(var(--success));
border-color: hsl(var(--success));
color: white;
}
.task-item.completed .task-checkbox::after {
content: '✓';
}
.task-item.in_progress .task-checkbox {
border-color: hsl(var(--warning));
color: hsl(var(--warning));
}
.task-item.in_progress .task-checkbox::after {
content: '⟳';
}
.task-title {
flex: 1;
font-size: 0.875rem;
color: hsl(var(--foreground));
}
.task-id {
font-size: 0.75rem;
font-family: var(--font-mono);
color: hsl(var(--muted-foreground));
}
/* Back button */
.back-button {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: hsl(var(--muted));
border: none;
border-radius: 0.375rem;
font-size: 0.875rem;
color: hsl(var(--foreground));
cursor: pointer;
transition: background 0.15s;
margin-bottom: 1rem;
}
.back-button:hover {
background: hsl(var(--hover));
}
/* ===================================
Path Dropdown Menu
=================================== */
.path-menu {
min-width: 320px;
max-height: 400px;
overflow-y: auto;
}
.path-menu .path-item {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1rem;
cursor: pointer;
transition: background 0.15s;
border-bottom: 1px solid hsl(var(--border));
}
.path-menu .path-item:hover {
background: hsl(var(--hover));
}
.path-menu .path-item:last-child {
border-bottom: none;
}
.path-menu .path-icon {
font-size: 1.25rem;
flex-shrink: 0;
}
.path-menu .path-text {
flex: 1;
font-size: 0.875rem;
color: hsl(var(--foreground));
word-break: break-all;
}
.path-menu .path-item {
display: flex;
align-items: center;
justify-content: space-between;
}
.path-menu .path-text {
cursor: pointer;
}
.path-delete-btn {
width: 20px;
height: 20px;
border: none;
background: transparent;
color: hsl(var(--muted-foreground));
font-size: 16px;
font-weight: bold;
cursor: pointer;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.15s, background 0.15s, color 0.15s;
flex-shrink: 0;
margin-left: 8px;
}
.path-menu .path-item:hover .path-delete-btn {
opacity: 1;
}
.path-delete-btn:hover {
background: hsl(var(--destructive) / 0.1);
color: hsl(var(--destructive));
}
/* ===================================
Session Detail Page
=================================== */
.session-detail-page {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.detail-header {
display: flex;
flex-direction: column;
gap: 1rem;
}
.btn-back {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: hsl(var(--muted));
border: none;
border-radius: 0.375rem;
font-size: 0.875rem;
color: hsl(var(--foreground));
cursor: pointer;
transition: background 0.15s;
width: fit-content;
}
.btn-back:hover {
background: hsl(var(--hover));
}
.back-icon {
font-size: 1rem;
}
.detail-title-row {
display: flex;
align-items: center;
gap: 1rem;
flex-wrap: wrap;
}
.detail-session-id {
font-size: 1.5rem;
font-weight: 600;
color: hsl(var(--foreground));
margin: 0;
word-break: break-word;
}
.detail-badges {
display: flex;
gap: 0.5rem;
}
.detail-info-bar {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
padding: 1rem;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
}
.info-item {
display: flex;
gap: 0.5rem;
font-size: 0.875rem;
}
.info-label {
color: hsl(var(--muted-foreground));
}
.info-value {
color: hsl(var(--foreground));
font-weight: 500;
}
/* Detail Tabs */
.detail-tabs {
display: flex;
gap: 0.25rem;
border-bottom: 1px solid hsl(var(--border));
overflow-x: auto;
}
.detail-tab {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
background: none;
border: none;
border-bottom: 2px solid transparent;
font-size: 0.875rem;
color: hsl(var(--muted-foreground));
cursor: pointer;
transition: all 0.15s;
white-space: nowrap;
}
.detail-tab:hover {
color: hsl(var(--foreground));
background: hsl(var(--hover));
}
.detail-tab.active {
color: hsl(var(--primary));
border-bottom-color: hsl(var(--primary));
}
.tab-icon {
font-size: 1rem;
}
.tab-count {
padding: 0.125rem 0.5rem;
background: hsl(var(--muted));
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 500;
}
.detail-tab.active .tab-count {
background: hsl(var(--primary));
color: hsl(var(--primary-foreground));
}
.detail-tab-content {
min-height: 300px;
}
/* Task Stats */
.task-stats {
display: flex;
gap: 1rem;
margin-bottom: 1rem;
}
.task-stat {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.375rem;
font-size: 0.875rem;
}
.task-stat.completed { border-left: 3px solid hsl(var(--success)); }
.task-stat.in-progress { border-left: 3px solid hsl(var(--warning)); }
.task-stat.pending { border-left: 3px solid hsl(var(--muted-foreground)); }
.stat-count {
font-weight: 600;
color: hsl(var(--foreground));
}
.stat-label {
color: hsl(var(--muted-foreground));
}
/* Tab Loading */
.tab-loading {
display: flex;
align-items: center;
justify-content: center;
padding: 3rem;
color: hsl(var(--muted-foreground));
font-size: 0.875rem;
}
/* Context/Summary Content */
.context-content,
.summary-content,
.impl-plan-content,
.review-content {
padding: 1rem;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
}
.context-section,
.summary-section,
.plan-section {
margin-bottom: 1.5rem;
}
.context-section:last-child,
.summary-section:last-child,
.plan-section:last-child {
margin-bottom: 0;
}
/* Plan Tab Styles */
.plan-tab-content {
padding: 1rem 0;
}
.plan-section-title {
font-size: 1rem;
font-weight: 600;
color: hsl(var(--foreground));
margin-bottom: 0.75rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.plan-summary-text,
.plan-approach-text {
color: hsl(var(--foreground));
line-height: 1.6;
padding: 0.75rem 1rem;
background: hsl(var(--muted));
border-radius: 0.5rem;
border-left: 3px solid hsl(var(--primary));
}
.plan-meta-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 0.75rem;
}
.plan-meta-grid .meta-item {
padding: 0.5rem 0.75rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
font-size: 0.875rem;
}
.plan-meta-grid .meta-label {
font-weight: 600;
color: hsl(var(--muted-foreground));
}
/* Lite Task Detail Page */
.lite-task-detail-page .detail-header {
margin-bottom: 1.5rem;
}
.lite-task-detail-page .task-toolbar {
margin-bottom: 1rem;
}
.lite-task-detail-page .task-stat {
font-size: 0.8rem;
}
/* Context Tab Content */
.context-tab-content {
padding: 1rem 0;
}
.context-tab-content .context-section h4 {
font-size: 0.9rem;
font-weight: 600;
color: hsl(var(--foreground));
margin-bottom: 0.5rem;
}
.context-tab-content .context-section p {
color: hsl(var(--foreground));
line-height: 1.6;
}
.section-title {
font-size: 1rem;
font-weight: 600;
color: hsl(var(--foreground));
margin-bottom: 0.75rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.file-list {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.file-item {
padding: 0.5rem 0.75rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
font-family: var(--font-mono);
font-size: 0.8rem;
color: hsl(var(--foreground));
}
/* Code blocks */
pre, code {
font-family: var(--font-mono);
background: hsl(var(--muted));
border-radius: 0.25rem;
}
pre {
padding: 1rem;
overflow-x: auto;
font-size: 0.8rem;
line-height: 1.5;
}
code {
padding: 0.125rem 0.25rem;
font-size: 0.85em;
}
/* Review Findings */
.findings-list {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.finding-item {
padding: 1rem;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
border-left: 3px solid hsl(var(--border));
}
.finding-item.critical { border-left-color: hsl(0 70% 50%); }
.finding-item.high { border-left-color: hsl(25 90% 55%); }
.finding-item.medium { border-left-color: hsl(45 90% 50%); }
.finding-item.low { border-left-color: hsl(var(--success)); }
.finding-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.5rem;
}
.finding-title {
font-weight: 600;
color: hsl(var(--foreground));
}
.severity-badge {
padding: 0.125rem 0.5rem;
border-radius: 9999px;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
}
.severity-badge.critical { background: hsl(0 70% 90%); color: hsl(0 70% 40%); }
.severity-badge.high { background: hsl(25 90% 90%); color: hsl(25 90% 35%); }
.severity-badge.medium { background: hsl(45 90% 90%); color: hsl(45 90% 30%); }
.severity-badge.low { background: hsl(var(--success-light)); color: hsl(var(--success)); }
.finding-description {
font-size: 0.875rem;
color: hsl(var(--muted-foreground));
line-height: 1.5;
}
.finding-location {
margin-top: 0.5rem;
font-size: 0.75rem;
font-family: var(--font-mono);
color: hsl(var(--muted-foreground));
}
/* ===================================
Tasks Tab Content
=================================== */
.tasks-tab-content {
display: flex;
flex-direction: column;
gap: 1rem;
}
/* Task Toolbar - Combined Stats & Actions */
.task-toolbar {
display: flex;
align-items: center;
gap: 1rem;
padding: 0.75rem 1rem;
background: hsl(var(--muted) / 0.2);
border: 1px solid hsl(var(--border) / 0.5);
border-radius: 0.5rem;
margin-bottom: 1rem;
flex-wrap: wrap;
}
.toolbar-divider {
width: 1px;
height: 1.5rem;
background: hsl(var(--border));
flex-shrink: 0;
}
.task-stats-bar {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
.task-stat {
display: flex;
align-items: center;
gap: 0.375rem;
padding: 0.375rem 0.75rem;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 9999px;
font-size: 0.8rem;
font-weight: 500;
}
.task-stat.completed {
border-color: hsl(142 76% 36% / 0.4);
background: hsl(142 76% 36% / 0.1);
color: hsl(142 76% 30%);
}
.task-stat.in-progress {
border-color: hsl(38 92% 50% / 0.4);
background: hsl(38 92% 50% / 0.1);
color: hsl(38 92% 40%);
}
.task-stat.pending {
border-color: hsl(var(--border));
background: hsl(var(--muted) / 0.3);
color: hsl(var(--muted-foreground));
}
/* Responsive: Stack toolbar on smaller screens */
@media (max-width: 768px) {
.task-toolbar {
flex-direction: column;
align-items: stretch;
gap: 0.75rem;
}
.toolbar-divider {
width: 100%;
height: 1px;
}
.task-stats-bar {
justify-content: center;
}
.task-bulk-actions {
justify-content: center;
}
}
.tasks-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
/* Task Item */
.detail-task-item {
display: flex;
flex-direction: column;
padding: 0.875rem 1rem;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
border-left: 3px solid hsl(var(--muted-foreground));
transition: all 0.15s ease;
}
.detail-task-item:hover {
background: hsl(var(--hover));
box-shadow: 0 2px 8px rgb(0 0 0 / 0.08);
}
.detail-task-item.completed {
border-left-color: hsl(var(--success));
}
.detail-task-item.in_progress {
border-left-color: hsl(var(--warning));
}
.detail-task-item.pending {
border-left-color: hsl(var(--muted-foreground));
}
/* Status-based background colors for task cards */
.detail-task-item.status-completed {
background: hsl(var(--success) / 0.08);
}
.detail-task-item.status-completed:hover {
background: hsl(var(--success) / 0.12);
}
.detail-task-item.status-in_progress {
background: hsl(var(--warning) / 0.08);
}
.detail-task-item.status-in_progress:hover {
background: hsl(var(--warning) / 0.12);
}
.detail-task-item.status-pending {
background: hsl(var(--muted-foreground) / 0.05);
}
.detail-task-item.status-pending:hover {
background: hsl(var(--muted-foreground) / 0.08);
}
.task-item-header {
display: flex;
align-items: center;
gap: 0.75rem;
}
.task-status-icon {
font-size: 1rem;
width: 1.5rem;
text-align: center;
flex-shrink: 0;
}
.detail-task-item.completed .task-status-icon {
color: hsl(var(--success));
}
.detail-task-item.in_progress .task-status-icon {
color: hsl(var(--warning));
}
.task-id-badge {
padding: 0.125rem 0.5rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
font-size: 0.75rem;
font-family: var(--font-mono);
font-weight: 500;
color: hsl(var(--foreground));
flex-shrink: 0;
}
.task-item-header .task-title {
flex: 1;
font-size: 0.875rem;
color: hsl(var(--foreground));
}
.task-status-badge {
padding: 0.125rem 0.5rem;
border-radius: 9999px;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
flex-shrink: 0;
}
.task-status-badge.completed {
background: hsl(var(--success-light));
color: hsl(var(--success));
}
.task-status-badge.in_progress {
background: hsl(var(--warning-light));
color: hsl(var(--warning));
}
.task-status-badge.pending {
background: hsl(var(--muted));
color: hsl(var(--muted-foreground));
}
/* Full Task Item (expanded view) */
.detail-task-item-full {
display: flex;
flex-direction: column;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
border-left: 3px solid hsl(var(--muted-foreground));
overflow: hidden;
}
.detail-task-item-full.completed {
border-left-color: hsl(var(--success));
}
.detail-task-item-full.in_progress {
border-left-color: hsl(var(--warning));
}
.task-item-header-full {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 1rem;
background: hsl(var(--card));
transition: background 0.15s;
}
.task-item-header-full:hover {
background: hsl(var(--hover));
}
/* Empty State */
.tab-empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 4rem 2rem;
text-align: center;
}
.empty-icon {
font-size: 3rem;
margin-bottom: 1rem;
opacity: 0.5;
}
.empty-title {
font-size: 1.25rem;
font-weight: 600;
color: hsl(var(--foreground));
margin-bottom: 0.5rem;
}
.empty-text {
font-size: 0.875rem;
color: hsl(var(--muted-foreground));
}
/* Tab Error */
.tab-error {
padding: 2rem;
text-align: center;
color: hsl(var(--destructive));
background: hsl(var(--destructive) / 0.1);
border-radius: 0.5rem;
}
/* Collapsible Sections */
.collapsible-header {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
background: hsl(var(--muted));
cursor: pointer;
transition: background 0.15s;
}
.collapsible-header:hover {
background: hsl(var(--hover));
}
.collapsible-icon {
transition: transform 0.2s;
}
.collapsible-header.open .collapsible-icon {
transform: rotate(90deg);
}
.collapsible-content {
padding: 1rem;
display: none;
}
.collapsible-content.open {
display: block;
}
/* ===================================
Task Drawer (Sidebar Panel)
=================================== */
.drawer-overlay {
display: none;
}
.drawer-overlay.active {
display: block;
}
.drawer-task-header {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 1rem;
padding-bottom: 1rem;
border-bottom: 1px solid hsl(var(--border));
}
.drawer-tabs {
display: flex;
gap: 0.25rem;
margin-bottom: 1rem;
border-bottom: 1px solid hsl(var(--border));
overflow-x: auto;
}
.drawer-tab {
padding: 0.625rem 1rem;
background: none;
border: none;
border-bottom: 2px solid transparent;
font-size: 0.875rem;
color: hsl(var(--muted-foreground));
cursor: pointer;
transition: all 0.15s;
white-space: nowrap;
}
.drawer-tab:hover {
color: hsl(var(--foreground));
background: hsl(var(--hover));
}
.drawer-tab.active {
color: hsl(var(--primary));
border-bottom-color: hsl(var(--primary));
}
.drawer-tab-content {
flex: 1;
overflow-y: auto;
}
.drawer-panel {
display: none;
}
.drawer-panel.active {
display: block;
}
.drawer-section {
margin-bottom: 1.5rem;
}
.drawer-section-title {
font-size: 0.875rem;
font-weight: 600;
color: hsl(var(--foreground));
margin: 0 0 0.75rem 0;
display: flex;
align-items: center;
gap: 0.5rem;
}
.empty-section {
padding: 1rem;
text-align: center;
color: hsl(var(--muted-foreground));
font-size: 0.875rem;
background: hsl(var(--muted));
border-radius: 0.375rem;
margin-bottom: 1rem;
}
/* Steps List */
.steps-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.step-item {
display: flex;
align-items: flex-start;
gap: 0.75rem;
padding: 0.75rem;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.375rem;
}
.step-number {
width: 1.5rem;
height: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
background: hsl(var(--primary));
color: hsl(var(--primary-foreground));
border-radius: 50%;
font-size: 0.75rem;
font-weight: 600;
flex-shrink: 0;
}
.step-content {
flex: 1;
font-size: 0.875rem;
color: hsl(var(--foreground));
line-height: 1.5;
}
.step-description {
font-size: 0.8rem;
color: hsl(var(--muted-foreground));
margin-top: 0.25rem;
}
/* Files List */
.files-list {
display: flex;
flex-direction: column;
gap: 0.375rem;
}
.file-item {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0.75rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
font-family: var(--font-mono);
font-size: 0.8rem;
color: hsl(var(--foreground));
}
.file-icon {
font-size: 0.875rem;
flex-shrink: 0;
}
/* Test Commands */
.test-commands {
margin-top: 1rem;
}
.command-item {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0.75rem;
background: hsl(220 13% 18%);
color: hsl(142 71% 60%);
border-radius: 0.25rem;
font-family: var(--font-mono);
font-size: 0.8rem;
margin-bottom: 0.375rem;
}
/* Flowchart Container */
.flowchart-container {
min-height: 300px;
background: hsl(var(--muted));
border-radius: 0.5rem;
padding: 1rem;
overflow: auto;
}
.flowchart-container svg {
max-width: 100%;
}
/* JSON View */
.json-view {
background: hsl(var(--muted));
padding: 1rem;
border-radius: 0.5rem;
overflow-x: auto;
font-size: 0.75rem;
line-height: 1.6;
color: hsl(var(--foreground));
max-height: 500px;
overflow-y: auto;
}
/* ===================================
Lite Task Detail Page Additions
=================================== */
/* Path Tags */
.path-tags {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.path-tag {
padding: 0.25rem 0.5rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
font-family: var(--font-mono);
font-size: 0.8rem;
color: hsl(var(--foreground));
}
/* JSON Content */
.json-content {
background: hsl(var(--muted));
padding: 1rem;
border-radius: 0.5rem;
overflow-x: auto;
font-size: 0.75rem;
line-height: 1.6;
color: hsl(var(--foreground));
max-height: 500px;
overflow-y: auto;
white-space: pre-wrap;
word-break: break-word;
}
/* Button View JSON */
.btn-view-json {
padding: 0.25rem 0.5rem;
background: hsl(var(--muted));
border: 1px solid hsl(var(--border));
border-radius: 0.25rem;
font-size: 0.7rem;
font-family: var(--font-mono);
color: hsl(var(--muted-foreground));
cursor: pointer;
transition: all 0.15s;
}
.btn-view-json:hover {
background: hsl(var(--hover));
color: hsl(var(--foreground));
}
/* Context Fields */
.context-fields {
display: flex;
flex-direction: column;
gap: 1rem;
}
.context-section {
padding: 1rem;
background: hsl(var(--muted) / 0.3);
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
}
.context-section-title {
font-size: 1rem;
font-weight: 600;
color: hsl(var(--foreground));
margin-bottom: 0.75rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid hsl(var(--border));
}
.context-field {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.context-label {
font-size: 0.75rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
text-transform: uppercase;
letter-spacing: 0.025em;
}
.context-value {
font-size: 0.875rem;
color: hsl(var(--foreground));
line-height: 1.6;
}
.context-field label {
display: block;
font-size: 0.75rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
margin-bottom: 0.5rem;
text-transform: uppercase;
}
.context-field p {
margin: 0;
font-size: 0.875rem;
color: hsl(var(--foreground));
line-height: 1.5;
}
.context-field ul {
margin: 0;
padding-left: 1.25rem;
font-size: 0.875rem;
color: hsl(var(--foreground));
}
.context-field ul li {
margin-bottom: 0.25rem;
}
/* Modification Points */
.mod-points {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.mod-point {
padding: 0.5rem;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.25rem;
}
.mod-target {
font-size: 0.75rem;
color: hsl(var(--muted-foreground));
margin-left: 0.5rem;
}
.mod-change {
margin: 0.5rem 0 0 0;
font-size: 0.8rem;
color: hsl(var(--foreground));
}
/* Implementation Steps */
.impl-steps {
margin: 0;
padding-left: 1.25rem;
font-size: 0.875rem;
color: hsl(var(--foreground));
}
.impl-steps li {
margin-bottom: 0.5rem;
line-height: 1.5;
}
/* Implementation Steps List (Drawer) */
.impl-steps-list {
display: flex;
flex-direction: column;
gap: 1rem;
}
.impl-step-item {
background: hsl(var(--muted) / 0.3);
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
padding: 1rem;
transition: border-color 0.2s;
}
.impl-step-item:hover {
border-color: hsl(var(--primary) / 0.5);
}
.impl-step-header {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 0.5rem;
}
.impl-step-number {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 1.75rem;
height: 1.75rem;
padding: 0 0.5rem;
background: hsl(var(--primary));
color: hsl(var(--primary-foreground));
border-radius: 0.375rem;
font-size: 0.75rem;
font-weight: 600;
white-space: nowrap;
}
.impl-step-title {
font-weight: 600;
font-size: 0.9rem;
color: hsl(var(--foreground));
flex: 1;
}
.impl-step-desc {
font-size: 0.85rem;
color: hsl(var(--muted-foreground));
line-height: 1.5;
margin-bottom: 0.75rem;
padding-left: 2.5rem;
}
.impl-step-columns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
margin-top: 0.75rem;
padding-top: 0.75rem;
border-top: 1px solid hsl(var(--border));
}
.impl-step-mods,
.impl-step-flow {
font-size: 0.8rem;
}
.impl-step-mods strong,
.impl-step-flow strong {
display: block;
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: hsl(var(--muted-foreground));
margin-bottom: 0.5rem;
}
.impl-step-mods ul,
.impl-step-flow ol {
margin: 0;
padding-left: 1.25rem;
color: hsl(var(--foreground));
}
.impl-step-mods li,
.impl-step-flow li {
margin-bottom: 0.375rem;
line-height: 1.4;
}
.impl-step-mods code {
font-size: 0.75rem;
padding: 0.125rem 0.375rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
color: hsl(var(--primary));
}
.impl-step-deps {
margin-top: 0.75rem;
padding-top: 0.5rem;
border-top: 1px dashed hsl(var(--border));
font-size: 0.75rem;
color: hsl(var(--muted-foreground));
}
.dep-badge {
display: inline-block;
padding: 0.125rem 0.5rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
font-size: 0.7rem;
margin-left: 0.25rem;
}
/* Field Groups */
.field-group {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.field-row {
display: flex;
gap: 0.5rem;
font-size: 0.875rem;
}
.field-label {
font-weight: 500;
color: hsl(var(--muted-foreground));
min-width: 100px;
}
.field-value {
color: hsl(var(--foreground));
flex: 1;
}
.json-value-null {
color: hsl(var(--muted-foreground));
font-style: italic;
}
.json-value-boolean {
color: hsl(220 80% 60%);
}
.json-value-number {
color: hsl(142 71% 45%);
}
.json-value-string {
color: hsl(var(--foreground));
}
/* Array Items */
.array-value {
display: flex;
flex-wrap: wrap;
gap: 0.375rem;
}
.array-item {
padding: 0.125rem 0.375rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
font-size: 0.8rem;
}
.array-item.path-item {
font-family: var(--font-mono);
background: hsl(var(--accent));
}
/* Nested Array */
.nested-array {
display: flex;
flex-direction: column;
gap: 0.5rem;
margin-top: 0.25rem;
}
.array-object {
padding: 0.5rem;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.25rem;
}
.array-object-header {
font-size: 0.7rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
margin-bottom: 0.25rem;
}
/* Collapsible Sections */
.collapsible-section {
border-top: 1px solid hsl(var(--border));
}
.collapsible-header {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
cursor: pointer;
transition: background 0.15s;
}
.collapsible-header:hover {
background: hsl(var(--hover));
}
.collapse-icon {
font-size: 0.75rem;
color: hsl(var(--muted-foreground));
transition: transform 0.2s;
}
.collapsible-header.expanded .collapse-icon {
transform: rotate(90deg);
}
.section-label {
font-size: 0.75rem;
font-weight: 600;
color: hsl(var(--foreground));
text-transform: uppercase;
}
.section-preview {
flex: 1;
font-size: 0.75rem;
color: hsl(var(--muted-foreground));
text-align: right;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.collapsible-content {
padding: 1rem;
background: hsl(var(--muted));
}
.collapsible-content.collapsed {
display: none;
}
/* Summary Tab */
.summary-tab-content {
display: flex;
flex-direction: column;
gap: 1rem;
}
.summary-item-collapsible {
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
overflow: hidden;
}
.summary-collapsible-header {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
background: hsl(var(--card));
cursor: pointer;
transition: background 0.15s;
}
.summary-collapsible-header:hover {
background: hsl(var(--hover));
}
.summary-name {
font-weight: 600;
color: hsl(var(--foreground));
}
.summary-preview {
flex: 1;
font-size: 0.75rem;
color: hsl(var(--muted-foreground));
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.summary-collapsible-content {
padding: 1rem;
background: hsl(var(--muted));
}
.summary-collapsible-content.collapsed {
display: none;
}
.summary-content-pre {
margin: 0;
white-space: pre-wrap;
word-break: break-word;
font-size: 0.8rem;
line-height: 1.6;
}
/* Summary Item Direct (No collapse) */
.summary-item-direct {
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
padding: 1rem;
background: hsl(var(--card));
}
.summary-item-direct .summary-content-pre {
margin-top: 0.5rem;
padding: 0.75rem;
background: hsl(var(--muted));
border-radius: 0.375rem;
}
.markdown-content {
background: hsl(var(--muted));
padding: 1rem;
border-radius: 0.5rem;
overflow-x: auto;
font-size: 0.8rem;
line-height: 1.6;
color: hsl(var(--foreground));
max-height: 600px;
overflow-y: auto;
white-space: pre-wrap;
word-break: break-word;
margin: 0;
}
/* JSON Modal */
.json-modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 100;
opacity: 0;
transition: opacity 0.2s;
}
.json-modal-overlay.active {
opacity: 1;
}
.json-modal {
background: hsl(var(--card));
border-radius: 0.5rem;
width: 90%;
max-width: 700px;
max-height: 80vh;
display: flex;
flex-direction: column;
box-shadow: 0 8px 24px rgb(0 0 0 / 0.2);
}
.json-modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem;
border-bottom: 1px solid hsl(var(--border));
}
.json-modal-title {
display: flex;
align-items: center;
gap: 0.5rem;
font-weight: 600;
color: hsl(var(--foreground));
}
.json-modal-close {
width: 2rem;
height: 2rem;
display: flex;
align-items: center;
justify-content: center;
background: none;
border: none;
font-size: 1.5rem;
color: hsl(var(--muted-foreground));
cursor: pointer;
border-radius: 0.25rem;
}
.json-modal-close:hover {
background: hsl(var(--hover));
color: hsl(var(--foreground));
}
.json-modal-body {
flex: 1;
overflow: auto;
padding: 1rem;
}
.json-modal-content {
margin: 0;
white-space: pre-wrap;
word-break: break-word;
font-size: 0.75rem;
line-height: 1.6;
color: hsl(var(--foreground));
}
.json-modal-footer {
padding: 1rem;
border-top: 1px solid hsl(var(--border));
display: flex;
justify-content: flex-end;
}
.btn-copy-json {
padding: 0.5rem 1rem;
background: hsl(var(--primary));
color: hsl(var(--primary-foreground));
border: none;
border-radius: 0.375rem;
font-size: 0.875rem;
cursor: pointer;
transition: opacity 0.15s;
}
.btn-copy-json:hover {
opacity: 0.9;
}
/* Flowchart Fallback */
.flowchart-fallback {
display: flex;
align-items: center;
justify-content: center;
height: 200px;
color: hsl(var(--muted-foreground));
font-size: 0.875rem;
}
/* ===================================
Markdown Modal
=================================== */
.markdown-modal.hidden {
display: none;
}
.md-tab-btn {
color: hsl(var(--muted-foreground));
}
.md-tab-btn.active {
background: hsl(var(--background));
color: hsl(var(--foreground));
font-weight: 500;
}
.md-tab-btn:hover:not(.active) {
color: hsl(var(--foreground));
}
/* Markdown Preview Prose Styles */
.markdown-preview {
color: hsl(var(--foreground));
line-height: 1.7;
}
.markdown-preview h1,
.markdown-preview h2,
.markdown-preview h3,
.markdown-preview h4,
.markdown-preview h5,
.markdown-preview h6 {
color: hsl(var(--foreground));
font-weight: 600;
margin-top: 1.5em;
margin-bottom: 0.5em;
line-height: 1.3;
}
.markdown-preview h1 { font-size: 1.75rem; border-bottom: 1px solid hsl(var(--border)); padding-bottom: 0.3em; }
.markdown-preview h2 { font-size: 1.5rem; border-bottom: 1px solid hsl(var(--border)); padding-bottom: 0.3em; }
.markdown-preview h3 { font-size: 1.25rem; }
.markdown-preview h4 { font-size: 1.1rem; }
.markdown-preview p {
margin-bottom: 1em;
}
.markdown-preview ul,
.markdown-preview ol {
margin-bottom: 1em;
padding-left: 1.5em;
}
.markdown-preview li {
margin-bottom: 0.25em;
}
.markdown-preview code {
background: hsl(var(--muted));
padding: 0.125rem 0.375rem;
border-radius: 0.25rem;
font-size: 0.875em;
color: hsl(var(--primary));
}
.markdown-preview pre {
background: hsl(var(--muted));
padding: 1rem;
border-radius: 0.5rem;
overflow-x: auto;
margin-bottom: 1em;
}
.markdown-preview pre code {
background: none;
padding: 0;
color: hsl(var(--foreground));
}
.markdown-preview blockquote {
border-left: 3px solid hsl(var(--primary));
padding-left: 1rem;
margin-left: 0;
margin-bottom: 1em;
color: hsl(var(--muted-foreground));
font-style: italic;
}
.markdown-preview table {
width: 100%;
border-collapse: collapse;
margin-bottom: 1em;
}
.markdown-preview th,
.markdown-preview td {
border: 1px solid hsl(var(--border));
padding: 0.5rem 0.75rem;
text-align: left;
}
.markdown-preview th {
background: hsl(var(--muted));
font-weight: 600;
}
.markdown-preview a {
color: hsl(var(--primary));
text-decoration: underline;
}
.markdown-preview hr {
border: none;
border-top: 1px solid hsl(var(--border));
margin: 1.5em 0;
}
/* View Details Button */
.btn-view-details {
display: inline-flex;
align-items: center;
gap: 0.375rem;
padding: 0.375rem 0.75rem;
background: hsl(var(--primary));
color: hsl(var(--primary-foreground));
border: none;
border-radius: 0.375rem;
font-size: 0.8rem;
cursor: pointer;
transition: opacity 0.15s;
}
.btn-view-details:hover {
opacity: 0.9;
}
.summary-item-card {
background: hsl(var(--muted) / 0.3);
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
padding: 1rem;
margin-bottom: 0.75rem;
}
.summary-item-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.summary-item-name {
font-weight: 500;
color: hsl(var(--foreground));
display: flex;
align-items: center;
gap: 0.5rem;
}
.summary-item-title {
font-weight: 600;
font-size: 0.95rem;
color: hsl(var(--foreground));
margin: 0;
}
.summary-item-preview {
font-size: 0.8rem;
color: hsl(var(--muted-foreground));
margin-top: 0.5rem;
line-height: 1.5;
}
.summary-preview-text {
margin: 0;
padding: 0.75rem;
background: hsl(var(--muted) / 0.5);
border-radius: 0.25rem;
font-size: 0.75rem;
line-height: 1.4;
white-space: pre-wrap;
word-break: break-word;
max-height: 80px;
overflow: hidden;
}
.impl-plan-card {
background: hsl(var(--muted) / 0.3);
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
padding: 1rem;
}
.impl-plan-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.75rem;
}
.impl-plan-title {
font-weight: 600;
color: hsl(var(--foreground));
display: flex;
align-items: center;
gap: 0.5rem;
}
.impl-plan-preview {
font-size: 0.8rem;
color: hsl(var(--muted-foreground));
line-height: 1.5;
}
.impl-plan-preview-text {
margin: 0;
padding: 0.75rem;
background: hsl(var(--muted) / 0.5);
border-radius: 0.25rem;
font-size: 0.75rem;
line-height: 1.4;
white-space: pre-wrap;
word-break: break-word;
max-height: 100px;
overflow: hidden;
}
/* ===================================
Context Package UI
=================================== */
.context-package-container {
display: flex;
flex-direction: column;
gap: 1rem;
}
.ctx-header {
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 0.75rem;
border-bottom: 1px solid hsl(var(--border));
}
.ctx-main-title {
font-size: 1.125rem;
font-weight: 600;
color: hsl(var(--foreground));
margin: 0;
}
.ctx-section {
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
overflow: hidden;
}
.ctx-section-header {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.875rem 1rem;
background: hsl(var(--muted) / 0.3);
cursor: pointer;
user-select: none;
transition: background 0.15s;
}
.ctx-section-header:hover {
background: hsl(var(--muted) / 0.5);
}
.ctx-collapse-icon {
font-size: 0.75rem;
color: hsl(var(--muted-foreground));
width: 1rem;
}
.ctx-section-title {
font-weight: 600;
font-size: 0.9rem;
color: hsl(var(--foreground));
flex: 1;
}
.ctx-section-content {
padding: 1rem;
}
.ctx-section-content.collapsed {
display: none;
}
.ctx-badge {
padding: 0.25rem 0.625rem;
border-radius: 9999px;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
}
.ctx-badge-count {
padding: 0.125rem 0.5rem;
background: hsl(var(--muted));
border-radius: 9999px;
font-size: 0.7rem;
color: hsl(var(--muted-foreground));
}
.ctx-description {
font-size: 0.875rem;
color: hsl(var(--foreground));
line-height: 1.6;
margin-bottom: 0.75rem;
}
.ctx-keywords {
display: flex;
flex-wrap: wrap;
gap: 0.375rem;
margin-bottom: 0.75rem;
}
.ctx-keyword-tag {
padding: 0.25rem 0.5rem;
background: hsl(var(--primary) / 0.1);
color: hsl(var(--primary));
border-radius: 0.25rem;
font-size: 0.75rem;
}
.ctx-meta-row {
display: flex;
gap: 0.5rem;
font-size: 0.8rem;
margin-bottom: 0.375rem;
}
.ctx-meta-label {
color: hsl(var(--muted-foreground));
min-width: 70px;
}
.ctx-meta-value {
color: hsl(var(--foreground));
}
.ctx-stack-grid {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.ctx-stack-group {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem;
}
.ctx-stack-label {
font-size: 0.75rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
min-width: 90px;
text-transform: uppercase;
}
.ctx-stack-items {
display: flex;
flex-wrap: wrap;
gap: 0.375rem;
}
.ctx-stack-badge {
padding: 0.25rem 0.5rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
font-size: 0.75rem;
color: hsl(var(--foreground));
}
.ctx-subsection {
margin-bottom: 1rem;
}
.ctx-subsection:last-child {
margin-bottom: 0;
}
.ctx-subsection-title {
font-size: 0.8rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
margin: 0 0 0.5rem 0;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.ctx-pattern-list {
margin: 0;
padding-left: 1.25rem;
font-size: 0.85rem;
color: hsl(var(--foreground));
}
.ctx-pattern-list li {
margin-bottom: 0.375rem;
line-height: 1.4;
}
.ctx-conventions-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 0.75rem;
}
.ctx-convention-item {
background: hsl(var(--muted) / 0.3);
border-radius: 0.375rem;
padding: 0.75rem;
}
.ctx-convention-key {
font-size: 0.75rem;
font-weight: 600;
color: hsl(var(--primary));
text-transform: capitalize;
display: block;
margin-bottom: 0.375rem;
}
.ctx-convention-value {
font-size: 0.7rem;
margin: 0;
overflow-x: auto;
color: hsl(var(--foreground));
}
.ctx-integration-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.ctx-integration-item {
display: flex;
gap: 0.75rem;
font-size: 0.8rem;
}
.ctx-integration-key {
font-weight: 500;
color: hsl(var(--muted-foreground));
min-width: 140px;
text-transform: capitalize;
}
.ctx-integration-value {
color: hsl(var(--foreground));
flex: 1;
}
.ctx-assets-tabs {
display: flex;
gap: 0.25rem;
border-bottom: 1px solid hsl(var(--border));
margin-bottom: 0.75rem;
padding-bottom: 0.5rem;
}
.ctx-asset-tab {
padding: 0.375rem 0.75rem;
background: none;
border: none;
border-radius: 0.25rem;
font-size: 0.8rem;
color: hsl(var(--muted-foreground));
cursor: pointer;
transition: all 0.15s;
}
.ctx-asset-tab:hover {
background: hsl(var(--muted) / 0.5);
}
.ctx-asset-tab.active {
background: hsl(var(--primary));
color: hsl(var(--primary-foreground));
}
.ctx-asset-panel {
display: none;
}
.ctx-asset-panel.active {
display: block;
}
.ctx-asset-item {
padding: 0.75rem;
background: hsl(var(--muted) / 0.2);
border-radius: 0.375rem;
margin-bottom: 0.5rem;
}
.ctx-asset-main {
display: flex;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
}
.ctx-asset-icon {
font-size: 1rem;
}
.ctx-asset-path {
font-size: 0.8rem;
color: hsl(var(--primary));
word-break: break-all;
}
.ctx-relevance-badge {
padding: 0.125rem 0.375rem;
background: hsl(var(--primary) / 0.15);
color: hsl(var(--primary));
border-radius: 0.25rem;
font-size: 0.65rem;
font-weight: 600;
}
.ctx-asset-role {
display: inline-block;
padding: 0.125rem 0.375rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
font-size: 0.7rem;
color: hsl(var(--muted-foreground));
margin-left: auto;
}
.ctx-asset-note {
font-size: 0.75rem;
color: hsl(var(--muted-foreground));
margin-top: 0.375rem;
font-style: italic;
}
.ctx-asset-tags {
display: flex;
flex-wrap: wrap;
gap: 0.25rem;
margin-top: 0.375rem;
}
.ctx-mini-tag {
padding: 0.125rem 0.375rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
font-size: 0.65rem;
color: hsl(var(--foreground));
}
.ctx-asset-exports {
font-size: 0.7rem;
color: hsl(var(--muted-foreground));
margin-top: 0.25rem;
}
.ctx-asset-exports code {
color: hsl(var(--foreground));
}
/* Dependencies Styles */
.ctx-deps-section {
margin-bottom: 1rem;
}
.ctx-deps-title {
font-size: 0.75rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
margin-bottom: 0.5rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.ctx-deps-list {
display: flex;
flex-direction: column;
gap: 0.375rem;
}
.ctx-dep-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.5rem 0.75rem;
background: hsl(var(--muted) / 0.2);
border-radius: 0.375rem;
}
.ctx-dep-name {
font-size: 0.8rem;
color: hsl(var(--foreground));
font-weight: 500;
}
.ctx-dep-type {
padding: 0.125rem 0.5rem;
border-radius: 0.25rem;
font-size: 0.65rem;
font-weight: 600;
}
.ctx-dep-type.critical {
background: hsl(var(--destructive) / 0.15);
color: hsl(var(--destructive));
}
.ctx-dep-type.important {
background: hsl(38 92% 50% / 0.15);
color: hsl(38 92% 45%);
}
.ctx-dep-type.optional {
background: hsl(var(--muted));
color: hsl(var(--muted-foreground));
}
.ctx-dep-reason {
font-size: 0.7rem;
color: hsl(var(--muted-foreground));
margin-top: 0.25rem;
}
/* Conflicts & Risk Styles */
.ctx-risk-section {
margin-bottom: 1rem;
}
.ctx-risk-header {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.75rem;
}
.ctx-risk-label {
font-size: 0.75rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
text-transform: uppercase;
letter-spacing: 0.05em;
}
.ctx-risk-badge {
padding: 0.25rem 0.75rem;
border-radius: 0.375rem;
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
}
.ctx-risk-badge.high {
background: hsl(var(--destructive) / 0.15);
color: hsl(var(--destructive));
}
.ctx-risk-badge.medium {
background: hsl(38 92% 50% / 0.15);
color: hsl(38 92% 45%);
}
.ctx-risk-badge.low {
background: hsl(142 76% 36% / 0.15);
color: hsl(142 76% 36%);
}
.ctx-potential-conflicts {
margin-bottom: 1rem;
}
.ctx-conflict-item {
padding: 0.75rem;
background: hsl(var(--destructive) / 0.05);
border-left: 3px solid hsl(var(--destructive));
border-radius: 0.375rem;
margin-bottom: 0.5rem;
}
.ctx-conflict-type {
font-size: 0.7rem;
font-weight: 600;
color: hsl(var(--destructive));
text-transform: uppercase;
margin-bottom: 0.25rem;
}
.ctx-conflict-desc {
font-size: 0.8rem;
color: hsl(var(--foreground));
}
/* Resolved & Historical Conflicts */
.ctx-resolved-section {
margin-bottom: 1rem;
}
.ctx-resolved-title {
font-size: 0.75rem;
font-weight: 600;
color: hsl(142 76% 36%);
margin-bottom: 0.5rem;
}
.ctx-resolved-item {
padding: 0.75rem;
background: hsl(142 76% 36% / 0.05);
border-left: 3px solid hsl(142 76% 36%);
border-radius: 0.375rem;
margin-bottom: 0.5rem;
}
.ctx-resolved-type {
font-size: 0.7rem;
font-weight: 600;
color: hsl(142 76% 36%);
text-transform: uppercase;
margin-bottom: 0.25rem;
}
.ctx-resolved-desc {
font-size: 0.8rem;
color: hsl(var(--foreground));
margin-bottom: 0.375rem;
}
.ctx-resolution {
font-size: 0.75rem;
color: hsl(var(--muted-foreground));
padding: 0.5rem;
background: hsl(var(--muted) / 0.3);
border-radius: 0.25rem;
}
.ctx-resolution-label {
font-weight: 600;
color: hsl(var(--foreground));
}
.ctx-historical-section {
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px solid hsl(var(--border));
}
.ctx-historical-title {
font-size: 0.75rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
margin-bottom: 0.5rem;
}
.ctx-historical-item {
padding: 0.5rem 0.75rem;
background: hsl(var(--muted) / 0.2);
border-radius: 0.375rem;
margin-bottom: 0.375rem;
display: flex;
align-items: center;
justify-content: space-between;
}
.ctx-historical-pattern {
font-size: 0.8rem;
color: hsl(var(--foreground));
}
.ctx-historical-count {
font-size: 0.7rem;
padding: 0.125rem 0.5rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
color: hsl(var(--muted-foreground));
}
/* Empty State */
.ctx-empty {
padding: 1.5rem;
text-align: center;
color: hsl(var(--muted-foreground));
font-size: 0.85rem;
font-style: italic;
}
/* Grid Lines for Context Package */
.ctx-section {
border: 1px solid hsl(var(--border) / 0.5);
}
.ctx-section-header {
border-bottom: 1px solid hsl(var(--border) / 0.3);
}
.ctx-meta-grid {
border: 1px solid hsl(var(--border) / 0.3);
border-radius: 0.375rem;
overflow: hidden;
}
.ctx-meta-item {
border-bottom: 1px solid hsl(var(--border) / 0.2);
}
.ctx-meta-item:last-child {
border-bottom: none;
}
.ctx-tech-grid {
border: 1px solid hsl(var(--border) / 0.3);
border-radius: 0.375rem;
padding: 0.75rem;
}
.ctx-arch-subsection {
border: 1px solid hsl(var(--border) / 0.3);
border-radius: 0.375rem;
overflow: hidden;
}
.ctx-arch-title {
border-bottom: 1px solid hsl(var(--border) / 0.2);
padding-bottom: 0.375rem;
margin-bottom: 0.5rem;
}
.ctx-pattern-item {
border-bottom: 1px dashed hsl(var(--border) / 0.3);
padding-bottom: 0.5rem;
}
.ctx-pattern-item:last-child {
border-bottom: none;
padding-bottom: 0;
}
.ctx-asset-tabs {
border-bottom: 1px solid hsl(var(--border) / 0.5);
padding-bottom: 0.5rem;
margin-bottom: 0.75rem;
}
.ctx-asset-item {
border: 1px solid hsl(var(--border) / 0.3);
}
.ctx-deps-section {
border: 1px solid hsl(var(--border) / 0.3);
border-radius: 0.375rem;
padding: 0.75rem;
}
.ctx-dep-item {
border: 1px solid hsl(var(--border) / 0.2);
}
.ctx-conflict-item,
.ctx-resolved-item {
border: 1px solid hsl(var(--border) / 0.3);
}
.ctx-historical-section {
border-top: 1px dashed hsl(var(--border) / 0.5);
}
.ctx-historical-item {
border: 1px solid hsl(var(--border) / 0.2);
}
/* List Markers for Implementation Steps */
.impl-step-mods ul,
.impl-step-flow ol {
list-style-position: inside;
padding-left: 0.5rem;
}
.impl-step-mods ul {
list-style-type: disc;
}
.impl-step-mods ul li {
padding: 0.25rem 0;
padding-left: 0.25rem;
}
.impl-step-flow ol {
list-style-type: decimal;
counter-reset: none;
}
.impl-step-flow ol li {
padding: 0.25rem 0;
padding-left: 0.25rem;
}
.impl-step-flow ol li::marker {
color: hsl(var(--primary));
font-weight: 600;
}
.impl-step-mods ul li::marker {
color: hsl(var(--muted-foreground));
}
/* Context Package List Markers */
.ctx-pattern-list {
list-style-type: decimal;
list-style-position: inside;
padding-left: 0.5rem;
}
.ctx-pattern-item {
display: list-item;
}
.ctx-convention-list,
.ctx-integration-list {
list-style-type: disc;
list-style-position: inside;
padding-left: 0.5rem;
}
.ctx-deps-list {
counter-reset: dep-counter;
}
.ctx-dep-item {
counter-increment: dep-counter;
position: relative;
padding-left: 1.75rem;
}
.ctx-dep-item::before {
content: counter(dep-counter) ".";
position: absolute;
left: 0.5rem;
color: hsl(var(--muted-foreground));
font-weight: 600;
font-size: 0.75rem;
}
/* Enhanced List Markers */
.ctx-pattern-list li {
padding: 0.375rem 0;
line-height: 1.5;
}
.ctx-pattern-list li::marker {
color: hsl(var(--primary));
font-weight: 600;
}
/* Task Detail Lists */
.impl-steps {
list-style-type: decimal;
list-style-position: inside;
padding-left: 0.5rem;
}
.impl-steps li {
padding: 0.375rem 0;
line-height: 1.5;
}
.impl-steps li::marker {
color: hsl(var(--primary));
font-weight: 600;
}
.mod-points {
counter-reset: mod-counter;
}
.mod-point {
counter-increment: mod-counter;
position: relative;
padding-left: 1.5rem;
margin-bottom: 0.375rem;
}
.mod-point::before {
content: counter(mod-counter) ".";
position: absolute;
left: 0;
color: hsl(var(--muted-foreground));
font-weight: 600;
font-size: 0.8rem;
}
/* Dependencies Section - Improved Layout */
.ctx-deps-grid {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.ctx-dep-card {
display: flex;
align-items: baseline;
gap: 0.75rem;
padding: 0.625rem 0.75rem;
background: hsl(var(--muted) / 0.15);
border: 1px solid hsl(var(--border) / 0.3);
border-radius: 0.375rem;
font-size: 0.8rem;
}
.ctx-dep-name {
font-weight: 600;
color: hsl(var(--foreground));
min-width: 100px;
}
.ctx-dep-version {
padding: 0.125rem 0.5rem;
background: hsl(var(--primary) / 0.15);
color: hsl(var(--primary));
border-radius: 0.25rem;
font-size: 0.75rem;
font-weight: 500;
font-family: var(--font-mono);
}
.ctx-dep-usage {
color: hsl(var(--muted-foreground));
font-size: 0.8rem;
flex: 1;
}
/* Internal Dependencies */
.ctx-internal-deps {
display: flex;
flex-direction: column;
gap: 0.375rem;
}
.ctx-internal-dep {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0.75rem;
background: hsl(var(--muted) / 0.1);
border: 1px solid hsl(var(--border) / 0.2);
border-radius: 0.375rem;
font-size: 0.8rem;
}
.ctx-dep-from,
.ctx-dep-to {
padding: 0.25rem 0.5rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
font-size: 0.8rem;
font-family: var(--font-mono);
color: hsl(var(--foreground));
}
.ctx-dep-arrow {
color: hsl(var(--muted-foreground));
font-size: 0.8rem;
}
.ctx-dep-type {
margin-left: auto;
padding: 0.2rem 0.5rem;
background: hsl(var(--primary) / 0.1);
color: hsl(var(--primary));
border-radius: 0.25rem;
font-size: 0.7rem;
font-weight: 500;
}
/* Coding Conventions - Parsed Values */
.ctx-conventions-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 0.75rem;
}
.ctx-convention-item {
background: hsl(var(--card));
border: 1px solid hsl(var(--border) / 0.5);
border-radius: 0.5rem;
overflow: hidden;
}
.ctx-convention-key {
padding: 0.5rem 0.75rem;
background: hsl(var(--muted) / 0.3);
font-weight: 600;
font-size: 0.8rem;
color: hsl(var(--foreground));
text-transform: capitalize;
border-bottom: 1px solid hsl(var(--border) / 0.3);
}
.ctx-convention-body {
padding: 0.625rem 0.75rem;
}
.ctx-conv-entries {
display: flex;
flex-direction: column;
gap: 0.375rem;
}
.ctx-conv-entry {
display: flex;
gap: 0.5rem;
font-size: 0.8rem;
line-height: 1.4;
}
.ctx-conv-label {
color: hsl(var(--muted-foreground));
min-width: 80px;
flex-shrink: 0;
text-transform: capitalize;
}
.ctx-conv-value {
color: hsl(var(--foreground));
word-break: break-word;
}
.ctx-conv-text {
font-size: 0.8rem;
color: hsl(var(--foreground));
}
.ctx-conv-list {
list-style-type: disc;
list-style-position: inside;
padding-left: 0.25rem;
font-size: 0.8rem;
}
.ctx-conv-list li {
padding: 0.125rem 0;
}
.ctx-conv-empty {
color: hsl(var(--muted-foreground));
font-style: italic;
}
/* Pre-Analysis Sub-Step Numbering */
ol.step-commands {
list-style-type: decimal;
list-style-position: inside;
padding-left: 0.25rem;
margin: 0.375rem 0;
}
ol.step-commands li {
padding: 0.25rem 0;
font-size: 0.8rem;
}
ol.step-commands li::marker {
color: hsl(var(--muted-foreground));
font-weight: 500;
}
ol.step-commands code {
background: hsl(var(--muted) / 0.5);
padding: 0.125rem 0.375rem;
border-radius: 0.25rem;
font-size: 0.75rem;
}
.step-output-label {
color: hsl(var(--muted-foreground));
font-weight: 500;
}
/* ========================================
Review Session Page Styles
======================================== */
/* Review Progress Section */
.review-progress-section {
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
padding: 1.25rem;
margin-bottom: 1.5rem;
}
.review-progress-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 1rem;
}
.review-progress-header h3 {
font-size: 1rem;
font-weight: 600;
color: hsl(var(--foreground));
margin: 0;
}
.phase-badge {
padding: 0.25rem 0.75rem;
border-radius: 1rem;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
}
.phase-badge.in-progress {
background: hsl(var(--primary) / 0.15);
color: hsl(var(--primary));
}
.phase-badge.completed {
background: hsl(142 76% 36% / 0.15);
color: hsl(142 76% 36%);
}
/* Summary Cards Grid */
.review-summary-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1rem;
margin-bottom: 1.25rem;
}
@media (max-width: 768px) {
.review-summary-grid {
grid-template-columns: repeat(2, 1fr);
}
}
.summary-card {
background: hsl(var(--muted) / 0.3);
border: 1px solid hsl(var(--border) / 0.5);
border-radius: 0.5rem;
padding: 1rem;
text-align: center;
transition: transform 0.15s, box-shadow 0.15s;
}
.summary-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px hsl(var(--foreground) / 0.1);
}
.summary-card.critical {
border-color: hsl(0 70% 50% / 0.3);
background: hsl(0 70% 50% / 0.05);
}
.summary-card.high {
border-color: hsl(25 90% 50% / 0.3);
background: hsl(25 90% 50% / 0.05);
}
.summary-icon {
font-size: 1.5rem;
margin-bottom: 0.375rem;
}
.summary-value {
font-size: 1.75rem;
font-weight: 700;
color: hsl(var(--foreground));
line-height: 1.2;
}
.summary-card.critical .summary-value {
color: hsl(0 70% 45%);
}
.summary-card.high .summary-value {
color: hsl(25 90% 45%);
}
.summary-label {
font-size: 0.75rem;
color: hsl(var(--muted-foreground));
text-transform: uppercase;
font-weight: 500;
letter-spacing: 0.025em;
}
/* Dimension Timeline */
.dimension-timeline {
display: flex;
gap: 0.5rem;
overflow-x: auto;
padding: 0.5rem 0;
}
.dimension-item {
flex: 0 0 auto;
min-width: 120px;
padding: 0.75rem;
background: hsl(var(--muted) / 0.2);
border: 1px solid hsl(var(--border) / 0.5);
border-radius: 0.375rem;
text-align: center;
transition: all 0.15s;
cursor: pointer;
}
.dimension-item:hover {
background: hsl(var(--muted) / 0.4);
}
.dimension-item.completed {
border-color: hsl(142 76% 36% / 0.5);
background: hsl(142 76% 36% / 0.05);
}
.dimension-item.in-progress {
border-color: hsl(var(--primary) / 0.5);
background: hsl(var(--primary) / 0.05);
}
.dimension-number {
font-size: 0.7rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
margin-bottom: 0.25rem;
}
.dimension-name {
font-size: 0.8rem;
font-weight: 500;
color: hsl(var(--foreground));
margin-bottom: 0.25rem;
}
.dimension-stats {
font-size: 0.7rem;
color: hsl(var(--muted-foreground));
}
/* Review Findings Section */
.review-findings-section {
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
padding: 1.25rem;
margin-bottom: 1.5rem;
}
.findings-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 1rem;
flex-wrap: wrap;
gap: 0.75rem;
}
.findings-header h3 {
font-size: 1rem;
font-weight: 600;
color: hsl(var(--foreground));
margin: 0;
}
.findings-filters {
display: flex;
gap: 0.375rem;
}
.filter-btn {
padding: 0.375rem 0.75rem;
border: 1px solid hsl(var(--border));
border-radius: 0.25rem;
background: transparent;
color: hsl(var(--muted-foreground));
font-size: 0.75rem;
font-weight: 500;
cursor: pointer;
transition: all 0.15s;
}
.filter-btn:hover {
background: hsl(var(--muted) / 0.5);
}
.filter-btn.active {
background: hsl(var(--primary));
color: hsl(var(--primary-foreground));
border-color: hsl(var(--primary));
}
/* Findings Grid */
.findings-grid {
display: flex;
flex-direction: column;
gap: 1.25rem;
}
.dimension-findings-group {
border: 1px solid hsl(var(--border) / 0.5);
border-radius: 0.5rem;
overflow: hidden;
}
.dimension-group-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.75rem 1rem;
background: hsl(var(--muted) / 0.3);
border-bottom: 1px solid hsl(var(--border) / 0.3);
}
.dimension-badge {
padding: 0.25rem 0.625rem;
background: hsl(var(--primary) / 0.15);
color: hsl(var(--primary));
border-radius: 0.25rem;
font-size: 0.8rem;
font-weight: 600;
}
.dimension-count {
font-size: 0.75rem;
color: hsl(var(--muted-foreground));
}
.findings-cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 0.75rem;
padding: 1rem;
}
.finding-card {
background: hsl(var(--card));
border: 1px solid hsl(var(--border) / 0.5);
border-radius: 0.375rem;
padding: 0.875rem;
transition: all 0.15s;
}
.finding-card:hover {
box-shadow: 0 2px 8px hsl(var(--foreground) / 0.08);
}
.finding-card.severity-critical {
border-left: 3px solid hsl(0 70% 50%);
}
.finding-card.severity-high {
border-left: 3px solid hsl(25 90% 50%);
}
.finding-card.severity-medium {
border-left: 3px solid hsl(45 90% 45%);
}
.finding-card.severity-low {
border-left: 3px solid hsl(142 76% 36%);
}
.finding-card-header {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.5rem;
}
.finding-card-title {
font-size: 0.85rem;
font-weight: 600;
color: hsl(var(--foreground));
margin-bottom: 0.375rem;
line-height: 1.4;
}
.finding-card-desc {
font-size: 0.8rem;
color: hsl(var(--muted-foreground));
line-height: 1.5;
margin-bottom: 0.5rem;
}
.finding-card-file {
font-size: 0.75rem;
color: hsl(var(--primary));
font-family: var(--font-mono);
}
.fix-status-badge {
padding: 0.125rem 0.5rem;
border-radius: 0.75rem;
font-size: 0.65rem;
font-weight: 600;
text-transform: uppercase;
}
.fix-status-badge.status-pending {
background: hsl(var(--muted));
color: hsl(var(--muted-foreground));
}
.fix-status-badge.status-in-progress {
background: hsl(var(--primary) / 0.15);
color: hsl(var(--primary));
}
.fix-status-badge.status-fixed {
background: hsl(142 76% 36% / 0.15);
color: hsl(142 76% 36%);
}
.fix-status-badge.status-failed {
background: hsl(0 70% 50% / 0.15);
color: hsl(0 70% 50%);
}
/* Review Header Controls */
.review-header-controls {
display: flex;
align-items: center;
gap: 1rem;
flex-wrap: wrap;
margin-bottom: 1rem;
padding: 0.75rem 1rem;
background: hsl(var(--muted) / 0.2);
border: 1px solid hsl(var(--border) / 0.5);
border-radius: 0.375rem;
}
.selection-controls {
display: flex;
align-items: center;
gap: 0.5rem;
}
.selection-counter {
font-size: 0.8rem;
color: hsl(var(--muted-foreground));
font-weight: 500;
}
.selection-btn {
padding: 0.25rem 0.5rem;
font-size: 0.75rem;
}
.finding-checkbox {
width: 16px;
height: 16px;
cursor: pointer;
accent-color: hsl(var(--primary));
}
.export-btn-fix {
padding: 0.5rem 1rem;
background: hsl(142 76% 36%);
color: white;
border: none;
border-radius: 0.25rem;
font-size: 0.8rem;
font-weight: 500;
cursor: pointer;
transition: all 0.15s;
margin-left: auto;
}
.export-btn-fix:hover {
background: hsl(142 76% 30%);
}
.export-btn-fix:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* Empty State */
.empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem;
color: hsl(var(--muted-foreground));
}
.empty-icon {
font-size: 3rem;
margin-bottom: 1rem;
opacity: 0.5;
}
.empty-text {
font-size: 0.9rem;
}
/* Exploration Context Styles */
.exploration-context {
padding: 16px;
}
.exploration-header {
margin-bottom: 20px;
padding: 16px;
background: linear-gradient(135deg, hsl(var(--primary-light)) 0%, hsl(var(--muted)) 100%);
border-radius: 12px;
border: 1px solid hsl(var(--border));
}
.exploration-header h4 {
font-size: 15px;
font-weight: 600;
color: hsl(var(--foreground));
margin: 0 0 12px 0;
line-height: 1.4;
display: flex;
align-items: center;
gap: 8px;
}
.exploration-header h4::before {
content: '🔍';
font-size: 16px;
}
.exploration-meta {
display: flex;
flex-wrap: wrap;
gap: 12px;
font-size: 12px;
color: hsl(var(--muted-foreground));
}
.exploration-meta .meta-item {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 4px 10px;
background: hsl(var(--card));
border-radius: 16px;
border: 1px solid hsl(var(--border));
}
.exploration-meta .meta-item strong {
color: hsl(var(--primary));
font-weight: 600;
}
.exploration-section {
margin-bottom: 8px;
border: 1px solid hsl(var(--border));
border-radius: 6px;
overflow: hidden;
}
.exploration-section .collapsible-header {
padding: 10px 12px;
background: hsl(var(--muted));
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
}
.exploration-section .collapsible-header:hover {
background: hsl(var(--accent));
}
.exploration-section .collapsible-content {
display: block;
padding: 12px;
background: hsl(var(--card));
}
.exploration-section .collapsible-content.collapsed {
display: none;
}
/* Exploration Field Cards */
.exp-field {
margin-bottom: 16px;
padding: 14px;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 8px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.exp-field:last-child {
margin-bottom: 0;
}
.exp-field label {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 12px;
font-weight: 600;
color: hsl(var(--primary));
margin-bottom: 10px;
padding: 4px 10px;
background: hsl(var(--primary-light));
border-radius: 4px;
}
.exp-field p {
font-size: 13px;
line-height: 1.7;
color: hsl(var(--foreground));
margin: 0;
white-space: pre-wrap;
}
/* Relevant Files Grid */
/* File Item Card */
.file-item-exp {
padding: 12px 14px;
background: hsl(var(--muted));
border-radius: 8px;
border: 1px solid hsl(var(--border));
transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.file-item-exp:hover {
border-color: hsl(var(--primary));
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}
.file-item-exp .file-path {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 6px;
}
.file-item-exp .file-path::before {
content: '📄';
font-size: 12px;
}
.file-item-exp .file-path code {
font-size: 12px;
font-weight: 500;
color: hsl(var(--foreground));
word-break: break-all;
}
.file-item-exp .file-relevance {
display: inline-block;
font-size: 11px;
font-weight: 600;
color: hsl(var(--success));
background: hsl(var(--success-light));
padding: 2px 8px;
border-radius: 10px;
margin-bottom: 6px;
}
.file-item-exp .file-rationale {
font-size: 12px;
color: hsl(var(--muted-foreground));
line-height: 1.5;
margin: 0;
}
.more-files {
font-size: 12px;
color: hsl(var(--muted-foreground));
font-style: italic;
padding: 8px 0;
}
.clarification-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.clarification-item {
padding: 10px;
background: hsl(var(--warning-light));
border: 1px solid hsl(var(--warning));
border-radius: 6px;
}
.clarification-question {
font-size: 13px;
font-weight: 500;
color: hsl(var(--foreground));
margin-bottom: 8px;
}
.clarification-options {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.option-badge {
padding: 4px 8px;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 4px;
font-size: 11px;
color: hsl(var(--muted-foreground));
}
.option-badge.recommended {
background: hsl(var(--success-light));
border-color: hsl(var(--success));
color: hsl(var(--success));
}
/* Context Package Section in Lite Tasks */
.context-package-section {
margin-top: 16px;
}
.context-package-section .collapsible-section {
border: 1px solid hsl(var(--border));
border-radius: 6px;
overflow: hidden;
}
.context-package-section .collapsible-header {
padding: 10px 12px;
background: hsl(var(--muted));
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
}
.context-package-section .collapsible-header:hover {
background: hsl(var(--accent));
}
.context-package-section .collapsible-content {
display: block;
padding: 12px;
background: hsl(var(--card));
}
.context-package-section .collapsible-content.collapsed {
display: none;
}
/* ==========================================
Conflict Resolution Context Styles
========================================== */
.conflict-resolution-context {
padding: 16px;
}
.conflict-resolution-header {
margin-bottom: 20px;
padding: 16px;
background: linear-gradient(135deg, hsl(var(--warning-light)) 0%, hsl(var(--muted)) 100%);
border-radius: 12px;
border: 1px solid hsl(var(--warning));
}
.conflict-resolution-header h4 {
font-size: 15px;
font-weight: 600;
color: hsl(var(--foreground));
margin: 0 0 12px 0;
}
.conflict-meta {
display: flex;
flex-wrap: wrap;
gap: 16px;
font-size: 12px;
color: hsl(var(--muted-foreground));
}
.conflict-meta .meta-item {
display: flex;
align-items: center;
gap: 4px;
}
.conflict-meta strong {
color: hsl(var(--foreground));
font-weight: 500;
}
/* Decisions Section */
.conflict-decisions-section,
.resolved-conflicts-section {
margin-bottom: 16px;
border: 1px solid hsl(var(--border));
border-radius: 8px;
overflow: hidden;
}
.decisions-list,
.conflicts-list {
display: flex;
flex-direction: column;
gap: 12px;
padding: 12px;
}
.decision-item {
padding: 14px;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 8px;
transition: border-color 0.15s ease;
}
.decision-item:hover {
border-color: hsl(var(--primary));
}
.decision-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 8px;
}
.decision-key {
font-size: 14px;
font-weight: 600;
color: hsl(var(--foreground));
text-transform: capitalize;
}
.decision-choice {
padding: 4px 10px;
background: hsl(var(--primary-light));
color: hsl(var(--primary));
border-radius: 4px;
font-size: 12px;
font-weight: 500;
}
.decision-description {
font-size: 13px;
color: hsl(var(--muted-foreground));
margin: 0 0 8px 0;
line-height: 1.5;
}
.decision-implications {
margin-top: 8px;
padding-top: 8px;
border-top: 1px solid hsl(var(--border));
}
.implications-label {
font-size: 11px;
font-weight: 600;
color: hsl(var(--muted-foreground));
text-transform: uppercase;
letter-spacing: 0.5px;
}
.implications-list {
margin: 6px 0 0 0;
padding-left: 16px;
font-size: 12px;
color: hsl(var(--muted-foreground));
line-height: 1.6;
}
.implications-list li {
margin-bottom: 4px;
}
/* Resolved Conflicts */
.resolved-conflict-item {
padding: 12px;
background: hsl(var(--muted));
border-radius: 6px;
border: 1px solid hsl(var(--border));
}
.conflict-row {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 8px;
}
.conflict-id {
font-family: var(--font-mono, monospace);
font-size: 12px;
font-weight: 600;
color: hsl(var(--foreground));
padding: 2px 6px;
background: hsl(var(--card));
border-radius: 4px;
}
.conflict-category-badge {
padding: 2px 8px;
background: hsl(var(--primary-light));
color: hsl(var(--primary));
border-radius: 4px;
font-size: 10px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.conflict-brief {
font-size: 13px;
color: hsl(var(--foreground));
margin-bottom: 8px;
line-height: 1.5;
}
.conflict-strategy {
display: flex;
align-items: center;
gap: 6px;
font-size: 12px;
}
.strategy-label {
color: hsl(var(--muted-foreground));
}
.strategy-value {
color: hsl(var(--success));
font-weight: 500;
padding: 2px 8px;
background: hsl(var(--success-light));
border-radius: 4px;
}
/* Session Context Combined */
.session-context-combined {
display: flex;
flex-direction: column;
gap: 20px;
}
.session-context-section {
margin-top: 0;
}
/* Plan Context Section in Lite Tasks */
.plan-context-section {
margin-top: 16px;
padding: 16px;
background: hsl(var(--muted));
border-radius: 6px;
}
/* Plan drawer styles for lite tasks */
.mod-point-item {
padding: 8px 10px;
background: hsl(var(--muted));
border-radius: 4px;
margin-bottom: 8px;
border-left: 3px solid hsl(var(--primary));
}
.mod-point-file code {
font-size: 12px;
}
.mod-point-target {
font-size: 11px;
color: hsl(var(--muted-foreground));
margin-top: 4px;
}
.mod-point-change {
font-size: 12px;
color: hsl(var(--foreground));
margin-top: 4px;
}
.implementation-steps-list {
padding-left: 20px;
margin: 0;
}
.implementation-steps-list li {
font-size: 13px;
line-height: 1.6;
margin-bottom: 6px;
color: hsl(var(--foreground));
}
.ref-pattern,
.ref-files,
.ref-examples {
margin-bottom: 8px;
}
.acceptance-list {
padding-left: 20px;
margin: 0;
}
.acceptance-list li {
font-size: 13px;
line-height: 1.5;
margin-bottom: 4px;
}
.dependencies-list {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.task-description {
font-size: 13px;
line-height: 1.6;
color: hsl(var(--foreground));
}
/* Lite Task List Item Styles */
.lite-task-item {
border: 1px solid hsl(var(--border));
border-radius: 8px;
padding: 12px 16px;
margin-bottom: 8px;
transition: all 0.2s ease;
background: hsl(var(--card));
}
.lite-task-item:hover {
border-color: hsl(var(--primary));
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}
.task-item-header-lite {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 8px;
}
.task-item-header-lite .task-title {
flex: 1;
font-weight: 500;
color: hsl(var(--foreground));
}
.task-item-meta-lite {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.meta-badge {
padding: 2px 8px;
border-radius: 4px;
font-size: 11px;
font-weight: 500;
}
.meta-badge.action {
background: hsl(var(--primary-light));
color: hsl(var(--primary));
border: 1px solid hsl(var(--primary));
}
.meta-badge.scope {
background: hsl(var(--muted));
color: hsl(var(--muted-foreground));
}
.meta-badge.mods {
background: hsl(var(--warning-light));
color: var(--warning, #d97706);
}
.meta-badge.impl {
background: var(--bg-success, #ecfdf5);
color: var(--success, #059669);
}
.meta-badge.accept {
background: var(--bg-info, #eff6ff);
color: var(--info, #2563eb);
}
/* Lite Task Drawer Styles */
.action-badge {
padding: 4px 10px;
border-radius: 4px;
font-size: 12px;
font-weight: 600;
background: hsl(var(--primary));
color: white;
text-transform: uppercase;
}
.scope-path {
display: block;
padding: 8px 12px;
background: hsl(var(--muted));
border-radius: 4px;
font-size: 13px;
}
.impl-steps-list {
list-style: none;
padding: 0;
margin: 0;
counter-reset: step-counter;
}
.impl-step-item {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 10px 0;
border-bottom: 1px solid hsl(var(--border));
}
.impl-step-item:last-child {
border-bottom: none;
}
.step-number {
flex-shrink: 0;
min-width: 28px;
height: 28px;
display: flex;
align-items: center;
justify-content: center;
background: hsl(var(--primary));
color: white;
border-radius: 6px;
font-size: 13px;
font-weight: 700;
box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}
.step-text {
flex: 1;
font-size: 13px;
line-height: 1.5;
color: hsl(var(--foreground));
}
.mod-points-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.mod-point-card {
padding: 14px 16px;
background: hsl(var(--card));
border-radius: 8px;
border: 1px solid hsl(var(--border));
border-left: 4px solid hsl(var(--primary));
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
transition: all 0.2s ease;
}
.mod-point-card:hover {
border-color: hsl(var(--primary));
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}
.mod-point-card .mod-file code {
font-size: 12px;
color: hsl(var(--primary));
font-weight: 500;
}
.mod-point-card .mod-target {
font-size: 12px;
color: hsl(var(--muted-foreground));
margin-top: 4px;
}
.mod-point-card .mod-change {
font-size: 13px;
color: hsl(var(--foreground));
margin-top: 6px;
line-height: 1.4;
}
.ref-item {
margin-bottom: 10px;
}
.ref-item:last-child {
margin-bottom: 0;
}
.ref-files-list {
margin: 4px 0 0 16px;
padding: 0;
}
.ref-files-list li {
margin-bottom: 4px;
}
/* ===================================
Markdown Modal & View Button Styles
================================== */
.btn-view-modal {
padding: 4px 12px;
background: hsl(var(--primary));
color: hsl(var(--primary-foreground));
border: none;
border-radius: 4px;
font-size: 12px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
margin-left: auto;
}
.btn-view-modal:hover {
background: hsl(var(--primary) / 0.9);
transform: translateY(-1px);
}
.markdown-modal .markdown-preview {
color: hsl(var(--foreground));
line-height: 1.6;
}
.markdown-modal .markdown-preview h1,
.markdown-modal .markdown-preview h2,
.markdown-modal .markdown-preview h3,
.markdown-modal .markdown-preview h4 {
color: hsl(var(--foreground));
font-weight: 600;
margin-top: 1.5em;
margin-bottom: 0.5em;
}
.markdown-modal .markdown-preview h1 { font-size: 1.8em; }
.markdown-modal .markdown-preview h2 { font-size: 1.5em; }
.markdown-modal .markdown-preview h3 { font-size: 1.3em; }
.markdown-modal .markdown-preview h4 { font-size: 1.1em; }
.markdown-modal .markdown-preview code {
background: hsl(var(--muted));
padding: 2px 6px;
border-radius: 3px;
font-size: 0.9em;
font-family: var(--font-mono);
}
.markdown-modal .markdown-preview pre {
background: hsl(var(--muted));
padding: 12px;
border-radius: 6px;
overflow-x: auto;
margin: 1em 0;
}
.markdown-modal .markdown-preview pre code {
background: transparent;
padding: 0;
}
.markdown-modal .markdown-preview ul,
.markdown-modal .markdown-preview ol {
margin: 1em 0;
padding-left: 2em;
}
.markdown-modal .markdown-preview li {
margin: 0.5em 0;
}
.markdown-modal .markdown-preview blockquote {
border-left: 4px solid hsl(var(--primary));
padding-left: 1em;
margin: 1em 0;
color: hsl(var(--muted-foreground));
}
.markdown-modal .markdown-preview table {
border-collapse: collapse;
width: 100%;
margin: 1em 0;
}
.markdown-modal .markdown-preview th,
.markdown-modal .markdown-preview td {
border: 1px solid hsl(var(--border));
padding: 8px 12px;
text-align: left;
}
.markdown-modal .markdown-preview th {
background: hsl(var(--muted));
font-weight: 600;
}
.md-tab-btn {
cursor: pointer;
transition: all 0.2s;
}
.md-tab-btn:not(.active) {
color: hsl(var(--muted-foreground));
}
.md-tab-btn.active {
background: hsl(var(--background));
color: hsl(var(--foreground));
font-weight: 500;
}
/* ===================================
Context Package Card UI (New)
=================================== */
.ctx-header-card {
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
padding: 1rem 1.25rem;
margin-bottom: 1rem;
}
.ctx-header-content {
display: flex;
align-items: center;
justify-content: space-between;
}
.ctx-card {
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
margin-bottom: 1rem;
overflow: hidden;
}
.ctx-card-warning {
border-color: hsl(var(--warning) / 0.5);
}
.ctx-card-header {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.875rem 1rem;
background: hsl(var(--muted) / 0.3);
border-bottom: 1px solid hsl(var(--border));
}
.ctx-card-icon {
font-size: 1rem;
}
.ctx-card-title {
font-size: 0.9rem;
font-weight: 600;
color: hsl(var(--foreground));
margin: 0;
flex: 1;
}
.ctx-card-body {
padding: 1rem;
}
.ctx-count-badge {
padding: 0.125rem 0.5rem;
background: hsl(var(--muted));
border-radius: 9999px;
font-size: 0.7rem;
color: hsl(var(--muted-foreground));
}
/* Metadata styles - Horizontal chip layout */
.ctx-meta-row {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin-top: 0.75rem;
padding: 0.75rem;
background: hsl(var(--muted) / 0.2);
border-radius: 0.5rem;
}
.ctx-meta-chip {
display: flex;
align-items: center;
gap: 0.5rem;
}
.ctx-meta-chip-label {
font-size: 0.65rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
letter-spacing: 0.05em;
}
.ctx-meta-chip-value {
font-size: 0.8rem;
color: hsl(var(--foreground));
}
code.ctx-meta-chip-value {
font-family: var(--font-mono);
background: hsl(var(--background));
padding: 0.25rem 0.5rem;
border-radius: 0.25rem;
border: 1px solid hsl(var(--border) / 0.5);
}
.ctx-keywords-row {
display: flex;
flex-wrap: wrap;
gap: 0.375rem;
margin-top: 0.75rem;
}
/* Legacy grid - keep for backwards compatibility */
.ctx-meta-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 0.75rem;
margin-top: 0.75rem;
}
.ctx-meta-item {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.ctx-meta-value-code {
font-size: 0.75rem;
font-family: var(--font-mono);
color: hsl(var(--primary));
background: hsl(var(--muted) / 0.5);
padding: 0.25rem 0.5rem;
border-radius: 0.25rem;
word-break: break-all;
}
.ctx-complexity-badge {
padding: 0.25rem 0.625rem;
border-radius: 0.25rem;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
display: inline-block;
}
.ctx-complexity-low {
background: hsl(var(--success) / 0.15);
color: hsl(142 76% 36%);
}
.ctx-complexity-medium {
background: hsl(var(--warning) / 0.15);
color: hsl(38 92% 40%);
}
.ctx-complexity-high {
background: hsl(var(--destructive) / 0.15);
color: hsl(0 84% 50%);
}
/* Pattern tags */
.ctx-pattern-tags {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.ctx-pattern-tag {
padding: 0.375rem 0.75rem;
background: hsl(var(--primary) / 0.1);
border: 1px solid hsl(var(--primary) / 0.2);
color: hsl(var(--primary));
border-radius: 0.375rem;
font-size: 0.8rem;
font-weight: 500;
}
/* Tech Stack section */
.ctx-stack-section {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0;
border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.ctx-stack-section:last-child {
border-bottom: none;
}
.ctx-stack-tags {
display: flex;
flex-wrap: wrap;
gap: 0.375rem;
}
.ctx-lang-tag {
padding: 0.25rem 0.625rem;
background: hsl(217 91% 60% / 0.15);
color: hsl(217 91% 50%);
border-radius: 0.25rem;
font-size: 0.75rem;
font-weight: 500;
}
.ctx-framework-tag {
padding: 0.25rem 0.625rem;
background: hsl(142 76% 36% / 0.15);
color: hsl(142 76% 30%);
border-radius: 0.25rem;
font-size: 0.75rem;
font-weight: 500;
}
.ctx-frontend-tag {
padding: 0.25rem 0.625rem;
background: hsl(280 68% 60% / 0.15);
color: hsl(280 68% 45%);
border-radius: 0.25rem;
font-size: 0.75rem;
font-weight: 500;
}
.ctx-backend-tag {
padding: 0.25rem 0.625rem;
background: hsl(24 95% 53% / 0.15);
color: hsl(24 95% 40%);
border-radius: 0.25rem;
font-size: 0.75rem;
font-weight: 500;
}
.ctx-lib-tag {
padding: 0.25rem 0.625rem;
background: hsl(var(--muted));
color: hsl(var(--foreground));
border-radius: 0.25rem;
font-size: 0.75rem;
}
/* Conventions section */
.ctx-conv-section {
padding: 0.5rem 0;
border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.ctx-conv-section:last-child {
border-bottom: none;
}
.ctx-conv-label {
font-size: 0.75rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
text-transform: uppercase;
display: block;
margin-bottom: 0.5rem;
}
.ctx-conv-items {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 0.5rem;
}
.ctx-conv-item {
display: flex;
flex-direction: column;
gap: 0.125rem;
padding: 0.5rem;
background: hsl(var(--muted) / 0.3);
border-radius: 0.25rem;
}
.ctx-conv-key {
font-size: 0.7rem;
font-weight: 600;
color: hsl(var(--primary));
text-transform: capitalize;
}
.ctx-conv-value {
font-size: 0.75rem;
color: hsl(var(--foreground));
}
/* Assets section - New Card Grid Layout */
.ctx-assets-category {
margin-bottom: 1rem;
}
.ctx-assets-category:last-child {
margin-bottom: 0;
}
.ctx-assets-cat-header {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.75rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid hsl(var(--border) / 0.3);
}
.ctx-assets-cat-icon {
font-size: 1rem;
}
.ctx-assets-cat-title {
font-size: 0.85rem;
font-weight: 600;
color: hsl(var(--foreground));
flex: 1;
}
.ctx-assets-cat-count {
padding: 0.125rem 0.5rem;
background: hsl(var(--primary) / 0.1);
color: hsl(var(--primary));
border-radius: 9999px;
font-size: 0.7rem;
font-weight: 600;
}
.ctx-assets-card-grid {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.ctx-asset-card {
display: flex;
align-items: center;
gap: 0.75rem;
}
.ctx-asset-card-path {
display: inline-block;
font-size: 0.8rem;
font-weight: 400;
color: hsl(var(--foreground));
padding: 0.5rem 0.75rem;
background: hsl(var(--muted) / 0.3);
border: 1px solid hsl(var(--border) / 0.5);
border-radius: 0.375rem;
}
.ctx-asset-card-badge {
flex-shrink: 0;
padding: 0.25rem 0.625rem;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 500;
text-transform: capitalize;
white-space: nowrap;
}
.ctx-relevance-badge {
background: hsl(142 76% 36% / 0.12);
color: hsl(142 76% 30%);
border: 1px solid hsl(142 76% 36% / 0.2);
}
.ctx-role-badge {
background: hsl(217 91% 60% / 0.1);
color: hsl(217 91% 45%);
border: 1px solid hsl(217 91% 60% / 0.2);
}
.ctx-test-badge {
background: hsl(280 68% 60% / 0.1);
color: hsl(280 68% 45%);
border: 1px solid hsl(280 68% 60% / 0.2);
}
/* Legacy list styles - keep for backwards compatibility */
.ctx-assets-section {
padding: 0.75rem 0;
border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.ctx-assets-section:last-child {
border-bottom: none;
}
.ctx-assets-header {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.5rem;
}
.ctx-assets-icon {
font-size: 0.875rem;
}
.ctx-assets-label {
font-size: 0.8rem;
font-weight: 600;
color: hsl(var(--foreground));
flex: 1;
}
.ctx-assets-count {
padding: 0.125rem 0.5rem;
background: hsl(var(--muted));
border-radius: 9999px;
font-size: 0.65rem;
color: hsl(var(--muted-foreground));
}
.ctx-assets-list {
display: flex;
flex-direction: column;
gap: 0.375rem;
}
.ctx-asset-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
padding: 0.375rem 0.5rem;
background: hsl(var(--muted) / 0.3);
border-radius: 0.25rem;
}
.ctx-asset-path {
font-size: 0.7rem;
color: hsl(var(--foreground));
font-family: var(--font-mono);
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ctx-asset-relevance {
padding: 0.125rem 0.375rem;
background: var(--rel-color);
color: white;
border-radius: 0.25rem;
font-size: 0.6rem;
font-weight: 600;
}
.ctx-asset-role {
padding: 0.125rem 0.375rem;
border-radius: 0.25rem;
font-size: 0.6rem;
font-weight: 500;
text-transform: capitalize;
}
.ctx-role-primary {
background: hsl(var(--primary) / 0.15);
color: hsl(var(--primary));
}
.ctx-role-secondary {
background: hsl(var(--muted));
color: hsl(var(--muted-foreground));
}
.ctx-test-count {
padding: 0.125rem 0.375rem;
background: hsl(142 76% 36% / 0.15);
color: hsl(142 76% 30%);
border-radius: 0.25rem;
font-size: 0.6rem;
font-weight: 500;
}
.ctx-assets-more {
font-size: 0.7rem;
color: hsl(var(--muted-foreground));
text-align: center;
padding: 0.25rem;
}
/* Dependencies section */
.ctx-deps-section {
padding: 0.75rem 0;
border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.ctx-deps-section:last-child {
border-bottom: none;
}
.ctx-deps-header {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.5rem;
}
.ctx-deps-label {
font-size: 0.8rem;
font-weight: 600;
color: hsl(var(--foreground));
flex: 1;
}
.ctx-deps-count {
padding: 0.125rem 0.5rem;
background: hsl(var(--muted));
border-radius: 9999px;
font-size: 0.65rem;
color: hsl(var(--muted-foreground));
}
.ctx-deps-list {
display: flex;
flex-direction: column;
gap: 0.375rem;
}
.ctx-dep-item {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.375rem 0.5rem;
background: hsl(var(--muted) / 0.3);
border-radius: 0.25rem;
font-size: 0.7rem;
}
.ctx-dep-from,
.ctx-dep-to {
font-family: var(--font-mono);
color: hsl(var(--foreground));
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ctx-dep-arrow {
color: hsl(var(--muted-foreground));
}
.ctx-dep-type {
padding: 0.125rem 0.375rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
font-size: 0.6rem;
color: hsl(var(--muted-foreground));
}
.ctx-deps-packages {
display: flex;
flex-wrap: wrap;
gap: 0.375rem;
}
.ctx-pkg-tag {
padding: 0.25rem 0.5rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
font-size: 0.7rem;
font-family: var(--font-mono);
color: hsl(var(--foreground));
}
.ctx-deps-more {
font-size: 0.7rem;
color: hsl(var(--muted-foreground));
text-align: center;
padding: 0.25rem;
}
/* Test context section */
.ctx-test-stats {
display: flex;
gap: 1rem;
margin-bottom: 0.75rem;
}
.ctx-stat-box {
display: flex;
flex-direction: column;
align-items: center;
padding: 0.75rem 1rem;
background: hsl(var(--muted) / 0.3);
border-radius: 0.375rem;
min-width: 80px;
}
.ctx-stat-value {
font-size: 1.25rem;
font-weight: 700;
color: hsl(var(--primary));
}
.ctx-stat-label {
font-size: 0.65rem;
color: hsl(var(--muted-foreground));
text-transform: uppercase;
letter-spacing: 0.05em;
}
.ctx-test-frameworks {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
}
.ctx-fw-card {
display: flex;
flex-direction: column;
gap: 0.25rem;
padding: 0.5rem 0.75rem;
border-radius: 0.375rem;
min-width: 100px;
}
.ctx-fw-installed {
background: hsl(142 76% 36% / 0.1);
border: 1px solid hsl(142 76% 36% / 0.3);
}
.ctx-fw-missing {
background: hsl(var(--destructive) / 0.1);
border: 1px solid hsl(var(--destructive) / 0.3);
}
.ctx-fw-type {
font-size: 0.65rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
text-transform: uppercase;
}
.ctx-fw-name {
font-size: 0.8rem;
font-weight: 500;
color: hsl(var(--foreground));
}
/* Conflict/Risk section */
.ctx-risk-badge {
padding: 0.25rem 0.625rem;
border-radius: 0.25rem;
font-size: 0.65rem;
font-weight: 700;
}
.ctx-risk-low {
background: hsl(142 76% 36%);
color: white;
}
.ctx-risk-medium {
background: hsl(38 92% 50%);
color: white;
}
.ctx-risk-high {
background: hsl(0 84% 50%);
color: white;
}
.ctx-mitigation {
padding: 0.75rem;
background: hsl(var(--muted) / 0.3);
border-radius: 0.375rem;
margin-bottom: 0.75rem;
}
.ctx-mitigation-label {
font-size: 0.7rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
text-transform: uppercase;
display: block;
margin-bottom: 0.375rem;
}
.ctx-mitigation-text {
font-size: 0.8rem;
color: hsl(var(--foreground));
margin: 0;
line-height: 1.5;
}
.ctx-risk-section {
margin-bottom: 0.75rem;
}
.ctx-risk-label {
font-size: 0.7rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
text-transform: uppercase;
display: block;
margin-bottom: 0.375rem;
}
.ctx-risk-list {
margin: 0;
padding-left: 1.25rem;
font-size: 0.8rem;
color: hsl(var(--foreground));
}
.ctx-risk-list li {
margin-bottom: 0.25rem;
}
.ctx-affected {
margin-top: 0.75rem;
}
.ctx-affected-label {
font-size: 0.7rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
text-transform: uppercase;
display: block;
margin-bottom: 0.375rem;
}
.ctx-affected-tags {
display: flex;
flex-wrap: wrap;
gap: 0.375rem;
}
.ctx-affected-tag {
padding: 0.25rem 0.5rem;
background: hsl(var(--warning) / 0.15);
color: hsl(38 92% 40%);
border-radius: 0.25rem;
font-size: 0.75rem;
font-family: var(--font-mono);
}
/* Mitigation Strategy List */
.ctx-mitigation-list {
margin: 0;
padding-left: 1.5rem;
font-size: 0.8rem;
color: hsl(var(--foreground));
line-height: 1.6;
}
.ctx-mitigation-list li {
margin-bottom: 0.5rem;
padding-left: 0.25rem;
}
.ctx-mitigation-list li:last-child {
margin-bottom: 0;
}
/* Dependencies Table */
.ctx-deps-table {
border: 1px solid hsl(var(--border) / 0.5);
border-radius: 0.5rem;
overflow: hidden;
}
.ctx-deps-table-header {
display: grid;
grid-template-columns: 1fr auto 1fr;
gap: 1rem;
padding: 0.625rem 1rem;
background: hsl(var(--muted) / 0.4);
border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.ctx-deps-table-header span {
font-size: 0.7rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
text-transform: uppercase;
letter-spacing: 0.05em;
}
.ctx-deps-table-header .ctx-deps-col-from {
text-align: left;
}
.ctx-deps-table-header .ctx-deps-col-type {
text-align: center;
}
.ctx-deps-table-header .ctx-deps-col-to {
text-align: center;
}
.ctx-deps-table-body {
max-height: 400px;
overflow-y: auto;
}
.ctx-deps-row {
display: grid;
grid-template-columns: 1fr auto 1fr;
gap: 1rem;
padding: 0.5rem 1rem;
border-bottom: 1px solid hsl(var(--border) / 0.3);
align-items: center;
text-align: center;
}
.ctx-deps-row:last-child {
border-bottom: none;
}
.ctx-deps-row:hover {
background: hsl(var(--muted) / 0.2);
}
.ctx-deps-col-from {
font-size: 0.8rem;
color: hsl(var(--foreground));
word-break: break-word;
text-align: left;
}
.ctx-deps-col-to {
font-size: 0.8rem;
color: hsl(var(--foreground));
word-break: break-word;
text-align: center;
}
.ctx-deps-col-type {
text-align: center;
}
.ctx-deps-type-badge {
display: inline-block;
padding: 0.25rem 0.625rem;
border-radius: 9999px;
font-size: 0.7rem;
font-weight: 500;
white-space: nowrap;
background: hsl(var(--muted));
color: hsl(var(--muted-foreground));
}
.ctx-deps-type-composition {
background: hsl(217 91% 60% / 0.15);
color: hsl(217 91% 45%);
}
.ctx-deps-type-inheritance {
background: hsl(142 76% 36% / 0.15);
color: hsl(142 76% 30%);
}
.ctx-deps-type-produces,
.ctx-deps-type-provides {
background: hsl(280 68% 60% / 0.15);
color: hsl(280 68% 45%);
}
.ctx-deps-type-consumes {
background: hsl(38 92% 50% / 0.15);
color: hsl(38 92% 40%);
}
.ctx-deps-type-config-dependency {
background: hsl(0 84% 60% / 0.12);
color: hsl(0 84% 45%);
}
.ctx-flow-target code {
font-size: 0.7rem;
color: hsl(var(--foreground));
word-break: break-all;
}
/* Gray text consistency - unified label style */
.ctx-meta-label,
.ctx-stack-label,
.ctx-conv-label,
.ctx-mitigation-label,
.ctx-risk-label,
.ctx-affected-label {
font-size: 0.7rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
text-transform: uppercase;
letter-spacing: 0.05em;
}
/* ===================================
Lite Task Drawer Cards
=================================== */
.lite-card {
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
margin-bottom: 1rem;
overflow: hidden;
}
.lite-card-header {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
background: hsl(var(--muted) / 0.3);
border-bottom: 1px solid hsl(var(--border));
}
.lite-card-icon {
font-size: 1rem;
}
.lite-card-title {
font-size: 0.85rem;
font-weight: 600;
color: hsl(var(--foreground));
margin: 0;
flex: 1;
}
.lite-count-badge {
padding: 0.125rem 0.5rem;
background: hsl(var(--primary) / 0.15);
color: hsl(var(--primary));
border-radius: 9999px;
font-size: 0.7rem;
font-weight: 600;
}
.lite-card-body {
padding: 1rem;
}
/* Description */
.lite-description {
margin: 0;
font-size: 0.85rem;
line-height: 1.6;
color: hsl(var(--foreground));
}
/* Scope */
.lite-scope-box {
padding: 0.625rem 0.875rem;
background: hsl(var(--muted) / 0.5);
border-radius: 0.375rem;
border-left: 3px solid hsl(var(--primary));
}
.lite-scope-box code {
font-size: 0.8rem;
color: hsl(var(--foreground));
word-break: break-all;
}
/* Acceptance Checklist */
.lite-checklist {
list-style: none;
margin: 0;
padding: 0;
}
.lite-check-item {
display: flex;
align-items: flex-start;
gap: 0.625rem;
padding: 0.5rem 0;
border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.lite-check-item:last-child {
border-bottom: none;
padding-bottom: 0;
}
.lite-check-icon {
flex-shrink: 0;
width: 1.25rem;
height: 1.25rem;
display: flex;
align-items: center;
justify-content: center;
border: 2px solid hsl(var(--muted-foreground) / 0.4);
border-radius: 50%;
font-size: 0.7rem;
color: hsl(var(--muted-foreground));
}
.lite-check-text {
font-size: 0.8rem;
line-height: 1.5;
color: hsl(var(--foreground));
}
/* Reference */
.lite-ref-section {
padding: 0.5rem 0;
border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.lite-ref-section:last-child {
border-bottom: none;
padding-bottom: 0;
}
.lite-ref-label {
font-size: 0.7rem;
font-weight: 600;
color: hsl(var(--primary));
text-transform: uppercase;
display: block;
margin-bottom: 0.375rem;
}
.lite-ref-value {
font-size: 0.8rem;
color: hsl(var(--foreground));
line-height: 1.5;
}
.lite-ref-files {
display: flex;
flex-direction: column;
gap: 0.375rem;
}
.lite-file-tag {
display: block;
padding: 0.375rem 0.625rem;
background: hsl(var(--muted) / 0.5);
border-radius: 0.25rem;
font-size: 0.75rem;
color: hsl(var(--foreground));
}
/* Dependencies */
.lite-deps-tags {
display: flex;
flex-wrap: wrap;
gap: 0.375rem;
}
.lite-dep-tag {
padding: 0.25rem 0.625rem;
background: hsl(var(--warning) / 0.15);
color: hsl(38 92% 40%);
border-radius: 0.25rem;
font-size: 0.75rem;
font-weight: 500;
}
/* Implementation Steps */
.lite-impl-steps {
display: flex;
flex-direction: column;
gap: 0;
}
.lite-impl-step {
display: flex;
gap: 0.875rem;
padding: 0.75rem 0;
border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.lite-impl-step:last-child {
border-bottom: none;
padding-bottom: 0;
}
.lite-step-num {
flex-shrink: 0;
width: 1.75rem;
height: 1.75rem;
display: flex;
align-items: center;
justify-content: center;
background: hsl(var(--primary));
color: white;
border-radius: 0.375rem;
font-size: 0.75rem;
font-weight: 700;
}
.lite-step-content {
flex: 1;
min-width: 0;
}
.lite-step-text {
margin: 0;
font-size: 0.8rem;
line-height: 1.5;
color: hsl(var(--foreground));
}
/* Modification Points */
.lite-mod-points {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.lite-mod-card {
padding: 0.875rem 1rem;
background: hsl(var(--background));
border: 1px solid hsl(var(--border));
border-left: 3px solid hsl(var(--primary));
border-radius: 0.375rem;
}
.lite-mod-header {
margin-bottom: 0.5rem;
}
.lite-mod-file {
font-size: 0.75rem;
font-weight: 500;
color: hsl(var(--primary));
word-break: break-all;
}
.lite-mod-target {
display: flex;
gap: 0.5rem;
margin-bottom: 0.375rem;
font-size: 0.75rem;
}
.lite-mod-label {
color: hsl(var(--muted-foreground));
font-weight: 500;
}
.lite-mod-value {
color: hsl(var(--foreground));
}
.lite-mod-change {
font-size: 0.8rem;
line-height: 1.5;
color: hsl(var(--foreground));
padding-top: 0.375rem;
border-top: 1px solid hsl(var(--border) / 0.5);
}
/* ==========================================
SESSION TASK DRAWER STYLES
========================================== */
/* Pre-Analysis Step Meta */
.lite-step-meta {
display: flex;
align-items: center;
gap: 0.5rem;
margin-top: 0.375rem;
font-size: 0.75rem;
}
.lite-step-label {
color: hsl(var(--muted-foreground));
font-weight: 500;
}
.lite-step-value {
color: hsl(var(--foreground));
}
.lite-step-commands {
display: flex;
flex-wrap: wrap;
gap: 0.375rem;
margin-top: 0.5rem;
}
.lite-cmd-tag {
display: inline-block;
padding: 0.25rem 0.625rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
font-size: 0.7rem;
color: hsl(var(--foreground));
font-family: var(--font-mono);
}
/* Session Implementation Steps */
.session-impl-steps {
display: flex;
flex-direction: column;
gap: 1rem;
}
.session-impl-step {
background: hsl(var(--background));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
overflow: hidden;
}
.session-step-header {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1rem;
background: hsl(var(--muted) / 0.3);
border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.session-step-title {
flex: 1;
font-size: 0.85rem;
font-weight: 600;
color: hsl(var(--foreground));
}
.session-step-desc {
padding: 0.75rem 1rem;
font-size: 0.8rem;
line-height: 1.6;
color: hsl(var(--muted-foreground));
border-bottom: 1px solid hsl(var(--border) / 0.3);
}
.session-step-section {
padding: 0.75rem 1rem;
border-bottom: 1px solid hsl(var(--border) / 0.3);
}
.session-step-section:last-child {
border-bottom: none;
}
.session-section-label {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.625rem;
font-size: 0.75rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
}
.session-section-icon {
font-size: 0.875rem;
}
/* Session Modifications List */
.session-mods-list {
display: flex;
flex-direction: column;
gap: 0.375rem;
}
.session-mod-item {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.session-mod-change {
font-size: 0.75rem;
color: hsl(var(--muted-foreground));
padding-left: 0.5rem;
border-left: 2px solid hsl(var(--border));
}
/* Session Logic Flow */
.session-flow-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.session-flow-item {
display: flex;
align-items: flex-start;
gap: 0.625rem;
}
.session-flow-num {
flex-shrink: 0;
width: 1.25rem;
height: 1.25rem;
display: flex;
align-items: center;
justify-content: center;
background: hsl(var(--primary) / 0.15);
color: hsl(var(--primary));
border-radius: 50%;
font-size: 0.65rem;
font-weight: 700;
}
.session-flow-text {
font-size: 0.8rem;
line-height: 1.5;
color: hsl(var(--foreground));
}
/* Session Step Dependencies */
.session-step-deps {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.625rem 1rem;
background: hsl(var(--warning) / 0.05);
}
.session-deps-label {
font-size: 0.75rem;
font-weight: 500;
color: hsl(var(--muted-foreground));
}
/* Session Files List */
.session-files-list {
display: flex;
flex-direction: column;
gap: 0.375rem;
}
.session-file-item {
display: flex;
align-items: center;
gap: 0.625rem;
padding: 0.625rem 0.875rem;
background: hsl(var(--muted) / 0.3);
border: 1px solid hsl(var(--border) / 0.5);
border-radius: 0.375rem;
text-decoration: none;
transition: all 0.15s ease;
}
.session-file-item:hover {
background: hsl(var(--muted) / 0.5);
border-color: hsl(var(--primary) / 0.5);
}
.session-file-icon {
font-size: 0.875rem;
flex-shrink: 0;
}
.session-file-path {
flex: 1;
font-size: 0.8rem;
color: hsl(var(--foreground));
word-break: break-all;
}
.session-file-action {
flex-shrink: 0;
font-size: 0.75rem;
color: hsl(var(--primary));
opacity: 0;
transition: opacity 0.15s ease;
}
.session-file-item:hover .session-file-action {
opacity: 1;
}
/* Session Test Commands */
.session-test-commands {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.session-test-item {
display: flex;
flex-direction: column;
gap: 0.25rem;
padding: 0.625rem 0.875rem;
background: hsl(var(--muted) / 0.2);
border: 1px solid hsl(var(--border) / 0.5);
border-radius: 0.375rem;
}
.session-test-label {
font-size: 0.7rem;
font-weight: 600;
color: hsl(var(--primary));
text-transform: uppercase;
}
.session-test-cmd {
font-size: 0.8rem;
color: hsl(var(--foreground));
background: hsl(var(--muted) / 0.5);
padding: 0.375rem 0.5rem;
border-radius: 0.25rem;
font-family: var(--font-mono);
word-break: break-all;
}
/* ==========================================
TASK STATUS MANAGEMENT
========================================== */
/* Bulk Actions - Inside toolbar */
.task-bulk-actions {
display: flex;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
}
.bulk-label {
font-size: 0.75rem;
font-weight: 600;
color: hsl(var(--muted-foreground));
text-transform: uppercase;
margin-right: 0.5rem;
}
.bulk-action-btn {
display: inline-flex;
align-items: center;
gap: 0.375rem;
padding: 0.375rem 0.75rem;
background: hsl(var(--background));
border: 1px solid hsl(var(--border));
border-radius: 0.375rem;
font-size: 0.75rem;
font-weight: 500;
color: hsl(var(--foreground));
cursor: pointer;
transition: all 0.15s ease;
}
.bulk-action-btn:hover {
background: hsl(var(--muted));
border-color: hsl(var(--primary) / 0.5);
}
.bulk-action-btn.completed {
background: hsl(142 76% 36% / 0.1);
border-color: hsl(142 76% 36% / 0.3);
color: hsl(142 76% 30%);
}
.bulk-action-btn.completed:hover {
background: hsl(142 76% 36% / 0.2);
}
.bulk-icon {
font-size: 0.8rem;
}
.bulk-divider {
width: 1px;
height: 1.5rem;
background: hsl(var(--border));
margin: 0 0.25rem;
}
/* Task Status Control */
.task-status-control {
flex-shrink: 0;
}
.task-status-select {
padding: 0.375rem 0.625rem;
font-size: 0.75rem;
font-weight: 600;
border: 1px solid hsl(var(--border));
border-radius: 0.375rem;
background: hsl(var(--background));
color: hsl(var(--foreground));
cursor: pointer;
transition: all 0.15s ease;
min-width: 120px;
}
.task-status-select:hover {
border-color: hsl(var(--primary) / 0.5);
}
.task-status-select:focus {
outline: none;
border-color: hsl(var(--primary));
box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}
.task-status-select.pending {
background: hsl(var(--muted) / 0.3);
color: hsl(var(--muted-foreground));
}
.task-status-select.in_progress {
background: hsl(38 92% 50% / 0.15);
border-color: hsl(38 92% 50% / 0.3);
color: hsl(38 92% 35%);
}
.task-status-select.completed {
background: hsl(142 76% 36% / 0.15);
border-color: hsl(142 76% 36% / 0.3);
color: hsl(142 76% 30%);
}
/* Toast Notifications */
.status-toast {
position: fixed;
bottom: 2rem;
left: 50%;
transform: translateX(-50%);
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
font-size: 0.85rem;
font-weight: 500;
z-index: 10000;
animation: toastSlideUp 0.3s ease;
box-shadow: 0 4px 12px hsl(0 0% 0% / 0.15);
}
.status-toast.success {
background: hsl(142 76% 36%);
color: white;
}
.status-toast.error {
background: hsl(0 72% 51%);
color: white;
}
.status-toast.info {
background: hsl(var(--primary));
color: white;
}
.status-toast.fade-out {
animation: toastFadeOut 0.3s ease forwards;
}
@keyframes toastSlideUp {
from {
opacity: 0;
transform: translateX(-50%) translateY(1rem);
}
to {
opacity: 1;
transform: translateX(-50%) translateY(0);
}
}
@keyframes toastFadeOut {
to {
opacity: 0;
transform: translateX(-50%) translateY(-1rem);
}
}
/* Task Item Header Adjustments */
.detail-task-item .task-item-header {
display: flex;
align-items: center;
gap: 0.75rem;
}
.detail-task-item .task-title {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.detail-task-item .task-title:hover {
color: hsl(var(--primary));
}
/* ==========================================
REFRESH BUTTON
========================================== */
.refresh-btn {
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.refresh-btn:hover {
background: hsl(var(--muted));
}
.refresh-btn.refreshing svg {
animation: spin 1s linear infinite;
}
.refresh-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
/* ==========================================
MCP MANAGER STYLES
========================================== */
.mcp-manager {
width: 100%;
}
.mcp-section {
margin-bottom: 2rem;
width: 100%;
}
.mcp-server-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1rem;
width: 100%;
}
.mcp-server-card {
position: relative;
}
.mcp-server-card.opacity-60 {
opacity: 0.6;
}
.mcp-server-available {
border-style: dashed;
}
.mcp-server-available:hover {
border-style: solid;
}
/* MCP Toggle Switch */
.mcp-toggle {
position: relative;
display: inline-flex;
align-items: center;
}
.mcp-toggle input {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
.mcp-toggle > div {
width: 36px;
height: 20px;
background: hsl(var(--muted));
border-radius: 10px;
position: relative;
transition: background 0.2s;
}
.mcp-toggle > div::after {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 16px;
height: 16px;
background: white;
border-radius: 50%;
transition: transform 0.2s;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.mcp-toggle input:checked + div {
background: hsl(var(--success));
}
.mcp-toggle input:checked + div::after {
transform: translateX(16px);
}
.mcp-toggle input:focus + div {
box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}
/* MCP Projects List */
.mcp-projects-list {
max-height: 400px;
overflow-y: auto;
}
.mcp-project-item {
transition: background 0.15s;
}
.mcp-project-item:hover {
background: hsl(var(--hover));
}
.mcp-project-item.bg-primary-light {
background: hsl(var(--primary-light));
}
/* MCP Empty State */
.mcp-empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 120px;
}
/* MCP Server Details */
.mcp-server-details {
font-size: 0.875rem;
}
.mcp-server-details .font-mono {
font-family: var(--font-mono);
}
/* MCP Projects Table */
.mcp-projects-table {
overflow-x: auto;
}
.mcp-projects-table table {
border-collapse: collapse;
min-width: 100%;
}
.mcp-projects-table th {
white-space: nowrap;
}
.mcp-projects-table td {
vertical-align: middle;
}
.mcp-projects-table tr:hover {
background-color: hsl(var(--hover));
}
.mcp-projects-table .bg-primary-light\/30 {
background-color: hsl(var(--primary) / 0.08);
}
/* MCP Create Modal */
.mcp-modal {
animation: fadeIn 0.15s ease-out;
}
.mcp-modal-backdrop {
animation: fadeIn 0.15s ease-out;
}
.mcp-modal-content {
animation: slideUp 0.2s ease-out;
}
.mcp-modal.hidden {
display: none;
}
.mcp-modal .form-group label {
display: block;
margin-bottom: 0.25rem;
}
.mcp-modal input,
.mcp-modal textarea {
transition: border-color 0.15s, box-shadow 0.15s;
}
.mcp-modal input:focus,
.mcp-modal textarea:focus {
border-color: hsl(var(--primary));
box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}
/* MCP Tab Buttons */
.mcp-tab-btn {
cursor: pointer;
transition: all 0.2s;
color: hsl(var(--muted-foreground));
}
.mcp-tab-btn.active {
background: hsl(var(--background));
color: hsl(var(--foreground));
font-weight: 500;
}
.mcp-tab-btn:hover:not(.active) {
color: hsl(var(--foreground));
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
/* ==========================================
HOOK MANAGER STYLES
========================================== */
.hook-manager {
width: 100%;
}
.hook-section {
margin-bottom: 2rem;
width: 100%;
}
.hook-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1rem;
width: 100%;
}
.hook-card {
position: relative;
}
.hook-details {
font-size: 0.875rem;
}
.hook-details .font-mono {
font-family: var(--font-mono);
}
.hook-templates-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1rem;
}
.hook-template-card {
transition: all 0.2s ease;
}
.hook-template-card:hover {
box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}
/* Hook Empty State */
.hook-empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 120px;
}
/* Hook Modal */
.hook-modal {
animation: fadeIn 0.15s ease-out;
}
.hook-modal-backdrop {
animation: fadeIn 0.15s ease-out;
}
.hook-modal-content {
animation: slideUp 0.2s ease-out;
}
.hook-modal.hidden {
display: none;
}
.hook-modal .form-group label {
display: block;
margin-bottom: 0.25rem;
}
.hook-modal input,
.hook-modal textarea,
.hook-modal select {
transition: border-color 0.15s, box-shadow 0.15s;
}
.hook-modal input:focus,
.hook-modal textarea:focus,
.hook-modal select:focus {
border-color: hsl(var(--primary));
box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}
.hook-template-btn {
transition: all 0.15s ease;
}
.hook-template-btn:hover {
background: hsl(var(--hover));
border-color: hsl(var(--primary));
}
/* ==========================================
STATS SECTION & CAROUSEL
========================================== */
.stats-section {
min-height: 180px;
}
.stats-metrics {
width: 300px;
}
.stats-carousel {
position: relative;
}
.carousel-header {
height: 40px;
}
.carousel-btn {
transition: all 0.15s;
}
.carousel-btn:hover {
background: hsl(var(--hover));
}
/* Carousel dots indicator */
.carousel-dots {
display: flex;
align-items: center;
gap: 6px;
}
.carousel-dot {
cursor: pointer;
border: none;
padding: 0;
transition: all 0.2s ease;
}
.carousel-dot:focus {
outline: none;
box-shadow: 0 0 0 2px hsl(var(--primary) / 0.3);
}
.carousel-footer {
flex-shrink: 0;
}
.carousel-content {
position: relative;
overflow: hidden;
}
.carousel-slide {
position: absolute;
inset: 0;
}
.carousel-empty {
position: absolute;
inset: 0;
}
/* Carousel slide animations */
.carousel-fade-in {
animation: carouselFadeIn 0.3s ease-out forwards;
}
.carousel-slide-left {
animation: carouselSlideLeft 0.35s ease-out forwards;
}
.carousel-slide-right {
animation: carouselSlideRight 0.35s ease-out forwards;
}
@keyframes carouselFadeIn {
from {
opacity: 0;
transform: scale(0.98);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes carouselSlideLeft {
from {
opacity: 0;
transform: translateX(100%);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes carouselSlideRight {
from {
opacity: 0;
transform: translateX(-100%);
}
to {
opacity: 1;
transform: translateX(0);
}
}
/* Task card in carousel */
.carousel-slide .task-card {
height: 100%;
display: flex;
flex-direction: column;
}
.carousel-slide .task-timestamps {
flex-grow: 1;
}
.carousel-slide .task-session-info {
margin-top: auto;
}
/* Task status badge pulse for in_progress */
.task-status-badge {
transition: all 0.2s;
}
.bg-warning-light .task-status-badge {
animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}
/* Task highlight animation when navigating from carousel */
.task-highlight {
animation: taskHighlight 0.5s ease-out 3;
}
@keyframes taskHighlight {
0%, 100% {
background: transparent;
box-shadow: none;
}
50% {
background: hsl(var(--primary-light));
box-shadow: 0 0 0 3px hsl(var(--primary) / 0.3);
}
}
/* Line clamp utility */
.line-clamp-1 {
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* Highlight pulse effect */
.highlight-pulse {
animation: highlightPulse 0.5s ease-out 2;
}
@keyframes highlightPulse {
0%, 100% {
box-shadow: none;
}
50% {
box-shadow: 0 0 0 3px hsl(var(--primary) / 0.3);
}
}
/* ==========================================
NOTIFICATION BUBBLES
========================================== */
.notification-bubble {
position: fixed;
top: 70px;
right: 20px;
max-width: 360px;
padding: 12px 16px;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 8px;
box-shadow: 0 8px 24px rgb(0 0 0 / 0.15);
z-index: 1000;
display: flex;
align-items: center;
gap: 8px;
opacity: 0;
transform: translateX(100%);
transition: all 0.3s ease-out;
}
.notification-bubble.show {
opacity: 1;
transform: translateX(0);
}
.notification-bubble.fade-out {
opacity: 0;
transform: translateX(100%);
}
.notification-bubble:nth-child(2) {
top: 130px;
}
.notification-bubble:nth-child(3) {
top: 190px;
}
.notification-content {
display: flex;
align-items: center;
gap: 8px;
flex: 1;
}
.notification-icon {
font-size: 1.25rem;
}
.notification-message {
font-size: 0.875rem;
color: hsl(var(--foreground));
flex: 1;
}
.notification-action {
padding: 4px 12px;
background: hsl(var(--primary));
color: hsl(var(--primary-foreground));
border: none;
border-radius: 4px;
font-size: 0.75rem;
font-weight: 500;
cursor: pointer;
transition: opacity 0.15s;
}
.notification-action:hover {
opacity: 0.9;
}
.notification-close {
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
background: transparent;
border: none;
color: hsl(var(--muted-foreground));
font-size: 1.25rem;
cursor: pointer;
border-radius: 4px;
transition: all 0.15s;
}
.notification-close:hover {
background: hsl(var(--hover));
color: hsl(var(--foreground));
}
/* Notification types */
.notification-success {
border-left: 3px solid hsl(var(--success));
}
.notification-warning {
border-left: 3px solid hsl(var(--warning));
}
.notification-error {
border-left: 3px solid hsl(var(--destructive));
}
.notification-info {
border-left: 3px solid hsl(var(--primary));
}
/* Responsive stats section */
@media (max-width: 768px) {
.stats-section {
flex-direction: column;
}
.stats-metrics {
width: 100%;
grid-template-columns: repeat(4, 1fr);
}
.stats-carousel {
min-height: 160px;
}
}
/* Exploration Object Rendering - Theme Compatible */
.exp-object {
display: flex;
flex-direction: column;
gap: 8px;
padding: 12px;
background: hsl(var(--muted));
border-radius: 8px;
border: 1px solid hsl(var(--border));
}
.exp-obj-field {
display: flex;
flex-wrap: wrap;
gap: 6px;
align-items: flex-start;
font-size: 13px;
line-height: 1.5;
}
.exp-obj-key {
font-weight: 600;
color: hsl(var(--muted-foreground));
min-width: 120px;
}
.exp-obj-val {
color: hsl(var(--foreground));
flex: 1;
}
.exp-obj-nested {
margin-left: 16px;
padding: 8px;
border-left: 2px solid hsl(var(--border));
}
.exp-obj-nested > .exp-obj-key {
display: block;
margin-bottom: 8px;
color: hsl(var(--primary));
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.exp-list {
margin: 4px 0 0 0;
padding-left: 20px;
list-style: disc;
}
.exp-list li {
font-size: 13px;
color: hsl(var(--foreground));
line-height: 1.6;
margin-bottom: 4px;
}
.exp-array-objects {
display: flex;
flex-direction: column;
gap: 10px;
}
.exp-object-item {
padding: 10px;
background: hsl(var(--card));
border-radius: 6px;
border: 1px solid hsl(var(--border));
}
.clarification-impact {
font-size: 12px;
color: hsl(var(--muted-foreground));
margin-top: 6px;
}
.priority-badge {
display: inline-block;
padding: 2px 8px;
border-radius: 4px;
font-size: 11px;
font-weight: 500;
text-transform: uppercase;
}
.priority-badge.priority-high {
background: hsl(var(--destructive) / 0.15);
color: hsl(var(--destructive));
}
.priority-badge.priority-medium {
background: hsl(var(--warning-light));
color: hsl(var(--warning));
}
.priority-badge.priority-low {
background: hsl(var(--success-light));
color: hsl(var(--success));
}
/* Conflict Tab Styles - Theme Compatible */
.conflict-tab-content {
padding: 16px;
}
.conflict-tab-header {
margin-bottom: 24px;
}
.conflict-tab-header h3 {
font-size: 18px;
font-weight: 600;
color: hsl(var(--foreground));
margin: 0 0 8px 0;
}
.conflict-meta-info {
display: flex;
gap: 16px;
font-size: 13px;
color: hsl(var(--muted-foreground));
}
.conflict-meta-info strong {
color: hsl(var(--foreground));
}
.conflict-section-title {
font-size: 15px;
font-weight: 600;
color: hsl(var(--foreground));
margin: 24px 0 12px 0;
padding-bottom: 8px;
border-bottom: 1px solid hsl(var(--border));
}
.conflict-cards-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 16px;
}
.conflict-card {
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 12px;
padding: 16px;
transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.conflict-card:hover {
box-shadow: 0 4px 12px hsl(var(--foreground) / 0.08);
border-color: hsl(var(--primary));
}
.decision-card {
border-left: 3px solid hsl(var(--primary));
}
.resolved-card {
border-left: 3px solid hsl(var(--success));
}
.conflict-card-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
.conflict-card-label {
font-size: 14px;
font-weight: 600;
color: hsl(var(--foreground));
}
.conflict-card-id {
font-size: 13px;
font-weight: 600;
color: hsl(var(--primary));
font-family: monospace;
}
.conflict-category-tag {
padding: 3px 8px;
background: hsl(var(--muted));
color: hsl(var(--muted-foreground));
border-radius: 4px;
font-size: 11px;
font-weight: 500;
}
.conflict-card-choice {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 10px;
padding: 10px 12px;
background: hsl(var(--primary-light));
border-radius: 8px;
}
.choice-label {
font-size: 12px;
color: hsl(var(--muted-foreground));
}
.choice-value {
font-size: 14px;
font-weight: 600;
color: hsl(var(--primary));
}
.conflict-card-desc {
font-size: 13px;
color: hsl(var(--muted-foreground));
line-height: 1.5;
margin-bottom: 10px;
}
.conflict-card-brief {
font-size: 13px;
color: hsl(var(--foreground));
line-height: 1.5;
margin-bottom: 12px;
}
.conflict-card-implications {
margin-top: 10px;
padding-top: 10px;
border-top: 1px solid hsl(var(--border));
}
.conflict-card-implications .impl-label {
display: block;
font-size: 11px;
font-weight: 600;
color: hsl(var(--muted-foreground));
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 6px;
}
.conflict-card-implications ul {
margin: 0;
padding-left: 18px;
}
.conflict-card-implications li {
font-size: 12px;
color: hsl(var(--muted-foreground));
line-height: 1.5;
margin-bottom: 4px;
}
.conflict-card-strategy {
display: flex;
align-items: center;
gap: 8px;
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid hsl(var(--border));
}
.conflict-card-strategy .strategy-label {
font-size: 12px;
color: hsl(var(--muted-foreground));
}
.strategy-tag {
padding: 4px 10px;
background: hsl(var(--success-light));
color: hsl(var(--success));
border-radius: 6px;
font-size: 12px;
font-weight: 500;
}
/* ===================================
Enhanced Review Tab Styles
=================================== */
.review-enhanced-container {
display: flex;
flex-direction: column;
gap: 1rem;
height: 100%;
}
/* Review Header Bar */
.review-header-bar {
display: flex;
align-items: center;
gap: 1rem;
padding: 0.75rem 1rem;
background: hsl(var(--muted) / 0.2);
border: 1px solid hsl(var(--border) / 0.5);
border-radius: 0.5rem;
flex-wrap: wrap;
}
.review-severity-stats {
display: flex;
gap: 0.5rem;
}
.severity-stat {
padding: 0.375rem 0.75rem;
border-radius: 9999px;
font-size: 0.8rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
}
.severity-stat:hover {
transform: scale(1.05);
}
.severity-stat.critical { background: hsl(0 70% 90%); color: hsl(0 70% 40%); }
.severity-stat.high { background: hsl(25 90% 90%); color: hsl(25 90% 35%); }
.severity-stat.medium { background: hsl(45 90% 90%); color: hsl(45 90% 30%); }
.severity-stat.low { background: hsl(var(--success-light)); color: hsl(var(--success)); }
.review-search-box {
flex: 1;
min-width: 150px;
}
.review-search-box input {
width: 100%;
padding: 0.5rem 0.75rem;
border: 1px solid hsl(var(--border));
border-radius: 0.375rem;
background: hsl(var(--card));
color: hsl(var(--foreground));
font-size: 0.875rem;
}
.review-search-box input:focus {
outline: none;
border-color: hsl(var(--primary));
box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}
.review-selection-controls {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.85rem;
}
.selection-counter {
color: hsl(var(--muted-foreground));
font-weight: 500;
padding: 0.25rem 0.5rem;
background: hsl(var(--accent));
border-radius: 0.25rem;
}
.btn-mini {
padding: 0.375rem 0.75rem;
border: 1px solid hsl(var(--border));
border-radius: 0.375rem;
background: hsl(var(--card));
color: hsl(var(--foreground));
font-size: 0.75rem;
cursor: pointer;
transition: all 0.2s;
}
.btn-mini:hover {
background: hsl(var(--accent));
border-color: hsl(var(--primary) / 0.3);
}
.btn-export-fix {
padding: 0.5rem 1rem;
border: none;
border-radius: 0.375rem;
background: hsl(142 76% 36%);
color: white;
font-size: 0.85rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
}
.btn-export-fix:hover:not(:disabled) {
background: hsl(142 76% 30%);
}
.btn-export-fix:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* Filter Bar */
.review-filter-bar {
display: flex;
align-items: center;
gap: 1rem;
padding: 0.5rem 1rem;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
flex-wrap: wrap;
}
.filter-group {
display: flex;
align-items: center;
gap: 0.5rem;
}
.filter-label {
font-size: 0.8rem;
font-weight: 500;
color: hsl(var(--muted-foreground));
}
.filter-chips {
display: flex;
gap: 0.375rem;
}
.filter-chip {
display: flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.625rem;
border: 1px solid hsl(var(--border));
border-radius: 9999px;
background: hsl(var(--card));
font-size: 0.75rem;
cursor: pointer;
transition: all 0.2s;
}
.filter-chip:hover {
background: hsl(var(--accent));
}
.filter-chip.active {
background: hsl(var(--primary));
color: white;
border-color: hsl(var(--primary));
}
.filter-chip input[type="checkbox"] {
display: none;
}
.sort-select {
padding: 0.375rem 0.5rem;
border: 1px solid hsl(var(--border));
border-radius: 0.375rem;
background: hsl(var(--card));
color: hsl(var(--foreground));
font-size: 0.8rem;
cursor: pointer;
}
.btn-sort-order {
padding: 0.375rem 0.5rem;
border: 1px solid hsl(var(--border));
border-radius: 0.375rem;
background: hsl(var(--card));
color: hsl(var(--foreground));
font-size: 0.9rem;
cursor: pointer;
}
/* Dimension Tabs */
.review-dimension-tabs {
display: flex;
gap: 0.375rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid hsl(var(--border));
overflow-x: auto;
flex-wrap: nowrap;
}
.dim-tab {
padding: 0.5rem 1rem;
border: none;
background: none;
color: hsl(var(--muted-foreground));
font-size: 0.85rem;
font-weight: 500;
cursor: pointer;
white-space: nowrap;
border-bottom: 2px solid transparent;
margin-bottom: -2px;
transition: all 0.2s;
}
.dim-tab:hover {
color: hsl(var(--foreground));
background: hsl(var(--accent) / 0.5);
}
.dim-tab.active {
color: hsl(var(--primary));
border-bottom-color: hsl(var(--primary));
}
/* Split Panel - Fixed height container */
.review-split-panel {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
height: 60vh;
min-height: 400px;
max-height: 700px;
}
/* Findings Panel - Scrollable */
.review-findings-panel {
display: flex;
flex-direction: column;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
overflow: hidden;
height: 100%;
}
.findings-list-header {
padding: 0.75rem 1rem;
background: hsl(var(--muted) / 0.3);
border-bottom: 1px solid hsl(var(--border));
font-size: 0.85rem;
font-weight: 500;
color: hsl(var(--muted-foreground));
}
.review-findings-list {
flex: 1;
overflow-y: auto;
padding: 0.5rem;
}
.findings-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem;
color: hsl(var(--muted-foreground));
gap: 0.5rem;
}
.findings-empty .empty-icon {
font-size: 2rem;
}
/* Finding Item in List */
.review-finding-item {
display: flex;
gap: 0.75rem;
padding: 0.75rem;
margin-bottom: 0.5rem;
background: hsl(var(--background));
border: 1px solid hsl(var(--border));
border-left: 3px solid hsl(var(--border));
border-radius: 0.375rem;
cursor: pointer;
transition: all 0.2s;
}
.review-finding-item:hover {
background: hsl(var(--accent) / 0.3);
transform: translateX(2px);
}
.review-finding-item.selected {
background: hsl(var(--primary) / 0.1);
border-color: hsl(var(--primary) / 0.3);
}
.review-finding-item.previewing {
background: hsl(var(--accent));
border-left-color: hsl(var(--primary));
}
.review-finding-item.critical { border-left-color: hsl(0 70% 50%); }
.review-finding-item.high { border-left-color: hsl(25 90% 55%); }
.review-finding-item.medium { border-left-color: hsl(45 90% 50%); }
.review-finding-item.low { border-left-color: hsl(var(--success)); }
.review-finding-item .finding-checkbox {
width: 18px;
height: 18px;
cursor: pointer;
accent-color: hsl(var(--primary));
flex-shrink: 0;
margin-top: 2px;
}
.review-finding-item .finding-content {
flex: 1;
min-width: 0;
}
.review-finding-item .finding-top-row {
display: flex;
gap: 0.375rem;
margin-bottom: 0.375rem;
}
.review-finding-item .finding-title {
font-size: 0.85rem;
font-weight: 600;
color: hsl(var(--foreground));
margin-bottom: 0.25rem;
line-height: 1.3;
}
.review-finding-item .finding-file {
font-size: 0.75rem;
font-family: var(--font-mono);
color: hsl(var(--muted-foreground));
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.dimension-badge {
padding: 0.125rem 0.5rem;
border-radius: 9999px;
font-size: 0.65rem;
font-weight: 500;
background: hsl(var(--accent));
color: hsl(var(--accent-foreground));
text-transform: capitalize;
}
/* Preview Panel - Fixed height, scrollable */
.review-preview-panel {
display: flex;
flex-direction: column;
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
overflow: hidden;
height: 100%;
}
.preview-empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
padding: 2rem;
color: hsl(var(--muted-foreground));
}
.preview-empty-state .preview-icon {
font-size: 3rem;
margin-bottom: 1rem;
opacity: 0.5;
}
.preview-empty-state .preview-text {
font-size: 0.9rem;
}
.preview-content {
padding: 1.25rem;
overflow-y: auto;
flex: 1;
}
.preview-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 1rem;
gap: 1rem;
}
.preview-badges {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
.category-badge {
padding: 0.125rem 0.5rem;
border-radius: 9999px;
font-size: 0.65rem;
font-weight: 500;
background: hsl(var(--muted));
color: hsl(var(--muted-foreground));
}
.btn-select-finding {
padding: 0.5rem 1rem;
border: 1px solid hsl(var(--border));
border-radius: 0.375rem;
background: hsl(var(--card));
color: hsl(var(--foreground));
font-size: 0.8rem;
cursor: pointer;
transition: all 0.2s;
white-space: nowrap;
}
.btn-select-finding:hover {
background: hsl(var(--accent));
}
.btn-select-finding.selected {
background: hsl(var(--primary));
color: white;
border-color: hsl(var(--primary));
}
.preview-title {
font-size: 1.1rem;
font-weight: 600;
color: hsl(var(--foreground));
margin-bottom: 1rem;
line-height: 1.4;
}
.preview-section {
margin-bottom: 1.25rem;
}
.preview-section-title {
font-size: 0.85rem;
font-weight: 600;
color: hsl(var(--primary));
margin-bottom: 0.5rem;
}
.preview-location code {
font-family: var(--font-mono);
font-size: 0.85rem;
padding: 0.25rem 0.5rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
}
.preview-description {
font-size: 0.9rem;
line-height: 1.6;
color: hsl(var(--foreground));
}
.preview-code {
font-family: var(--font-mono);
font-size: 0.8rem;
padding: 1rem;
background: hsl(var(--muted));
border-radius: 0.375rem;
overflow-x: auto;
line-height: 1.5;
}
.preview-recommendations {
list-style: none;
padding: 0;
margin: 0;
}
.preview-recommendations li {
padding: 0.5rem 0.75rem;
background: hsl(142 76% 36% / 0.1);
border-left: 3px solid hsl(142 76% 36%);
margin-bottom: 0.5rem;
border-radius: 0 0.25rem 0.25rem 0;
font-size: 0.875rem;
line-height: 1.5;
}
.preview-root-cause,
.preview-impact {
font-size: 0.9rem;
line-height: 1.6;
color: hsl(var(--muted-foreground));
}
.preview-references {
list-style: none;
padding: 0;
margin: 0;
}
.preview-references li {
padding: 0.375rem 0;
border-bottom: 1px solid hsl(var(--border) / 0.5);
font-size: 0.85rem;
}
.preview-references li:last-child {
border-bottom: none;
}
.preview-references a {
color: hsl(var(--primary));
text-decoration: none;
}
.preview-references a:hover {
text-decoration: underline;
}
.preview-metadata {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 0.75rem;
}
.preview-metadata .metadata-item {
padding: 0.5rem;
background: hsl(var(--muted) / 0.5);
border-radius: 0.25rem;
font-size: 0.8rem;
}
.preview-metadata .meta-key {
color: hsl(var(--muted-foreground));
font-weight: 500;
}
.preview-metadata .meta-value {
color: hsl(var(--foreground));
margin-left: 0.25rem;
}
/* Responsive: Stack panels on smaller screens */
@media (max-width: 1024px) {
.review-split-panel {
grid-template-columns: 1fr;
height: auto;
max-height: none;
}
.review-findings-panel {
height: 50vh;
max-height: 400px;
}
.review-preview-panel {
height: 50vh;
max-height: 400px;
}
}
@media (max-width: 768px) {
.review-header-bar {
flex-direction: column;
align-items: stretch;
gap: 0.75rem;
}
.review-severity-stats {
justify-content: center;
}
.review-selection-controls {
justify-content: center;
flex-wrap: wrap;
}
.btn-export-fix {
width: 100%;
}
.review-filter-bar {
flex-direction: column;
align-items: stretch;
}
.filter-group {
flex-wrap: wrap;
justify-content: flex-start;
}
}
/* ===================================
Review Session Specific Styles
=================================== */
/* Dimension Timeline Active State */
.dimension-item.active {
border-color: hsl(var(--primary));
background: hsl(var(--primary) / 0.1);
}
.dimension-item {
cursor: pointer;
transition: all 0.2s;
}
.dimension-item:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
}
/* Fix Status Mini Badge */
.fix-status-mini {
padding: 0.125rem 0.375rem;
border-radius: 9999px;
font-size: 0.6rem;
font-weight: 600;
text-transform: uppercase;
}
.fix-status-mini.status-pending {
background: hsl(var(--muted));
color: hsl(var(--muted-foreground));
}
.fix-status-mini.status-in-progress {
background: hsl(var(--primary));
color: white;
}
.fix-status-mini.status-fixed {
background: hsl(var(--success));
color: white;
}
.fix-status-mini.status-failed {
background: hsl(0 70% 50%);
color: white;
}
/* Fix Status Badge (Preview Panel) */
.fix-status-badge {
padding: 0.25rem 0.5rem;
border-radius: 9999px;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
}
.fix-status-badge.status-pending {
background: hsl(var(--muted));
color: hsl(var(--muted-foreground));
}
.fix-status-badge.status-in-progress {
background: hsl(var(--primary));
color: white;
animation: pulse-status 2s infinite;
}
.fix-status-badge.status-fixed {
background: hsl(var(--success));
color: white;
}
.fix-status-badge.status-failed {
background: hsl(0 70% 50%);
color: white;
}
@keyframes pulse-status {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
/* ===================================
Review Session Card (All Sessions)
=================================== */
.review-findings-summary {
margin-top: 0.5rem;
}
.findings-severity-row {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
margin-bottom: 0.375rem;
}
.finding-count {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.125rem 0.5rem;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 600;
}
.finding-count.critical {
background: hsl(0 70% 95%);
color: hsl(0 70% 40%);
}
.finding-count.high {
background: hsl(25 90% 95%);
color: hsl(25 90% 35%);
}
.finding-count.medium {
background: hsl(45 90% 95%);
color: hsl(45 90% 30%);
}
.finding-count.low {
background: hsl(var(--success-light));
color: hsl(var(--success));
}
.dimensions-info {
font-size: 0.7rem;
color: hsl(var(--muted-foreground));
}
/* ===================================
Fix Progress Tracking Card (Carousel)
=================================== */
.fix-progress-section-container {
margin-bottom: 1rem;
}
.fix-progress-card {
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
padding: 1rem;
overflow: hidden;
}
.fix-card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.75rem;
}
.fix-card-title {
font-weight: 600;
font-size: 0.9rem;
color: hsl(var(--foreground));
}
.fix-stage-dots {
display: flex;
gap: 0.375rem;
align-items: center;
}
.fix-stage-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: hsl(var(--muted));
transition: all 0.2s ease;
}
.fix-stage-dot.active {
background: hsl(var(--primary));
animation: pulse-dot 1.5s infinite;
}
.fix-stage-dot.completed {
background: hsl(var(--success));
}
@keyframes pulse-dot {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.6; transform: scale(1.2); }
}
/* Carousel Container */
.fix-carousel-container {
overflow: hidden;
margin-bottom: 0.75rem;
}
.fix-carousel-track {
display: flex;
transition: transform 0.3s ease;
}
.fix-carousel-slide {
min-width: 100%;
padding: 0.5rem;
}
/* Slide Header */
.fix-slide-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.75rem;
}
.fix-phase-badge {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
}
.fix-phase-badge.phase-planning {
background: hsl(270 60% 90%);
color: hsl(270 60% 40%);
}
.fix-phase-badge.phase-execution {
background: hsl(220 80% 90%);
color: hsl(220 80% 40%);
animation: pulse-badge 2s infinite;
}
.fix-phase-badge.phase-completion {
background: hsl(var(--success-light));
color: hsl(var(--success));
}
@keyframes pulse-badge {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.fix-session-id {
font-size: 0.7rem;
color: hsl(var(--muted-foreground));
font-family: var(--font-mono);
}
/* Progress Bar Mini */
.fix-progress-bar-mini {
height: 6px;
background: hsl(var(--muted));
border-radius: 3px;
overflow: hidden;
margin-bottom: 0.5rem;
}
.fix-progress-fill {
height: 100%;
background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--success)));
border-radius: 3px;
transition: width 0.3s ease;
}
.fix-progress-text {
font-size: 0.75rem;
color: hsl(var(--muted-foreground));
text-align: center;
}
/* Stats Row (Slide 2) */
.fix-stats-row {
display: flex;
justify-content: space-around;
padding: 0.5rem 0;
}
.fix-stat {
text-align: center;
}
.fix-stat-value {
display: block;
font-size: 1.25rem;
font-weight: 700;
color: hsl(var(--foreground));
}
.fix-stat-label {
display: block;
font-size: 0.65rem;
color: hsl(var(--muted-foreground));
text-transform: uppercase;
}
.fix-stat.fixed .fix-stat-value {
color: hsl(var(--success));
}
.fix-stat.failed .fix-stat-value {
color: hsl(var(--destructive));
}
.fix-stat.pending .fix-stat-value {
color: hsl(var(--warning));
}
/* Active Agents (Slide 3) */
.fix-agents-header {
font-size: 0.8rem;
font-weight: 600;
color: hsl(var(--foreground));
margin-bottom: 0.5rem;
}
.fix-agent-item {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.375rem 0.5rem;
background: hsl(var(--muted));
border-radius: 0.25rem;
margin-bottom: 0.375rem;
}
.fix-agent-item:last-child {
margin-bottom: 0;
}
.fix-agent-icon {
font-size: 0.875rem;
animation: spin-agent 2s linear infinite;
}
@keyframes spin-agent {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.fix-agent-info {
font-size: 0.75rem;
color: hsl(var(--foreground));
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* Carousel Navigation */
.fix-carousel-nav {
display: flex;
justify-content: center;
align-items: center;
gap: 0.75rem;
}
.fix-nav-btn {
width: 24px;
height: 24px;
border: none;
background: hsl(var(--muted));
color: hsl(var(--muted-foreground));
border-radius: 50%;
cursor: pointer;
font-size: 1rem;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.15s;
}
.fix-nav-btn:hover {
background: hsl(var(--hover));
color: hsl(var(--foreground));
}
.fix-nav-dots {
display: flex;
gap: 0.375rem;
}
.fix-nav-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: hsl(var(--muted));
cursor: pointer;
transition: all 0.2s;
}
.fix-nav-dot:hover {
background: hsl(var(--muted-foreground));
}
.fix-nav-dot.active {
background: hsl(var(--primary));
width: 16px;
border-radius: 3px;
}
/* ===================================
Path Selection Modal
=================================== */
.path-modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
backdrop-filter: blur(2px);
}
.path-modal {
background: hsl(var(--card));
border: 1px solid hsl(var(--border));
border-radius: 0.75rem;
width: 90%;
max-width: 480px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
animation: modal-enter 0.2s ease-out;
}
@keyframes modal-enter {
from {
opacity: 0;
transform: scale(0.95) translateY(-10px);
}
to {
opacity: 1;
transform: scale(1) translateY(0);
}
}
.path-modal-header {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 1.25rem 1.5rem;
border-bottom: 1px solid hsl(var(--border));
}
.path-modal-icon {
font-size: 1.5rem;
color: hsl(var(--primary));
}
.path-modal-header h3 {
margin: 0;
font-size: 1.1rem;
font-weight: 600;
color: hsl(var(--foreground));
}
.path-modal-body {
padding: 1.5rem;
}
.path-modal-body p {
margin: 0 0 1rem;
color: hsl(var(--muted-foreground));
font-size: 0.9rem;
line-height: 1.5;
}
.path-modal-command {
display: flex;
align-items: center;
gap: 0.75rem;
background: hsl(var(--muted));
padding: 0.75rem 1rem;
border-radius: 0.5rem;
font-family: var(--font-mono);
}
.path-modal-command code {
flex: 1;
font-size: 0.85rem;
color: hsl(var(--foreground));
word-break: break-all;
}
.path-modal-command .copy-btn {
display: flex;
align-items: center;
gap: 0.375rem;
padding: 0.375rem 0.75rem;
background: hsl(var(--primary));
color: white;
border: none;
border-radius: 0.375rem;
font-size: 0.8rem;
cursor: pointer;
transition: all 0.15s;
white-space: nowrap;
}
.path-modal-command .copy-btn:hover {
background: hsl(var(--primary) / 0.9);
}
.path-modal-note {
font-size: 0.85rem !important;
color: hsl(var(--muted-foreground)) !important;
}
.path-modal-note code {
background: hsl(var(--muted));
padding: 0.125rem 0.375rem;
border-radius: 0.25rem;
font-size: 0.8rem;
}
.path-modal-input {
width: 100%;
padding: 0.75rem 1rem;
background: hsl(var(--background));
border: 1px solid hsl(var(--border));
border-radius: 0.5rem;
font-size: 0.9rem;
color: hsl(var(--foreground));
outline: none;
transition: border-color 0.15s;
}
.path-modal-input:focus {
border-color: hsl(var(--primary));
}
.path-modal-input::placeholder {
color: hsl(var(--muted-foreground));
}
.path-modal-footer {
display: flex;
justify-content: flex-end;
gap: 0.75rem;
padding: 1rem 1.5rem;
border-top: 1px solid hsl(var(--border));
background: hsl(var(--muted) / 0.3);
border-radius: 0 0 0.75rem 0.75rem;
}
.path-modal-close {
padding: 0.5rem 1.25rem;
background: hsl(var(--muted));
color: hsl(var(--foreground));
border: none;
border-radius: 0.375rem;
font-size: 0.875rem;
cursor: pointer;
transition: all 0.15s;
}
.path-modal-close:hover {
background: hsl(var(--hover));
}
.path-modal-confirm {
padding: 0.5rem 1.25rem;
background: hsl(var(--primary));
color: white;
border: none;
border-radius: 0.375rem;
font-size: 0.875rem;
cursor: pointer;
transition: all 0.15s;
}
.path-modal-confirm:hover {
background: hsl(var(--primary) / 0.9);
}
.path-modal-confirm:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* Path Input Group */
.path-input-group {
display: flex;
align-items: center;
gap: 0.75rem;
flex-wrap: wrap;
}
.path-input-group label {
font-size: 0.875rem;
color: hsl(var(--muted-foreground));
white-space: nowrap;
}
.path-input-group input {
flex: 1;
min-width: 200px;
padding: 0.625rem 0.875rem;
background: hsl(var(--background));
border: 1px solid hsl(var(--border));
border-radius: 0.375rem;
font-size: 0.875rem;
font-family: var(--font-mono);
color: hsl(var(--foreground));
outline: none;
transition: border-color 0.15s, box-shadow 0.15s;
}
.path-input-group input:focus {
border-color: hsl(var(--primary));
box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}
.path-input-group input::placeholder {
color: hsl(var(--muted-foreground));
}
.path-go-btn {
padding: 0.625rem 1.25rem;
background: hsl(var(--primary));
color: white;
border: none;
border-radius: 0.375rem;
font-size: 0.875rem;
font-weight: 500;
cursor: pointer;
transition: all 0.15s;
white-space: nowrap;
}
.path-go-btn:hover {
background: hsl(var(--primary) / 0.9);
transform: translateY(-1px);
}
.path-go-btn:active {
transform: translateY(0);
}
/* Selected Folder Display */
.selected-folder {
padding: 0.75rem 1rem;
background: hsl(var(--muted));
border-radius: 0.5rem;
margin-bottom: 0.75rem;
}
.selected-folder strong {
font-size: 1rem;
color: hsl(var(--foreground));
font-family: var(--font-mono);
}