/* === Reset & Tokens === */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } :root { --bg: #0d1117; --surface: #161b22; --card: #21262d; --card-hover: #282e36; --border: #30363d; --text: #e6edf3; --text-muted: #8b949e; --text-dim: #484f58; --triage: #d29922; --todo: #58a6ff; --in-progress: #bc8cff; --in-review: #3fb950; --done: #8b949e; --color-success: #3fb950; --color-error: #f85149; --color-muted: #8b949e; --radius: 8px; --radius-lg: 12px; --shadow: 0 4px 24px rgba(0, 0, 0, 0.4); --transition-fast: 0.15s ease; --transition-normal: 0.2s ease; } html, body { height: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; background: var(--bg); color: var(--text); overflow: hidden; } /* === Header === */ .header { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; border-bottom: 1px solid var(--border); background: var(--surface); } .header-left { display: flex; align-items: center; gap: 8px; } .header-logo { width: 24px; height: 24px; flex-shrink: 0; } .header-actions { display: flex; align-items: center; gap: 8px; } .btn-icon { background: none; border: none; color: var(--text-muted); font-size: 18px; cursor: pointer; padding: 4px 8px; border-radius: var(--radius); transition: color 0.15s, background 0.15s; } .btn-icon:hover { color: var(--text); background: var(--border); } .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-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: 8px; 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); } /* View Toggle */ .view-toggle { display: flex; align-items: center; gap: 2px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2px; } .view-toggle-btn { display: flex; align-items: center; justify-content: center; width: 28px; height: 24px; background: none; border: none; border-radius: 4px; 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.active { background: var(--todo); color: var(--bg); } .view-toggle-btn.active:hover { background: var(--todo); color: var(--bg); } .logo { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; } .logo-sub { font-size: 13px; color: var(--text-muted); font-weight: 400; } /* === Buttons === */ .btn { padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--radius); 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:active { transform: scale(0.97); } .btn-primary { background: #238636; border-color: #2ea043; color: #fff; } .btn-primary:hover { background: #2ea043; box-shadow: 0 0 8px rgba(46, 160, 67, 0.3); } .btn-danger { background: #da3633; border-color: #f85149; color: #fff; } .btn-danger:hover { background: #f85149; box-shadow: 0 0 8px rgba(248, 81, 73, 0.3); } .btn-warning { background: #d29922; border-color: #e3b341; color: #fff; } .btn-warning:hover { background: #e3b341; box-shadow: 0 0 8px rgba(227, 179, 65, 0.3); } .btn-sm { padding: 4px 10px; font-size: 12px; } /* === Board === */ .board { display: grid; grid-template-columns: repeat(5, minmax(260px, 1fr)); gap: 12px; padding: 16px 24px; height: calc(100vh - 57px); 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: 4px; } .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 0.2s; 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: 8px; padding: 14px 14px 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); } .column-header h2 { font-size: 14px; font-weight: 600; flex: 1; } .column-count { font-size: 12px; color: var(--text-muted); background: var(--card); padding: 2px 8px; border-radius: 10px; 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: 4px 14px 10px; } .column-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 4px 8px 8px; display: flex; flex-direction: column; gap: 6px; } .column-body::-webkit-scrollbar { width: 4px; } .column-body::-webkit-scrollbar-track { background: transparent; } .column-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; } /* === Cards === */ .card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; cursor: grab; transition: background 0.15s, border-color 0.15s, transform 0.15s, opacity 0.2s; user-select: none; } .card:hover { background: var(--card-hover); border-color: var(--text-muted); } .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(188, 140, 255, 0.4), 0 0 20px rgba(188, 140, 255, 0.15); animation: agent-glow 2.5s ease-in-out infinite; } @keyframes agent-glow { 0%, 100% { box-shadow: 0 0 8px rgba(188, 140, 255, 0.4), 0 0 20px rgba(188, 140, 255, 0.15); } 50% { box-shadow: 0 0 12px rgba(188, 140, 255, 0.6), 0 0 28px rgba(188, 140, 255, 0.25); } } .card-header { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; } .card-id { display: inline-block; font-size: 11px; font-weight: 600; color: var(--text-muted); font-family: "SF Mono", Monaco, Consolas, monospace; } .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: 8px; margin-top: 8px; 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: 10px; } .card-status-badge.pulsing { animation: pulse 1.5s ease-in-out infinite; } .card-status-badge.failed { background: rgba(218, 54, 51, 0.15); color: #da3633; } /* 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: 10px; margin-left: auto; } /* 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 #da3633; } .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: 4px; } .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: 6px; padding: 4px 8px; font-size: 11px; white-space: nowrap; z-index: 10; pointer-events: none; margin-bottom: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); } .card-progress { display: flex; align-items: center; gap: 8px; margin-top: 8px; } .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: "SF Mono", Monaco, Consolas, monospace; flex-shrink: 0; } /* Steps toggle and list */ .card-steps-toggle { display: flex; align-items: center; gap: 4px; margin-top: 6px; padding: 0; background: none; border: none; cursor: pointer; font-size: 11px; color: var(--text-muted); transition: color 0.15s ease; } .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 0.2s ease; } .card-steps-toggle-icon.expanded { transform: rotate(180deg); } .card-steps-list { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; 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; } /* === 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); display: flex; flex-direction: column; } .modal-lg { width: 640px; } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; 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-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--border); background: rgba(0, 0, 0, 0.05); } /* === Forms === */ .form-group { padding: 0 20px; margin-top: 16px; } .form-group:last-of-type { margin-bottom: 8px; } .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: 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; transition: border-color 0.15s; } .form-group input:not([type="checkbox"]):focus, .form-group textarea:focus { border-color: var(--todo); box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.15); } .form-group input[type="checkbox"] { width: 16px; height: 16px; padding: 0; margin: 0; accent-color: var(--todo); cursor: pointer; border-radius: 3px; transition: box-shadow var(--transition-fast); } .form-group input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.3); outline: none; } .checkbox-label { display: flex !important; align-items: center; gap: 8px; 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: 0 0 0 2px rgba(88, 166, 255, 0.15); } .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: 4px 8px; } /* === 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: 8px 12px; 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.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: 4px; } /* === 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: 4px; padding: 2px 8px; border-radius: 10px; 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); } .settings-empty-state { padding: 12px 20px; font-size: 13px; } .settings-muted { color: var(--text-muted); } .settings-loading { text-align: center; } /* === Detail Modal === */ .detail-title-row { display: flex; align-items: center; gap: 10px; } .detail-id { font-family: "SF Mono", Monaco, Consolas, monospace; font-size: 13px; font-weight: 600; color: var(--text-muted); } .detail-column-badge { font-size: 11px; padding: 2px 8px; border-radius: 10px; 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; } .detail-title { font-size: 18px; font-weight: 600; margin-bottom: 12px; } .detail-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; } .detail-section { margin-top: 16px; } .detail-section h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 8px; } .detail-prompt { padding: 14px; font-size: 13px; line-height: 1.6; font-family: "SF Mono", Monaco, Consolas, monospace; 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: 4px; padding: 0.15em 0.4em; font-size: 0.9em; font-family: "SF Mono", Monaco, Consolas, monospace; } .markdown-body pre { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; 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: 16px; } .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: "SF Mono", Monaco, Consolas, monospace; 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: 16px; } .detail-step-progress h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 8px; } .step-progress-wrapper { display: flex; align-items: center; gap: 12px; } .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: 6px; padding: 4px 8px; font-size: 11px; white-space: nowrap; z-index: 10; pointer-events: none; margin-bottom: 4px; 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: "SF Mono", Monaco, Consolas, monospace; 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: "SF Mono", Monaco, Consolas, monospace; } .detail-log-action { font-size: 13px; color: var(--text-muted); line-height: 1.4; } .detail-log-outcome { margin-top: 6px; padding: 8px 12px; 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: 8px; } .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: #da3633; } .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: 8px; margin-bottom: 8px; 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: "SF Mono", Monaco, Consolas, monospace; } /* 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: 8px; } /* Title input in edit mode */ .card-edit-title-input { width: 100%; padding: 6px 8px; background: transparent; border: 1px solid transparent; border-bottom: 1px solid var(--border); color: var(--text); font-size: 13px; font-weight: 500; font-family: inherit; outline: none; transition: border-color 0.15s, box-shadow 0.15s; } .card-edit-title-input:focus { border-color: var(--todo); border-bottom-color: var(--todo); box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.15); border-radius: var(--radius); } .card-edit-title-input::placeholder { color: var(--text-dim); font-weight: 400; } .card-edit-title-input:disabled { opacity: 0.6; cursor: not-allowed; } /* 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: 38px; transition: border-color 0.15s, box-shadow 0.15s; } .card-edit-desc-textarea:focus { border-color: var(--todo); box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.15); border-radius: var(--radius); } .card-edit-desc-textarea::placeholder { color: var(--text-dim); } .card-edit-desc-textarea:disabled { opacity: 0.6; cursor: not-allowed; } /* Edit button - visible on hover */ .card-edit-btn { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; margin-left: auto; background: transparent; border: none; border-radius: 4px; 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; } /* Loading state during save */ .card-edit-loading { display: flex; align-items: center; gap: 8px; margin-top: 4px; 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); } /* 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: 8px; } .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-footer { display: flex; align-items: center; gap: 8px; } .inline-create-hint { font-size: 11px; color: var(--text-dim); margin-left: auto; } .inline-create-previews { display: flex; flex-wrap: wrap; gap: 8px; } .inline-create-preview { position: relative; width: 48px; height: 48px; border: 1px solid var(--border, #333); border-radius: 6px; overflow: hidden; background: var(--bg-secondary, #1a1a2e); flex-shrink: 0; } .inline-create-preview img { width: 100%; height: 100%; object-fit: cover; display: block; } .inline-create-preview-remove { position: absolute; top: 1px; right: 1px; background: rgba(0, 0, 0, 0.6); color: #fff; border: none; border-radius: 50%; width: 18px; height: 18px; cursor: pointer; font-size: 12px; line-height: 18px; text-align: center; padding: 0; } .inline-create-preview-remove:hover { background: rgba(200, 0, 0, 0.8); } .dep-trigger-wrap { position: relative; } .dep-trigger { font-size: 12px; padding: 3px 8px; } .dep-dropdown { position: absolute; top: 100%; left: 0; margin-top: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-width: 220px; max-height: 200px; overflow-y: auto; z-index: 50; box-shadow: var(--shadow); } .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: 8px; 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: "SF Mono", Monaco, Consolas, monospace; font-weight: 600; color: var(--text-muted); flex-shrink: 0; } .dep-dropdown-title { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* === 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: 8px; transition: background 0.2s; 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 0.2s; } .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: 12px; } .detail-tab { padding: 8px 16px; 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-active { border-bottom-color: var(--in-progress); color: var(--text); font-weight: 600; } /* === 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) { /* 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: 12px; gap: 12px; } .board > .column { width: 280px; flex-shrink: 0; scroll-snap-align: center; } /* Reduce header padding to reclaim horizontal space */ .header { padding: 12px 12px; } /* 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: 8px; padding: 12px 14px; } .modal-actions .btn { min-width: 0; } .modal-header { padding: 12px 14px; } .detail-tab { padding: 8px 12px; font-size: 13px; flex: 1; text-align: center; } /* 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: 8px; } } /* === GitHub Import Modal === */ .form-row { display: flex; gap: 12px; align-items: flex-end; } .form-row .form-group { flex: 1; min-width: 0; } .form-row .form-group--action { flex: 0 0 auto; } .form-row .btn { height: 32px; } .form-error { margin: 12px 0; padding: 8px 12px; background: rgba(248, 81, 73, 0.1); border: 1px solid var(--color-error); border-radius: var(--radius); color: var(--color-error); font-size: 13px; } .issues-list { margin-top: 16px; max-height: 240px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius); } .issues-list h4 { padding: 10px 12px; font-size: 13px; font-weight: 500; color: var(--text-muted); border-bottom: 1px solid var(--border); } .issue-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background var(--transition-fast); } .issue-item:last-child { border-bottom: none; } .issue-item:hover:not(.imported) { background: var(--card-hover); } .issue-item.selected { background: rgba(88, 166, 255, 0.1); } .issue-item.imported { opacity: 0.6; cursor: not-allowed; } .issue-number { font-size: 12px; color: var(--text-muted); min-width: 40px; } .issue-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .issue-labels { display: flex; gap: 4px; flex-shrink: 0; } .label-chip { padding: 2px 6px; font-size: 11px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; color: var(--text-muted); } .imported-badge { padding: 2px 8px; font-size: 11px; background: rgba(63, 185, 80, 0.2); border: 1px solid var(--color-success); border-radius: 12px; color: var(--color-success); } .issue-preview { margin-top: 16px; padding: 12px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); } .issue-preview h4 { font-size: 12px; font-weight: 500; color: var(--text-muted); margin-bottom: 8px; } .preview-title { font-weight: 500; margin-bottom: 8px; } .preview-body { font-size: 13px; color: var(--text-muted); line-height: 1.4; } @keyframes spin { to { transform: rotate(360deg); } } .spin { animation: spin 1s linear infinite; } /* === List View === */ .list-view { display: flex; flex-direction: column; height: calc(100vh - 57px); overflow: hidden; background: var(--bg); } .list-toolbar { display: flex; align-items: center; gap: 12px; padding: 12px 24px; border-bottom: 1px solid var(--border); background: var(--surface); } .list-filter { display: flex; align-items: center; gap: 8px; 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); } .list-stats { font-size: 12px; color: var(--text-muted); margin-left: auto; } .list-stats-hidden { color: var(--text-dim); font-style: italic; } /* Column toggle dropdown */ .list-column-toggle { position: relative; } .list-column-toggle .btn { display: flex; align-items: center; gap: 6px; } .list-column-dropdown { position: absolute; top: 100%; left: 0; margin-top: 4px; 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: 8px 12px; 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: 8px; padding: 12px 24px; 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.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: 10px; 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: 12px 16px; 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; } .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); } .list-row:hover { background: var(--card-hover); } .list-row.dragging { opacity: 0.4; } .list-row.failed { border-left: 3px solid #da3633; } .list-row.paused { opacity: 0.55; } .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(188, 140, 255, 0.05); } 50% { background: rgba(188, 140, 255, 0.12); } } /* Table cells */ .list-cell { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; } .list-cell-id { font-family: "SF Mono", Monaco, Consolas, monospace; font-size: 12px; font-weight: 600; color: var(--text-muted); white-space: nowrap; } .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: 10px; background: var(--card); color: var(--text-muted); } .list-status-badge.failed { background: rgba(218, 54, 51, 0.15); color: #da3633; } .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: 10px; } .list-dep-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--triage); } /* Progress bar */ .list-cell-progress { min-width: 100px; } .list-progress { display: flex; align-items: center; gap: 8px; } .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: "SF Mono", Monaco, Consolas, monospace; 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); } .list-section-header:hover { background: var(--surface); /* Prevent hover effect on section headers */ } .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: 10px; min-width: 24px; text-align: center; vertical-align: middle; } /* 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: 12px; flex-wrap: wrap; } .list-filter { max-width: none; width: 100%; order: 2; margin-top: 8px; } .list-stats { order: 1; } .list-column-toggle { order: 3; margin-left: auto; } .list-drop-zones { padding: 8px 12px; gap: 6px; } .drop-zone-label { display: none; } .list-table-container { overflow-x: auto; } .list-table { min-width: 800px; } .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; 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: 8px; padding: 12px 16px; 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: 3px 3px 0 0; } .terminal-tab-label { font-family: "SF Mono", Monaco, Consolas, monospace; font-size: 12px; } .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: 12px; 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: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface); } .terminal-task-info { display: flex; align-items: center; gap: 12px; min-width: 0; } .terminal-task-id { font-family: "SF Mono", Monaco, Consolas, monospace; 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; } /* === 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; } .terminal-header { padding-top: env(safe-area-inset-top, 0); } .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-clear-btn { padding: 8px 12px; min-height: 36px; } .terminal-empty-state { padding: 24px; padding-bottom: max(24px, env(safe-area-inset-bottom, 0)); } } /* === Model Selector Tab === */ .model-selector-tab { padding: 16px 0; } .model-selector-tab h4 { margin-bottom: 8px; } .model-selector-intro { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; } .model-selector-loading, .model-selector-empty { padding: 24px; text-align: center; color: var(--text-muted); font-size: 13px; } .model-selector-error { padding: 16px; background: rgba(248, 81, 73, 0.1); color: var(--color-error); border-radius: var(--radius); font-size: 13px; } .model-selector-current { margin-bottom: 8px; } .model-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 500; } .model-badge-default { background: var(--text-dim); color: var(--text); } .model-badge-custom { background: var(--todo); color: var(--bg); } .model-selector-actions { display: flex; gap: 8px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); } .model-selector-status { margin-top: 12px; font-size: 12px; color: var(--text-muted); font-style: italic; }