/* === Reset & Tokens === */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } /* === Utility Classes === */ .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } /* === Design Tokens (Theme-Agnostic Defaults) === */ :root { /* Typography */ --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; --font-mono: "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* Spacing Scale */ --space-xs: 4px; --space-sm: 8px; --space-md: 12px; --space-lg: 16px; --space-xl: 24px; --space-2xl: 32px; /* Border Radius Scale */ --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px; --radius-xl: 16px; --radius-pill: 10px; /* Component-specific tokens */ --btn-padding: var(--space-sm) var(--space-lg); --btn-border-width: 1px; --card-padding: 10px 12px; --modal-padding: var(--space-lg) 20px; --header-padding: var(--space-md) var(--space-xl); --column-gap: var(--space-md); --board-padding: var(--space-lg) var(--space-xl); /* Layout tokens for fixed footer (ExecutorStatusBar) */ --header-height: 57px; --executor-footer-height: 0px; --executor-footer-height-mobile: 0px; /* Shadow tokens */ --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1); --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1); --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.4); --shadow-glow: 0 0 8px rgba(88, 166, 255, 0.3); --glow-success: 0 0 8px rgba(46, 160, 67, 0.3); --glow-warning: 0 0 8px rgba(227, 179, 65, 0.3); --glow-danger: 0 0 8px rgba(248, 81, 73, 0.3); --focus-ring: 0 0 0 2px rgba(88, 166, 255, 0.15); --focus-ring-strong: 0 0 0 2px rgba(88, 166, 255, 0.3); /* Animation tokens */ --transition-instant: 0.1s ease; --transition-fast: 0.15s ease; --transition-normal: 0.2s ease; --transition-slow: 0.3s ease; /* Backward-compatible aliases */ --radius: var(--radius-md); --shadow: var(--shadow-lg); } :root { --bg: #0d1117; --surface: #161b22; --card: #21262d; --card-hover: #282e36; --bg-secondary: #1a1a2e; --bg-tertiary: #252536; --border: #30363d; --text: #e6edf3; --text-muted: #8b949e; --text-dim: #484f58; --triage: #d29922; --todo: #58a6ff; --in-progress: #bc8cff; --in-progress-rgb: 188, 140, 255; --in-review: #3fb950; --done: #8b949e; --color-success: #3fb950; --color-error: #f85149; --color-error-dark: #da3633; --color-muted: #8b949e; /* Logo & branding tokens */ --logo-accent: var(--todo); /* Task-creation CTA tokens */ --cta-bg: #238636; --cta-border: #2ea043; --cta-text: #fff; --cta-bg-hover: #2ea043; --cta-border-hover: #3fb950; --cta-glow: 0 0 8px rgba(46, 160, 67, 0.3); } html, body { height: 100%; font-family: var(--font-primary); background: var(--bg); color: var(--text); overflow: hidden; } #root { height: 100%; display: flex; flex-direction: column; min-height: 0; overflow: hidden; } /* === Header === */ .header { display: flex; align-items: center; justify-content: space-between; padding: var(--header-padding); border-bottom: 1px solid var(--border); background: var(--surface); } .header-left { display: flex; align-items: center; gap: var(--space-sm); } .header-logo { width: 24px; height: 24px; flex-shrink: 0; color: var(--logo-accent); } .header-actions { display: flex; align-items: center; gap: var(--space-sm); position: relative; } .quick-scripts-dropdown { position: relative; } .quick-scripts-dropdown__trigger { gap: var(--space-xs); width: auto; min-width: 28px; padding: 0 7px; } .quick-scripts-dropdown__trigger-chevron { color: currentColor; transition: transform var(--transition-fast); } .quick-scripts-dropdown__trigger-chevron.rotate { transform: rotate(180deg); } .quick-scripts-dropdown__menu { position: absolute; top: calc(100% + 6px); right: 0; width: min(320px, 72vw); min-width: 260px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); z-index: 120; display: flex; flex-direction: column; gap: var(--space-xs); outline: none; } .quick-scripts-dropdown__loading, .quick-scripts-dropdown__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px 16px; text-align: center; color: var(--text-muted); } .quick-scripts-dropdown__empty-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: var(--card); color: var(--text-muted); } .quick-scripts-dropdown__empty p { margin: 0; color: var(--text); font-size: 13px; font-weight: 500; } .quick-scripts-dropdown__empty-action { min-height: 28px; } .quick-scripts-dropdown__list { display: flex; flex-direction: column; gap: 2px; max-height: min(360px, 60vh); overflow-y: auto; } .quick-scripts-dropdown__item, .quick-scripts-dropdown__manage { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; background: none; border: none; border-radius: var(--radius-sm); color: var(--text); text-align: left; cursor: pointer; transition: background var(--transition-fast), color var(--transition-fast); } .quick-scripts-dropdown__item:hover, .quick-scripts-dropdown__item.highlighted, .quick-scripts-dropdown__manage:hover, .quick-scripts-dropdown__manage.highlighted { background: var(--card); } .quick-scripts-dropdown__item-icon, .quick-scripts-dropdown__manage svg { flex-shrink: 0; color: var(--text-muted); } .quick-scripts-dropdown__item-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; } .quick-scripts-dropdown__item-name { color: var(--text); font-size: 13px; font-weight: 500; line-height: 1.3; } .quick-scripts-dropdown__item-command { color: var(--text-muted); font-size: 12px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .quick-scripts-dropdown__footer { padding-top: 4px; border-top: 1px solid var(--border); } .quick-scripts-dropdown__manage { color: var(--text-muted); font-size: 13px; font-weight: 500; } .quick-scripts-dropdown__manage span { flex: 1; } .btn-icon { display: flex; align-items: center; justify-content: center; height: 28px; width: 28px; background: none; border: none; color: var(--text-muted); font-size: 18px; cursor: pointer; padding: 0; border-radius: var(--radius-md); transition: color var(--transition-fast), background var(--transition-fast); } .btn-icon:hover { color: var(--text); background: var(--border); } .btn-icon:focus-visible { box-shadow: var(--focus-ring-strong); outline: none; } .btn-icon--terminal { position: relative; } .btn-icon--terminal:disabled { opacity: 0.4; cursor: not-allowed; } .btn-icon--terminal:disabled:hover { color: var(--text-muted); background: none; } .btn-icon--active { color: var(--text); background: var(--border); border-color: var(--todo); } .btn-badge { position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; background: var(--in-progress); color: var(--bg); font-size: 10px; font-weight: 700; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; } .btn-icon--paused { color: var(--triage); } .btn-icon--paused:hover { color: var(--triage); } .btn-icon--stopped { color: var(--color-error); } .btn-icon--stopped:hover { color: var(--color-error); } /* Header badge for active sessions */ .btn-icon--has-indicator { position: relative; } .header-badge { position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--triage); color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; pointer-events: none; box-sizing: border-box; } .header-badge--pulse { animation: header-badge-pulse 2s ease-in-out infinite; } @keyframes header-badge-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } } .mobile-overflow-item--has-indicator { position: relative; } /* View Toggle */ .view-toggle { display: flex; align-items: center; gap: 2px; height: 28px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2px; box-sizing: border-box; } .view-toggle-btn { display: flex; align-items: center; justify-content: center; width: 28px; height: 24px; background: none; border: none; border-radius: var(--radius-sm); color: var(--text-muted); cursor: pointer; transition: all var(--transition-fast); } .view-toggle-btn:hover { color: var(--text); background: var(--card-hover); } .view-toggle-btn:focus-visible { box-shadow: var(--focus-ring-strong); outline: none; } .view-toggle-btn.active { background: var(--todo); color: var(--bg); } .view-toggle-btn.active:hover { background: var(--todo); color: var(--bg); } /* Header Search */ .header-search { display: flex; align-items: center; gap: var(--space-sm); flex: 1; min-width: 160px; max-width: 280px; height: 28px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 8px; box-sizing: border-box; transition: border-color var(--transition-fast); } .header-search:focus-within { border-color: var(--todo); } .header-search-icon { color: var(--text-muted); flex-shrink: 0; } .header-search-input { flex: 1; background: none; border: none; color: var(--text); font-size: 13px; font-family: inherit; outline: none; min-width: 0; } .header-search-input::placeholder { color: var(--text-dim); } .header-search-clear { display: flex; align-items: center; justify-content: center; background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 2px; border-radius: var(--radius-sm); flex-shrink: 0; transition: color var(--transition-fast), background var(--transition-fast); } .header-search-clear:hover { color: var(--text); background: var(--border); } /* === Compact Overflow Menu (mobile + tablet) === */ /* Styles for the overflow menu used on mobile and tablet viewports. Visibility is controlled by React rendering, not CSS display. */ .compact-overflow-trigger { display: flex; align-items: center; justify-content: center; } .mobile-overflow-menu { position: absolute; top: calc(100% + 4px); right: 12px; min-width: 220px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); z-index: 100; padding: var(--space-xs); display: flex; flex-direction: column; gap: 2px; } .mobile-overflow-item { display: flex; align-items: center; gap: var(--space-md); padding: 10px 12px; background: none; border: none; border-radius: var(--radius-sm); color: var(--text); font-size: 13px; cursor: pointer; text-align: left; transition: background var(--transition-fast); } .mobile-overflow-item:hover { background: var(--card); } .mobile-overflow-item svg { color: var(--text-muted); flex-shrink: 0; } /* Terminal submenu in overflow */ .mobile-overflow-group { display: flex; flex-direction: column; } .mobile-overflow-split-row { display: flex; flex-direction: row; align-items: stretch; } .mobile-overflow-split-primary { flex: 1; min-width: 0; } .mobile-overflow-split-toggle { display: flex; align-items: center; justify-content: center; padding: 10px 10px; background: none; border: none; border-radius: var(--radius-sm); color: var(--text-muted); cursor: pointer; transition: background var(--transition-fast); } .mobile-overflow-split-toggle:hover { background: var(--card); } .mobile-overflow-chevron { color: var(--text-muted); transition: transform var(--transition-fast); } .mobile-overflow-chevron--open { transform: rotate(90deg); } .mobile-overflow-submenu { display: flex; flex-direction: column; gap: 2px; padding-left: var(--space-md); } .mobile-overflow-subitem { padding-left: 28px; } .mobile-overflow-submenu-loading { display: flex; align-items: center; gap: var(--space-sm); padding: 8px 12px 8px 28px; color: var(--text-muted); font-size: 12px; } .mobile-overflow-subitem--manage { color: var(--text-muted); border-top: 1px solid var(--border); margin-top: 2px; padding-top: 8px; } .logo { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; color: var(--logo-accent); } /* === Buttons === */ .btn { padding: var(--btn-padding); border-style: solid; border-width: var(--btn-border-width); border-color: var(--border); border-radius: var(--radius-md); background: var(--card); color: var(--text); font-size: 13px; cursor: pointer; transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast); } .btn:hover { background: var(--card-hover); border-color: var(--text-muted); } .btn:focus-visible { box-shadow: var(--focus-ring-strong); border-color: var(--todo); outline: none; } .btn:active { transform: scale(0.97); } /* Intentional: GitHub-style semantic button colors — not tokenised to preserve brand consistency */ .btn-primary { background: #238636; border-color: #2ea043; color: #fff; } .btn-primary:hover { background: #2ea043; box-shadow: var(--shadow-glow); } /* Theme-driven task-creation CTA — uses tokens so every color theme updates consistently */ .btn-task-create { background: var(--cta-bg); border-color: var(--cta-border); color: var(--cta-text); } .btn-task-create:hover { background: var(--cta-bg-hover); border-color: var(--cta-border-hover); box-shadow: var(--cta-glow); } .btn-danger { background: var(--color-error-dark); border-color: var(--color-error); color: #fff; } .btn-danger:hover { background: var(--color-error); box-shadow: var(--glow-danger); } .btn-warning { background: #d29922; border-color: #e3b341; color: #fff; } .btn-warning:hover { background: #e3b341; box-shadow: var(--glow-warning); } .btn-sm { padding: 4px 10px; font-size: 12px; } /* === Board === */ .board { display: grid; grid-template-columns: repeat(6, minmax(260px, 1fr)); gap: var(--column-gap); padding: var(--board-padding); height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scroll-padding-inline: 50%; scrollbar-color: var(--border) transparent; scrollbar-width: thin; } .board::-webkit-scrollbar { height: 6px; } .board::-webkit-scrollbar-track { background: transparent; } .board::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--radius-sm); } .column { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; min-width: 0; min-height: 0; transition: border-color var(--transition-normal); scroll-snap-align: center; } .column.drag-over { border-color: var(--todo); box-shadow: inset 0 0 0 1px var(--todo); } .column-header { display: flex; align-items: center; gap: var(--space-sm); padding: calc(var(--space-lg) - 2px) calc(var(--space-lg) - 2px) 0; } .column-dot { width: 10px; height: 10px; border-radius: 50%; } .dot-triage { background: var(--triage); } .dot-todo { background: var(--todo); } .dot-in-progress { background: var(--in-progress); } .dot-in-review { background: var(--in-review); } .dot-done { background: var(--done); } .dot-archived { background: var(--text-muted); } .column-header h2 { font-size: 14px; font-weight: 600; flex: 1; } .column-count { font-size: 12px; color: var(--text-muted); background: var(--card); padding: calc(var(--space-xs) / 2) var(--space-sm); border-radius: var(--radius-xl); min-width: 24px; text-align: center; } @keyframes count-flash-bg { from { background: #238636; } to { background: var(--card); } } .column-count.count-flash { animation: count-flash-bg 1400ms ease-out; } .column-desc { font-size: 11px; color: var(--text-dim); padding: var(--space-xs) calc(var(--space-lg) - 2px) calc(var(--space-md) - 2px); } .column-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: var(--space-xs) var(--space-sm) var(--space-sm); display: flex; flex-direction: column; gap: calc(var(--space-sm) - 2px); } .column-body::-webkit-scrollbar { width: 4px; } .column-body::-webkit-scrollbar-track { background: transparent; } .column-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--radius-sm); } /* === Cards === */ .card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--card-padding); cursor: grab; transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), opacity var(--transition-normal); user-select: none; touch-action: pan-x pan-y; } .card:hover { background: var(--card-hover); border-color: var(--text-muted); } .card:focus-visible { box-shadow: var(--focus-ring-strong); border-color: var(--todo); outline: none; } .card:active { cursor: grabbing; } .card.dragging { opacity: 0.4; transform: scale(0.98); } .card.file-drop-target { border: 2px dashed var(--todo); background: rgba(88, 166, 255, 0.08); } /* Agent-active glow: animated border glow when an agent is actively working on a task. Uses the in-progress column color to stay consistent with the theme. */ .card.agent-active { border-color: var(--in-progress); box-shadow: 0 0 8px rgba(var(--in-progress-rgb), 0.4), 0 0 20px rgba(var(--in-progress-rgb), 0.15); animation: agent-glow 2.5s ease-in-out infinite; } @keyframes agent-glow { 0%, 100% { box-shadow: 0 0 8px rgba(var(--in-progress-rgb), 0.4), 0 0 20px rgba(var(--in-progress-rgb), 0.15); } 50% { box-shadow: 0 0 12px rgba(var(--in-progress-rgb), 0.6), 0 0 28px rgba(var(--in-progress-rgb), 0.25); } } .card-header { display: flex; align-items: center; gap: 6px; margin-bottom: var(--space-xs); } .card-id { display: inline-block; font-size: 11px; font-weight: 600; color: var(--text-muted); font-family: var(--font-mono); } .card-title { font-size: 13px; line-height: 1.4; word-break: break-word; } /* z-index + position: relative so .card-dep-badge tooltip renders above .card-title */ .card-meta { display: flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-sm); font-size: 11px; color: var(--text-dim); position: relative; z-index: 1; } .card-status-badge { display: inline-flex; align-items: center; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 2px 8px; border-radius: var(--radius-pill); } .card-status-badge.pulsing { animation: pulse 1.5s ease-in-out infinite; } .card-status-badge.failed { background: rgba(218, 54, 51, 0.15); color: var(--color-error-dark); } .card-status-badge.stuck { background: rgba(210, 153, 34, 0.2); color: var(--triage); animation: stuck-pulse 2s ease-in-out infinite; } .card.stuck { border-left: 3px solid var(--triage); background: rgba(210, 153, 34, 0.06); } @keyframes stuck-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.65; } } /* Size badge: positioned in card header, subtle color coding for effort estimation */ .card-size-badge { display: inline-flex; align-items: center; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 2px 8px; border-radius: var(--radius-pill); } /* Size S: subtle green tint (low effort) */ .card-size-badge.size-s { background: rgba(63, 185, 80, 0.15); color: var(--color-success); } /* Size M: neutral tint (medium effort) */ .card-size-badge.size-m { background: rgba(139, 148, 158, 0.15); color: var(--text-muted); } /* Size L: subtle amber tint (higher effort) */ .card-size-badge.size-l { background: rgba(210, 153, 34, 0.15); color: var(--triage); } .card.failed { border-left: 3px solid var(--color-error-dark); } /* Error display on failed task cards */ .card-error { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0; padding: 6px var(--space-sm); background: rgba(218, 54, 51, 0.1); border: 1px solid rgba(218, 54, 51, 0.3); border-radius: var(--radius); font-size: 11px; color: var(--color-error-dark); line-height: 1.4; } .card-error-icon { flex-shrink: 0; font-size: 12px; } .card-error-text { word-break: break-word; } /* Awaiting manual plan approval: amber left border + subtle pulsing background to signal human review needed. Distinct from agent-active (purple glow), failed (red left border + error block), and paused (dimmed opacity). */ .card.awaiting-approval { border-left: 3px solid var(--triage); background: rgba(210, 153, 34, 0.06); animation: approval-pulse 3s ease-in-out infinite; } @keyframes approval-pulse { 0%, 100% { background: rgba(210, 153, 34, 0.06); } 50% { background: rgba(210, 153, 34, 0.12); } } .card.paused { opacity: 0.55; border-left: 3px solid var(--text-secondary, #888); cursor: default; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .card-dep-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--triage); position: relative; cursor: default; } .card-dep-badge.clickable { cursor: pointer; transition: color var(--transition-fast), text-decoration var(--transition-fast); } .card-dep-badge.clickable:hover { color: var(--todo); text-decoration: underline; } .card-dep-list { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); } .card-scope-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--in-progress); position: relative; cursor: default; } .card-scope-badge[data-tooltip]:hover::after { content: attr(data-tooltip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: var(--bg-card); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: var(--space-xs) var(--space-sm); font-size: 11px; white-space: nowrap; z-index: 10; pointer-events: none; margin-bottom: var(--space-xs); box-shadow: var(--shadow-md); } .card-progress { display: flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-sm); } .card-session-files { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-sm); padding: 0; border: none; background: transparent; color: var(--text-muted); font-size: 12px; cursor: pointer; } .card-session-files:hover { color: var(--text); } .card-session-files:disabled { cursor: default; opacity: 0.7; } .card-progress-bar { flex: 1; height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; } .card-progress-fill { height: 100%; border-radius: 2px; transition: width 0.3s; } .card-progress-label { font-size: 11px; font-weight: 600; color: var(--text-muted); font-family: var(--font-mono); flex-shrink: 0; } /* Steps toggle and list */ .card-steps-toggle { display: flex; align-items: center; gap: var(--space-xs); margin-top: 6px; padding: 0; background: none; border: none; cursor: pointer; font-size: 11px; color: var(--text-muted); transition: color var(--transition-fast); } .card-steps-toggle:hover { color: var(--text); } .card-steps-toggle:focus { outline: 1px solid var(--todo); outline-offset: 1px; border-radius: 2px; } .card-steps-toggle-icon { transition: transform var(--transition-normal); } .card-steps-toggle-icon.expanded { transform: rotate(180deg); } .card-steps-list { display: flex; flex-direction: column; gap: var(--space-xs); margin-top: var(--space-sm); max-height: 200px; overflow-y: auto; } .card-step-item { display: flex; align-items: center; gap: 6px; font-size: 12px; } .card-step-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; } .card-step-dot--pending { background: var(--border, #30363d); } .card-step-dot--in-progress { background: var(--todo, #58a6ff); } .card-step-dot--done { background: var(--color-success, #3fb950); } .card-step-dot--skipped { background: var(--text-dim, #484f58); } .card-step-name { color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .card-step-name.completed { text-decoration: line-through; opacity: 0.6; } /* === ProjectCard Component === */ .project-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-lg); cursor: pointer; transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast); display: flex; flex-direction: column; gap: var(--space-md); min-width: 280px; } .project-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--text-dim); } .project-card:active { transform: translateY(0); } .project-card-loading { opacity: 0.7; pointer-events: none; } .project-card-errored { border-color: var(--color-error); box-shadow: 0 0 0 1px var(--color-error); } .project-card-header { display: flex; align-items: flex-start; gap: var(--space-md); } .project-card-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--surface); border-radius: var(--radius-md); color: var(--todo); flex-shrink: 0; } .project-card-title-section { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .project-card-name { font-size: 15px; font-weight: 600; color: var(--text); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .project-card-path { font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .project-card-status-badge { display: inline-flex; align-items: center; gap: var(--space-xs); padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-sm); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border: 1px solid currentColor; flex-shrink: 0; } .project-card-health { display: flex; gap: var(--space-lg); padding: var(--space-md) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); } .project-card-metric { display: flex; flex-direction: column; gap: 2px; } .project-card-metric-value { font-size: 18px; font-weight: 700; color: var(--text); font-family: var(--font-mono); } .project-card-metric-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; } .project-card-metric-empty { flex: 1; align-items: center; justify-content: center; } .project-card-footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); } .project-card-activity { display: flex; align-items: center; gap: 6px; font-size: 12px; } .project-card-activity-label { color: var(--text-dim); } .project-card-activity-time { color: var(--text-muted); } .project-card-actions { display: flex; align-items: center; gap: var(--space-sm); } .project-card-action { display: inline-flex; align-items: center; gap: var(--space-xs); padding: 6px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-muted); font-size: 12px; font-weight: 500; cursor: pointer; transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast); } .project-card-action:hover:not(:disabled) { background: var(--card-hover); border-color: var(--text-dim); color: var(--text); } .project-card-action:disabled { opacity: 0.5; cursor: not-allowed; } .project-card-action-resume { color: var(--color-success); } .project-card-action-resume:hover:not(:disabled) { background: rgba(63, 185, 80, 0.1); border-color: var(--color-success); } .project-card-action-pause { color: var(--warning, #e3b341); } .project-card-action-pause:hover:not(:disabled) { background: rgba(227, 179, 65, 0.1); border-color: var(--warning, #e3b341); } .project-card-action-open { color: var(--todo); } .project-card-action-open:hover:not(:disabled) { background: rgba(88, 166, 255, 0.1); border-color: var(--todo); } .project-card-action-remove { padding: 6px; color: var(--color-error); } .project-card-action-remove:hover:not(:disabled) { background: rgba(248, 81, 73, 0.1); border-color: var(--color-error); } /* Animation for initializing spinner */ @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .animate-spin { animation: spin 1s linear infinite; } /* === ProjectOverview Component === */ .project-overview { display: flex; flex-direction: column; flex: 1; min-height: 0; gap: var(--space-lg); padding: var(--space-xl); max-width: 1400px; margin: 0 auto; width: 100%; overflow-y: auto; height: 100%; -webkit-overflow-scrolling: touch; } .project-overview--empty { display: flex; align-items: center; justify-content: center; } .project-overview--loading { padding: var(--space-xl); } /* --- Overview Header --- */ .project-overview__header { display: flex; align-items: center; gap: var(--space-xl); flex-wrap: wrap; } .project-overview__title { display: flex; align-items: center; gap: var(--space-sm); font-size: 20px; font-weight: 700; color: var(--text); margin: 0; white-space: nowrap; } .project-overview__stats { display: flex; align-items: center; gap: var(--space-md); flex: 1; flex-wrap: wrap; } .project-stat { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); } .project-stat__icon { display: flex; align-items: center; justify-content: center; color: var(--text-muted); } .project-stat__content { display: flex; flex-direction: column; gap: 1px; } .project-stat__value { font-size: 16px; font-weight: 700; color: var(--text); font-family: var(--font-mono); line-height: 1.2; } .project-stat__label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; line-height: 1; } .project-stat--active .project-stat__icon { color: var(--in-progress); } .project-stat--active .project-stat__value { color: var(--in-progress); } .project-stat--completed .project-stat__icon { color: var(--color-success); } .project-stat--completed .project-stat__value { color: var(--color-success); } .project-stat--error .project-stat__icon { color: var(--color-error); } .project-stat--error { border-color: rgba(248, 81, 73, 0.3); background: rgba(248, 81, 73, 0.08); } .project-stat--error .project-stat__value { color: var(--color-error); } .project-overview__add-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: var(--space-sm); } /* --- Filter Tabs --- */ .project-overview__filters { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; } .project-filter-tabs { display: flex; align-items: center; gap: var(--space-xs); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-xs); } .project-filter-tab { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: transparent; border: 1px solid transparent; border-radius: var(--radius-sm); color: var(--text-muted); font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); } .project-filter-tab:hover { color: var(--text); background: var(--card); } .project-filter-tab.active { color: var(--text); background: var(--card); border-color: var(--border); box-shadow: var(--shadow-sm); } .project-filter-tab.has-errors { color: var(--color-error); } .project-filter-tab.has-errors.active { background: rgba(248, 81, 73, 0.12); border-color: rgba(248, 81, 73, 0.3); } .project-filter-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; font-weight: 600; font-family: var(--font-mono); background: var(--border); border-radius: var(--radius-pill); color: var(--text-muted); line-height: 1; } .project-filter-tab.active .project-filter-count { background: var(--text-dim); color: var(--bg); } .project-filter-tab.has-errors .project-filter-count { background: rgba(248, 81, 73, 0.2); color: var(--color-error); } /* --- Sort Dropdown --- */ .project-sort { display: flex; align-items: center; gap: var(--space-sm); color: var(--text-muted); font-size: 13px; } .project-sort-select { appearance: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-muted); font-size: 13px; padding: 6px 28px 6px 10px; cursor: pointer; font-family: var(--font-primary); transition: border-color var(--transition-fast), color var(--transition-fast); background-image: none; } .project-sort-select:hover { border-color: var(--text-dim); color: var(--text); } .project-sort-select:focus { outline: none; border-color: var(--todo); box-shadow: var(--focus-ring); } /* --- Project Grid --- */ .project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: var(--space-lg); } .project-grid--skeleton { pointer-events: none; } /* --- No Results --- */ .project-overview__no-results { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); padding: var(--space-2xl); color: var(--text-muted); text-align: center; } .project-overview__no-results svg { opacity: 0.4; } .project-overview__no-results p { font-size: 15px; } /* --- Empty State --- */ .project-empty-state { display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); padding: var(--space-2xl); max-width: 480px; text-align: center; } .project-empty-state__icon { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; background: var(--surface); border: 2px dashed var(--border); border-radius: var(--radius-xl); color: var(--text-dim); } .project-empty-state__title { font-size: 20px; font-weight: 700; color: var(--text); margin: 0; } .project-empty-state__description { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 380px; } .project-empty-state__cta { display: inline-flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-sm); padding: 10px 20px; font-size: 14px; font-weight: 600; } /* --- Loading Skeleton --- */ @keyframes skeleton-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } } .project-overview__header-skeleton { display: flex; flex-direction: column; gap: var(--space-xl); margin-bottom: var(--space-lg); } .project-overview__stats-row { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; } .project-overview__stat-skeleton { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); } .project-overview__filters-skeleton { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-lg); } .project-skeleton { background: var(--card); border-radius: var(--radius-md); } .project-skeleton-icon { color: var(--text-dim); opacity: 0.5; } .project-skeleton--icon { width: 36px; height: 36px; border-radius: var(--radius-md); animation: skeleton-pulse 1.5s ease-in-out infinite; } .project-skeleton--value { width: 32px; height: 16px; border-radius: var(--radius-sm); animation: skeleton-pulse 1.5s ease-in-out infinite; } .project-skeleton--label { width: 48px; height: 10px; border-radius: var(--radius-sm); animation: skeleton-pulse 1.5s ease-in-out infinite; } .project-skeleton--tab { width: 80px; height: 32px; border-radius: var(--radius-sm); animation: skeleton-pulse 1.5s ease-in-out infinite; } .project-skeleton--icon-circle { width: 36px; height: 36px; border-radius: 50%; animation: skeleton-pulse 1.5s ease-in-out infinite; } .project-skeleton__text-group { display: flex; flex-direction: column; gap: var(--space-xs); flex: 1; } .project-skeleton--title { width: 120px; height: 14px; border-radius: var(--radius-sm); animation: skeleton-pulse 1.5s ease-in-out infinite; } .project-skeleton--path { width: 180px; height: 10px; border-radius: var(--radius-sm); animation: skeleton-pulse 1.5s ease-in-out infinite; } .project-skeleton--badge { width: 60px; height: 22px; border-radius: var(--radius-sm); animation: skeleton-pulse 1.5s ease-in-out infinite; } .project-skeleton--metric { width: 60px; height: 40px; border-radius: var(--radius-sm); animation: skeleton-pulse 1.5s ease-in-out infinite; } .project-skeleton--activity { width: 120px; height: 12px; border-radius: var(--radius-sm); animation: skeleton-pulse 1.5s ease-in-out infinite; } .project-skeleton--actions { width: 160px; height: 28px; border-radius: var(--radius-sm); animation: skeleton-pulse 1.5s ease-in-out infinite; } /* Skeleton Card Layout */ .project-card--skeleton { pointer-events: none; opacity: 0.7; } .project-card-skeleton__header { display: flex; align-items: flex-start; gap: var(--space-md); } .project-card-skeleton__health { display: flex; gap: var(--space-lg); padding: var(--space-md) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); } .project-card-skeleton__footer { display: flex; align-items: center; justify-content: space-between; } /* Stagger skeleton animation delays for visual polish */ .project-card--skeleton:nth-child(2) .project-skeleton--title { animation-delay: 0.1s; } .project-card--skeleton:nth-child(3) .project-skeleton--title { animation-delay: 0.2s; } .project-card--skeleton:nth-child(4) .project-skeleton--title { animation-delay: 0.3s; } .project-card--skeleton:nth-child(5) .project-skeleton--title { animation-delay: 0.4s; } .project-card--skeleton:nth-child(6) .project-skeleton--title { animation-delay: 0.5s; } /* === ActivityFeed Component === */ .activity-feed { display: flex; flex-direction: column; gap: var(--space-lg); max-height: 600px; overflow-y: auto; padding: var(--space-md); } .activity-feed-group { display: flex; flex-direction: column; gap: var(--space-sm); } .activity-feed-group-header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-sm) 0; border-bottom: 1px solid var(--border); margin-bottom: var(--space-sm); position: sticky; top: 0; background: var(--surface); z-index: 1; } .activity-feed-group-date { font-size: 13px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: 0.5px; } .activity-feed-group-count { font-size: 11px; color: var(--text-muted); background: var(--card); padding: 2px 8px; border-radius: var(--radius-sm); } .activity-feed-list { display: flex; flex-direction: column; gap: var(--space-sm); } .activity-feed-item { display: flex; gap: var(--space-md); padding: var(--space-md); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); transition: background-color var(--transition-fast); } .activity-feed-item:hover { background: var(--card-hover); } .activity-feed-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--surface); border-radius: var(--radius-md); flex-shrink: 0; } .activity-feed-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--space-xs); } .activity-feed-header { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; } .activity-feed-type { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); } .activity-feed-project-badge { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: 11px; color: var(--todo); background: color-mix(in srgb, var(--todo) 10%, transparent); padding: 2px 8px; border-radius: var(--radius-sm); } .activity-feed-details { display: flex; flex-direction: column; gap: 2px; } .activity-feed-task-id { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); } .activity-feed-task-title { font-size: 14px; font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .activity-feed-description { font-size: 13px; color: var(--text-muted); line-height: 1.4; } .activity-feed-meta { display: flex; align-items: center; gap: var(--space-sm); margin-top: 2px; } .activity-feed-time { font-size: 11px; color: var(--text-dim); } /* Activity Feed States */ .activity-feed-loading { display: flex; align-items: center; justify-content: center; min-height: 200px; } .activity-feed-skeleton { display: flex; flex-direction: column; gap: var(--space-md); width: 100%; } .activity-feed-skeleton-item { display: flex; gap: var(--space-md); padding: var(--space-md); } .activity-feed-skeleton-icon { width: 32px; height: 32px; background: var(--border); border-radius: var(--radius-md); flex-shrink: 0; animation: pulse 1.5s ease-in-out infinite; } .activity-feed-skeleton-content { flex: 1; display: flex; flex-direction: column; gap: var(--space-sm); } .activity-feed-skeleton-line { height: 12px; background: var(--border); border-radius: var(--radius-sm); animation: pulse 1.5s ease-in-out infinite; } .activity-feed-skeleton-line.short { width: 60%; } .activity-feed-error { display: flex; align-items: center; justify-content: center; min-height: 200px; padding: var(--space-xl); } .activity-feed-error-message { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); color: var(--color-error); text-align: center; } .activity-feed-empty { display: flex; align-items: center; justify-content: center; min-height: 300px; padding: var(--space-xl); } .activity-feed-empty-state { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); color: var(--text-muted); text-align: center; } .activity-feed-empty-state p { font-size: 15px; font-weight: 500; color: var(--text); margin: 0; } .activity-feed-empty-hint { font-size: 13px; color: var(--text-dim); max-width: 300px; } /* === SetupWizard Component === */ .wizard-progress { display: flex; align-items: center; justify-content: space-between; padding: var(--space-lg) var(--space-xl); border-bottom: 1px solid var(--border); background: var(--bg); } .wizard-progress-step { display: flex; align-items: center; gap: var(--space-sm); opacity: 0.5; transition: opacity var(--transition-fast); } .wizard-progress-step.active { opacity: 1; } .wizard-progress-step.current .wizard-progress-number { background: var(--todo); color: var(--bg); } .wizard-progress-number { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--border); color: var(--text-muted); font-size: 12px; font-weight: 600; transition: background-color var(--transition-fast), color var(--transition-fast); } .wizard-progress-label { font-size: 12px; font-weight: 500; color: var(--text); } .wizard-content { padding: var(--space-xl); min-height: 280px; max-height: 400px; overflow-y: auto; } .wizard-step { display: flex; flex-direction: column; gap: var(--space-lg); animation: fadeIn var(--transition-normal); } .wizard-step h4 { font-size: 18px; font-weight: 600; color: var(--text); margin: 0; } .wizard-description { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin: 0; } .wizard-input-group { position: relative; display: flex; align-items: center; } .wizard-input-icon { position: absolute; left: 12px; color: var(--text-muted); pointer-events: none; } .wizard-input-group input { padding-left: 40px !important; } .wizard-hint { display: flex; align-items: flex-start; gap: var(--space-sm); padding: var(--space-md); background: var(--surface); border-radius: var(--radius-md); font-size: 13px; color: var(--text-muted); } .wizard-hint svg { flex-shrink: 0; margin-top: 2px; } .wizard-hint code { background: var(--card); padding: 2px 6px; border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 12px; } .wizard-options { display: flex; flex-direction: column; gap: var(--space-md); } .wizard-option { display: flex; align-items: flex-start; gap: var(--space-md); padding: var(--space-lg); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); cursor: pointer; transition: background-color var(--transition-fast), border-color var(--transition-fast); } .wizard-option:hover { background: var(--card-hover); border-color: var(--text-dim); } .wizard-option.selected { background: rgba(88, 166, 255, 0.05); border-color: var(--todo); box-shadow: 0 0 0 1px var(--todo); } .wizard-option input[type="radio"] { margin-top: 2px; } .wizard-option-content { display: flex; flex-direction: column; gap: var(--space-xs); flex: 1; } .wizard-option-content strong { font-size: 14px; font-weight: 600; color: var(--text); } .wizard-option-content span { font-size: 13px; color: var(--text-muted); } .wizard-option-recommended { display: inline-flex; align-items: center; width: fit-content; padding: 2px 8px; background: rgba(63, 185, 80, 0.1); color: var(--color-success) !important; border-radius: var(--radius-sm); font-size: 11px !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } .wizard-option-note { font-size: 11px !important; color: var(--text-dim) !important; font-style: italic; } .wizard-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-lg); padding: var(--space-2xl); color: var(--text-muted); } .wizard-error { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md); background: rgba(248, 81, 73, 0.1); border: 1px solid var(--error); border-radius: var(--radius-md); color: var(--error); font-size: 13px; } .wizard-validation-success { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-md); padding: var(--space-2xl); color: var(--color-success); } .wizard-summary { display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-lg); background: var(--surface); border-radius: var(--radius-lg); } .wizard-summary-row { display: flex; align-items: center; gap: var(--space-md); } .wizard-summary-label { width: 120px; font-size: 13px; font-weight: 600; color: var(--text-muted); flex-shrink: 0; } .wizard-summary-value { flex: 1; font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } /* === Modals === */ .modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); z-index: 100; justify-content: center; align-items: flex-start; padding-top: 10vh; } .modal-overlay.open { display: flex; } .modal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 480px; max-height: 80vh; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; } .modal-lg { width: 640px; } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: var(--modal-padding); border-bottom: 1px solid var(--border); background: rgba(0, 0, 0, 0.1); } .modal-header h3 { font-size: 15px; font-weight: 600; letter-spacing: 0.3px; } .modal-close { background: none; border: none; color: var(--text-muted); font-size: 22px; cursor: pointer; padding: 0 4px; line-height: 1; } .modal-close:hover { color: var(--text); } .modal-close:focus-visible { box-shadow: var(--focus-ring-strong); outline: none; border-radius: var(--radius-sm); } .modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding: var(--modal-padding); border-top: 1px solid var(--border); background: rgba(0, 0, 0, 0.05); } .modal-actions-left { display: flex; gap: 10px; margin-right: auto; } .modal-actions-right { display: flex; gap: 10px; } .import-preview-list { margin: 8px 0; padding-left: 20px; font-size: 12px; color: var(--text-muted); } .import-preview-list li { margin: 4px 0; } /* === Forms === */ .form-group { padding: 0 var(--space-xl); margin-top: var(--space-lg); } .form-group:last-of-type { margin-bottom: var(--space-sm); } .form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; } .optional { font-weight: 400; text-transform: none; letter-spacing: 0; } .form-group input:not([type="checkbox"]), .form-group textarea { width: 100%; padding: var(--space-sm) var(--space-md); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); font-size: 14px; font-family: inherit; outline: none; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); } .form-group input:not([type="checkbox"]):focus, .form-group textarea:focus { border-color: var(--todo); box-shadow: var(--focus-ring); } .form-group input[type="checkbox"] { width: 16px; height: 16px; padding: 0; margin: 0; accent-color: var(--todo); cursor: pointer; border-radius: var(--radius-sm); transition: box-shadow var(--transition-fast); } .form-group input[type="checkbox"]:focus-visible { box-shadow: var(--focus-ring-strong); outline: none; } .checkbox-label { display: flex !important; align-items: center; gap: var(--space-sm); text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; color: var(--text) !important; font-size: 13px !important; cursor: pointer; } .form-group textarea { resize: vertical; } /* === Select Styling === */ .form-group select { width: 100%; padding: 8px 32px 8px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 14px; font-family: inherit; outline: none; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b949e' d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); } .form-group select:focus { border-color: var(--todo); box-shadow: var(--focus-ring); } .form-group select:hover:not(:focus) { border-color: var(--text-dim); } .form-group select optgroup { background: var(--surface); color: var(--text-muted); font-weight: 600; } .form-group select option { background: var(--surface); color: var(--text); padding: var(--space-xs) var(--space-sm); } /* === Helper Text & Field Errors === */ .form-group small { display: block; margin-top: 6px; font-size: 12px; color: var(--text-muted); line-height: 1.4; } .form-group .field-error { color: var(--color-error); font-weight: 500; } /* === Settings Layout === */ .settings-layout { display: flex; flex-direction: row; min-height: 300px; overflow: hidden; } .settings-sidebar { width: 170px; min-width: 170px; border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 10px 8px; gap: 2px; background: rgba(0, 0, 0, 0.1); } .settings-nav-item { display: block; width: 100%; padding: var(--space-sm) var(--space-md); font-size: 13px; font-weight: 500; color: var(--text-muted); background: none; border: none; border-left: 3px solid transparent; border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; text-align: left; transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); } .settings-nav-item:hover { background: var(--bg); color: var(--text); border-left-color: var(--border); } .settings-nav-item:focus-visible { box-shadow: var(--focus-ring-strong); outline: none; } .settings-nav-item.active { background: var(--bg); color: var(--todo); font-weight: 600; border-left-color: var(--todo); } .settings-content { flex: 1; overflow-y: auto; padding: 4px 0 12px; } .settings-content > * { animation: settingsFadeIn var(--transition-normal); } @keyframes settingsFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } } .settings-section-heading { font-size: 14px; font-weight: 600; padding: 12px 20px 10px; margin: 0 20px 0 0; color: var(--text); border-bottom: 1px solid var(--border); margin-bottom: var(--space-xs); } /* Scope indicators in sidebar nav items */ .settings-scope-icon { margin-right: 6px; font-size: 12px; line-height: 1; } /* Scope banner above section content */ .settings-scope-banner { display: flex; align-items: center; gap: var(--space-sm); padding: 8px 20px; margin: 0 0 4px 0; font-size: 12px; border-radius: var(--radius); color: var(--text-muted); } .settings-scope-global { background: rgba(59, 130, 246, 0.08); border-left: 3px solid rgba(59, 130, 246, 0.4); } .settings-scope-project { background: rgba(34, 197, 94, 0.08); border-left: 3px solid rgba(34, 197, 94, 0.4); } /* === Auth Provider Cards === */ .auth-provider-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; margin: 0; border-bottom: 1px solid var(--border); transition: background var(--transition-fast); } .auth-provider-row:hover { background: rgba(255, 255, 255, 0.02); } .auth-provider-row:last-of-type { border-bottom: none; } .auth-provider-info { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .auth-status-badge { display: inline-flex; align-items: center; gap: var(--space-xs); padding: 2px 8px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 600; letter-spacing: 0.3px; } .auth-status-badge.authenticated { background: rgba(63, 185, 80, 0.15); color: var(--color-success); } .auth-status-badge.not-authenticated { background: rgba(248, 81, 73, 0.15); color: var(--color-error); } .auth-hint { display: block; padding: 10px 20px 0; font-size: 12px; color: var(--text-muted); } .auth-apikey-section { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; } .auth-apikey-input-row { display: flex; gap: 6px; align-items: center; } .auth-apikey-input { background: var(--bg-input); border: 1px solid var(--border); border-radius: 6px; color: var(--text); padding: 5px 10px; font-size: 13px; width: 200px; font-family: monospace; } .auth-apikey-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2); } .auth-apikey-input:disabled { opacity: 0.6; } .auth-apikey-progress { font-size: 12px; color: var(--text-muted); padding-right: 4px; } .auth-apikey-error { font-size: 12px; color: var(--color-error); padding-right: 4px; } .settings-empty-state { padding: 12px 20px; font-size: 13px; } .settings-muted { color: var(--text-muted); } .settings-loading { text-align: center; } /* === Task Comments === */ .comments-header-row { justify-content: space-between; gap: var(--space-md); } .comments-author-row { display: flex; align-items: center; gap: var(--space-sm); } .comments-actions-row { display: flex; gap: var(--space-sm); } .comments-edit-form { display: grid; gap: var(--space-sm); margin-top: var(--space-sm); } .comments-edit-actions { display: flex; gap: var(--space-sm); justify-content: flex-end; } .comments-outcome-text { white-space: pre-wrap; } .comments-compose-form { display: grid; gap: var(--space-sm); margin-top: var(--space-md); } .comments-type-toggle { display: flex; gap: var(--space-sm); } .comments-guidance-hint { font-size: 0.875rem; color: var(--text-muted); } .comments-footer-row { display: flex; justify-content: space-between; align-items: center; } .comments-char-count { font-size: 0.75rem; } .comments-char-count--over { color: var(--color-error); } /* === PR Section === */ .pr-section-icon { vertical-align: middle; margin-right: var(--space-sm); } .pr-section-icon--sm { vertical-align: middle; margin-right: var(--space-xs); } .pr-hint--muted { opacity: 0.8; font-size: 13px; } .pr-hint--subtle { margin-top: var(--space-sm); opacity: 0.7; font-size: 12px; } .pr-card--status { border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-md); } .pr-header { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-sm); } .pr-status-icon { font-size: 16px; } .pr-status-badge { padding: 2px var(--space-sm); border-radius: var(--radius-lg); font-size: 12px; font-weight: 500; text-transform: capitalize; } .pr-number { font-size: 14px; opacity: 0.8; } .pr-spacer { flex: 1; } .pr-refresh-btn { padding: var(--space-xs) var(--space-sm); } .pr-title { font-weight: 500; margin-bottom: var(--space-sm); } .pr-meta { font-size: 12px; opacity: 0.7; margin-bottom: var(--space-sm); } .pr-meta-arrow { margin: 0 var(--space-sm); } .pr-hint--info { margin-bottom: var(--space-sm); font-size: 12px; } .pr-footer { display: flex; align-items: center; gap: var(--space-md); } .pr-comments { display: flex; align-items: center; gap: var(--space-xs); } .pr-link { display: flex; align-items: center; gap: var(--space-xs); color: var(--todo); text-decoration: none; font-size: 12px; } .pr-link:hover { text-decoration: underline; } /* === Merge Details Card === */ .merge-details-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-md); } /* === Detail Modal === */ .detail-title-row { display: flex; align-items: center; gap: 10px; } .detail-id { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--text-muted); } .detail-column-badge { font-size: 11px; padding: 2px 8px; border-radius: var(--radius-pill); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } .badge-triage { background: rgba(210, 153, 34, 0.15); color: var(--triage); } .badge-todo { background: rgba(88, 166, 255, 0.15); color: var(--todo); } .badge-in-progress { background: rgba(188, 140, 255, 0.15); color: var(--in-progress); } .badge-in-review { background: rgba(63, 185, 80, 0.15); color: var(--in-review); } .badge-done { background: rgba(139, 148, 158, 0.15); color: var(--done); } .detail-body { padding: 20px; overflow-y: auto; flex: 1; } /* When the Agent Log tab is active, switch to flex layout so the log section can stretch to fill the remaining space above the action bar. The detail-body itself should NOT scroll; the agent-log-viewer scrolls instead. */ .detail-body--agent-log { display: flex; flex-direction: column; overflow-y: hidden; } .detail-title { font-size: 18px; font-weight: 600; margin-bottom: var(--space-md); } .detail-meta { font-size: 12px; color: var(--text-muted); margin-bottom: var(--space-lg); } /* Error alert in task detail modal */ .detail-error-alert { display: flex; align-items: flex-start; gap: var(--space-md); margin: var(--space-md) 0 var(--space-lg); padding: 12px 14px; background: rgba(218, 54, 51, 0.1); border: 1px solid rgba(218, 54, 51, 0.3); border-radius: var(--radius); } .detail-error-icon { flex-shrink: 0; font-size: 18px; line-height: 1; } .detail-error-content { flex: 1; min-width: 0; } .detail-error-title { font-size: 13px; font-weight: 600; color: var(--color-error-dark); margin-bottom: var(--space-xs); } .detail-error-message { font-size: 12px; color: var(--text-muted); line-height: 1.5; word-break: break-word; } .detail-section { margin-top: var(--space-lg); } /* Agent Log tab: stretch to fill the remaining modal body height so the log viewer uses all available space above the action bar. */ .detail-section--agent-log { display: flex; flex-direction: column; flex: 1; min-height: 0; margin-top: var(--space-lg); } .detail-section--agent-log .agent-log-viewer { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; font-family: monospace; font-size: 13px; line-height: 1.5; padding: 12px; background: var(--bg-secondary); border-radius: 6px; white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word; } /* Agent Log markdown/plain-text mode toggle */ .agent-log-mode-toggle { padding: 3px 8px; font-size: 11px; font-weight: 500; color: var(--text-muted); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: all 0.15s ease; line-height: 1; } .agent-log-mode-toggle:hover { background: var(--card-hover); color: var(--text); } .agent-log-mode-toggle[aria-pressed="true"] { background: var(--accent); color: var(--text-on-accent, #fff); border-color: var(--accent); } .detail-spec-edit-trigger { margin-bottom: var(--space-md); } .detail-attachments-grid { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-bottom: var(--space-sm); } .detail-attachment-card { position: relative; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: var(--space-xs); background: var(--card); } .detail-attachment-link { display: block; } .detail-attachment-image { display: block; max-width: 150px; max-height: 100px; border-radius: var(--radius-sm); } .detail-attachment-meta { margin-top: var(--space-xs); font-size: 11px; opacity: 0.7; } .detail-attachment-delete { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; padding: 0; border: none; border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: #fff; cursor: pointer; font-size: 12px; line-height: 20px; text-align: center; } .detail-empty-inline { margin-bottom: var(--space-sm); opacity: 0.5; } .detail-hidden-file-input { display: none; } .dep-remove-btn { margin-left: 6px; background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 14px; padding: 0 4px; } .dep-trigger-wrap { position: relative; } .modal-actions-spacer { flex: 1; } .detail-refine-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.7); z-index: 100; } .detail-refine-modal { max-width: 500px; width: 90%; margin: 0; } .detail-refine-title { margin: 0; } .detail-refine-help { margin-bottom: var(--space-md); opacity: 0.8; } .detail-refine-textarea { width: 100%; min-height: 120px; padding: var(--space-md); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-size: 14px; resize: vertical; } .detail-refine-input-group { display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-sm); gap: var(--space-sm); } .detail-refine-char-count { font-size: 12px; opacity: 0.6; } .task-changes-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-sm); padding: var(--space-xl); min-height: 180px; border: 1px dashed var(--border); border-radius: var(--radius-md); background: var(--card); text-align: center; color: var(--text-muted); } .task-changes-state--loading, .task-changes-state--error { flex-direction: row; min-height: auto; padding: var(--space-md); justify-content: flex-start; border-style: solid; } .task-changes-state--error { color: var(--color-error); background: rgba(248, 81, 73, 0.08); border-color: rgba(248, 81, 73, 0.25); } .task-changes-state-hint { font-size: 12px; color: var(--text-dim); max-width: 440px; line-height: 1.5; } .task-changes-tab { display: flex; flex-direction: column; gap: var(--space-md); } .changes-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); } .changes-header h4 { display: inline-flex; align-items: center; gap: var(--space-sm); margin: 0; } .changes-file-list { display: flex; flex-direction: column; gap: var(--space-sm); } .changes-file-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); overflow: hidden; } .changes-file-item.expanded { border-color: var(--text-dim); background: var(--surface); } .changes-file-header { width: 100%; display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); background: transparent; border: none; color: var(--text); text-align: left; cursor: pointer; } .changes-file-header:hover { background: var(--card-hover); } .changes-file-header:focus-visible { outline: none; box-shadow: var(--focus-ring-strong); } .changes-file-header:active { background: var(--border); } .changes-file-toggle { display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); flex-shrink: 0; } .changes-file-status { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; flex-shrink: 0; } /* Semantic status colors for changed-file entries — theme-aware via CSS variables */ .changes-file-status--added { color: var(--status-color-added, #3fb950); } .changes-file-status--modified { color: var(--status-color-modified, #58a6ff); } .changes-file-status--deleted { color: var(--status-color-deleted, #f85149); } .changes-file-status--unknown { color: var(--status-color-unknown, #8b949e); } /* Stat summary in changes header */ .changes-stat-summary { display: inline-flex; align-items: center; gap: 2px; margin-left: var(--space-sm); font-size: 12px; font-family: var(--font-mono); } .changes-stat-summary .diff-add { color: var(--status-color-added, #3fb950); } .changes-stat-summary .diff-del { color: var(--status-color-deleted, #f85149); } .changes-file-path { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: 12px; } .changes-file-stat { flex-shrink: 0; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); } .changes-file-content { border-top: 1px solid var(--border); } .changes-diff-patch { margin: 0; padding: var(--space-sm) var(--space-md); background: rgba(0, 0, 0, 0.14); font-family: var(--font-mono); font-size: 11px; line-height: 1.5; overflow-x: auto; white-space: pre-wrap; word-break: break-word; } /* Summary section - styled for done tasks with success accent */ .detail-summary { background: rgba(63, 185, 80, 0.08); border: 1px solid rgba(63, 185, 80, 0.25); border-radius: var(--radius-md); padding: var(--space-lg); } .detail-summary h4 { color: var(--color-success, #3fb950); margin-bottom: var(--space-md); } .detail-summary .markdown-body { font-size: 14px; line-height: 1.6; } .detail-summary .markdown-body p:first-child { margin-top: 0; } .detail-summary .markdown-body p:last-child { margin-bottom: 0; } /* Spec tab layout - allows SpecEditor to fill available vertical space */ .detail-section--spec { display: flex; flex-direction: column; flex: 1; min-height: 0; margin-top: 0; } /* Back button for changed-files modal - hidden on desktop */ .changed-files-back-button { display: none; } /* Changed-files loading spinner */ .changed-files-loading-spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--text-muted); border-radius: 50%; animation: changed-files-spin 0.6s linear infinite; } @keyframes changed-files-spin { to { transform: rotate(360deg); } } /* Changed-files empty state */ .changed-files-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-sm); padding: var(--space-xl) var(--space-lg); color: var(--text-muted); font-size: 14px; text-align: center; } .changed-files-empty-icon { font-size: 24px; opacity: 0.6; } /* Changed-files error state */ .changed-files-error { display: flex; align-items: center; gap: var(--space-sm); } .changed-files-error-icon { flex-shrink: 0; } /* Renamed file label */ .changed-files-renamed { color: var(--text-muted); font-size: 12px; } /* Mobile responsive for changed-files modal */ @media (max-width: 768px) { .changed-files-modal .changed-files-layout { grid-template-columns: 1fr; grid-template-rows: 1fr; } /* Mobile two-state view: show only list or diff at a time */ .changed-files-sidebar.mobile { display: none; } .changed-files-sidebar.mobile.active { display: flex; flex: 1; flex-direction: column; border-right: none; border-bottom: none; max-height: none; overflow-y: auto; padding: 0; background: var(--surface); } .changed-files-sidebar.mobile.active .file-browser-list { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; } .changed-files-sidebar.mobile.active .gm-diff-loading, .changed-files-sidebar.mobile.active .changed-files-loading { margin: var(--space-lg); } .changed-files-sidebar.mobile.active .gm-diff-error, .changed-files-sidebar.mobile.active .changed-files-error { margin: var(--space-lg); } .changed-files-sidebar.mobile.active .file-browser-empty, .changed-files-sidebar.mobile.active .changed-files-empty { flex: 1; } /* Larger touch targets for file entries on mobile */ .changed-files-sidebar.mobile .changed-files-entry { padding: 10px var(--space-md); min-height: 44px; } /* Clearer active state on mobile */ .changed-files-sidebar.mobile .changed-files-entry.active { background: var(--card-hover); border-left: 3px solid var(--in-progress); } .changed-files-content.mobile { display: none; } .changed-files-content.mobile.active { display: flex; flex: 1; flex-direction: column; padding: var(--space-sm); overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--bg); } .changed-files-modal .file-browser-file-info { flex-wrap: wrap; gap: var(--space-sm); } .changed-files-modal .file-browser-file-info strong { font-size: 12px; word-break: break-all; } /* Diff viewer fills available space on mobile */ .changed-files-content.mobile.active .changed-files-diff-section { flex: 1; display: flex; flex-direction: column; min-height: 0; } .changed-files-content.mobile.active .gm-diff-viewer { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; } .changed-files-content.mobile.active .gm-diff-patch { flex: 1; max-height: none; overflow: auto; -webkit-overflow-scrolling: touch; } /* Back button styles for mobile */ .changed-files-back-button { display: inline-flex; align-items: center; gap: var(--space-sm); padding: 6px 12px; background: transparent; border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); font-size: 13px; cursor: pointer; transition: background var(--transition-fast); margin-right: 8px; } .changed-files-back-button:hover { background: var(--card-hover); } .changed-files-back-button:focus { outline: none; box-shadow: var(--focus-ring); } .detail-section--spec { flex: 1; min-height: 0; } } .detail-section h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: var(--space-sm); } .detail-prompt { padding: 14px; font-size: 13px; line-height: 1.6; font-family: var(--font-mono); white-space: pre-wrap; word-break: break-word; color: var(--text-muted); } /* === Markdown Prose === */ .markdown-body { font-size: 13px; line-height: 1.6; color: var(--text); word-break: break-word; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4 { color: var(--text); font-weight: 600; margin-top: 1.2em; margin-bottom: 0.5em; line-height: 1.3; } .markdown-body h1 { font-size: 1.4em; border-bottom: 1px solid var(--border); padding-bottom: 0.3em; } .markdown-body h2 { font-size: 1.2em; border-bottom: 1px solid var(--border); padding-bottom: 0.3em; } .markdown-body h3 { font-size: 1.05em; } .markdown-body h4 { font-size: 1em; color: var(--text-muted); } .markdown-body h1:first-child, .markdown-body h2:first-child, .markdown-body h3:first-child, .markdown-body h4:first-child { margin-top: 0; } .markdown-body p { margin: 0.6em 0; } .markdown-body ul, .markdown-body ol { padding-left: 1.6em; margin: 0.5em 0; } .markdown-body ul { list-style: disc; } .markdown-body ol { list-style: decimal; } .markdown-body li { margin: 0.25em 0; } .markdown-body li > ul, .markdown-body li > ol { margin: 0.15em 0; } .markdown-body code { background: var(--card); border-radius: var(--radius-sm); padding: 0.15em 0.4em; font-size: 0.9em; font-family: var(--font-mono); } .markdown-body pre { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-md); overflow-x: auto; margin: 0.6em 0; } .markdown-body pre > code { background: none; padding: 0; border-radius: 0; font-size: 0.85em; } .markdown-body a { color: var(--todo); text-decoration: none; } .markdown-body a:hover { text-decoration: underline; } .markdown-body blockquote { border-left: 3px solid var(--border); padding: 0.3em 0.8em; margin: 0.6em 0; color: var(--text-muted); } .markdown-body table { border-collapse: collapse; width: 100%; margin: 0.6em 0; font-size: 0.9em; } .markdown-body th, .markdown-body td { border: 1px solid var(--border); padding: 6px 10px; text-align: left; } .markdown-body th { background: var(--card); font-weight: 600; } .markdown-body input[type="checkbox"] { margin-right: 0.4em; vertical-align: middle; } .markdown-body hr { border: none; border-top: 1px solid var(--border); margin: 1em 0; } .markdown-body strong { color: var(--text); } .markdown-body em { font-style: italic; } .markdown-body img { max-width: 100%; border-radius: var(--radius); } .detail-deps { margin-top: var(--space-lg); } .detail-deps h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 6px; } .detail-dep-list { list-style: none; font-size: 13px; } .detail-dep-item { display: flex; align-items: center; padding: 4px 0; } .detail-dep-link { color: var(--todo); font-family: var(--font-mono); cursor: pointer; transition: text-decoration var(--transition-fast); text-decoration: none; } .detail-dep-link:hover { text-decoration: underline; } .detail-dep-link:focus { outline: 1px solid var(--todo); outline-offset: 2px; border-radius: 2px; } /* === Step Progress === */ .detail-step-progress { margin-top: var(--space-lg); } .detail-step-progress h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: var(--space-sm); } .step-progress-wrapper { display: flex; align-items: center; gap: var(--space-md); } .step-progress-bar { flex: 1; display: flex; gap: 2px; height: 8px; } .step-progress-segment { flex: 1; height: 100%; border-radius: 2px; transition: filter 0.15s ease, transform 0.15s ease; cursor: pointer; position: relative; } .step-progress-segment:hover { filter: brightness(1.2); transform: scaleY(1.1); } .step-progress-segment[data-tooltip]:hover::after { content: attr(data-tooltip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: var(--space-xs) var(--space-sm); font-size: 11px; white-space: nowrap; z-index: 10; pointer-events: none; margin-bottom: var(--space-xs); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); } .step-progress-label { font-size: 11px; font-weight: 600; color: var(--text-muted); font-family: var(--font-mono); flex-shrink: 0; } .step-progress-empty { font-size: 13px; color: var(--text-dim); opacity: 0.7; } /* === Activity Timeline === */ .detail-activity { margin-top: 20px; } .detail-activity-list { display: flex; flex-direction: column; gap: 0; } .detail-log-entry { padding: 8px 0 8px 14px; border-left: 2px solid var(--border); position: relative; } .detail-log-entry::before { content: ""; position: absolute; left: -4px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--text-dim); } .detail-log-entry:first-child::before { background: var(--todo); } .detail-log-header { display: flex; flex-direction: column; gap: 2px; } .detail-log-timestamp { font-size: 11px; color: var(--text-dim); font-family: var(--font-mono); } .detail-log-action { font-size: 13px; color: var(--text-muted); line-height: 1.4; } .detail-log-outcome { margin-top: 6px; padding: var(--space-sm) var(--space-md); background: var(--bg); border-left: 3px solid var(--border); border-radius: 0 var(--radius) var(--radius) 0; font-size: 12px; line-height: 1.5; color: var(--text-muted); white-space: pre-wrap; word-break: break-word; } .detail-log-empty { font-size: 13px; color: var(--text-dim); padding: 12px 0; } /* === Toasts === */ .toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 200; display: flex; flex-direction: column-reverse; gap: var(--space-sm); } .toast { padding: 10px 16px; border-radius: var(--radius); font-size: 13px; color: #fff; animation: toast-in 0.25s ease-out; box-shadow: var(--shadow); } .toast-success { background: #238636; } .toast-error { background: var(--color-error-dark); } .toast-info { background: #1f6feb; } @keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } /* === Worktree Groups === */ .worktree-group { background: var(--surface); border-left: 3px solid var(--in-progress); border-radius: var(--radius); padding: var(--space-sm); margin-bottom: var(--space-sm); display: flex; flex-direction: column; gap: 6px; } .worktree-group-header { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); padding: 2px 4px; } .worktree-icon { font-size: 12px; line-height: 1; } .worktree-label { font-family: var(--font-mono); } /* Queued preview cards */ .card.queued { opacity: 0.55; border-style: dashed; cursor: default; } .card.queued:hover { cursor: default; } .card.queued:active { cursor: default; } .queued-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--todo); } /* === Card Inline Editing === */ /* Card in edit mode - highlighted border matching column theme */ .card.card-editing { border: 1px solid var(--todo); border-left: 3px solid var(--todo); background: var(--card); cursor: default; } .card.card-editing[data-column="triage"] { border-color: var(--triage); border-left-color: var(--triage); } .card.card-editing[data-column="todo"] { border-color: var(--todo); border-left-color: var(--todo); } /* Edit content container */ .card-editing-content { display: flex; flex-direction: column; gap: var(--space-sm); } /* Description textarea in edit mode - follows InlineCreateCard patterns */ .card-edit-desc-textarea { width: 100%; padding: 6px 8px; background: transparent; border: 1px solid transparent; color: var(--text); font-size: 13px; font-family: inherit; outline: none; resize: none; overflow: hidden; line-height: 1.4; min-height: 80px; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); } .card-edit-desc-textarea:focus { border-color: var(--todo); box-shadow: var(--focus-ring); border-radius: var(--radius); } .card-edit-desc-textarea::placeholder { color: var(--text-dim); } .card-edit-desc-textarea:disabled { opacity: 0.6; cursor: not-allowed; } /* Card header actions container - groups size badge and buttons on the right */ .card-header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; } /* Edit button - visible on hover */ .card-edit-btn { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; background: transparent; border: none; border-radius: var(--radius-sm); color: var(--text-muted); cursor: pointer; opacity: 0; transition: opacity 0.15s, background 0.15s, color 0.15s; } .card:hover .card-edit-btn { opacity: 1; } .card-edit-btn:hover { background: var(--border); color: var(--text); } .card-edit-btn:focus { opacity: 1; outline: 1px solid var(--todo); outline-offset: 1px; } /* Archive/Unarchive buttons */ .card-archive-btn, .card-unarchive-btn { display: inline-flex; align-items: center; justify-content: center; padding: 2px 8px; margin-left: 8px; font-size: 11px; font-weight: 500; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-muted); cursor: pointer; opacity: 0; transition: opacity 0.15s, background 0.15s, color 0.15s, border-color 0.15s; } .card:hover .card-archive-btn, .card:hover .card-unarchive-btn { opacity: 1; } .card-archive-btn:hover, .card-unarchive-btn:hover { background: var(--card-hover); color: var(--text); border-color: var(--border-hover); } .card-archive-btn:focus, .card-unarchive-btn:focus { opacity: 1; outline: 1px solid var(--todo); outline-offset: 1px; } /* Loading state during save */ .card-edit-loading { display: flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-xs); font-size: 11px; color: var(--text-muted); } .card-edit-loading-spinner { width: 12px; height: 12px; border: 2px solid var(--border); border-top-color: var(--todo); border-radius: 50%; animation: spin 1s linear infinite; } .card-edit-loading-text { font-size: 11px; color: var(--text-muted); } /* === Modal Edit Mode Styles === */ .modal-header-actions { display: flex; align-items: center; gap: var(--space-sm); } .modal-edit-btn { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; background: transparent; border: none; border-radius: var(--radius-sm); color: var(--text-muted); cursor: pointer; transition: all 0.15s; } .modal-edit-btn:hover { background: var(--border); color: var(--text); } .modal-edit-btn:focus { outline: 1px solid var(--todo); outline-offset: 1px; } .modal-edit-form { display: flex; flex-direction: column; gap: var(--space-md); } .modal-edit-input { width: 100%; padding: var(--space-sm) var(--space-md); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); font-size: 14px; font-weight: 500; font-family: inherit; outline: none; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); } .modal-edit-input:focus { border-color: var(--todo); box-shadow: var(--focus-ring); } .modal-edit-input::placeholder { color: var(--text-dim); font-weight: 400; } .modal-edit-input:disabled { opacity: 0.6; cursor: not-allowed; } .modal-edit-textarea { width: 100%; padding: var(--space-sm) var(--space-md); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); font-size: 14px; font-family: inherit; outline: none; resize: vertical; min-height: 80px; line-height: 1.5; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); } .modal-edit-textarea:focus { border-color: var(--todo); box-shadow: var(--focus-ring); } .modal-edit-textarea::placeholder { color: var(--text-dim); } .modal-edit-textarea:disabled { opacity: 0.6; cursor: not-allowed; } /* Edit-mode hint text now lives in modal-actions footer */ .modal-edit-hint { font-size: 12px; color: var(--text-dim); } .modal-edit-hint kbd { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 2px 6px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); } /* Card saving state */ .card.card-saving { opacity: 0.7; } /* === Inline Create Card === */ .inline-create-card { background: var(--card); border: 1px solid var(--todo); border-left: 3px solid var(--todo); border-radius: var(--radius); padding: 10px 12px; display: flex; flex-direction: column; gap: var(--space-sm); } .inline-create-input { width: 100%; padding: 6px 8px; background: transparent; border: none; color: var(--text); font-size: 13px; font-family: inherit; outline: none; resize: none; overflow: hidden; line-height: 1.4; } .inline-create-input::placeholder { color: var(--text-dim); } /* Inline Create Card Toggle Button */ .inline-create-toggle { display: inline-flex; align-items: center; justify-content: center; padding: var(--space-xs); height: 28px; width: 28px; flex-shrink: 0; background: transparent; border: 1px solid transparent; border-radius: var(--radius-sm); color: var(--text-muted); cursor: pointer; transition: all var(--transition-fast); } .inline-create-toggle:hover { background: var(--card-hover); border-color: var(--border); color: var(--text); } .inline-create-toggle:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; } /* Inline Create Card Main Row */ .inline-create-main-row { display: flex; align-items: flex-start; gap: var(--space-sm); } .inline-create-main-row .inline-create-input { flex: 1; min-width: 0; } /* Collapsed state */ .inline-create-card--collapsed { padding: 8px 10px; } .inline-create-card--collapsed .inline-create-input { min-height: 28px; } /* Expanded state */ .inline-create-card--expanded { padding: 10px 12px; } .inline-create-card--expanded .inline-create-input { min-height: 32px; } .inline-create-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-sm); flex-wrap: wrap; } /* AI-assisted description actions — sits between textarea and expanded controls */ .inline-create-description-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .inline-create-controls { display: flex; align-items: center; gap: var(--space-sm); flex: 1 1 auto; flex-wrap: wrap; min-width: 0; } .inline-create-actions { display: flex; align-items: center; gap: var(--space-sm); margin-left: auto; } .inline-create-hint { font-size: 11px; color: var(--text-dim); margin-left: auto; } .inline-create-previews { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-md); max-height: 120px; overflow-y: auto; padding: 2px; } .inline-create-preview { position: relative; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--card); flex-shrink: 0; } .inline-create-preview img { width: 100%; height: 100%; object-fit: cover; display: block; } .inline-create-preview-remove { position: absolute; top: 2px; right: 2px; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.6); color: #fff; border: none; border-radius: 50%; width: 16px; height: 16px; cursor: pointer; font-size: 10px; line-height: 1; padding: 0; transition: background 0.15s ease; } .inline-create-preview-remove:hover { background: rgba(248, 81, 73, 0.9); } .dep-trigger-wrap { position: relative; } .inline-create-model-wrap { position: relative; } .dep-trigger, .inline-create-model-trigger { font-size: 12px; padding: 3px 8px; } .dep-dropdown { position: absolute; top: 100%; left: 0; margin-top: var(--space-xs); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-width: 240px; max-width: 320px; max-height: 240px; overflow-y: auto; z-index: 200; box-shadow: var(--shadow-lg); } .dep-dropdown-search { position: sticky; top: 0; width: 100%; box-sizing: border-box; padding: 6px 12px; font-size: 12px; font-family: inherit; background: var(--surface); border: none; border-bottom: 1px solid var(--border); color: var(--text); outline: none; z-index: 1; } .dep-dropdown-search::placeholder { color: var(--text-dim); } .dep-dropdown-search:focus { border-bottom-color: var(--accent, #58a6ff); } .dep-dropdown-empty { padding: 10px 12px; font-size: 12px; color: var(--text-dim); } .dep-dropdown-item { display: flex; align-items: center; gap: var(--space-sm); padding: 6px 12px; font-size: 12px; cursor: pointer; transition: background 0.1s; } .dep-dropdown-item:hover { background: var(--card-hover); } .dep-dropdown-item.selected { background: rgba(88, 166, 255, 0.15); } .dep-dropdown-id { font-family: var(--font-mono); font-weight: 600; color: var(--text-muted); flex-shrink: 0; } .dep-dropdown-title { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* === AI Refine Menu === */ .refine-trigger-wrap { position: relative; } .refine-menu { position: absolute; top: 100%; left: 0; margin-top: var(--space-xs); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); min-width: 200px; max-width: 280px; z-index: 100; overflow: hidden; } .refine-button { display: inline-flex; align-items: center; gap: var(--space-xs); } .refine-button--loading { opacity: 0.7; cursor: not-allowed; } .refine-menu-item { padding: 10px 14px; cursor: pointer; transition: background 0.1s ease; border-bottom: 1px solid var(--border); } .refine-menu-item:last-child { border-bottom: none; } .refine-menu-item:hover { background: var(--card-hover); } .refine-menu-item-title { font-weight: 500; font-size: 13px; color: var(--text); margin-bottom: 2px; } .refine-menu-item-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; } /* NewTaskModal description with refine button */ .description-with-refine { position: relative; } /* AI-assisted description actions — sits directly below description in TaskForm */ .task-form-description-actions { display: flex; align-items: center; gap: 6px; margin-top: 4px; margin-bottom: 4px; flex-wrap: wrap; } .description-with-refine .refine-button { position: absolute; top: 8px; right: 8px; } .description-with-refine textarea { padding-right: 70px; /* Make room for the refine button */ } .refine-menu--modal { right: 0; left: auto; top: calc(100% + 4px); } .inline-create-model-dropdown { position: absolute; top: 100%; left: 0; margin-top: var(--space-xs); width: min(320px, calc(100vw - 32px)); max-width: calc(100vw - 32px); padding: var(--space-md); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; z-index: 500; box-shadow: var(--shadow); } .inline-create-model-row { display: flex; flex-direction: column; gap: 6px; } .inline-create-model-label { font-size: 12px; font-weight: 600; color: var(--text-muted); } .inline-create-model-select { width: 100%; min-width: 0; padding: 7px 10px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: 12px; font-family: inherit; outline: none; } .inline-create-model-select:focus { border-color: var(--todo); box-shadow: var(--focus-ring); } .inline-create-model-empty { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); font-size: 12px; color: var(--text-dim); } .inline-create-model-row .model-badge { width: fit-content; } @media (max-width: 640px) { .inline-create-actions { width: 100%; justify-content: space-between; margin-left: 0; } .inline-create-hint { margin-left: 0; } .inline-create-model-dropdown { left: 0; right: auto; width: min(360px, calc(100vw - 48px)); max-width: calc(100vw - 48px); } } /* === Empty state === */ .empty-column { display: flex; align-items: center; justify-content: center; height: 80px; font-size: 12px; color: var(--text-dim); border: 1px dashed var(--border); border-radius: var(--radius); margin: 4px; } /* Auto-merge toggle */ .auto-merge-toggle { display: flex; align-items: center; gap: 6px; cursor: pointer; user-select: none; margin-left: auto; } .auto-merge-toggle input { display: none; } .toggle-slider { position: relative; width: 28px; height: 16px; background: var(--border); border-radius: var(--radius-md); transition: background var(--transition-normal); flex-shrink: 0; } .toggle-slider::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; background: var(--card); border-radius: 50%; transition: transform var(--transition-normal); } .auto-merge-toggle input:checked + .toggle-slider { background: var(--in-review); } .auto-merge-toggle input:checked + .toggle-slider::after { transform: translateX(12px); } .toggle-label { font-size: 11px; color: var(--text-muted); white-space: nowrap; } /* === Detail Tabs === */ .detail-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: var(--space-md); } .detail-tab { padding: var(--space-sm) var(--space-lg); background: none; border: none; border-bottom: 2px solid transparent; color: var(--text-muted); cursor: pointer; font-size: 14px; font-weight: 400; font-family: inherit; transition: color var(--transition-fast), border-color var(--transition-fast); } .detail-tab:hover { color: var(--text); } .detail-tab:focus-visible { box-shadow: var(--focus-ring-strong); outline: none; border-radius: var(--radius-sm) var(--radius-sm) 0 0; } .detail-tab-active { border-bottom-color: var(--in-progress); color: var(--text); font-weight: 600; } /* === Log Subview Toggle === */ .log-subview-toggle { display: inline-flex; gap: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 2px; margin-bottom: var(--space-md); } .log-subview-btn { padding: 4px 12px; background: none; border: none; border-radius: var(--radius-sm); color: var(--text-muted); cursor: pointer; font-size: 12px; font-weight: 500; font-family: inherit; transition: color var(--transition-fast), background var(--transition-fast); } .log-subview-btn:hover { color: var(--text); background: var(--card-hover); } .log-subview-btn-active { color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); } /* === Mobile Responsive Overrides === On narrow viewports (≤768px) the board switches from a 5-column grid to a horizontally-scrollable flex layout so only one scrollbar appears. Each column gets a fixed min-width and snap-scrolling for a polished swipe feel. The modal also goes full-screen with reduced spacing. */ @media (max-width: 768px) { /* Mobile task-entry font sizing: prevent Safari zoom-on-focus by ensuring task entry inputs are at least 16px on mobile viewports */ .quick-entry-input, #new-task-description, .inline-create-input, .card-edit-desc-textarea { font-size: 16px; } /* Prevent ancestor elements from producing a second horizontal scrollbar */ html, body { overflow: hidden; } #root { overflow: hidden; } /* Board: flex layout with single horizontal scroll + snap */ .board { display: flex; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scroll-padding-inline: calc(50% - 140px); padding: var(--space-md); gap: var(--space-md); height: 100%; } .board > .column { width: 280px; flex-shrink: 0; scroll-snap-align: center; } /* Reduce header padding to reclaim horizontal space */ .header { padding: var(--space-md); } /* Hide project selector and back button on mobile (belt-and-suspenders with conditional rendering) */ .header-project-selector, .header-back-button { display: none; } /* Mobile header: collapsible search and overflow menu */ .mobile-search-trigger { display: flex; align-items: center; justify-content: center; } .mobile-search-expanded { position: absolute; right: 140px; left: auto; top: 50%; transform: translateY(-50%); width: 200px; max-width: 200px; min-width: 160px; z-index: 10; background: var(--surface); box-shadow: var(--shadow-md); } /* Modal: full-screen on mobile */ .modal-overlay { padding-top: 0; align-items: stretch; } .modal, .modal-lg { width: 100%; max-width: 100%; max-height: 100vh; max-height: 100dvh; border-radius: 0; border: none; } .detail-body { padding: 14px; } .detail-title { font-size: 16px; } .modal-actions { flex-wrap: wrap; gap: var(--space-sm); padding: 12px 14px; } .modal-actions .btn { min-width: 0; } .modal-header { padding: 12px 14px; } .detail-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .detail-tabs::-webkit-scrollbar { display: none; } .detail-tab { padding: var(--space-sm) var(--space-md); font-size: 13px; flex-shrink: 0; } /* Settings modal: stack sidebar above content for mobile */ .settings-layout { flex-direction: column; min-height: 0; } .settings-sidebar { width: auto; min-width: 0; flex-direction: row; border-right: none; border-bottom: 1px solid var(--border); overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 6px 8px; gap: 2px; } .settings-nav-item { border-left: none; border-bottom: 2px solid transparent; border-radius: var(--radius) var(--radius) 0 0; padding: 6px 12px; white-space: nowrap; text-align: center; } .settings-nav-item:hover { border-left-color: transparent; border-bottom-color: var(--border); } .settings-nav-item.active { border-left-color: transparent; border-bottom-color: var(--todo); } .settings-content { flex: 1; min-height: 0; } .settings-section-heading { padding: 12px 14px 10px; margin-right: 14px; } .form-group { padding: 0 14px; } .auth-provider-row { flex-wrap: wrap; padding: 12px 14px; gap: var(--space-sm); } /* Card edit button: always visible on mobile (no hover) */ .card-edit-btn { opacity: 1; width: 44px; height: 44px; margin-right: -8px; margin-top: -8px; margin-bottom: -8px; border-radius: var(--radius-md); } .card-edit-btn svg { width: 16px; height: 16px; } } /* === Tablet Responsive Tier (769px–1024px) === */ /* On tablet-width screens the header uses a compact layout: view toggle and engine controls stay inline while lower-priority actions move into the overflow menu. */ @media (min-width: 769px) and (max-width: 1024px) { /* Reduce header padding slightly to reclaim horizontal space */ .header { padding: var(--space-md) var(--space-lg); } /* Hide project selector and back button on tablet (controlled by React rendering too) */ .header-project-selector, .header-back-button { display: none; } /* Compact search: narrower than desktop */ .header-search { max-width: 200px; min-width: 120px; } } /* === GitHub Import Modal === Note: Some hardcoded colors below (e.g. #238636, #2ea043, #f0883e, #1f6feb) are intentional GitHub brand colors and should NOT be replaced with design tokens. */ /* Compact Toolbar Layout */ .github-import-toolbar { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-lg); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); } .github-import-toolbar__zone { display: flex; align-items: center; } .github-import-toolbar__zone--remote { flex: 0 0 auto; min-width: 140px; } .github-import-toolbar__zone--filter { flex: 1 1 auto; min-width: 0; } .github-import-toolbar__zone--filter input { width: 100%; min-width: 0; } .github-import-toolbar__zone--action { flex: 0 0 auto; } .github-import-toolbar__loading { display: flex; align-items: center; gap: var(--space-sm); color: var(--text-muted); font-size: 13px; } .github-import-toolbar__no-remote { color: var(--text-muted); font-size: 13px; font-style: italic; } /* Remote pill for single remote */ .github-import-remote-pill { display: flex; flex-direction: column; gap: 2px; } .github-import-remote-pill__name { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); } .github-import-remote-pill__repo { font-size: 13px; font-weight: 500; color: var(--text); } /* Remote select dropdown */ .github-import-remote-select select { min-width: 180px; padding: var(--space-sm) var(--space-md); font-size: 13px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); } .github-import-remote-select select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.2); } /* Load button */ .github-import-load-button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); min-height: 36px; padding: var(--space-sm) var(--space-md); } .github-import-load-button span { font-size: 13px; } /* Two-pane layout */ .github-import-workspace { display: flex; gap: var(--space-lg); min-height: 0; flex: 1; } .github-import-list-pane, .github-import-preview-pane { display: flex; flex-direction: column; min-height: 0; } .github-import-list-pane { flex: 0 0 clamp(280px, 40%, 400px); border-right: 1px solid var(--border); padding-right: var(--space-lg); } .github-import-preview-pane { flex: 1; min-width: 0; } .github-import-pane-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding-bottom: var(--space-sm); margin-bottom: var(--space-sm); border-bottom: 1px solid var(--border); } .github-import-pane-header h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.01em; color: var(--text); } .github-import-pane-content { flex: 1; min-height: 0; overflow-y: auto; } /* Wider modal for two-pane layout */ .github-import-modal { width: min(900px, calc(100vw - 32px)); max-height: min(800px, calc(100vh - 64px)); } .github-import-modal__header { align-items: flex-start; } .github-import-modal__subtitle { margin-top: var(--space-xs); color: var(--text-muted); font-size: 13px; line-height: 1.5; } .github-import-modal__body { display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-lg) var(--space-xl); overflow-y: auto; min-height: 0; } .github-import-modal__actions { align-items: center; } /* Tab styles for GitHub Import Modal */ .github-import-tabs { display: flex; gap: var(--space-xs); padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--border); background: var(--surface); } .github-import-tab { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-sm) var(--space-md); border: 1px solid transparent; border-radius: var(--radius-md); background: transparent; color: var(--text-muted); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.15s ease; } .github-import-tab:hover:not(:disabled) { background: var(--surface-hover); color: var(--text); } .github-import-tab.active { background: var(--card); border-color: var(--border); color: var(--text); } .github-import-tab:disabled { opacity: 0.5; cursor: not-allowed; } .github-import-filter-hint { color: var(--text-muted); font-size: 13px; font-style: italic; } .pull-branch-info { display: block; margin-top: 2px; color: var(--text-muted); font-size: 12px; font-family: var(--font-mono, monospace); } .preview-branch { margin-bottom: var(--space-sm); padding: var(--space-sm); background: var(--surface); border-radius: var(--radius-sm); font-size: 12px; font-family: var(--font-mono, monospace); } .preview-branch strong { color: var(--text-muted); font-weight: 500; } /* Legacy section styles - kept for compatibility */ .github-import-section { display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-lg); background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 60%), var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); } .github-import-section__header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-md); } .github-import-section__header h4 { font-size: 14px; font-weight: 600; letter-spacing: 0.01em; } .github-import-section__helper { margin-top: var(--space-xs); color: var(--text-muted); font-size: 13px; line-height: 1.5; } .github-import-repository-pill { min-width: 180px; padding: var(--space-sm) var(--space-md); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); text-align: right; } .github-import-repository-pill__label { display: block; color: var(--text-muted); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; } .github-import-repository-pill__value { display: block; margin-top: 2px; color: var(--text); font-size: 13px; font-weight: 500; word-break: break-word; } .github-import-controls-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, 220px); gap: var(--space-md); } .github-import-form-group { margin-top: 0; padding: 0; } .github-import-form-group:last-of-type { margin-bottom: 0; } .github-import-form-group--remote { grid-column: 1 / -1; } .github-import-form-group--action { display: flex; flex-direction: column; } .github-import-remote-card { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-md); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); } .github-import-remote-card__eyebrow { color: var(--text-muted); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; } .github-import-remote-card__title { margin-top: 2px; font-size: 14px; font-weight: 600; } .github-import-remote-card__title span { color: var(--text-muted); font-weight: 500; } .github-import-badge { display: inline-flex; align-items: center; justify-content: center; padding: 4px 10px; border: 1px solid var(--color-success); border-radius: var(--radius-lg); color: var(--color-success); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; } .github-import-command { display: block; padding: var(--space-sm) var(--space-md); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); font-family: var(--font-mono); font-size: 12px; line-height: 1.5; overflow-x: auto; } .form-error { margin: var(--space-md) 0; padding: var(--space-sm) var(--space-md); background: rgba(248, 81, 73, 0.1); border: 1px solid var(--color-error); border-radius: var(--radius-md); color: var(--color-error); font-size: 13px; line-height: 1.45; } .github-import-banner { margin: 0; } .github-import-section--results, .github-import-section--preview { min-height: 100%; } .github-import-results-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-sm); color: var(--text-muted); font-size: 12px; } .github-import-results-meta span { padding: var(--space-xs) var(--space-sm); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); } .github-import-state { display: flex; align-items: flex-start; gap: var(--space-md); padding: var(--space-md); border: 1px dashed var(--border); border-radius: var(--radius-md); background: var(--surface); } .github-import-state strong { display: block; font-size: 13px; font-weight: 600; } .github-import-state span { display: block; margin-top: 2px; color: var(--text-muted); font-size: 13px; line-height: 1.5; } .github-import-state--loading { border-style: solid; } .github-import-state--warning { border-style: solid; } .github-import-state--error { border-style: solid; border-color: var(--color-error); } .github-import-state--error strong { color: var(--color-error); } .github-import-state--empty, .github-import-state--idle { border-color: var(--border); } .issues-list { display: flex; flex-direction: column; max-height: none; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); } .issue-item { display: flex; align-items: flex-start; gap: var(--space-md); padding: var(--space-md); border-bottom: 1px solid var(--border); cursor: pointer; transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast); } .issue-item:last-child { border-bottom: none; } .issue-item input[type="radio"] { margin-top: 2px; flex-shrink: 0; } .issue-item:hover:not(.imported) { background: var(--card-hover); } .issue-item.selected { background: rgba(var(--in-progress-rgb), 0.12); box-shadow: inset 0 0 0 1px rgba(var(--in-progress-rgb), 0.35); } .issue-item.imported { opacity: 0.65; cursor: not-allowed; } .issue-main { flex: 1; min-width: 0; } .issue-heading-row { display: flex; align-items: baseline; gap: var(--space-sm); min-width: 0; } .issue-number { color: var(--text-muted); font-size: 12px; font-weight: 600; flex-shrink: 0; } .issue-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 500; } .issue-labels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-sm); } .label-chip { padding: 3px 8px; font-size: 11px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--text-muted); } .imported-badge { display: inline-flex; align-items: center; justify-content: center; align-self: center; padding: 4px 10px; font-size: 11px; font-weight: 600; border: 1px solid var(--color-success); border-radius: var(--radius-lg); color: var(--color-success); text-transform: uppercase; letter-spacing: 0.08em; } .issue-preview { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-lg); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); } .preview-meta { color: var(--text-muted); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; } .preview-title { font-size: 16px; font-weight: 600; line-height: 1.35; } .preview-body { font-size: 13px; color: var(--text-muted); line-height: 1.6; white-space: pre-wrap; word-break: break-word; } /* Back button - hidden on desktop by default */ .github-import-back-button { display: none; } /* Responsive breakpoints */ @media (max-width: 860px) { .github-import-modal { width: calc(100vw - (var(--space-lg) * 2)); } .github-import-workspace { flex-direction: column; } .github-import-list-pane { flex: none; border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: var(--space-md); max-height: 50%; } .github-import-preview-pane { flex: none; max-height: 50%; } } @media (max-width: 640px) { .github-import-modal { width: calc(100vw - 16px); max-height: 90vh; } .github-import-modal__body { padding: var(--space-md); gap: var(--space-md); } .github-import-toolbar { flex-wrap: wrap; gap: var(--space-sm); padding: var(--space-sm); } .github-import-toolbar__zone--remote { flex: 1 1 100%; order: 1; } .github-import-toolbar__zone--filter { flex: 1 1 auto; order: 2; min-width: 140px; } .github-import-toolbar__zone--action { flex: 0 0 auto; order: 3; } .github-import-remote-select select { width: 100%; min-width: 0; } .github-import-section { padding: var(--space-md); } .github-import-section__header { flex-direction: column; } .github-import-repository-pill { width: 100%; min-width: 0; text-align: left; } .github-import-controls-grid { grid-template-columns: 1fr; } .github-import-results-meta { justify-content: flex-start; } .issue-item { flex-wrap: wrap; min-height: 44px; } .imported-badge { align-self: flex-start; margin-left: 28px; } .issues-list { max-height: 50vh; } /* Mobile pane visibility - show one at a time */ .github-import-list-pane.mobile { display: none; } .github-import-list-pane.mobile.active { display: flex; flex: 1; border-right: none; padding-right: 0; max-height: none; } .github-import-preview-pane.mobile { display: none; } .github-import-preview-pane.mobile.active { display: flex; flex: 1; max-height: none; } /* Back button styles */ .github-import-back-button { display: inline-flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); background: transparent; border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); font-size: 13px; cursor: pointer; transition: background var(--transition-fast); } .github-import-back-button:hover { background: var(--card-hover); } .github-import-back-button:focus { outline: none; box-shadow: var(--focus-ring); } .github-import-pane-header:has(.github-import-back-button) { justify-content: flex-start; gap: var(--space-md); } } @keyframes spin { to { transform: rotate(360deg); } } .spin { animation: spin 1s linear infinite; } /* === List View === */ .list-view { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--bg); } .list-toolbar { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-xl); border-bottom: 1px solid var(--border); background: var(--surface); } .list-filter { display: flex; align-items: center; gap: var(--space-sm); flex: 1; max-width: 320px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 12px; transition: border-color var(--transition-fast); } .list-filter:focus-within { border-color: var(--todo); } .filter-icon { color: var(--text-muted); flex-shrink: 0; } .filter-input { flex: 1; background: none; border: none; color: var(--text); font-size: 13px; font-family: inherit; outline: none; } .filter-input::placeholder { color: var(--text-dim); } .filter-clear { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 16px; line-height: 1; padding: 0 2px; transition: color var(--transition-fast); } .filter-clear:hover { color: var(--text); } .filter-clear:focus-visible { box-shadow: var(--focus-ring-strong); outline: none; border-radius: var(--radius-sm); } .list-stats { font-size: 12px; color: var(--text-muted); margin-left: auto; } /* Section expand/collapse controls */ .list-section-controls { display: flex; align-items: center; gap: 6px; } .list-section-controls .btn { white-space: nowrap; } .list-stats-hidden { color: var(--text-dim); font-style: italic; } /* Selection stats */ .list-selection-stats { display: flex; align-items: center; gap: var(--space-sm); font-size: 13px; color: var(--text); background: var(--todo-bg, rgba(59, 130, 246, 0.1)); border: 1px solid var(--todo-border, rgba(59, 130, 246, 0.3)); border-radius: var(--radius); padding: var(--space-xs) var(--space-md); } .selection-count { font-weight: 500; color: var(--todo); } /* Bulk edit toolbar */ .bulk-edit-toolbar { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-sm) var(--space-md); background: var(--surface-hover, rgba(0, 0, 0, 0.03)); border: 1px solid var(--border); border-radius: var(--radius); margin-left: auto; } .bulk-edit-label { font-size: 12px; font-weight: 500; color: var(--text-muted); white-space: nowrap; } .bulk-edit-dropdown { min-width: 180px; } .bulk-edit-dropdown .model-combobox-trigger { font-size: 12px; padding: 6px 10px; } .bulk-edit-apply-btn { white-space: nowrap; } .bulk-edit-apply-btn:disabled { opacity: 0.6; cursor: not-allowed; } /* Checkbox column in table */ .list-header-checkbox, .list-cell-checkbox { width: 40px; text-align: center; padding: 8px 4px; } .list-header-checkbox input[type="checkbox"], .list-cell-checkbox input[type="checkbox"] { cursor: pointer; } .list-cell-checkbox input[type="checkbox"]:disabled { cursor: not-allowed; opacity: 0.5; } /* Column toggle dropdown */ .list-column-toggle { position: relative; } .list-column-toggle .btn { display: flex; align-items: center; gap: 6px; } .list-create-area { width: 100%; padding: var(--space-md) var(--space-xl); background: var(--surface); border-bottom: 1px solid var(--border); } .list-create-area .quick-entry-box { max-width: 800px; margin: 0 auto; } /* New class for QuickEntryBox positioned above the table in list view */ .list-quick-entry-above-table { width: 100%; padding: var(--space-md) var(--space-xl); background: var(--surface); border-bottom: 1px solid var(--border); } .list-quick-entry-above-table .quick-entry-box { max-width: 800px; margin: 0 auto; } .list-column-dropdown { position: absolute; top: 100%; left: 0; margin-top: var(--space-xs); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-width: 160px; padding: 6px 0; z-index: 100; box-shadow: var(--shadow); animation: dropdown-in 0.15s ease-out; } @keyframes dropdown-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } } .list-column-dropdown-item { display: flex; align-items: center; gap: 10px; padding: var(--space-sm) var(--space-md); font-size: 13px; color: var(--text); cursor: pointer; transition: background var(--transition-fast); } .list-column-dropdown-item:hover { background: var(--card-hover); } .list-column-dropdown-item.disabled { opacity: 0.5; cursor: not-allowed; } .list-column-dropdown-item.disabled:hover { background: none; } .list-column-dropdown-item input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--todo); cursor: pointer; } .list-column-dropdown-item.disabled input[type="checkbox"] { cursor: not-allowed; } /* Hide done tasks toggle */ .list-hide-done-toggle { display: flex; align-items: center; gap: 6px; } /* Drop zones for drag and drop */ .list-drop-zones { display: flex; gap: var(--space-sm); padding: var(--space-md) var(--space-xl); border-bottom: 1px solid var(--border); background: var(--surface); overflow-x: auto; } .list-drop-zone { display: flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: all var(--transition-fast); flex-shrink: 0; } .list-drop-zone:hover { background: var(--card-hover); border-color: var(--text-muted); } .list-drop-zone.active { border-color: var(--todo); background: rgba(88, 166, 255, 0.15); box-shadow: 0 0 0 1px var(--todo); } .list-drop-zone.drag-over { border-color: var(--todo); box-shadow: 0 0 0 1px var(--todo); background: rgba(88, 166, 255, 0.1); } .drop-zone-dot { width: 8px; height: 8px; border-radius: 50%; } .drop-zone-label { font-size: 12px; font-weight: 500; color: var(--text); white-space: nowrap; } .drop-zone-count { font-size: 11px; color: var(--text-muted); background: var(--bg); padding: 2px 6px; border-radius: var(--radius-pill); min-width: 20px; text-align: center; } /* Table container */ .list-table-container { flex: 1; overflow: auto; padding: 0; } .list-table { width: 100%; border-collapse: collapse; font-size: 13px; } .list-table thead { position: sticky; top: 0; z-index: 10; } .list-header-cell { text-align: left; padding: var(--space-md) var(--space-lg); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); background: var(--surface); border-bottom: 1px solid var(--border); cursor: pointer; user-select: none; transition: color var(--transition-fast); white-space: nowrap; } /* Reduce padding on ID column header to match data cells */ .list-table th:first-child.list-header-cell { padding-right: 8px; } .list-header-cell:hover { color: var(--text); } .sort-icon { vertical-align: middle; margin-left: 4px; opacity: 0.5; transition: opacity var(--transition-fast); } .sort-icon.active { opacity: 1; color: var(--todo); } /* Table rows */ .list-row { cursor: pointer; transition: background var(--transition-fast), opacity var(--transition-fast); } .list-row:hover { background: var(--card-hover); } .list-row.dragging { opacity: 0.4; } .list-row.failed { border-left: 3px solid var(--color-error-dark); } .list-row.paused { opacity: 0.55; } .list-row.stuck { border-left: 3px solid var(--triage); background: rgba(210, 153, 34, 0.06); } .list-row.agent-active { border-left: 3px solid var(--in-progress); animation: list-agent-glow 2.5s ease-in-out infinite; } @keyframes list-agent-glow { 0%, 100% { background: rgba(var(--in-progress-rgb), 0.05); } 50% { background: rgba(var(--in-progress-rgb), 0.12); } } /* Table cells */ .list-cell { padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--border); vertical-align: middle; } .list-cell-id { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--text-muted); white-space: nowrap; padding: 12px 8px 12px 16px; /* Reduced right padding to tighten space with title */ } .list-cell-title { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .list-cell-date { font-size: 12px; color: var(--text-muted); white-space: nowrap; } .list-cell-deps { text-align: center; } /* Badges */ .list-status-badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--card); color: var(--text-muted); } .list-status-badge.failed { background: rgba(218, 54, 51, 0.15); color: var(--color-error-dark); } .list-status-badge.stuck { background: rgba(210, 153, 34, 0.2); color: var(--triage); animation: stuck-pulse 2s ease-in-out infinite; } .list-status-badge.pulsing { animation: pulse 1.5s ease-in-out infinite; } .list-column-badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 10px; border-radius: var(--radius-pill); } .list-dep-badge { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: 11px; color: var(--triage); } /* Progress bar */ .list-cell-progress { min-width: 100px; } .list-progress { display: flex; align-items: center; gap: var(--space-sm); } .list-progress-bar { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; } .list-progress-fill { height: 100%; border-radius: 2px; transition: width 0.3s; } .list-progress-label { font-size: 11px; font-weight: 600; color: var(--text-muted); font-family: var(--font-mono); flex-shrink: 0; min-width: 30px; text-align: right; } /* Empty state */ .list-empty { display: flex; align-items: center; justify-content: center; height: 200px; font-size: 14px; color: var(--text-muted); } /* Section headers for grouped list view */ .list-section-header { background: var(--surface); border-bottom: 1px solid var(--border); cursor: pointer; user-select: none; transition: background var(--transition-fast); } .list-section-header:hover { background: var(--card-hover); } .list-section-header--collapsed { background: var(--card); border-bottom-color: var(--border); transition: background var(--transition-fast); } .list-section-header--collapsed:hover { background: var(--card-hover); } .list-section-chevron { display: inline-flex; align-items: center; justify-content: center; margin-right: 8px; color: var(--text-muted); transition: transform var(--transition-fast), color var(--transition-fast); transform: rotate(0deg); vertical-align: middle; } .list-section-chevron--expanded { transform: rotate(90deg); color: var(--text); } .list-section-cell { padding: 10px 16px; text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text); background: var(--surface); border-bottom: 1px solid var(--border); } .list-section-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; } .list-section-title { display: inline-block; vertical-align: middle; margin-right: 8px; } .list-section-count { display: inline-block; font-size: 11px; color: var(--text-muted); background: var(--card); padding: 2px 8px; border-radius: var(--radius-pill); min-width: 24px; text-align: center; vertical-align: middle; } /* Section expand/collapse animation - only for expanded sections */ @keyframes section-expand { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } } .list-section-header ~ tr { animation: section-expand 0.2s ease-out; } /* Empty section row */ .list-section-empty { background: var(--bg); } .list-section-empty:hover { background: var(--bg); /* Prevent hover effect on empty section rows */ } .list-empty-cell { padding: 24px 16px; text-align: center; font-size: 13px; color: var(--text-dim); font-style: italic; border-bottom: 1px solid var(--border); } /* === List View Mobile Responsive === */ @media (max-width: 768px) { .list-toolbar { padding: var(--space-md); flex-wrap: wrap; } .list-create-area { padding: var(--space-sm) var(--space-md); } .list-filter { max-width: none; width: 100%; order: 2; margin-top: var(--space-sm); } .list-stats { order: 1; } .list-column-toggle { order: 3; margin-left: auto; } .list-drop-zones { padding: var(--space-sm) var(--space-md); gap: 6px; } .drop-zone-label { display: none; } .list-table-container { overflow-x: auto; } .list-table { min-width: auto; } .list-cell-title { max-width: 150px; } .list-cell-date { display: none; } .list-header-cell:nth-child(5), .list-header-cell:nth-child(6) { display: none; } } /* === Terminal Modal === */ .terminal-modal { width: 90vw; max-width: 1200px; min-height: 90vh; max-height: 90vh; background: var(--card); display: flex; flex-direction: column; } .terminal-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); background: var(--surface); padding: 0; gap: 0; } .terminal-tabs { display: flex; flex: 1; min-width: 0; overflow-x: auto; gap: 0; padding: 0 4px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; } .terminal-tabs::-webkit-scrollbar { height: 4px; } .terminal-tabs::-webkit-scrollbar-track { background: transparent; } .terminal-tabs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; } .terminal-tab { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md) var(--space-lg); background: none; border: none; border-bottom: 3px solid transparent; color: var(--text-muted); font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: color var(--transition-fast), border-color var(--transition-fast); position: relative; min-height: 44px; } .terminal-tab:hover { color: var(--text); background: var(--card-hover); } .terminal-tab--active { color: var(--text); border-bottom-color: var(--in-progress); } .terminal-tab--active:hover { border-bottom-color: var(--in-progress); } .terminal-tab-indicator { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--in-progress); border-radius: var(--radius-sm) var(--radius-sm) 0 0; } .terminal-tab-label { font-family: var(--font-mono); font-size: 12px; } .terminal-tab-close { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; padding: 0; margin-left: 4px; background: transparent; border: none; border-radius: var(--radius-sm); color: var(--text-muted); font-size: 14px; cursor: pointer; opacity: 0; transition: opacity var(--transition-fast), background var(--transition-fast), color var(--transition-fast); } .terminal-tab:hover .terminal-tab-close, .terminal-tab--active .terminal-tab-close { opacity: 1; } .terminal-tab-close:hover { background: var(--card-hover); color: var(--text); } .terminal-tab--new { color: var(--text-muted); background: none; border: 1px dashed var(--border); border-radius: var(--radius-sm); min-width: 32px; justify-content: center; padding: var(--space-xs) var(--space-sm); } .terminal-tab--new:hover { color: var(--text); background: var(--card-hover); border-color: var(--text-muted); } .terminal-tab--empty { color: var(--text-muted); cursor: default; font-style: italic; } .terminal-tab--empty:hover { background: none; color: var(--text-muted); } .terminal-close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: none; border-left: 1px solid var(--border); color: var(--text-muted); cursor: pointer; transition: color var(--transition-fast), background var(--transition-fast); } .terminal-close:hover { color: var(--text); background: var(--card-hover); } .terminal-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; background: var(--bg); } .terminal-empty-state { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-md); color: var(--text-muted); text-align: center; padding: 40px; } .terminal-empty-state p { margin: 0; line-height: 1.5; } .terminal-empty-state p:first-child { font-size: 16px; font-weight: 500; color: var(--text); } .terminal-empty-state p:last-child { font-size: 13px; } .terminal-toolbar { display: flex; align-items: center; justify-content: space-between; padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--border); background: var(--surface); } .terminal-task-info { display: flex; align-items: center; gap: var(--space-md); min-width: 0; } .terminal-task-id { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--text-muted); flex-shrink: 0; } .terminal-task-title { font-size: 13px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; } .terminal-clear-btn { display: flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-muted); font-size: 12px; cursor: pointer; transition: all var(--transition-fast); flex-shrink: 0; } .terminal-clear-btn:hover { color: var(--text); border-color: var(--text-muted); background: var(--card-hover); } .terminal-log-container { flex: 1; overflow: hidden; display: flex; flex-direction: column; } .terminal-log-container .agent-log-viewer { flex: 1; max-height: none; background: var(--card); border-radius: 0; } /* === Interactive Terminal Styles === */ .terminal-title { display: flex; align-items: center; gap: var(--space-sm); padding: 0 16px; font-size: 14px; font-weight: 500; color: var(--text); flex: 1; } .terminal-actions { display: flex; align-items: center; gap: 0; } .terminal-output { flex: 1; overflow-y: auto; padding: var(--space-lg); background: var(--bg); font-family: var(--font-mono); font-size: 13px; line-height: 1.6; } .terminal-welcome { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-lg); padding: 40px 20px; text-align: center; color: var(--text-muted); height: 100%; } .terminal-welcome-icon { color: var(--in-progress); opacity: 0.8; } .terminal-welcome h3 { margin: 0; font-size: 18px; font-weight: 600; color: var(--text); } .terminal-welcome p { margin: 0; max-width: 400px; line-height: 1.5; } .terminal-commands-list { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; margin: 8px 0; } .terminal-commands-list span { display: inline-block; padding: 4px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); font-size: 12px; font-family: var(--font-mono); color: var(--text-muted); } .terminal-shortcuts { font-size: 12px; color: var(--text-muted); } .terminal-shortcuts kbd { display: inline-block; padding: 2px 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 11px; color: var(--text); } .terminal-history { display: flex; flex-direction: column; gap: var(--space-lg); } .terminal-entry { display: flex; flex-direction: column; gap: var(--space-sm); } .terminal-prompt-line { display: flex; align-items: center; gap: var(--space-sm); } .terminal-prompt { color: var(--success); font-weight: 600; flex-shrink: 0; } .terminal-command { color: var(--text); font-weight: 500; } .terminal-output-text { margin: 0; padding: var(--space-md) var(--space-lg); background: var(--card); border-radius: var(--radius); color: var(--text); white-space: pre-wrap; word-break: break-word; overflow-x: auto; } .terminal-output-error { background: rgba(239, 68, 68, 0.1); border-left: 3px solid var(--failed); } .terminal-running-indicator { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-lg); color: var(--text-muted); font-size: 12px; } .terminal-spinner { width: 12px; height: 12px; border: 2px solid var(--border); border-top-color: var(--in-progress); border-radius: 50%; animation: terminal-spin 1s linear infinite; } @keyframes terminal-spin { to { transform: rotate(360deg); } } .terminal-input-area { border-top: 1px solid var(--border); background: var(--surface); padding: var(--space-md) var(--space-lg); } .terminal-form { display: flex; align-items: center; gap: var(--space-sm); } .terminal-input-prompt { color: var(--success); font-weight: 600; font-family: var(--font-mono); font-size: 13px; flex-shrink: 0; } .terminal-input { flex: 1; padding: var(--space-sm) var(--space-md); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-family: var(--font-mono); font-size: 13px; outline: none; transition: border-color var(--transition-fast); } .terminal-input:focus { border-color: var(--in-progress); } .terminal-input:disabled { opacity: 0.6; cursor: not-allowed; } .terminal-input::placeholder { color: var(--text-muted); } .terminal-kill-btn { padding: var(--space-sm) var(--space-lg); background: var(--failed); border: none; border-radius: var(--radius); color: white; font-size: 12px; font-weight: 500; cursor: pointer; transition: opacity var(--transition-fast); flex-shrink: 0; } .terminal-kill-btn:hover { opacity: 0.9; } /* === PTY Terminal Styles === */ .terminal-container { flex: 1; min-height: 0; position: relative; background: #1e1e1e; overflow: hidden; } .terminal-xterm { width: 100%; height: 100%; padding: var(--space-xs); } .terminal-xterm .xterm { height: 100%; } .terminal-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; position: absolute; inset: 0; z-index: 2; background: #1e1e1e; gap: var(--space-lg); color: var(--text-muted); } .terminal-loading .terminal-spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--in-progress); border-radius: 50%; animation: terminal-spin 1s linear infinite; } @keyframes terminal-spin { to { transform: rotate(360deg); } } .terminal-shell-name { font-size: 12px; color: var(--text-muted); font-family: "SF Mono", Monaco, Consolas, monospace; margin-left: 8px; } .terminal-status { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-left: 8px; } .terminal-status.connected { background: var(--done); } .terminal-status.connecting, .terminal-status.reconnecting { background: var(--in-progress); animation: terminal-pulse 1.5s ease-in-out infinite; } .terminal-status.disconnected { background: var(--error); } @keyframes terminal-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .terminal-status-bar { display: flex; align-items: center; justify-content: space-between; padding: var(--space-sm) var(--space-lg); background: var(--surface); border-top: 1px solid var(--border); font-size: 12px; color: var(--text-muted); } .terminal-connection-status { font-weight: 500; } .terminal-connection-status.connected { color: var(--done); } .terminal-connection-status.connecting, .terminal-connection-status.reconnecting { color: var(--in-progress); } .terminal-connection-status.disconnected { color: var(--error); } .terminal-exit-code { color: var(--error); font-weight: 500; } .terminal-reconnect-btn, .terminal-restart-btn { display: flex; align-items: center; gap: var(--space-xs); padding: 6px 12px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 12px; font-weight: 500; cursor: pointer; transition: all var(--transition-fast); } .terminal-reconnect-btn:hover, .terminal-restart-btn:hover { background: var(--card-hover); border-color: var(--text-muted); } .terminal-error { padding: var(--space-md) var(--space-lg); background: rgba(179, 38, 38, 0.1); border-bottom: 1px solid var(--border); color: var(--error); font-size: 13px; } .terminal-error-content { display: flex; flex-direction: column; align-items: center; gap: var(--space-md, 12px); } .terminal-error-content span { color: var(--error, #f48771); text-align: center; } .terminal-retry-btn { display: flex; align-items: center; gap: var(--space-xs, 4px); padding: 6px 12px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 12px; font-weight: 500; cursor: pointer; transition: all var(--transition-fast); } .terminal-retry-btn:hover { background: var(--card-hover); border-color: var(--text-muted); } /* === Terminal Modal Mobile Responsive === */ @media (max-width: 768px) { .terminal-modal { width: 100%; max-width: 100%; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; border-radius: 0; border: none; } /* Stack tabs and actions on separate rows */ .terminal-header { flex-wrap: wrap; padding-top: env(safe-area-inset-top, 0); } /* Tabs get their own full-width row and remain scrollable */ .terminal-tabs { flex: 1 1 100%; min-width: 100%; order: 1; } /* Hide the redundant title/status indicator on mobile — .terminal-status-bar shows connection state */ .terminal-title { display: none; } /* Actions sit on a compact second row */ .terminal-actions { flex: 1 1 100%; order: 2; justify-content: flex-end; border-top: 1px solid var(--border); padding: 0 4px; } /* Hide text labels on action buttons to save space */ .terminal-action-label { display: none; } .terminal-reconnect-btn, .terminal-restart-btn, .terminal-clear-btn { padding: 8px; min-height: 36px; min-width: 36px; justify-content: center; } .terminal-tab { min-height: 48px; padding: 12px 14px; font-size: 14px; } .terminal-tab-label { font-size: 13px; } .terminal-close { width: 48px; height: 48px; } .terminal-toolbar { padding: 10px 12px; padding-bottom: max(10px, env(safe-area-inset-bottom, 0)); } .terminal-task-title { font-size: 12px; max-width: 200px; } .terminal-empty-state { padding: var(--space-xl); padding-bottom: max(24px, env(safe-area-inset-bottom, 0)); } /* Mobile styles for interactive terminal */ .terminal-output { padding: var(--space-md); font-size: 12px; } .terminal-welcome { padding: 24px 16px; } .terminal-welcome h3 { font-size: 16px; } .terminal-commands-list { gap: 6px; } .terminal-commands-list span { padding: 3px 8px; font-size: 11px; } .terminal-shortcuts { font-size: 11px; } .terminal-shortcuts kbd { padding: 1px 4px; font-size: 10px; } .terminal-input-area { padding: 10px 12px; padding-bottom: max(10px, env(safe-area-inset-bottom, 0)); } .terminal-input { font-size: 12px; padding: 6px 10px; } .terminal-kill-btn { padding: 6px 12px; font-size: 11px; } .terminal-output-text { padding: 10px 12px; font-size: 12px; } /* When a virtual keyboard is open, shrink the modal from the bottom so the terminal entry area (status bar, command prompt) remains visible above the keyboard. The JS component sets --keyboard-overlap to the number of pixels the keyboard covers. */ .terminal-modal[style*="--keyboard-overlap"] { max-height: calc(100dvh - var(--keyboard-overlap, 0px)); } } /* === Model Selector Tab === */ .model-selector-tab { padding: 16px 0; } .model-selector-tab h4 { margin-bottom: var(--space-sm); } .model-selector-intro { color: var(--text-muted); font-size: 13px; margin-bottom: var(--space-lg); } .model-selector-loading, .model-selector-empty { padding: var(--space-xl); text-align: center; color: var(--text-muted); font-size: 13px; } .model-selector-error { padding: var(--space-lg); background: rgba(248, 81, 73, 0.1); color: var(--color-error); border-radius: var(--radius); font-size: 13px; } .model-selector-current { margin-bottom: var(--space-sm); } .model-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 500; } .model-badge-default { background: var(--text-dim); color: var(--text); } .model-badge-custom { display: inline-flex; align-items: center; gap: var(--space-xs); background: var(--todo); color: var(--bg); } .model-badge-custom .provider-icon { display: inline-flex; flex-shrink: 0; } .model-selector-actions { display: flex; gap: var(--space-sm); margin-top: var(--space-xl); padding-top: 16px; border-top: 1px solid var(--border); } .model-selector-status { margin-top: var(--space-md); font-size: 12px; color: var(--text-muted); font-style: italic; } .model-selector-filter { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-sm); position: relative; } .model-selector-filter-input { flex: 1; padding: var(--space-sm) var(--space-md); padding-right: 32px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 14px; font-family: inherit; outline: none; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); } .model-selector-filter-input:focus { border-color: var(--todo); box-shadow: var(--focus-ring); } .model-selector-filter-input::placeholder { color: var(--text-dim); } .model-selector-filter-clear { position: absolute; right: 64px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 0 4px; transition: color var(--transition-fast); } .model-selector-filter-clear:hover { color: var(--text); } .model-selector-filter-clear:disabled { opacity: 0.4; cursor: not-allowed; } .model-selector-results-count { font-size: 11px; color: var(--text-muted); white-space: nowrap; min-width: 50px; text-align: right; } .model-selector-no-results { padding: var(--space-md); color: var(--text-muted); font-size: 13px; font-style: italic; background: var(--surface); border-radius: var(--radius); margin-top: var(--space-sm); } /* === Model Combobox Component === */ .model-combobox { position: relative; width: 100%; } .model-combobox-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: var(--space-sm) var(--space-md); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 14px; font-family: inherit; cursor: pointer; outline: none; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); } .model-combobox-trigger:hover:not(:disabled) { border-color: var(--text-dim); } .model-combobox-trigger:focus { border-color: var(--todo); box-shadow: var(--focus-ring); } .model-combobox-trigger:disabled { opacity: 0.6; cursor: not-allowed; } .model-combobox-trigger-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; } .model-combobox-trigger-icon { display: inline-flex; margin-right: 8px; flex-shrink: 0; } .model-combobox-trigger-arrow { font-size: 10px; color: var(--text-muted); margin-left: 8px; transition: transform 0.15s; } .model-combobox-trigger[aria-expanded="true"] .model-combobox-trigger-arrow { transform: rotate(180deg); } .model-combobox-dropdown { position: fixed; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 1000; max-height: 320px; display: flex; flex-direction: column; overflow: hidden; } .model-combobox-search-wrapper { position: relative; flex-shrink: 0; border-bottom: 1px solid var(--border); } .model-combobox-search { width: 100%; padding: 10px 36px 10px 12px; background: var(--bg); border: none; border-radius: var(--radius) var(--radius) 0 0; color: var(--text); font-size: 14px; font-family: inherit; outline: none; } .model-combobox-search::placeholder { color: var(--text-dim); } .model-combobox-search:focus { background: var(--card); } .model-combobox-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 0 4px; transition: color var(--transition-fast); } .model-combobox-clear:hover { color: var(--text); } .model-combobox-results-count { flex-shrink: 0; padding: 6px 12px; font-size: 11px; color: var(--text-muted); background: var(--bg); border-bottom: 1px solid var(--border); } .model-combobox-list { flex: 1; overflow-y: auto; padding: 4px 0; } .model-combobox-option { display: flex; align-items: center; justify-content: space-between; padding: var(--space-sm) var(--space-md); cursor: pointer; transition: background 0.1s; } .model-combobox-option:hover, .model-combobox-option--highlighted { background: var(--card-hover); } .model-combobox-option--selected { background: rgba(88, 166, 255, 0.15); } .model-combobox-option--selected:hover, .model-combobox-option--selected.model-combobox-option--highlighted { background: rgba(88, 166, 255, 0.25); } .model-combobox-option-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--text); } .model-combobox-option-text--default { color: var(--text-muted); font-style: italic; } .model-combobox-option-id { font-size: 11px; color: var(--text-dim); font-family: var(--font-mono); margin-left: 8px; flex-shrink: 0; } .model-combobox-group { border-bottom: 1px solid var(--border); } .model-combobox-group:last-child { border-bottom: none; } .model-combobox-optgroup { display: flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); background: var(--bg); cursor: default; } .model-combobox-optgroup-text { flex: 1; } /* Provider favorite star (in optgroup header) */ .model-combobox-optgroup-favorite { padding: 2px 4px; font-size: 14px; color: #6b7280; background: none; border: none; cursor: pointer; line-height: 1; } .model-combobox-optgroup-favorite:hover { color: #f59e0b; } .model-combobox-optgroup-favorite--active { color: #f59e0b; } /* Model favorite star (inside option row) */ .model-combobox-option-favorite { padding: 2px 4px; font-size: 12px; color: #6b7280; background: none; border: none; cursor: pointer; line-height: 1; margin-left: auto; } .model-combobox-option-favorite:hover { color: #f59e0b; } .model-combobox-option-favorite--active { color: #f59e0b; } /* Favorited model pinned row */ .model-combobox-option--favorite { padding-left: 12px; background: var(--bg-secondary); } .model-combobox-divider { height: 1px; background: var(--border); margin: 4px 0; } .model-combobox-no-results { padding: 16px 12px; text-align: center; font-size: 13px; color: var(--text-muted); font-style: italic; } /* Mobile responsive model dropdown */ @media (max-width: 768px) { .model-combobox-dropdown { max-height: 70vh; max-height: 70dvh; /* Use dynamic viewport height where supported */ } } @media (max-width: 640px) { .model-combobox-dropdown { max-height: 60vh; max-height: 60dvh; } } /* ============================================================ THEME SYSTEM ============================================================ */ /* Smooth transitions for theme changes */ html, html *, html *::before, html *::after { transition: background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal); } /* Disable transitions on specific elements that shouldn't animate */ html .card.dragging, html .card.dragging *, html .list-row.dragging, html .list-row.dragging *, html .column.drag-over, html .column.drag-over * { transition: none !important; } /* ============================================================ LIGHT THEME (data-theme="light") ============================================================ */ [data-theme="light"] { /* Backgrounds */ --bg: #ffffff; --surface: #f6f8fa; --card: #ffffff; --card-hover: #f3f4f6; --bg-secondary: #f6f8fa; --bg-tertiary: #eaeef2; --border: #d0d7de; /* Text */ --text: #1f2328; --text-muted: #656d76; --text-dim: #8c959f; /* Status colors (adjusted for light backgrounds) */ --triage: #9a6700; --todo: #0969da; --in-progress: #8250df; --in-progress-rgb: 130, 80, 223; --in-review: #1a7f37; --done: #6e7781; /* Feedback colors */ --color-success: #1a7f37; --color-error: #cf222e; --color-muted: #6e7781; /* Changed-file status colors (adjusted for light backgrounds) */ --status-color-added: #1a7f37; --status-color-modified: #0969da; --status-color-deleted: #cf222e; --status-color-unknown: #6e7781; /* Shadow for light mode */ --shadow-sm: 0 1px 2px rgba(31, 35, 40, 0.08); --shadow-md: 0 4px 6px rgba(31, 35, 40, 0.12); --shadow-lg: 0 4px 24px rgba(31, 35, 40, 0.15); --shadow-glow: 0 0 8px rgba(9, 105, 218, 0.18); --glow-success: 0 0 8px rgba(26, 127, 55, 0.3); --glow-warning: 0 0 8px rgba(154, 103, 0, 0.3); --glow-danger: 0 0 8px rgba(207, 34, 46, 0.3); --focus-ring: 0 0 0 2px rgba(9, 105, 218, 0.12); --focus-ring-strong: 0 0 0 2px rgba(9, 105, 218, 0.24); --shadow: var(--shadow-lg); } /* Light theme specific overrides */ [data-theme="light"] .modal-overlay { background: rgba(31, 35, 40, 0.5); } [data-theme="light"] .modal-header { background: rgba(246, 248, 250, 0.8); } [data-theme="light"] .modal-actions { background: rgba(246, 248, 250, 0.6); } [data-theme="light"] .settings-sidebar { background: rgba(246, 248, 250, 0.6); } [data-theme="light"] .toast-success { background: #1a7f37; } [data-theme="light"] .toast-error { background: #cf222e; } [data-theme="light"] .toast-info { background: #0969da; } [data-theme="light"] .btn-task-create { background: #1a7f37; border-color: #1f883d; } [data-theme="light"] .btn-task-create:hover { background: #1f883d; box-shadow: var(--shadow-glow); } [data-theme="light"] .btn-primary { background: #1a7f37; border-color: #1f883d; } [data-theme="light"] .btn-primary:hover { background: #1f883d; box-shadow: var(--shadow-glow); } [data-theme="light"] .btn-danger { background: #cf222e; border-color: #a40e26; } [data-theme="light"] .btn-danger:hover { background: #a40e26; box-shadow: var(--glow-danger); } [data-theme="light"] .btn-warning { background: #9a6700; border-color: #7d5400; } [data-theme="light"] .btn-warning:hover { background: #7d5400; box-shadow: var(--glow-warning); } /* ============================================================ COLOR THEMES (data-color-theme="...") ============================================================ */ /* OCEAN - Deep blues and cyans */ [data-color-theme="ocean"] { --todo: #00b8d4; --in-progress: #00e5ff; --in-progress-rgb: 0, 229, 255; --in-review: #00c853; --triage: #ffab00; --done: #607d8b; --color-success: #00c853; --color-error: #ff5252; } [data-color-theme="ocean"][data-theme="light"] { --todo: #0097a7; --in-progress: #00bcd4; --in-progress-rgb: 0, 188, 212; --in-review: #4caf50; --triage: #f57c00; --done: #546e7a; --color-success: #4caf50; --color-error: #f44336; } /* FOREST - Deep greens and emeralds */ [data-color-theme="forest"] { --todo: #34d399; --in-progress: #10b981; --in-progress-rgb: 16, 185, 129; --in-review: #22c55e; --triage: #fbbf24; --done: #6b7280; --color-success: #22c55e; --color-error: #ef4444; } [data-color-theme="forest"][data-theme="light"] { --todo: #059669; --in-progress: #047857; --in-progress-rgb: 4, 120, 87; --in-review: #16a34a; --triage: #d97706; --done: #4b5563; --color-success: #16a34a; --color-error: #dc2626; } /* SUNSET - Warm oranges and reds */ [data-color-theme="sunset"] { --todo: #ffab00; --in-progress: #ff6d00; --in-progress-rgb: 255, 109, 0; --in-review: #ff9100; --triage: #ff3d00; --done: #8d6e63; --color-success: #ff9100; --color-error: #ff1744; } [data-color-theme="sunset"][data-theme="light"] { --todo: #e65100; --in-progress: #ef6c00; --in-progress-rgb: 239, 108, 0; --in-review: #f57c00; --triage: #d84315; --done: #5d4037; --color-success: #f57c00; --color-error: #c62828; } /* BERRY - Purple/pink tones */ [data-color-theme="berry"] { --todo: #e040fb; --in-progress: #ea80fc; --in-progress-rgb: 234, 128, 252; --in-review: #b388ff; --triage: #ff4081; --done: #9575cd; --color-success: #b388ff; --color-error: #ff5252; } [data-color-theme="berry"][data-theme="light"] { --todo: #7b1fa2; --in-progress: #8e24aa; --in-progress-rgb: 142, 36, 170; --in-review: #9c27b0; --triage: #c2185b; --done: #673ab7; --color-success: #9c27b0; --color-error: #d32f2f; } /* MONOCHROME - Pure grays */ [data-color-theme="monochrome"] { --todo: #9e9e9e; --in-progress: #bdbdbd; --in-progress-rgb: 189, 189, 189; --in-review: #e0e0e0; --triage: #757575; --done: #616161; --color-success: #e0e0e0; --color-error: #ff5252; } [data-color-theme="monochrome"][data-theme="light"] { --todo: #616161; --in-progress: #757575; --in-progress-rgb: 117, 117, 117; --in-review: #9e9e9e; --triage: #424242; --done: #424242; --color-success: #616161; --color-error: #d32f2f; } /* ZEN - Minimal, clean monochrome with subtle accents */ [data-color-theme="zen"] { --bg: #0c0c0c; --surface: #111111; --card: #1a1a1a; --card-hover: #222222; --border: #2a2a2a; --text: #e0e0e0; --text-muted: #808080; --text-dim: #555555; --todo: #6b7b8c; --in-progress: #7a8590; --in-progress-rgb: 122, 133, 144; --in-review: #6b8c7a; --triage: #8c7b6b; --done: #666666; --color-success: #6b8c7a; --color-error: #8c6b6b; /* Minimal glow effects */ --shadow-glow: none; --glow-success: none; --glow-warning: none; --glow-danger: none; --focus-ring: 0 0 0 1px var(--border); } [data-color-theme="zen"][data-theme="light"] { --bg: #f5f5f5; --surface: #fafafa; --card: #ffffff; --card-hover: #f0f0f0; --border: #e0e0e0; --text: #333333; --text-muted: #777777; --text-dim: #999999; --todo: #5a6a7a; --in-progress: #6a757f; --in-progress-rgb: 106, 117, 127; --in-review: #5a7a6a; --triage: #7a6a5a; --done: #555555; --color-success: #5a7a6a; --color-error: #7a5a5a; /* Minimal glow effects */ --shadow-glow: none; --glow-success: none; --glow-warning: none; --glow-danger: none; --focus-ring: 0 0 0 1px var(--border); } /* HIGH CONTRAST - Extreme contrast for accessibility */ [data-color-theme="high-contrast"] { --bg: #000000; --surface: #0a0a0a; --card: #141414; --card-hover: #1f1f1f; --border: #ffffff; --text: #ffffff; --text-muted: #cccccc; --text-dim: #999999; --todo: #00ffff; --in-progress: #ff00ff; --in-progress-rgb: 255, 0, 255; --in-review: #00ff00; --triage: #ffff00; --done: #ffffff; --color-success: #00ff00; --color-error: #ff0000; } [data-color-theme="high-contrast"][data-theme="light"] { --bg: #ffffff; --surface: #ffffff; --card: #ffffff; --card-hover: #f0f0f0; --border: #000000; --text: #000000; --text-muted: #333333; --text-dim: #666666; --todo: #0066ff; --in-progress: #cc00cc; --in-progress-rgb: 204, 0, 204; --in-review: #009900; --triage: #cc6600; --done: #000000; --color-success: #009900; --color-error: #cc0000; } /* INDUSTRIAL - Technical engineering spec sheet aesthetic */ [data-color-theme="industrial"] { --bg: #0c0c0c; --surface: #141414; --card: #1a1a1a; --card-hover: #222222; --border: #333333; --text: #e8e8e8; --text-muted: #888888; --text-dim: #555555; --todo: #ff6b00; --in-progress: #ff8c00; --in-progress-rgb: 255, 140, 0; --in-review: #00bcd4; --triage: #ff5722; --done: #666666; --color-success: #00bcd4; --color-error: #ff3d00; } [data-color-theme="industrial"][data-theme="light"] { --bg: #f0f0f0; --surface: #fafafa; --card: #ffffff; --card-hover: #f5f5f5; --border: #d0d0d0; --text: #1a1a1a; --text-muted: #666666; --text-dim: #999999; --todo: #e65100; --in-progress: #ef6c00; --in-progress-rgb: 239, 108, 0; --in-review: #0097a7; --triage: #d84315; --done: #555555; --color-success: #0097a7; --color-error: #d84315; } /* SOLARIZED - Classic solarized palette */ [data-color-theme="solarized"] { --bg: #002b36; --surface: #073642; --card: #083c4a; --card-hover: #094c5e; --border: #586e75; --text: #839496; --text-muted: #657b83; --text-dim: #586e75; --todo: #268bd2; --in-progress: #2aa198; --in-progress-rgb: 42, 161, 152; --in-review: #859900; --triage: #b58900; --done: #93a1a1; --color-success: #859900; --color-error: #dc322f; } [data-color-theme="solarized"][data-theme="light"] { --bg: #fdf6e3; --surface: #eee8d5; --card: #f5efdc; --card-hover: #e8e2d0; --border: #93a1a1; --text: #586e75; --text-muted: #657b83; --text-dim: #839496; --todo: #268bd2; --in-progress: #2aa198; --in-progress-rgb: 42, 161, 152; --in-review: #859900; --triage: #b58900; --done: #93a1a1; --color-success: #859900; --color-error: #dc322f; } /* FACTORY - Industrial Mission Control Theme A comprehensive design theme that overrides fonts, spacing, and component styling for an industrial sci-fi aesthetic. */ [data-color-theme="factory"] { --bg: #0a0a0a; --surface: #111111; --card: #1a1a1a; --card-hover: #222222; --border: #333333; --text: #e5e5e5; --text-muted: #888888; --text-dim: #555555; --todo: #f59e0b; --in-progress: #06b6d4; --in-progress-rgb: 6, 182, 212; --in-review: #22c55e; --triage: #ef4444; --done: #6b7280; --color-success: #22c55e; --color-error: #ef4444; --color-muted: #6b7280; --font-primary: "SF Mono", "JetBrains Mono", "Fira Code", Monaco, Consolas, monospace; --font-mono: "SF Mono", "JetBrains Mono", "Fira Code", Monaco, Consolas, monospace; --space-xs: 2px; --space-sm: 4px; --space-md: 8px; --space-lg: 12px; --space-xl: 16px; --space-2xl: 24px; --radius-sm: 2px; --radius-md: 4px; --radius-lg: 6px; --radius-xl: 8px; --radius: var(--radius-md); --btn-padding: 6px 12px; --btn-border-width: 2px; --card-padding: 8px 10px; --modal-padding: var(--space-md) var(--space-lg); --header-padding: var(--space-sm) var(--space-lg); --column-gap: var(--space-sm); --board-padding: var(--space-md) var(--space-lg); --shadow-sm: 0 1px 1px rgba(0, 0, 0, 0.5); --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.5); --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.6); --shadow-glow: 0 0 6px rgba(245, 158, 11, 0.4); --glow-success: 0 0 8px rgba(34, 197, 94, 0.35); --glow-warning: 0 0 8px rgba(245, 158, 11, 0.4); --glow-danger: 0 0 8px rgba(239, 68, 68, 0.35); --focus-ring: 0 0 0 2px rgba(245, 158, 11, 0.18); --focus-ring-strong: 0 0 0 2px rgba(245, 158, 11, 0.3); --shadow: var(--shadow-lg); --transition-instant: 0.05s ease; --transition-fast: 0.1s ease; --transition-normal: 0.15s ease; --transition-slow: 0.2s ease; } [data-color-theme="factory"][data-theme="light"] { --bg: #f5f5f5; --surface: #ffffff; --card: #fafafa; --card-hover: #f0f0f0; --border: #d4d4d4; --text: #1a1a1a; --text-muted: #666666; --text-dim: #999999; --todo: #d97706; --in-progress: #0891b2; --in-progress-rgb: 8, 145, 178; --in-review: #16a34a; --triage: #dc2626; --done: #4b5563; --color-success: #16a34a; --color-error: #dc2626; --color-muted: #6b7280; --shadow-sm: 0 1px 1px rgba(0, 0, 0, 0.1); --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.1); --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15); --shadow-glow: 0 0 6px rgba(217, 119, 6, 0.3); --glow-success: 0 0 8px rgba(22, 163, 74, 0.25); --glow-warning: 0 0 8px rgba(217, 119, 6, 0.3); --glow-danger: 0 0 8px rgba(220, 38, 38, 0.22); --focus-ring: 0 0 0 2px rgba(217, 119, 6, 0.14); --focus-ring-strong: 0 0 0 2px rgba(217, 119, 6, 0.24); --shadow: var(--shadow-lg); } [data-color-theme="factory"] .card.agent-active { border-color: var(--todo); box-shadow: 0 0 6px rgba(245, 158, 11, 0.5), 0 0 12px rgba(245, 158, 11, 0.2); animation: agent-glow-factory 2s ease-in-out infinite; } @keyframes agent-glow-factory { 0%, 100% { box-shadow: 0 0 6px rgba(245, 158, 11, 0.5), 0 0 12px rgba(245, 158, 11, 0.2); } 50% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.7), 0 0 20px rgba(245, 158, 11, 0.4); } } [data-color-theme="factory"][data-theme="light"] .card.agent-active { box-shadow: 0 0 6px rgba(217, 119, 6, 0.4), 0 0 12px rgba(217, 119, 6, 0.15); animation: agent-glow-factory-light 2s ease-in-out infinite; } @keyframes agent-glow-factory-light { 0%, 100% { box-shadow: 0 0 6px rgba(217, 119, 6, 0.4), 0 0 12px rgba(217, 119, 6, 0.15); } 50% { box-shadow: 0 0 10px rgba(217, 119, 6, 0.6), 0 0 20px rgba(217, 119, 6, 0.3); } } [data-color-theme="factory"] .btn { text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; } [data-color-theme="factory"] .btn-primary, [data-color-theme="factory"] .btn-task-create { background: transparent; border-color: var(--todo); color: var(--todo); box-shadow: none; } [data-color-theme="factory"] .btn-primary:hover, [data-color-theme="factory"] .btn-task-create:hover { background: var(--todo); color: var(--bg); box-shadow: var(--shadow-glow); } [data-color-theme="factory"] .card, [data-color-theme="factory"] .column { border-width: 2px; } [data-color-theme="factory"] .column-header h2 { text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; } [data-color-theme="factory"] .column-count, [data-color-theme="factory"] .card-id { font-family: var(--font-mono); font-weight: 700; } /* AYU - Popular code editor theme with dark and light variants */ [data-color-theme="ayu"] { --bg: #0f1419; --surface: #131d27; --card: #1a2634; --card-hover: #232d3b; --border: #304357; --text: #bfbdb6; --text-muted: #565b66; --text-dim: #4d5666; --todo: #39bae6; --in-progress: #ffb454; --in-progress-rgb: 255, 180, 84; --in-review: #7ee787; --triage: #f2966b; --done: #6c7986; --color-success: #7ee787; --color-error: #f07178; --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.5); --shadow: var(--shadow-lg); } [data-color-theme="ayu"][data-theme="light"] { --bg: #fafafa; --surface: #f3f3f3; --card: #ffffff; --card-hover: #f0f0f0; --border: #e0e0e0; --text: #5c6166; --text-muted: #8a9199; --text-dim: #a0a0a0; --todo: #007acc; --in-progress: #ff8f40; --in-progress-rgb: 255, 143, 64; --in-review: #86b300; --triage: #fa8d3e; --done: #8a9199; --color-success: #86b300; --color-error: #f07178; --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.15); --shadow: var(--shadow-lg); } /* ONE DARK - Atom's iconic dark theme */ [data-color-theme="one-dark"] { --bg: #282c34; --surface: #21252b; --card: #2c313a; --card-hover: #353b45; --border: #3e4451; --text: #abb2bf; --text-muted: #636d83; --text-dim: #5c6370; --todo: #61afef; --in-progress: #c678dd; --in-progress-rgb: 198, 120, 221; --in-review: #98c379; --triage: #e5c07b; --done: #828997; --color-success: #98c379; --color-error: #e06c75; --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.5); --shadow: var(--shadow-lg); } /* NORD - Arctic blue palette inspired by the Nord color scheme */ [data-color-theme="nord"] { --bg: #2e3440; --surface: #3b4252; --card: #434c5e; --card-hover: #4c566a; --border: #4c566a; --text: #eceff4; --text-muted: #d8dee9; --text-dim: #81a1c1; --todo: #88c0d0; --in-progress: #81a1c1; --in-progress-rgb: 129, 161, 193; --in-review: #a3be8c; --triage: #ebcb8b; --done: #7b88a1; --color-success: #a3be8c; --color-error: #bf616a; --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.4); --shadow: var(--shadow-lg); } [data-color-theme="nord"][data-theme="light"] { --bg: #eceff4; --surface: #e5e9f0; --card: #d8dee9; --card-hover: #cdd3e0; --border: #b0b8c9; --text: #2e3440; --text-muted: #4c566a; --text-dim: #7b88a1; --todo: #5e81ac; --in-progress: #5e81ac; --in-progress-rgb: 94, 129, 172; --in-review: #7ca373; --triage: #c98530; --done: #4c566a; --color-success: #7ca373; --color-error: #b54a52; --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.1); --shadow: var(--shadow-lg); } /* DRACULA - Popular dark theme with deep purples and vivid accents */ [data-color-theme="dracula"] { --bg: #282a36; --surface: #21222c; --card: #2c2e3a; --card-hover: #363848; --border: #44475a; --text: #f8f8f2; --text-muted: #bd93f9; --text-dim: #6272a4; --todo: #8be9fd; --in-progress: #bd93f9; --in-progress-rgb: 189, 147, 249; --in-review: #50fa7b; --triage: #f1fa8c; --done: #6272a4; --color-success: #50fa7b; --color-error: #ff5555; --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.5); --shadow: var(--shadow-lg); } [data-color-theme="dracula"][data-theme="light"] { --bg: #f8f8f2; --surface: #efeefa; --card: #e8e8f4; --card-hover: #dddde8; --border: #b0b0c0; --text: #282a36; --text-muted: #5a5a72; --text-dim: #8888a0; --todo: #0097a7; --in-progress: #7c4dff; --in-progress-rgb: 124, 77, 255; --in-review: #2e8b57; --triage: #c98600; --done: #5a5a72; --color-success: #2e8b57; --color-error: #cc3333; --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.1); --shadow: var(--shadow-lg); } /* GRUVBOX - Warm, retro earth-tone palette */ [data-color-theme="gruvbox"] { --bg: #282828; --surface: #1d2021; --card: #32302f; --card-hover: #3c3836; --border: #504945; --text: #ebdbb2; --text-muted: #bdae93; --text-dim: #665c54; --todo: #83a598; --in-progress: #d3869b; --in-progress-rgb: 211, 134, 155; --in-review: #b8bb26; --triage: #fabd2f; --done: #928374; --color-success: #b8bb26; --color-error: #fb4934; --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.5); --shadow: var(--shadow-lg); } [data-color-theme="gruvbox"][data-theme="light"] { --bg: #fbf1c7; --surface: #f2e5bc; --card: #ebdbb2; --card-hover: #e0d0a0; --border: #bdae93; --text: #3c3836; --text-muted: #504945; --text-dim: #7c7066; --todo: #076678; --in-progress: #8f3f71; --in-progress-rgb: 143, 63, 113; --in-review: #427b58; --triage: #b57614; --done: #504945; --color-success: #427b58; --color-error: #9d0006; --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.1); --shadow: var(--shadow-lg); } /* TOKYO NIGHT - Deep blues and soft purples inspired by the VS Code theme */ [data-color-theme="tokyo-night"] { --bg: #1a1b26; --surface: #16161e; --card: #24283b; --card-hover: #2e324e; --border: #3b4261; --text: #c0caf5; --text-muted: #a9b1d6; --text-dim: #565f89; --todo: #7aa2f7; --in-progress: #bb9af7; --in-progress-rgb: 187, 154, 247; --in-review: #9ece6a; --triage: #e0af68; --done: #565f89; --color-success: #9ece6a; --color-error: #f7768e; --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.5); --shadow: var(--shadow-lg); } [data-color-theme="tokyo-night"][data-theme="light"] { --bg: #e1e2e7; --surface: #d5d6db; --card: #e1e2e7; --card-hover: #d0d1d8; --border: #b4b5bc; --text: #1a1b26; --text-muted: #414868; --text-dim: #68709a; --todo: #3b5ea5; --in-progress: #7755c0; --in-progress-rgb: 119, 85, 192; --in-review: #48703e; --triage: #9a6b20; --done: #414868; --color-success: #48703e; --color-error: #c53b53; --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.1); --shadow: var(--shadow-lg); } /* ============================================================ THEME SELECTOR COMPONENT STYLES ============================================================ */ .theme-selector { padding: 0 20px 20px; } .theme-mode-toggle { display: flex; align-items: center; gap: var(--space-sm); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-xs); margin-bottom: 20px; } .theme-mode-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: var(--space-sm) var(--space-lg); background: none; border: none; border-radius: var(--radius-sm); color: var(--text-muted); font-size: 13px; font-weight: 500; cursor: pointer; transition: all var(--transition-fast); flex: 1; } .theme-mode-btn:hover { color: var(--text); background: var(--card-hover); } .theme-mode-btn.active { background: var(--todo); color: var(--bg); } .theme-mode-btn.active:hover { background: var(--todo); color: var(--bg); } .theme-section-title { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: var(--space-md); } .theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); } @media (max-width: 768px) { .theme-grid { grid-template-columns: repeat(2, 1fr); } } .theme-option { display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); padding: var(--space-md); background: var(--card); border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: all var(--transition-fast); } .theme-option:hover { border-color: var(--todo); background: var(--card-hover); } .theme-option.active { border-color: var(--todo); background: rgba(88, 166, 255, 0.1); } .theme-option-swatch { width: 48px; height: 48px; border-radius: var(--radius); border: 2px solid var(--border); position: relative; overflow: hidden; } .theme-option-swatch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--bg) 50%, var(--surface) 50%); } .theme-option-label { font-size: 12px; font-weight: 500; color: var(--text); text-align: center; } /* Theme preview swatch colors */ .theme-swatch-default { --bg: #0d1117; --surface: #161b22; } .theme-swatch-ocean { --bg: #0a1929; --surface: #132f4c; } .theme-swatch-forest { --bg: #0d2818; --surface: #1a472a; } .theme-swatch-sunset { --bg: #2d1f1f; --surface: #4a2c2c; } .theme-swatch-zen { --bg: #0c0c0c; --surface: #111111; } .theme-swatch-berry { --bg: #1a0b2e; --surface: #2d1b4e; } .theme-swatch-monochrome { --bg: #0d0d0d; --surface: #1a1a1a; } .theme-swatch-high-contrast { --bg: #000000; --surface: #0a0a0a; } .theme-swatch-industrial { --bg: #0c0c0c; --surface: #1a1a1a; } .theme-swatch-solarized { --bg: #002b36; --surface: #073642; } .theme-swatch-factory { --bg: #0a0a0a; --surface: #111111; } .theme-swatch-ayu { --bg: #0f1419; --surface: #131d27; } .theme-swatch-one-dark { --bg: #282c34; --surface: #21252b; } .theme-swatch-nord { --bg: #2e3440; --surface: #3b4252; } .theme-swatch-dracula { --bg: #282a36; --surface: #21222c; } .theme-swatch-gruvbox { --bg: #282828; --surface: #1d2021; } .theme-swatch-tokyo-night { --bg: #1a1b26; --surface: #16161e; } /* Light mode swatch overrides */ [data-theme="light"] .theme-swatch-factory { --bg: #f5f5f5; --surface: #ffffff; } [data-theme="light"] .theme-swatch-ayu { --bg: #fafafa; --surface: #f3f3f3; } [data-theme="light"] .theme-swatch-zen { --bg: #f5f5f5; --surface: #fafafa; } [data-theme="light"] .theme-swatch-nord { --bg: #eceff4; --surface: #e5e9f0; } [data-theme="light"] .theme-swatch-dracula { --bg: #f8f8f2; --surface: #efeefa; } [data-theme="light"] .theme-swatch-gruvbox { --bg: #fbf1c7; --surface: #f2e5bc; } [data-theme="light"] .theme-swatch-tokyo-night { --bg: #e1e2e7; --surface: #d5d6db; } /* Reset to defaults button */ .theme-reset-btn { display: flex; align-items: center; justify-content: center; gap: var(--space-sm); margin-top: 20px; padding: 10px 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-muted); font-size: 13px; font-weight: 500; cursor: pointer; transition: all var(--transition-fast); width: 100%; } .theme-reset-btn:hover { background: var(--card-hover); color: var(--text); border-color: var(--text-muted); } /* Theme current preview in settings */ .theme-current-preview { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-lg); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 20px; } .theme-preview-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--surface); border-radius: var(--radius); color: var(--todo); } .theme-preview-info { flex: 1; } .theme-preview-label { font-size: 12px; color: var(--text-muted); margin-bottom: 2px; } .theme-preview-value { font-size: 14px; font-weight: 600; color: var(--text); text-transform: capitalize; } /* === File Browser === */ .file-browser-modal { width: 90vw; max-width: 1200px; height: 80vh; max-height: 90vh; display: flex; flex-direction: column; } .file-browser-split { display: flex; flex: 1; overflow: hidden; } .file-browser-sidebar { width: 260px; min-width: 260px; border-right: 1px solid var(--border); display: flex; flex-direction: column; overflow: hidden; background: var(--bg); } .file-browser-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; min-height: 0; } /* File Browser Component */ .file-browser { display: flex; flex-direction: column; flex: 1; overflow: hidden; } .file-browser-header { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--border); background: var(--surface); min-height: 44px; } .file-browser-up { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-xs) var(--space-sm); background: none; border: none; color: var(--todo); font-size: 12px; cursor: pointer; border-radius: var(--radius); transition: background var(--transition-fast); } .file-browser-up:hover { background: var(--card-hover); } .file-browser-path { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .file-browser-list { flex: 1; overflow-y: auto; padding: 8px 0; } .file-browser-empty { padding: var(--space-xl); text-align: center; color: var(--text-dim); font-size: 13px; font-style: italic; } .file-browser-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-md); padding: 40px; color: var(--text-muted); flex: 1; } .file-browser-error { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); padding: var(--space-xl); text-align: center; color: var(--color-error); flex: 1; } .file-browser-error p { margin: 0; } /* File Node */ .file-node { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-lg); cursor: pointer; transition: background var(--transition-fast); font-size: 13px; } .file-node:hover { background: var(--card-hover); } .file-node--directory { color: var(--todo); } .file-node--file { color: var(--text); } .file-node-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--text-muted); } .file-node--directory .file-node-icon { color: var(--todo); } .file-node-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .file-node-size { font-size: 11px; color: var(--text-dim); font-family: var(--font-mono); flex-shrink: 0; } .file-node-time { color: var(--text-dim); font-family: var(--font-mono); flex-shrink: 0; margin-left: 8px; } /* File Editor Toolbar */ .file-browser-toolbar { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--border); background: var(--surface); min-height: 44px; flex-wrap: wrap; } .file-path { font-size: 13px; font-weight: 500; color: var(--text); font-family: var(--font-mono); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .file-mtime { font-size: 11px; color: var(--text-muted); flex-shrink: 0; } .file-actions { display: flex; gap: var(--space-sm); flex-shrink: 0; } .file-actions .btn { display: flex; align-items: center; gap: 6px; } /* File Editor Container */ .file-editor-container { flex: 1; display: flex; flex-direction: column; overflow: hidden; background: var(--bg); min-height: 0; } .file-editor-container .cm-editor { height: 100%; } /* File Editor Toolbar */ .file-editor-toolbar { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-sm) var(--space-lg); border-bottom: 1px solid var(--border); background: var(--surface); flex-shrink: 0; } .file-editor-mode-toggle { display: flex; align-items: center; gap: var(--space-xs); } .file-editor-mode-toggle .btn { display: inline-flex; align-items: center; gap: 6px; } /* File Editor Preview */ .file-editor-preview { flex: 1; height: 100%; min-height: 0; overflow-y: auto; padding: var(--space-lg); } /* Textarea-based file editor */ .file-editor-textarea { flex: 1; min-height: 0; width: 100%; min-width: 100%; height: 100%; box-sizing: border-box; background: var(--bg); color: var(--text); font-family: var(--font-mono); font-size: 14px; line-height: 1.5; padding: var(--space-lg); border: none; outline: none; resize: none; overflow: auto; white-space: pre; overflow-wrap: normal; tab-size: 2; } .file-editor-textarea.file-editor-textarea--wrap { white-space: pre-wrap; overflow-wrap: break-word; } .file-editor-textarea:focus { outline: 1px solid var(--border); outline-offset: -1px; } .file-editor-textarea::selection { background: var(--todo); color: var(--bg); } /* File States */ .file-error { padding: var(--space-md) var(--space-lg); background: rgba(248, 81, 73, 0.1); border-left: 3px solid var(--color-error); color: var(--color-error); font-size: 13px; margin: var(--space-md) var(--space-lg); border-radius: 0 var(--radius) var(--radius) 0; } .file-binary-notice { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; font-style: italic; } .file-loading { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; } .file-placeholder { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-md); color: var(--text-muted); font-size: 14px; } .placeholder-icon { color: var(--text-dim); opacity: 0.5; } /* Keyboard Hints */ .keyboard-hints { font-size: 11px; color: var(--text-dim); display: flex; align-items: center; gap: var(--space-xs); margin-right: auto; } .keyboard-hints kbd { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 2px 6px; font-size: 10px; font-family: var(--font-mono); } /* === File Browser Mobile Responsive === */ @media (max-width: 768px) { .file-browser-modal { width: 100%; max-width: 100%; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; border-radius: 0; border: none; } .file-browser-split { flex-direction: column; } .file-browser-sidebar { width: 100%; min-width: 0; max-height: 40vh; border-right: none; border-bottom: 1px solid var(--border); } .file-browser-toolbar { flex-direction: column; align-items: flex-start; gap: var(--space-sm); padding: 10px 14px; } .file-path { max-width: 100%; } .file-actions { width: 100%; justify-content: flex-end; } .keyboard-hints { display: none; } .changed-files-modal { width: 100%; max-width: 100%; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; border-radius: 0; border: none; } } .file-browser-split { display: flex; flex: 1; overflow: hidden; } /* === File Browser === */ .file-browser-modal { width: 90vw; max-width: 1200px; height: 80vh; max-height: 800px; } .file-browser-modal-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); } .file-browser-header-title { display: flex; align-items: center; gap: var(--space-sm); font-size: 15px; font-weight: 600; } .file-browser-header-actions { display: flex; align-items: center; gap: var(--space-md); } .file-browser-modal-header .modal-close { position: static; } .file-browser-header-path { color: var(--text-muted); font-weight: 400; font-size: 13px; margin-left: 8px; } .file-browser-body { display: flex; flex: 1; overflow: hidden; } .file-browser-sidebar { width: 280px; min-width: 280px; border-right: 1px solid var(--border); display: flex; flex-direction: column; background: var(--surface); } .file-browser-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; min-height: 0; } .file-browser { display: flex; flex-direction: column; height: 100%; overflow: hidden; } .file-browser-header { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md); border-bottom: 1px solid var(--border); background: var(--bg); } .file-browser-up { display: flex; align-items: center; gap: var(--space-xs); background: none; border: none; color: var(--todo); cursor: pointer; font-size: 12px; padding: var(--space-xs); } .file-browser-up:hover { text-decoration: underline; } .file-browser-path { font-size: 12px; color: var(--text-muted); margin-left: auto; } .file-browser-list { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 4px 0; min-height: 0; } .file-browser-empty { padding: var(--space-xl); text-align: center; color: var(--text-muted); font-style: italic; } .file-browser-loading, .file-browser-error { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-md); padding: var(--space-xl); height: 100%; color: var(--text-muted); } .file-node { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); cursor: pointer; font-size: 13px; transition: background var(--transition-fast); } .file-node:hover { background: var(--card-hover); } .file-node-icon { color: var(--text-muted); display: flex; align-items: center; } .file-node--directory .file-node-icon { color: var(--todo); } .file-node-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .file-node-size, .file-node-time { font-size: 11px; color: var(--text-dim); white-space: nowrap; } .file-browser-toolbar { display: flex; align-items: center; justify-content: space-between; padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--border); background: var(--surface); gap: var(--space-md); } .file-browser-file-info { display: flex; align-items: center; gap: var(--space-md); font-size: 13px; } .file-browser-mtime { font-size: 11px; color: var(--text-muted); } .file-browser-binary-indicator { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: 11px; color: var(--text-muted); background: var(--bg-tertiary); padding: 2px 8px; border-radius: var(--radius-sm); } .file-browser-loading { font-size: 11px; color: var(--todo); } .file-browser-actions { display: flex; gap: var(--space-sm); } .file-browser-error-banner { background: rgba(248, 81, 73, 0.1); color: var(--color-error); padding: var(--space-sm) var(--space-lg); font-size: 13px; border-bottom: 1px solid var(--border); } .file-editor-wrapper { flex: 1; overflow: hidden; background: var(--bg); min-width: 0; min-height: 0; display: flex; flex-direction: column; } .file-browser-footer { display: flex; align-items: center; justify-content: space-between; padding: var(--space-sm) var(--space-lg); border-top: 1px solid var(--border); background: var(--surface); font-size: 12px; color: var(--text-muted); } .file-browser-unsaved { color: var(--triage); font-weight: 500; } .file-browser-placeholder { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-lg); color: var(--text-muted); } .file-browser-placeholder p { font-size: 14px; opacity: 0.7; } /* Mobile responsive */ @media (max-width: 768px) { .file-browser-modal { width: 100vw; height: 100vh; max-width: 100%; max-height: 100%; border-radius: 0; } .file-browser-body { flex-direction: column; } .file-browser-sidebar { width: 100%; height: 40%; border-right: none; border-bottom: 1px solid var(--border); } /* Mobile two-state view: show only list or editor at a time */ .file-browser-sidebar.mobile { display: none; } .file-browser-sidebar.mobile.active { display: flex; flex: 1; height: 100%; max-height: none; border-bottom: none; } .file-browser-content.mobile { display: none; } .file-browser-content.mobile.active { display: flex; flex: 1; height: 100%; } /* Back button styles */ .file-browser-back-button { display: inline-flex; align-items: center; gap: var(--space-sm); padding: 6px 12px; background: transparent; border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); font-size: 13px; cursor: pointer; transition: background var(--transition-fast); margin-right: 8px; } .file-browser-back-button:hover { background: var(--card-hover); } .file-browser-back-button:focus { outline: none; box-shadow: var(--focus-ring); } } /* === Planning Mode Styles === */ .planning-modal-overlay { display: flex; align-items: center; justify-content: center; } .planning-modal { width: 90vw; max-width: 640px; min-height: 400px; max-height: 90vh; overflow: hidden; } .planning-modal .modal-header { flex-shrink: 0; } .planning-modal .text-muted { color: var(--text-muted); } .planning-modal-body { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; } .planning-error { flex-shrink: 0; margin: 24px 24px 0; } .planning-view-scroll { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-xl); padding: var(--space-xl); } .planning-view-footer { display: flex; justify-content: flex-end; padding: 16px 24px 24px; border-top: 1px solid var(--border); flex-shrink: 0; } /* Initial View */ .planning-initial { display: flex; flex-direction: column; align-items: stretch; text-align: center; flex: 1; min-height: 0; } .planning-intro { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); max-width: 520px; margin: 0 auto; } .planning-intro h4 { font-size: 20px; line-height: 1.3; } .planning-intro p { max-width: 480px; line-height: 1.6; } .planning-icon { color: var(--triage); margin-bottom: var(--space-sm); } .planning-description { color: var(--text-muted); font-size: 14px; max-width: 480px; line-height: 1.5; } .planning-textarea { width: 100%; min-height: 120px; padding: var(--space-md); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-family: inherit; font-size: 14px; resize: vertical; outline: none; transition: border-color var(--transition-normal), box-shadow var(--transition-normal); } .planning-textarea:focus { border-color: var(--todo); box-shadow: var(--focus-ring); } .planning-char-count { text-align: right; font-size: 12px; color: var(--text-muted); margin-top: var(--space-xs); } .planning-initial .form-group, .planning-summary-form .form-group { width: 100%; padding: 0; margin-top: 0; } .planning-initial .form-group, .planning-examples { max-width: 520px; margin: 0 auto; } .planning-initial .form-group { text-align: left; } .planning-examples { width: 100%; } .planning-examples-label { font-size: 12px; color: var(--text-muted); margin-bottom: var(--space-sm); display: block; } .planning-example-chips { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; } .planning-example-chip { padding: 8px 14px; background: var(--card); border: 1px solid var(--border); border-radius: 999px; font-size: 12px; line-height: 1.4; color: var(--text-muted); cursor: pointer; transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast); } .planning-example-chip:hover { background: var(--card-hover); border-color: var(--todo); color: var(--text); transform: translateY(-1px); box-shadow: var(--focus-ring); } .planning-start-btn { display: inline-flex; align-items: center; gap: var(--space-sm); } .planning-initial .planning-view-footer { width: 100%; max-width: 568px; margin: 0 auto; } /* Question View */ .planning-question { display: flex; flex-direction: column; gap: 20px; flex: 1; min-height: 0; } .planning-progress { display: flex; flex-direction: column; gap: var(--space-sm); padding-bottom: 16px; border-bottom: 1px solid var(--border); flex-shrink: 0; } .planning-progress-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); } .planning-progress-step { height: 4px; border-radius: 999px; background: var(--border); transition: background-color var(--transition-fast); } .planning-progress-step.active { background: var(--todo); } .planning-progress-text { font-size: 12px; color: var(--text-muted); } .planning-question-form { display: flex; flex-direction: column; flex: 1; min-height: 0; } .planning-question-scroll { gap: 20px; } .planning-question-panel { display: flex; flex-direction: column; gap: 20px; padding: 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); } .planning-question-content { display: flex; flex-direction: column; gap: var(--space-lg); } .planning-question-text { font-size: 16px; font-weight: 600; } .planning-question-desc { font-size: 14px; color: var(--text-muted); line-height: 1.4; } /* Options */ .planning-options { display: flex; flex-direction: column; gap: var(--space-lg); } .planning-option { display: flex; align-items: flex-start; gap: var(--space-md); padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); cursor: pointer; transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast); } .planning-option--radio, .planning-option--checkbox { width: 100%; } .planning-option:hover { background: var(--card-hover); border-color: var(--todo); box-shadow: var(--focus-ring); transform: translateY(-1px); } .planning-option input[type="radio"], .planning-option input[type="checkbox"] { margin-top: 2px; accent-color: var(--todo); } .planning-option-content { flex: 1; display: flex; flex-direction: column; gap: var(--space-xs); } .planning-option-label { font-weight: 500; color: var(--text); } .planning-option-desc { font-size: 12px; color: var(--text-muted); } .planning-radio-group, .planning-checkbox-group { display: flex; flex-direction: column; gap: var(--space-md); } .planning-confirm-group { display: flex; gap: var(--space-md); } .planning-confirm-btn { flex: 1; padding: var(--space-md) var(--space-xl); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); } .planning-confirm-btn.selected { background: var(--todo); color: var(--bg); border-color: var(--todo); } /* Actions */ .planning-actions { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: 16px 24px 24px; border-top: 1px solid var(--border); flex-shrink: 0; } .planning-actions .btn { flex-shrink: 0; } .planning-actions-primary { margin-left: auto; } .planning-back-btn { display: inline-flex; align-items: center; gap: var(--space-sm); } /* Summary View */ .planning-summary { display: flex; flex-direction: column; gap: 20px; flex: 1; min-height: 0; } .planning-summary-header { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); text-align: center; } .planning-summary-icon { color: var(--color-success); } .planning-summary-scroll { gap: 20px; } .planning-summary-form { display: flex; flex-direction: column; gap: var(--space-xl); flex: 1; min-height: 0; } .planning-summary-form .form-group { display: flex; flex-direction: column; gap: 10px; padding: var(--space-lg); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); } .planning-summary-form .form-group label { display: flex; align-items: center; gap: var(--space-sm); } .planning-expand-btn { margin-left: auto; padding: 0; background: none; border: none; color: var(--todo); font-size: 12px; font-weight: 500; cursor: pointer; } .planning-expand-btn:hover { text-decoration: underline; } .planning-size-selector { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); } .planning-size-btn { min-width: 0; padding: 14px 12px; display: flex; flex-direction: column; align-items: center; gap: var(--space-xs); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); cursor: pointer; transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast); } .planning-size-btn:hover { background: var(--card-hover); border-color: var(--todo); box-shadow: var(--focus-ring); transform: translateY(-1px); } .planning-size-btn.selected { background: var(--card-hover); border-color: var(--todo); box-shadow: inset 0 0 0 1px var(--todo); } .planning-size-label { font-size: 11px; color: var(--text-muted); } .planning-deps-list { display: flex; flex-wrap: wrap; align-content: flex-start; gap: var(--space-sm); max-height: 180px; overflow-y: auto; padding-right: 4px; overscroll-behavior: contain; } .planning-dep-chip { display: inline-flex; align-items: center; gap: var(--space-sm); min-width: 0; padding: var(--space-sm) var(--space-md); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; font-size: 12px; cursor: pointer; transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast); } .planning-dep-chip:hover { background: var(--card-hover); border-color: var(--todo); box-shadow: var(--focus-ring); transform: translateY(-1px); } .planning-dep-chip.selected { background: var(--card-hover); border-color: var(--todo); box-shadow: inset 0 0 0 1px var(--todo); } .planning-dep-chip input[type="checkbox"] { accent-color: var(--todo); } .planning-dep-id { font-family: var(--font-mono); font-weight: 600; color: var(--text-muted); } .planning-dep-title { color: var(--text); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .planning-deliverables { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; font-size: 14px; color: var(--text); } .planning-deliverables li { position: relative; padding-left: 16px; line-height: 1.5; } .planning-deliverables li::before { content: "•"; position: absolute; left: 0; color: var(--todo); } .planning-summary-actions { justify-content: space-between; } .planning-summary-actions-right { display: flex; gap: var(--space-sm); align-items: center; } /* Loading State */ .planning-loading { display: flex; flex: 1; min-height: 0; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; gap: var(--space-lg); padding: var(--space-xl); color: var(--text-muted); } /* AI Thinking Output Display */ .planning-thinking-container { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); width: 100%; max-width: 600px; } .planning-thinking-toggle { padding: 6px 12px; font-size: 13px; font-weight: 500; color: var(--text-muted); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); cursor: pointer; transition: all 0.15s ease; } .planning-thinking-toggle:hover { background: var(--card-hover); color: var(--text); } .planning-thinking-output { width: 100%; max-height: 300px; overflow-y: auto; overflow-x: hidden; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-lg); text-align: left; } .planning-thinking-output pre { margin: 0; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word; font-family: var(--font-mono); font-size: 13px; line-height: 1.6; color: var(--text); } /* Subtask Drag-and-Drop Styles */ .subtask-item { transition: opacity var(--transition-fast), transform var(--transition-fast); } .subtask-item-dragging { opacity: 0.5; transform: scale(0.98); } .subtask-item-drop-target { background: rgba(88, 166, 255, 0.08); border-color: var(--todo); } .subtask-item-drop-before { position: relative; } .subtask-item-drop-before::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--todo); z-index: 1; } .subtask-item-drop-after { position: relative; } .subtask-item-drop-after::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--todo); z-index: 1; } .subtask-item-header { display: flex; align-items: center; gap: var(--space-sm); } .subtask-drag-handle { display: flex; align-items: center; gap: var(--space-sm); cursor: grab; color: var(--text-dim); transition: color var(--transition-fast); user-select: none; } .subtask-drag-handle:hover { color: var(--text-muted); } .subtask-item-dragging .subtask-drag-handle { cursor: grabbing; color: var(--todo); } .subtask-item-actions { display: flex; align-items: center; gap: var(--space-xs); } .subtask-item-actions .btn-icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; background: transparent; border: 1px solid transparent; border-radius: var(--radius-md); color: var(--text-dim); cursor: pointer; transition: all var(--transition-fast); } .subtask-item-actions .btn-icon:hover:not(:disabled) { background: var(--card-hover); border-color: var(--border); color: var(--text); } .subtask-item-actions .btn-icon:disabled { opacity: 0.3; cursor: not-allowed; } /* Responsive */ @media (max-width: 768px) { .planning-modal { width: 100vw; height: 100vh; height: 100dvh; min-height: 100vh; min-height: 100dvh; max-width: 100%; max-height: 100%; border-radius: 0; } .planning-error { margin: var(--space-lg) var(--space-lg) 0; } .planning-view-scroll { padding: var(--space-lg); gap: 20px; } .planning-view-footer, .planning-actions { padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); } .planning-actions { flex-direction: column; align-items: stretch; } .planning-actions .btn, .planning-start-btn { width: 100%; justify-content: center; } .planning-actions-primary { margin-left: 0; } .planning-example-chips { flex-direction: column; align-items: stretch; } .planning-example-chip { width: 100%; text-align: left; border-radius: var(--radius-lg); } .planning-size-selector { gap: 10px; } .planning-size-btn { min-height: 72px; padding: 12px 10px; } .planning-deps-list { flex-direction: column; flex-wrap: nowrap; max-height: 200px; } .planning-dep-chip { width: 100%; padding: 10px 12px; border-radius: var(--radius-lg); } .planning-dep-title { max-width: none; } /* Planning thinking output mobile adjustments */ .planning-thinking-container { max-width: 100%; } .planning-thinking-output { max-height: 200px; padding: var(--space-md); } .planning-thinking-output pre { font-size: 12px; } /* Prevent mobile zoom on focus for planning text inputs (16px minimum) */ .planning-textarea { font-size: 16px; } } /* ============================================================ USAGE INDICATOR STYLES ============================================================ */ /* Modal sizing */ .usage-modal { width: 520px; max-width: 90vw; } .usage-header { display: flex; align-items: center; gap: var(--space-sm); } .usage-header-icon { color: var(--in-progress); } /* Header actions with view toggle */ .usage-header-actions { display: flex; align-items: center; gap: var(--space-md); } /* View mode toggle */ .usage-view-toggle { display: flex; align-items: center; gap: 2px; background: var(--card); padding: 3px; border-radius: var(--radius-sm); border: 1px solid var(--border); } .usage-view-toggle-btn { padding: 4px 10px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; border: none; background: transparent; color: var(--text-muted); cursor: pointer; transition: all 0.2s ease; } .usage-view-toggle-btn:hover { color: var(--text); } .usage-view-toggle-btn.active { background: var(--todo); color: var(--bg); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); } .usage-view-toggle-btn.active:hover { background: var(--todo); color: var(--bg); } /* Content area */ .usage-content { max-height: 60vh; overflow-y: auto; padding: 0; } /* Provider cards */ .usage-providers { display: flex; flex-direction: column; gap: var(--space-lg); padding: var(--space-lg); } .usage-provider { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; } .usage-provider-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-sm); } .usage-provider-info { display: flex; align-items: center; gap: var(--space-sm); } .usage-provider-icon { font-size: 18px; line-height: 1; } .usage-provider-name { font-weight: 600; font-size: 14px; } /* Status badges */ .usage-status-badge { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; padding: 3px 8px; border-radius: var(--radius-pill); } .usage-status-badge--connected { background: rgba(63, 185, 80, 0.15); color: var(--color-success); } .usage-status-badge--error { background: rgba(248, 81, 73, 0.15); color: var(--color-error); } .usage-status-badge--not-configured { background: rgba(139, 148, 158, 0.15); color: var(--text-muted); } /* Provider meta (plan, email) */ .usage-provider-meta { display: flex; gap: var(--space-md); margin-bottom: var(--space-md); font-size: 12px; color: var(--text-muted); } .usage-provider-plan { font-weight: 500; color: var(--todo); } .usage-provider-email { font-family: var(--font-mono); font-size: 11px; } /* Provider error */ .usage-provider-error { font-size: 12px; color: var(--color-error); background: rgba(248, 81, 73, 0.1); border-left: 3px solid var(--color-error); border-radius: 0 var(--radius) var(--radius) 0; padding: var(--space-sm) var(--space-md); margin-bottom: var(--space-md); } /* Usage windows */ .usage-provider-windows { display: flex; flex-direction: column; gap: var(--space-md); } .usage-window { display: flex; flex-direction: column; gap: var(--space-xs); } .usage-window-header { display: flex; justify-content: space-between; align-items: center; font-size: 12px; } .usage-window-label { font-weight: 500; color: var(--text); } .usage-window-percentage { font-weight: 600; color: var(--text-muted); font-family: var(--font-mono); } /* Progress bar */ .usage-progress-bar { height: 8px; background: var(--border); border-radius: var(--radius-sm); overflow: hidden; } .usage-progress-fill { height: 100%; border-radius: var(--radius-sm); transition: width 0.3s ease, background-color 0.3s ease; } .usage-progress-fill--low { background: var(--color-success); } .usage-progress-fill--medium { background: var(--triage); } .usage-progress-fill--high { background: var(--color-error); } /* Window footer */ .usage-window-footer { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); } .usage-window-left { font-weight: 500; } .usage-window-reset { font-style: italic; } .usage-window-reset-group { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .usage-window-reset-at { font-size: 11px; color: var(--text-muted); white-space: nowrap; background: var(--bg-tertiary); padding: 1px 5px; border-radius: 3px; } /* Pace marker and text */ .usage-progress-wrapper { position: relative; } .usage-pace-marker { position: absolute; top: -1px; width: 2px; height: 10px; background: var(--text-muted); border-radius: 1px; z-index: 2; transform: translateX(-50%); } .usage-pace-row { display: flex; align-items: center; gap: 6px; font-size: 11px; margin-top: var(--space-xs); } .pace-icon { flex-shrink: 0; } .pace-text { font-weight: 500; } /* ahead = over pace, consuming faster than expected (warning - red) */ .pace-ahead { color: var(--color-error); } /* on-track = good/expected usage (unchanged) */ .pace-ontrack { color: var(--color-success); } /* behind = under pace, consuming slower than expected (positive - green) */ .pace-behind { color: var(--color-success); } /* Empty state */ .usage-provider-empty { font-size: 12px; color: var(--text-muted); font-style: italic; padding: 8px 0; } /* Loading skeleton */ .usage-skeleton { display: flex; flex-direction: column; gap: var(--space-lg); padding: var(--space-lg); } .usage-skeleton-provider { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; } .usage-skeleton-header { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); } .usage-skeleton-icon, .usage-skeleton-name, .usage-skeleton-badge, .usage-skeleton-bar, .usage-skeleton-text { background: var(--border); border-radius: var(--radius-sm); animation: skeleton-pulse 1.5s ease-in-out infinite; } .usage-skeleton-icon { width: 24px; height: 24px; border-radius: 50%; } .usage-skeleton-name { flex: 1; height: 14px; max-width: 120px; } .usage-skeleton-badge { width: 80px; height: 18px; border-radius: var(--radius-pill); } .usage-skeleton-bar { height: 8px; width: 100%; border-radius: var(--radius-sm); margin-bottom: var(--space-sm); } .usage-skeleton-text { height: 12px; width: 60%; } @keyframes skeleton-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.8; } } /* Error state */ .usage-error { padding: var(--space-xl); text-align: center; } .usage-error p:first-child { font-weight: 600; color: var(--color-error); margin-bottom: var(--space-sm); } .usage-error-message { font-size: 12px; color: var(--text-muted); margin-bottom: var(--space-lg); } /* Empty state */ .usage-empty { padding: 32px 24px; text-align: center; } .usage-empty p:first-child { font-weight: 500; color: var(--text-muted); margin-bottom: var(--space-sm); } .usage-empty-hint { font-size: 12px; color: var(--text-dim); } /* Actions */ .usage-actions { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); } .usage-last-updated { font-size: 11px; color: var(--text-dim); flex: 1; } /* Mobile responsive */ @media (max-width: 768px) { .usage-modal { width: 100%; max-width: 100%; max-height: 100vh; border-radius: 0; } .usage-content { max-height: calc(100vh - 120px); } .usage-actions { flex-wrap: wrap; } .usage-last-updated { width: 100%; text-align: center; order: 3; margin-top: var(--space-sm); } } /* === Spec Editor === */ .spec-editor { display: flex; flex-direction: column; height: 100%; min-height: 0; overflow: hidden; } /* Double-click to edit cursor - only when not readOnly */ .spec-editor:not(.spec-editor-readonly) .markdown-body { cursor: pointer; } /* Toolbar - fixed at top */ .spec-editor-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); flex-shrink: 0; } .spec-editor-mode-toggle { display: flex; align-items: center; gap: var(--space-xs); } .spec-editor-actions { display: flex; align-items: center; gap: var(--space-sm); } /* Actions row for Save/Cancel in Definition tab edit mode */ .spec-editor-actions-row { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-sm); margin-top: var(--space-sm); } /* Edit mode container in Definition tab */ .spec-editor-edit-mode { display: flex; flex-direction: column; gap: var(--space-sm); } /* Content area - flexible and scrollable */ .spec-editor-content { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 12px 0; } /* Textarea - fills available space in edit mode */ .spec-editor-textarea { width: 100%; min-height: 200px; height: 100%; flex: 1; padding: var(--space-md); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-family: var(--font-mono); font-size: 13px; line-height: 1.6; resize: none; outline: none; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); } .spec-editor-textarea:focus { border-color: var(--todo); box-shadow: var(--focus-ring); } .spec-editor-textarea:disabled { opacity: 0.6; cursor: not-allowed; } /* Empty state */ .spec-editor-empty { padding: var(--space-xl); text-align: center; color: var(--text-muted); font-size: 13px; font-style: italic; } /* Keyboard hint - stays above revision section */ .spec-editor-hint { display: flex; align-items: center; gap: var(--space-xs); padding: 8px 0; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border); flex-shrink: 0; } .spec-editor-hint kbd { display: inline-block; padding: 2px 6px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 11px; font-family: var(--font-mono); } /* AI Revision section - fixed at bottom */ .spec-editor-revision { padding: 16px 0; border-top: 1px solid var(--border); flex-shrink: 0; } .spec-editor-revision h4 { font-size: 13px; font-weight: 600; margin: 0 0 4px 0; color: var(--text); } .spec-editor-revision-help { font-size: 12px; color: var(--text-muted); margin: 0 0 8px 0; } .spec-editor-feedback { width: 100%; padding: 10px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-family: inherit; font-size: 13px; line-height: 1.5; resize: vertical; outline: none; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); } .spec-editor-feedback:focus { border-color: var(--todo); box-shadow: var(--focus-ring); } .spec-editor-feedback:disabled { opacity: 0.6; cursor: not-allowed; } .spec-editor-revision-actions { display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-sm); } .spec-editor-char-count { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); } /* Mobile responsive */ @media (max-width: 768px) { .spec-editor-content { padding: 8px 0; } .spec-editor-textarea { min-height: 150px; padding: 10px; font-size: 14px; } .spec-editor-toolbar { padding: 6px 0; flex-wrap: wrap; gap: var(--space-sm); } .spec-editor-hint { padding: 6px 0; font-size: 11px; } .spec-editor-revision { padding: 12px 0; } .spec-editor-revision h4 { font-size: 12px; } .spec-editor-revision-help { font-size: 11px; } } /* === Quick Entry Box === */ .quick-entry-box { padding: 8px 10px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: var(--space-sm); } .quick-entry-input { width: 100%; padding: 6px 8px; background: transparent; border: none; border-bottom: 1px solid var(--border); color: var(--text); font-size: 13px; line-height: 1.4; font-family: inherit; outline: none; resize: none; min-height: 36px; max-height: 200px; transition: border-color var(--transition-fast), box-shadow var(--transition-fast), min-height 0.2s ease; } .quick-entry-input--expanded { min-height: 80px; } @media (max-width: 768px) { .quick-entry-input--expanded { min-height: 60px; } } .quick-entry-input:focus { border-bottom-color: var(--triage); box-shadow: 0 1px 0 0 var(--triage); } .quick-entry-input::placeholder { color: var(--text-dim); } .quick-entry-input:disabled { opacity: 0.6; cursor: not-allowed; } /* Quick Entry Box expanded controls */ .quick-entry-controls { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); margin-top: var(--space-sm); padding-top: 8px; border-top: 1px solid var(--border); flex-wrap: wrap; } /* AI-assisted description actions — sits between textarea and expanded controls */ .quick-entry-description-actions { display: flex; align-items: center; gap: 6px; margin-top: 4px; flex-wrap: wrap; } .quick-entry-controls-left { display: flex; align-items: center; gap: var(--space-sm); flex: 1 1 auto; flex-wrap: wrap; } .quick-entry-model-wrap { position: relative; } .quick-entry-subtasks-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); cursor: pointer; margin-left: 8px; } .quick-entry-subtasks-toggle input[type="checkbox"] { width: 14px; height: 14px; margin: 0; accent-color: var(--todo); cursor: pointer; } .quick-entry-hint { font-size: 11px; color: var(--text-dim); margin-left: auto; white-space: nowrap; } .quick-entry-model-trigger { font-size: 12px; padding: 3px 8px; } /* Nested model menu (replaces ModelSelectionModal in quick entry) */ .model-nested-menu { position: absolute; top: 100%; left: 0; margin-top: 4px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); z-index: 100; min-width: 240px; max-width: 320px; overflow: hidden; } /* Portaled variant — rendered via createPortal to escape column overflow clipping */ .model-nested-menu--portal { position: fixed; margin-top: 0; z-index: 1000; max-width: 360px; } .model-menu-items { display: flex; flex-direction: column; padding: 4px; } .model-menu-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 12px; background: none; border: none; border-radius: 6px; color: var(--text-primary); cursor: pointer; text-align: left; font-size: 13px; transition: background-color 0.15s; } .model-menu-item:hover { background: var(--bg-hover); } .model-menu-item--active { color: var(--text-accent, var(--todo)); } .model-menu-item-label { display: flex; align-items: center; font-weight: 500; white-space: nowrap; } .model-menu-item-value { flex: 1; text-align: right; font-size: 11px; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 120px; } .model-submenu { display: flex; flex-direction: column; padding: 8px; gap: 8px; } .model-submenu-back { display: flex; align-items: center; background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 12px; padding: 4px 0; width: fit-content; } .model-submenu-back:hover { color: var(--text-primary); } .model-submenu-header { font-size: 12px; font-weight: 600; color: var(--text-primary); padding-bottom: 4px; border-bottom: 1px solid var(--border); } .model-submenu-error { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--text-error, #e53e3e); padding-top: 4px; } /* Responsive: model menu on mobile */ @media (max-width: 640px) { .model-nested-menu { left: 0; right: 0; min-width: unset; max-width: unset; width: calc(100vw - 32px); } } /* Responsive layout for quick entry controls */ @media (max-width: 640px) { .quick-entry-controls { flex-direction: column; align-items: flex-start; gap: 10px; } .quick-entry-controls-left { width: 100%; } .quick-entry-hint { margin-left: 0; width: 100%; text-align: center; } } /* Quick Entry Box main row with toggle */ .quick-entry-main-row { display: flex; align-items: flex-start; gap: var(--space-sm); } .quick-entry-main-row .quick-entry-input { flex: 1; min-width: 0; } .quick-entry-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 6px; height: 32px; width: 32px; flex-shrink: 0; background: transparent; border: 1px solid transparent; border-radius: var(--radius-sm); color: var(--text-muted); cursor: pointer; transition: all var(--transition-fast); } .quick-entry-toggle:hover { background: var(--card-hover); border-color: var(--border); color: var(--text); } .quick-entry-toggle:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; } /* Expanded state - normal padding */ .quick-entry-box--expanded { padding: 8px 10px; } .quick-entry-box--expanded .quick-entry-input { min-height: 36px; } /* Collapsed state - minimal padding */ .quick-entry-box--collapsed { padding: 6px 8px; } .quick-entry-box--collapsed .quick-entry-input { min-height: 32px; border-bottom-color: transparent; } .quick-entry-box--collapsed .quick-entry-input:focus { border-bottom-color: var(--triage); } /* Responsive adjustments for quick entry */ @media (max-width: 640px) { .quick-entry-controls { flex-direction: column; align-items: flex-start; gap: 10px; } .quick-entry-controls-left { width: 100%; } .quick-entry-hint { margin-left: 0; width: 100%; text-align: center; } .quick-entry-toggle { height: 28px; width: 28px; padding: var(--space-xs); } } /* === New Task Modal === */ .new-task-modal .modal-body { padding: 20px 24px; overflow-y: auto; max-height: calc(80vh - 120px); } .new-task-modal .form-group { margin-top: 0; margin-bottom: 20px; padding: 0; } .new-task-modal .form-group:last-of-type { margin-bottom: 0; } .new-task-modal .form-group label { margin-bottom: var(--space-sm); } .new-task-modal .checkbox-label { margin-bottom: 4px !important; } /* Workflow step reorder controls */ .workflow-step-order { margin-top: var(--space-sm); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-sm); } .workflow-step-order-label { display: block; margin-bottom: var(--space-xs); color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; } .workflow-step-order-item { display: flex; align-items: center; gap: var(--space-sm); padding: 4px 6px; border-radius: var(--radius-sm); transition: background var(--transition-fast); } .workflow-step-order-item + .workflow-step-order-item { border-top: 1px solid var(--border-subtle); margin-top: 2px; padding-top: 6px; } .workflow-step-order-item:hover { background: var(--card-hover); } .workflow-step-order-number { display: flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; border-radius: var(--radius-sm); background: var(--bg-tertiary); color: var(--text-secondary); font-size: 11px; font-weight: 600; flex-shrink: 0; } .workflow-step-order-name { flex: 1; font-size: 13px; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .workflow-step-order-actions { display: flex; align-items: center; gap: 2px; flex-shrink: 0; } .workflow-step-order-actions .btn-icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; background: transparent; border: 1px solid transparent; border-radius: var(--radius-sm); color: var(--text-dim); cursor: pointer; transition: all var(--transition-fast); } .workflow-step-order-actions .btn-icon:hover:not(:disabled) { background: var(--card-hover); border-color: var(--border); color: var(--text); } .workflow-step-order-actions .btn-icon:disabled { opacity: 0.3; cursor: not-allowed; } /* === Workflow Step Manager Modal === */ .workflow-step-manager-modal { width: 560px; } .wfm-body { padding: var(--space-md); max-height: 70vh; overflow-y: auto; } /* Loading / empty states */ .wfm-empty { text-align: center; padding: var(--space-xl); color: var(--text-muted); font-size: 14px; } .wfm-loading { text-align: center; padding: var(--space-xl); color: var(--text-muted); } /* Tab navigation row */ .wfm-tab-row { display: flex; gap: var(--space-sm); margin-bottom: var(--space-md); border-bottom: 1px solid var(--border); padding-bottom: var(--space-sm); } .wfm-tab-btn { display: flex; align-items: center; gap: 6px; font-size: 13px; padding: 6px 12px; } /* Step list */ .wfm-step-list { display: flex; flex-direction: column; gap: var(--space-sm); } /* Step card */ .wfm-step-card { padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-secondary); } .wfm-step-card-top { display: flex; justify-content: space-between; align-items: flex-start; } .wfm-step-card-info { flex: 1; min-width: 0; } .wfm-step-card-title-row { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: 4px; } .wfm-step-card-name { font-weight: 600; font-size: 14px; } .wfm-step-card-desc { font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .wfm-step-card-actions { display: flex; gap: 4px; margin-left: var(--space-sm); flex-shrink: 0; } .wfm-delete-confirm { display: flex; gap: 4px; align-items: center; } /* Badges */ .wfm-badge { font-size: 11px; padding: 2px 6px; border-radius: var(--radius-sm); } .wfm-badge-enabled { background: var(--status-success-bg, rgba(34, 197, 94, 0.15)); color: var(--status-success, #22c55e); } .wfm-badge-disabled { background: var(--bg-tertiary); color: var(--text-muted); } .wfm-badge-prompt { background: rgba(59, 130, 246, 0.15); color: #3b82f6; } .wfm-badge-script { background: rgba(168, 85, 247, 0.15); color: #a855f7; } .wfm-badge-category { font-size: 11px; padding: 2px 6px; border-radius: var(--radius-sm); } /* Template cards */ .wfm-template-list { display: flex; flex-direction: column; gap: 12px; } .wfm-template-card { padding: var(--space-md); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-secondary); } .wfm-template-inner { display: flex; gap: 12px; align-items: flex-start; } .wfm-template-icon { padding: var(--space-sm); border-radius: var(--radius-sm); background: var(--bg-tertiary); color: var(--text); flex-shrink: 0; } .wfm-template-content { flex: 1; min-width: 0; } .wfm-template-title-row { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: 4px; } .wfm-template-name { font-weight: 600; font-size: 14px; } .wfm-template-desc { font-size: 12px; color: var(--text-muted); margin-bottom: var(--space-sm); } .wfm-template-add-btn { font-size: 12px; padding: 4px 12px; display: flex; align-items: center; gap: 4px; } /* Edit/create form */ .wfm-form { padding: var(--space-md); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-secondary); } .wfm-form-title { margin: 0 0 12px; font-size: 14px; font-weight: 600; } .wfm-form-fields { display: flex; flex-direction: column; gap: var(--space-md); } .wfm-field label, .wfm-field-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; } .wfm-field input[type="text"], .wfm-field textarea, .wfm-field select { width: 100%; padding: 8px 12px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 13px; font-family: inherit; outline: none; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); } .wfm-field input[type="text"]:focus, .wfm-field textarea:focus, .wfm-field select:focus { border-color: var(--todo); box-shadow: var(--focus-ring); } .wfm-field textarea { resize: vertical; } .wfm-field textarea.wfm-prompt-textarea { font-family: var(--font-mono, monospace); } /* Mode selector */ .wfm-mode-selector { display: flex; gap: var(--space-sm); } .wfm-mode-btn { display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 6px 12px; flex: 1; justify-content: center; } /* Prompt header row (label + refine button) */ .wfm-prompt-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; } .wfm-refine-btn { font-size: 12px; display: flex; align-items: center; gap: 4px; } .wfm-refine-btn span { font-size: 11px; } /* No-scripts placeholder */ .wfm-no-scripts { padding: 8px 12px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--bg-tertiary); color: var(--text-muted); font-size: 12px; } /* Checkbox toggle */ .wfm-checkbox-label { display: flex; align-items: center; gap: var(--space-sm); font-size: 13px; cursor: pointer; } /* Form actions */ .wfm-form-actions { display: flex; justify-content: flex-end; gap: var(--space-sm); margin-top: 4px; } /* Footer */ .wfm-footer { padding: 12px 16px; border-top: 1px solid var(--border); } .wfm-footer-add-btn { display: flex; align-items: center; gap: 6px; } /* Spinner */ .wfm-spinner { margin: 0 auto var(--space-sm); } .new-task-modal .form-group small { display: block; margin-top: var(--space-sm); font-size: 12px; color: var(--text-muted); line-height: 1.4; } .new-task-modal textarea { min-height: 80px; transition: height 0.1s ease-out; } .selected-deps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-sm); padding: 2px 0; } .dep-chip { display: inline-flex; align-items: center; gap: var(--space-xs); padding: 3px 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); font-size: 12px; color: var(--text); font-family: var(--font-mono); max-width: 100%; } .dep-chip-remove { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 12px; line-height: 1; padding: 0; margin-left: 2px; border-radius: 50%; transition: background 0.1s, color 0.1s; } .dep-chip-remove:hover { color: var(--color-error); background: rgba(248, 81, 73, 0.1); } .model-select-row { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-md); } .model-select-row:last-child { margin-bottom: 0; } .model-select-label { width: 70px; flex-shrink: 0; font-size: 13px; color: var(--text-muted); text-align: right; } /* ── Scheduled Tasks ──────────────────────────────────────────────── */ .schedule-modal-content { padding: var(--space-lg) 20px; overflow-y: auto; max-height: 70vh; } .schedule-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-md); padding: 48px 24px; color: var(--text-muted); text-align: center; } .schedule-empty-state h4 { margin: 0; font-size: 16px; color: var(--text-primary); } .schedule-empty-state p { margin: 0; font-size: 13px; } .schedule-empty-state .btn { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-sm); } .schedule-list { display: flex; flex-direction: column; gap: var(--space-md); } .schedule-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 16px; background: var(--card-bg); transition: border-color 0.15s; } .schedule-card:hover { border-color: var(--border-hover, var(--border)); } .schedule-card.disabled { opacity: 0.55; } .schedule-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-md); } .schedule-card-info { flex: 1; min-width: 0; } .schedule-card-name-row { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; } .schedule-card-name { font-weight: 600; font-size: 14px; color: var(--text-primary); } .schedule-type-badge { font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 999px; border: 1px solid; line-height: 1.5; white-space: nowrap; } .schedule-card-description { margin: 4px 0 0; font-size: 12px; color: var(--text-muted); line-height: 1.4; } .schedule-card-actions { display: flex; align-items: center; gap: var(--space-xs); flex-shrink: 0; } .schedule-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); margin-top: 10px; font-size: 12px; color: var(--text-muted); } .schedule-meta-item { display: flex; align-items: center; gap: var(--space-xs); } .schedule-meta-label { font-weight: 500; } .schedule-cron { font-size: 11px; padding: 1px 5px; background: var(--bg-secondary, rgba(128, 128, 128, 0.1)); border-radius: var(--radius-sm); } .schedule-run-badge { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 999px; } .schedule-run-badge.success { color: var(--color-green, #22c55e); background: rgba(34, 197, 94, 0.1); } .schedule-run-badge.failure { color: var(--color-red, #ef4444); background: rgba(239, 68, 68, 0.1); } .schedule-run-duration { opacity: 0.7; } /* Run History */ .schedule-card-history { margin-top: 10px; border-top: 1px solid var(--border); padding-top: 8px; } .schedule-history-toggle { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); background: none; border: none; cursor: pointer; padding: 2px 0; width: 100%; text-align: left; } .schedule-history-toggle:hover { color: var(--text-primary); } .schedule-history-list { display: flex; flex-direction: column; gap: var(--space-xs); margin-top: var(--space-sm); } .schedule-history-item { border-radius: var(--radius-sm); } .schedule-history-header { display: flex; align-items: center; gap: var(--space-sm); width: 100%; padding: 4px 6px; font-size: 12px; color: var(--text-muted); background: none; border: none; cursor: pointer; border-radius: var(--radius-sm); } .schedule-history-header:hover { background: var(--bg-secondary, rgba(128, 128, 128, 0.08)); } .schedule-history-status.success { color: var(--color-green, #22c55e); } .schedule-history-status.failure { color: var(--color-red, #ef4444); } .schedule-history-time { flex: 1; } .schedule-history-duration { opacity: 0.6; } .schedule-history-detail { padding: 4px 6px 8px 26px; } .schedule-history-output { font-size: 11px; line-height: 1.4; margin: 0; padding: var(--space-sm); background: var(--bg-secondary, rgba(128, 128, 128, 0.08)); border-radius: var(--radius-sm); overflow-x: auto; max-height: 200px; overflow-y: auto; white-space: pre-wrap; word-break: break-all; } .schedule-history-error { font-size: 11px; color: var(--color-red, #ef4444); margin-top: var(--space-xs); } .schedule-history-more { font-size: 11px; color: var(--text-muted); padding: 4px 6px; text-align: center; } /* Schedule card: step count badge */ .schedule-steps-badge { font-size: 11px; font-weight: 500; color: var(--text-secondary); } .schedule-meta-command-preview { max-width: 200px; overflow: hidden; } .schedule-command-preview { font-size: 11px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; } /* Step result indicators (dots in run history header) */ .step-results-indicator { display: inline-flex; gap: 3px; align-items: center; margin: 0 4px; } .step-result-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; } .step-result-dot.success { background: var(--color-green, #22c55e); } .step-result-dot.failure { background: var(--color-red, #ef4444); } /* Per-step results in run history detail */ .schedule-step-results { display: flex; flex-direction: column; gap: var(--space-xs); margin-bottom: var(--space-sm); padding: 6px; border-radius: var(--radius-sm); background: var(--bg-secondary); } .schedule-step-result { display: flex; align-items: center; gap: 6px; font-size: 11px; } .schedule-step-result-status { display: flex; align-items: center; } .schedule-step-result.success .schedule-step-result-status { color: var(--color-green, #22c55e); } .schedule-step-result.failure .schedule-step-result-status { color: var(--color-red, #ef4444); } .schedule-step-result-name { font-weight: 500; color: var(--text-primary); } .schedule-step-result-error { color: var(--color-red, #ef4444); font-size: 10px; } /* Step type badges */ .step-type-badge { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: 0.02em; } .step-type-command { color: var(--color-blue, #3b82f6); background: color-mix(in srgb, var(--color-blue, #3b82f6) 12%, transparent); } .step-type-ai-prompt { color: var(--color-purple, #a855f7); background: color-mix(in srgb, var(--color-purple, #a855f7) 12%, transparent); } /* Steps editor */ .steps-editor { margin: 8px 0; } .steps-editor-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-sm); } .steps-editor-title { font-size: 12px; font-weight: 600; color: var(--text-secondary); } .steps-empty-state { padding: var(--space-lg); text-align: center; color: var(--text-muted); font-size: 12px; border: 1px dashed var(--border); border-radius: var(--radius-sm); margin-bottom: var(--space-sm); } .steps-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-sm); } .step-card { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-primary); } .step-card-row { display: flex; align-items: center; gap: var(--space-sm); padding: 8px 10px; } .step-card-drag { color: var(--text-muted); cursor: grab; display: flex; align-items: center; } .step-card-index { font-size: 10px; font-weight: 700; color: var(--text-muted); min-width: 16px; text-align: center; } .step-card-name { flex: 1; font-size: 12px; font-weight: 500; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .step-card-flag { font-size: 10px; } .step-card-actions { display: flex; gap: 2px; align-items: center; } /* Step editor inline form */ .step-editor { padding: var(--space-md); } .step-editor .form-group { margin-bottom: var(--space-sm); } .step-editor-actions { display: flex; gap: var(--space-sm); justify-content: flex-end; margin-top: var(--space-md); } /* Steps add buttons */ .steps-add-buttons { display: flex; gap: var(--space-sm); } .steps-add-buttons .btn { display: inline-flex; align-items: center; gap: var(--space-xs); } /* Schedule form mode toggle */ .schedule-mode-toggle { display: flex; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; } .schedule-mode-btn { flex: 1; padding: 6px 12px; font-size: 12px; font-weight: 500; border: none; background: var(--bg-secondary); color: var(--text-secondary); cursor: pointer; transition: background 0.15s, color 0.15s; } .schedule-mode-btn:hover { background: var(--bg-tertiary, var(--bg-secondary)); } .schedule-mode-btn.active { background: var(--accent-color, #3b82f6); color: white; } .form-group-row { display: flex; gap: var(--space-md); } .form-group-row .form-group { flex: 1; } /* Schedule form within modal */ .schedule-form { padding: 0; } .schedule-form .modal-actions { padding: 16px 0 0; border-top: 1px solid var(--border); margin-top: var(--space-lg); } /* ── Activity Log Modal ─────────────────────────────────────────── */ .activity-log-modal { max-height: 80vh; display: flex; flex-direction: column; } .activity-log-header { /* Extends shared .modal-header with activity-log-specific overrides */ gap: var(--space-sm); } .activity-log-title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--text); } .activity-log-actions { display: flex; align-items: center; gap: var(--space-sm); } .activity-log-filter { display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-muted); } .activity-log-filter-select { background: transparent; border: none; color: var(--text); font-size: 13px; cursor: pointer; outline: none; } .activity-log-refresh, .activity-log-clear { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: none; background: transparent; color: var(--text-muted); cursor: pointer; border-radius: var(--radius-sm); transition: background var(--transition-fast), color var(--transition-fast); } .activity-log-refresh:hover, .activity-log-clear:hover { background: var(--card-hover); color: var(--text); } .activity-log-content { flex: 1; overflow-y: auto; padding: var(--space-lg) 20px; min-height: 300px; } .activity-log-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; color: var(--text-muted); text-align: center; } .activity-log-empty-icon { opacity: 0.3; margin-bottom: var(--space-lg); } .activity-log-empty p { font-size: 14px; margin: 0; } .activity-log-error { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md) var(--space-lg); background: var(--color-red, rgba(239, 68, 68, 0.1)); color: var(--color-red, #ef4444); border-radius: var(--radius-md); margin-bottom: var(--space-lg); font-size: 13px; } .activity-log-list { display: flex; flex-direction: column; gap: var(--space-md); } .activity-log-entry { display: flex; gap: var(--space-md); padding: var(--space-md); background: var(--bg-secondary); border-radius: var(--radius-md); border: 1px solid var(--border); } .activity-log-entry-icon { flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--bg); border-radius: var(--radius-sm); border: 1px solid var(--border); } .activity-icon { color: var(--text-muted); } .activity-icon.created { color: var(--todo, #58a6ff); } .activity-icon.moved { color: var(--in-progress, #f0883e); } .activity-icon.updated { color: var(--info, #79c0ff); } .activity-icon.deleted { color: var(--color-red, #ef4444); } .activity-icon.merged { color: var(--done, #3fb950); } .activity-icon.failed { color: var(--color-red, #ef4444); } .activity-icon.settings { color: var(--text-muted); } .activity-log-entry-content { flex: 1; min-width: 0; } .activity-log-entry-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-xs); } .activity-log-entry-type { font-size: 12px; font-weight: 600; color: var(--text); text-transform: capitalize; } .activity-log-entry-time { font-size: 11px; color: var(--text-muted); } .activity-log-entry-details { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-xs); } .activity-log-task-link { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--todo, #58a6ff); background: none; border: none; padding: 0; cursor: pointer; text-decoration: none; } .activity-log-task-link:hover { text-decoration: underline; } .activity-log-task-title { font-size: 13px; font-weight: 500; color: var(--text); } .activity-log-entry-text { font-size: 13px; color: var(--text-muted); } .activity-log-entry-metadata { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: 6px; } .activity-log-metadata-item { font-size: 11px; padding: 2px 8px; background: var(--bg); border-radius: var(--radius-sm); color: var(--text-muted); } .activity-log-metadata-item.success { color: var(--done, #3fb950); background: rgba(63, 185, 80, 0.1); } .activity-log-metadata-item.error { color: var(--color-red, #ef4444); background: rgba(239, 68, 68, 0.1); } .activity-log-load-more { width: 100%; padding: var(--space-md); margin-top: var(--space-lg); background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); font-size: 13px; cursor: pointer; transition: background var(--transition-fast); } .activity-log-load-more:hover { background: var(--card-hover); } .activity-log-loading { display: flex; align-items: center; justify-content: center; padding: 20px; } .activity-log-loading .spin { animation: spin 1s linear infinite; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } /* Active filters bar */ .activity-log-active-filters { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) 20px; border-bottom: 1px solid var(--border); background: var(--bg-secondary); flex-wrap: wrap; } .activity-log-filter-label { font-size: 12px; color: var(--text-muted); font-weight: 500; } .activity-log-filter-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-pill); color: var(--text-muted); font-size: 11px; font-weight: 600; } .activity-log-clear-filters { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-muted); font-size: 11px; cursor: pointer; transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); } .activity-log-clear-filters:hover { background: var(--card-hover); color: var(--text); border-color: var(--text-dim); } /* Project filter variant */ .activity-log-filter--project { min-width: 140px; } /* Confirmation dialog */ .activity-log-confirm-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 100; border-radius: var(--radius-lg); } .activity-log-confirm-dialog { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-xl); max-width: 360px; text-align: center; } .activity-log-confirm-dialog h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--text); } .activity-log-confirm-dialog p { margin: 0 0 20px; font-size: 13px; color: var(--text-muted); } .activity-log-confirm-actions { display: flex; gap: var(--space-md); justify-content: center; } .activity-log-confirm-cancel, .activity-log-confirm-clear { padding: 10px 20px; border-radius: var(--radius-md); font-size: 13px; font-weight: 500; cursor: pointer; transition: background var(--transition-fast); } .activity-log-confirm-cancel { background: var(--bg-secondary); border: 1px solid var(--border); color: var(--text); } .activity-log-confirm-cancel:hover { background: var(--card-hover); } .activity-log-confirm-clear { background: var(--color-red, #ef4444); border: 1px solid var(--color-red, #ef4444); color: white; } .activity-log-confirm-clear:hover { background: #dc2626; border-color: #dc2626; } /* ── Activity Log — Mobile (≤ 768px) ─────────────────────────────── */ @media (max-width: 768px) { /* Header: stack title above actions */ .activity-log-header { flex-wrap: wrap; gap: var(--space-sm); padding: var(--space-md) var(--space-lg); } .activity-log-title { flex: 1 1 auto; } .activity-log-actions { flex: 1 1 100%; flex-wrap: wrap; gap: var(--space-xs); } /* Filter containers fill available width */ .activity-log-filter, .activity-log-filter--project { flex: 1 1 0; min-width: 0; } .activity-log-filter-select { width: 100%; } /* Action buttons stay inline but shrink */ .activity-log-refresh, .activity-log-clear { width: 28px; height: 28px; flex-shrink: 0; } /* Active filters bar wraps on small screens */ .activity-log-active-filters { flex-wrap: wrap; padding: var(--space-sm) var(--space-lg); gap: var(--space-xs); } .activity-log-clear-filters { margin-left: 0; } /* Content area tighter padding */ .activity-log-content { padding: var(--space-md) var(--space-lg); min-height: 200px; } /* Entries: allow content to wrap freely */ .activity-log-entry { gap: var(--space-sm); padding: var(--space-sm); } .activity-log-entry-icon { width: 24px; height: 24px; } .activity-log-entry-header { flex-wrap: wrap; gap: var(--space-xs); } .activity-log-entry-details { flex-wrap: wrap; word-break: break-word; } .activity-log-entry-text { word-break: break-word; } /* Empty state compact */ .activity-log-empty { padding: var(--space-xl) var(--space-lg); } /* Confirmation dialog fills more of the viewport */ .activity-log-confirm-dialog { max-width: calc(100vw - 32px); margin: 0 var(--space-lg); } .activity-log-confirm-actions { flex-direction: column; gap: var(--space-sm); } .activity-log-confirm-cancel, .activity-log-confirm-clear { width: 100%; text-align: center; } } /* ══════════════════════════════════════════════════════════════════ GIT MANAGER MODAL ══════════════════════════════════════════════════════════════════ */ /* Modal size override - flex layout for sidebar + content */ .gm-modal { width: 900px; max-width: 95vw; max-height: 85vh; display: flex; flex-direction: column; overflow: hidden; } /* Main layout: sidebar + content */ .gm-layout { display: flex; flex: 1; min-height: 0; overflow: hidden; } /* ── Sidebar ── */ .gm-sidebar { display: flex; flex-direction: column; width: 160px; min-width: 160px; border-right: 1px solid var(--border); background: rgba(0, 0, 0, 0.05); padding: var(--space-sm) 0; overflow-y: auto; } .gm-nav-item { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-lg); background: none; border: none; color: var(--text-muted); font-size: 13px; cursor: pointer; transition: all var(--transition-fast); text-align: left; width: 100%; border-left: 3px solid transparent; } .gm-nav-item:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); } .gm-nav-item.active { color: var(--text); background: rgba(88, 166, 255, 0.08); border-left-color: var(--todo); font-weight: 500; } /* ── Header Actions ── */ .gm-header-actions { display: flex; align-items: center; gap: var(--space-sm); } /* ── Content Area ── */ .gm-content { flex: 1; overflow-y: auto; padding: var(--space-lg); min-height: 400px; position: relative; } /* ── Loading / Error ── */ .gm-loading { display: flex; align-items: center; justify-content: center; gap: var(--space-sm); padding: var(--space-2xl); color: var(--text-muted); font-size: 14px; } .gm-error { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-lg); background: rgba(248, 81, 73, 0.1); border: 1px solid rgba(248, 81, 73, 0.2); border-radius: var(--radius-md); color: var(--color-error); font-size: 13px; } .gm-error .btn { margin-left: auto; } /* ── Panel Container ── */ .gm-panel { display: flex; flex-direction: column; gap: var(--space-md); } .gm-panel-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); } .gm-panel-header h4 { font-size: 15px; font-weight: 600; margin: 0; } /* ── Empty State ── */ .gm-empty { display: flex; align-items: center; justify-content: center; padding: var(--space-xl); color: var(--text-dim); font-size: 13px; font-style: italic; } /* ── Status Panel ── */ .gm-status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); } .gm-status-card { display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-md); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); } .gm-status-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); } .gm-status-value { display: flex; align-items: center; gap: var(--space-xs); font-size: 14px; color: var(--text); } .gm-status-badge { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: 13px; font-weight: 500; padding: 2px 8px; border-radius: var(--radius-sm); } .gm-status-badge.clean { color: var(--color-success); background: rgba(63, 185, 80, 0.1); } .gm-status-badge.dirty { color: var(--color-error); background: rgba(248, 81, 73, 0.1); } .gm-hash { font-family: var(--font-mono); font-size: 12px; background: rgba(255, 255, 255, 0.05); padding: 2px 6px; border-radius: var(--radius-sm); color: var(--todo); } .gm-ahead { display: inline-flex; align-items: center; gap: 2px; color: var(--color-success); font-size: 13px; font-weight: 500; } .gm-behind { display: inline-flex; align-items: center; gap: 2px; color: var(--color-error); font-size: 13px; font-weight: 500; } .gm-in-sync { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-success); font-size: 13px; } /* ── Icon Button ── */ .gm-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: none; border: none; border-radius: var(--radius-sm); color: var(--text-muted); cursor: pointer; transition: all var(--transition-fast); flex-shrink: 0; } .gm-icon-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--text); } /* ── Search Box ── */ .gm-search-box { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-xs) var(--space-sm); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); flex: 0 0 auto; max-width: 200px; } .gm-search-box input { background: none; border: none; color: var(--text); font-size: 12px; outline: none; width: 100%; min-width: 0; } .gm-search-box svg { color: var(--text-muted); flex-shrink: 0; } /* ── Changes Panel ── */ .gm-changes-header { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-sm) var(--space-md); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); } .gm-branch-indicator { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: 13px; font-weight: 500; color: var(--text); } .gm-dirty-badge { font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: var(--radius-sm); background: rgba(248, 81, 73, 0.1); color: var(--color-error); } /* ── File Section ── */ .gm-file-section { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; } .gm-file-section-header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-sm) var(--space-md); background: rgba(0, 0, 0, 0.1); border-bottom: 1px solid var(--border); } .gm-file-section-header h5 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; color: var(--text-muted); margin: 0; } .gm-file-section-actions { display: flex; gap: var(--space-xs); } /* ── File List ── */ .gm-file-list { max-height: 200px; overflow-y: auto; } .gm-file-item { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-xs) var(--space-md); border-bottom: 1px solid rgba(255, 255, 255, 0.03); font-size: 13px; transition: background var(--transition-fast); } .gm-file-item:last-child { border-bottom: none; } .gm-file-item:hover { background: rgba(255, 255, 255, 0.03); } .gm-file-item.staged { background: rgba(63, 185, 80, 0.03); } .gm-file-checkbox { display: flex; align-items: center; cursor: pointer; flex-shrink: 0; } .gm-file-checkbox input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--todo); } .gm-file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: 12px; color: var(--text); } .gm-file-icon { flex-shrink: 0; } .gm-file-added { color: var(--color-success); } .gm-file-modified { color: var(--todo); } .gm-file-deleted { color: var(--color-error); } .gm-file-renamed { color: var(--in-progress); } .gm-file-badge { font-family: var(--font-mono); font-size: 10px; font-weight: 700; padding: 1px 4px; border-radius: var(--radius-sm); flex-shrink: 0; } .gm-file-badge-added, .gm-file-badge-untracked { background: rgba(63, 185, 80, 0.15); color: var(--color-success); } .gm-file-badge-modified { background: rgba(88, 166, 255, 0.15); color: var(--todo); } .gm-file-badge-deleted { background: rgba(248, 81, 73, 0.15); color: var(--color-error); } .gm-file-badge-renamed, .gm-file-badge-copied { background: rgba(188, 140, 255, 0.15); color: var(--in-progress); } /* ── Diff Viewer ── */ .gm-diff-section { display: flex; flex-direction: column; gap: var(--space-sm); } .changed-files-diff-section { height: 100%; } .gm-diff-viewer { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--card); } .gm-diff-stat { padding: var(--space-sm) var(--space-md); background: var(--surface); font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); border-bottom: 1px solid var(--border); margin: 0; white-space: pre-wrap; word-break: break-all; } .gm-diff-patch { padding: var(--space-sm) var(--space-md); font-family: var(--font-mono); font-size: 11px; line-height: 1.5; color: var(--text); max-height: 420px; overflow: auto; margin: 0; white-space: pre-wrap; word-break: break-all; } .gm-diff-loading { display: flex; align-items: center; justify-content: center; gap: var(--space-sm); padding: var(--space-lg); color: var(--text-muted); font-size: 13px; background: var(--surface); border-radius: var(--radius-md); border: 1px solid var(--border); } .gm-diff-error { padding: var(--space-md); color: var(--color-error); font-size: 13px; background: var(--surface); border-radius: var(--radius-md); border: 1px solid var(--border); } .changed-files-layout { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); min-height: 60vh; } .changed-files-sidebar { border-right: 1px solid var(--border); background: var(--surface); } .changed-files-content { padding: var(--space-md); min-width: 0; display: flex; flex-direction: column; overflow-y: auto; } .changed-files-entry { /* Button reset — entries are