/* === Reset & Tokens === */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 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; /* Component-specific tokens */ --btn-padding: 8px 16px; --btn-border-width: 1px; --card-padding: 10px 12px; --modal-padding: 16px 20px; --header-padding: 12px 24px; --column-gap: 12px; --board-padding: 16px 24px; /* 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; --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-muted: #8b949e; } html, body { height: 100%; font-family: var(--font-primary); background: var(--bg); color: var(--text); 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; } .header-actions { display: flex; align-items: center; gap: var(--space-sm); position: relative; } .btn-icon { background: none; border: none; color: var(--text-muted); font-size: 18px; cursor: pointer; padding: var(--space-xs) var(--space-sm); 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--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: 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); } /* 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: 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.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: 8px; flex: 1; min-width: 160px; max-width: 280px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 12px; 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: 4px; flex-shrink: 0; transition: color var(--transition-fast), background var(--transition-fast); } .header-search-clear:hover { color: var(--text); background: var(--border); } .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: 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:active { transform: scale(0.97); } .btn-primary { background: #238636; border-color: #2ea043; color: #fff; } .btn-primary:hover { background: #2ea043; box-shadow: var(--shadow-glow); } .btn-danger { background: #da3633; border-color: #f85149; color: #fff; } .btn-danger:hover { background: #f85149; 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: 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 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: 4px; } /* === 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-y; } .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(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: 4px; } .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: 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; } /* Error display on failed task cards */ .card-error { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0; padding: 6px 8px; background: rgba(218, 54, 51, 0.1); border: 1px solid rgba(218, 54, 51, 0.3); border-radius: var(--radius); font-size: 11px; color: #da3633; line-height: 1.4; } .card-error-icon { flex-shrink: 0; font-size: 12px; } .card-error-text { word-break: break-word; } /* Error display on failed task cards */ .card-error { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0; padding: 6px 8px; background: rgba(218, 54, 51, 0.1); border: 1px solid rgba(218, 54, 51, 0.3); border-radius: var(--radius); font-size: 11px; color: #da3633; line-height: 1.4; } .card-error-icon { flex-shrink: 0; font-size: 12px; } .card-error-text { word-break: break-word; } .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: var(--shadow-md); } .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: var(--font-mono); 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 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: 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-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-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); } /* === Forms === */ .form-group { padding: 0 var(--space-xl); margin-top: var(--space-lg); } .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-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: 3px; 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: 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: 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: 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: var(--font-mono); 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; } /* Error alert in task detail modal */ .detail-error-alert { display: flex; align-items: flex-start; gap: 12px; margin: 12px 0 16px; 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: #da3633; margin-bottom: 4px; } .detail-error-message { font-size: 12px; color: var(--text-muted); line-height: 1.5; word-break: break-word; } .detail-section { margin-top: 16px; } /* 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; } /* Mobile responsive for spec tab */ @media (max-width: 768px) { .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: 8px; } .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: 4px; 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: 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: 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: 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: 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: 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: 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: 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 var(--transition-fast), box-shadow var(--transition-fast); } .card-edit-title-input:focus { border-color: var(--todo); border-bottom-color: var(--todo); box-shadow: var(--focus-ring); 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 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; } /* 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; } /* 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: 4px; 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: 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); } /* === Modal Edit Mode Styles === */ .modal-header-actions { display: flex; align-items: center; gap: 8px; } .modal-edit-btn { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; background: transparent; border: none; border-radius: 4px; 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: 12px; } .modal-edit-input { width: 100%; padding: 8px 12px; 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: 8px 12px; 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; } .modal-edit-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; } .modal-edit-hint { font-size: 12px; color: var(--text-dim); text-align: center; } .modal-edit-hint kbd { background: var(--card); border: 1px solid var(--border); border-radius: 4px; 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: 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: flex-start; justify-content: space-between; gap: 8px; flex-wrap: wrap; } .inline-create-controls { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; flex-wrap: wrap; min-width: 0; } .inline-create-actions { display: flex; align-items: center; gap: 8px; 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: 8px; margin-bottom: 12px; max-height: 120px; overflow-y: auto; padding: 2px; } .inline-create-preview { position: relative; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 6px; 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: 4px; 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: 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: 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; } .inline-create-model-dropdown { position: absolute; top: 100%; left: 0; margin-top: 4px; width: min(320px, calc(100vw - 32px)); max-width: calc(100vw - 32px); padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; z-index: 50; 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: 8px; 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: 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) { /* 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 { 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: 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; } /* 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); } .mobile-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: 4px; display: flex; flex-direction: column; gap: 2px; } .mobile-overflow-item { display: flex; align-items: center; gap: 12px; 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; } /* 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; } /* 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; } } /* === GitHub Import Modal === */ .github-import-modal { width: min(760px, calc(100vw - (var(--space-xl) * 2))); } .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-lg); padding: var(--space-lg) var(--space-xl) var(--space-xl); overflow-y: auto; } .github-import-modal__actions { align-items: center; } .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-load-button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); } .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: 12px 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: calc(var(--space-md) * -0.25) 0 0; } .github-import-workspace { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.95fr); gap: var(--space-lg); align-items: start; } .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: 4px 8px; 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: 320px; 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; } @media (max-width: 860px) { .github-import-modal { width: calc(100vw - (var(--space-lg) * 2)); } .github-import-workspace { grid-template-columns: 1fr; } } @media (max-width: 640px) { .github-import-modal__body { padding: var(--space-md); gap: var(--space-md); } .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; } .imported-badge { align-self: flex-start; margin-left: 28px; } } @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; } /* 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; } /* Column toggle dropdown */ .list-column-toggle { position: relative; } .list-column-toggle .btn { display: flex; align-items: center; gap: 6px; } .list-quick-entry { flex-shrink: 0; } .list-quick-entry .quick-entry-box { margin-bottom: 0; padding: 4px 8px; } .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.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: 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), opacity 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(var(--in-progress-rgb), 0.05); } 50% { background: rgba(var(--in-progress-rgb), 0.12); } } /* Table cells */ .list-cell { padding: 12px 16px; 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; } .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: 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: 10px; 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: 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: var(--font-mono); 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: 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: 8px; 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: 16px; 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: 16px; 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: 8px; 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: 4px; font-family: var(--font-mono); font-size: 11px; color: var(--text); } .terminal-history { display: flex; flex-direction: column; gap: 16px; } .terminal-entry { display: flex; flex-direction: column; gap: 8px; } .terminal-prompt-line { display: flex; align-items: center; gap: 8px; } .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: 12px 16px; 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: 8px; padding: 8px 16px; 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: 12px 16px; } .terminal-form { display: flex; align-items: center; gap: 8px; } .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: 8px 12px; 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: 8px 16px; 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: 4px; } .terminal-xterm .xterm { height: 100%; } .terminal-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 16px; 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: 8px 16px; 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: 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-reconnect-btn:hover, .terminal-restart-btn:hover { background: var(--card-hover); border-color: var(--text-muted); } .terminal-error { padding: 12px 16px; background: rgba(179, 38, 38, 0.1); border-bottom: 1px solid var(--border); color: var(--error); font-size: 13px; } /* === 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)); } /* Mobile styles for interactive terminal */ .terminal-title { padding: 0 12px; font-size: 13px; } .terminal-output { padding: 12px; 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; } } /* === 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 { display: inline-flex; align-items: center; gap: 4px; background: var(--todo); color: var(--bg); } .model-badge-custom .provider-icon { display: inline-flex; flex-shrink: 0; } .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; } .model-selector-filter { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; position: relative; } .model-selector-filter-input { flex: 1; padding: 8px 12px; 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: 12px; color: var(--text-muted); font-size: 13px; font-style: italic; background: var(--surface); border-radius: var(--radius); margin-top: 8px; } /* === Model Combobox Component === */ .model-combobox { position: relative; width: 100%; } .model-combobox-trigger { display: flex; align-items: center; justify-content: space-between; 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; 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: absolute; top: 100%; left: 0; right: 0; margin-top: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 100; 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: 8px 12px; 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; } .model-combobox-no-results { padding: 16px 12px; text-align: center; font-size: 13px; color: var(--text-muted); font-style: italic; } /* ============================================================ 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; --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; /* 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-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; } /* 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; } /* 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: 12px 16px; --header-padding: 8px 16px; --column-gap: 8px; --board-padding: 12px 16px; --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 { background: transparent; border-color: var(--todo); color: var(--todo); box-shadow: none; } [data-color-theme="factory"] .btn-primary: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); } /* ============================================================ THEME SELECTOR COMPONENT STYLES ============================================================ */ .theme-selector { padding: 0 20px 20px; } .theme-mode-toggle { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px; margin-bottom: 20px; } .theme-mode-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; background: none; border: none; border-radius: 4px; 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: 12px; } .theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } @media (max-width: 768px) { .theme-grid { grid-template-columns: repeat(2, 1fr); } } .theme-option { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; 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-berry { --bg: #1a0b2e; --surface: #2d1b4e; } .theme-swatch-monochrome { --bg: #0d0d0d; --surface: #1a1a1a; } .theme-swatch-high-contrast { --bg: #000000; --surface: #0a0a0a; } .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; } /* Light mode swatch overrides */ [data-theme="light"] .theme-swatch-factory { --bg: #f5f5f5; --surface: #ffffff; } [data-theme="light"] .theme-swatch-ayu { --bg: #fafafa; --surface: #f3f3f3; } /* Reset to defaults button */ .theme-reset-btn { display: flex; align-items: center; justify-content: center; gap: 8px; 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: 12px; padding: 12px 16px; 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; } .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; } /* File Browser Component */ .file-browser { display: flex; flex-direction: column; flex: 1; overflow: hidden; } .file-browser-header { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface); min-height: 44px; } .file-browser-up { display: flex; align-items: center; gap: 4px; padding: 4px 8px; 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: 24px; 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: 12px; padding: 40px; color: var(--text-muted); flex: 1; } .file-browser-error { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px; 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: 8px; padding: 8px 16px; 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: 12px; padding: 12px 16px; 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: 8px; flex-shrink: 0; } .file-actions .btn { display: flex; align-items: center; gap: 6px; } /* File Editor Container */ .file-editor-container { flex: 1; overflow: hidden; background: var(--bg); } .file-editor-container .cm-editor { height: 100%; } /* Textarea-based file editor */ .file-editor-textarea { 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: 16px; border: none; outline: none; resize: none; white-space: pre; overflow-wrap: normal; tab-size: 2; } .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: 12px 16px; background: rgba(248, 81, 73, 0.1); border-left: 3px solid var(--color-error); color: var(--color-error); font-size: 13px; margin: 12px 16px; 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: 12px; 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: 4px; margin-right: auto; } .keyboard-hints kbd { background: var(--card); border: 1px solid var(--border); border-radius: 4px; 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: 8px; padding: 10px 14px; } .file-path { max-width: 100%; } .file-actions { width: 100%; justify-content: flex-end; } .keyboard-hints { display: 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-header-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; } .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; } .file-browser { display: flex; flex-direction: column; height: 100%; overflow: hidden; } .file-browser-header { display: flex; align-items: center; gap: 8px; padding: 12px; border-bottom: 1px solid var(--border); background: var(--bg); } .file-browser-up { display: flex; align-items: center; gap: 4px; background: none; border: none; color: var(--todo); cursor: pointer; font-size: 12px; padding: 4px; } .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; padding: 4px 0; } .file-browser-empty { padding: 24px; 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: 12px; padding: 24px; height: 100%; color: var(--text-muted); } .file-node { display: flex; align-items: center; gap: 8px; padding: 8px 12px; 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: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface); gap: 12px; } .file-browser-file-info { display: flex; align-items: center; gap: 12px; font-size: 13px; } .file-browser-mtime { font-size: 11px; color: var(--text-muted); } .file-browser-loading { font-size: 11px; color: var(--todo); } .file-browser-actions { display: flex; gap: 8px; } .file-browser-error-banner { background: rgba(248, 81, 73, 0.1); color: var(--color-error); padding: 8px 16px; font-size: 13px; border-bottom: 1px solid var(--border); } .file-editor-wrapper { flex: 1; overflow: hidden; background: var(--bg); min-width: 0; } .file-browser-footer { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; 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: 16px; 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); } } /* === 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: 24px; padding: 24px; } .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: 12px; 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: 8px; } .planning-description { color: var(--text-muted); font-size: 14px; max-width: 480px; line-height: 1.5; } .planning-textarea { width: 100%; min-height: 120px; padding: 12px; 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: 4px; } .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: 8px; display: block; } .planning-example-chips { display: flex; flex-wrap: wrap; gap: 8px; 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: 8px; } .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: 8px; 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: 8px; } .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: 16px; } .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: 16px; } .planning-option { display: flex; align-items: flex-start; gap: 12px; 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: 4px; } .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: 12px; } .planning-confirm-group { display: flex; gap: 12px; } .planning-confirm-btn { flex: 1; padding: 12px 24px; 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: 12px; 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: 8px; } /* 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: 12px; text-align: center; } .planning-summary-icon { color: var(--color-success); } .planning-summary-scroll { gap: 20px; } .planning-summary-form { display: flex; flex-direction: column; gap: 24px; } .planning-summary-form .form-group { display: flex; flex-direction: column; gap: 10px; padding: 16px; 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: 8px; } .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: 12px; } .planning-size-btn { min-width: 0; padding: 14px 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; 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: 8px; max-height: 180px; overflow-y: auto; padding-right: 4px; overscroll-behavior: contain; } .planning-dep-chip { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 12px; 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; } /* Loading State */ .planning-loading { display: flex; flex: 1; min-height: 0; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; gap: 16px; padding: 24px; color: var(--text-muted); } /* 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: 16px 16px 0; } .planning-view-scroll { padding: 16px; 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; } /* 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: 8px; } .usage-header-icon { color: var(--in-progress); } /* Header actions with view toggle */ .usage-header-actions { display: flex; align-items: center; gap: 12px; } /* View mode toggle */ .usage-view-toggle { display: flex; align-items: center; gap: 2px; background: var(--card); padding: 3px; border-radius: 6px; border: 1px solid var(--border); } .usage-view-toggle-btn { padding: 4px 10px; border-radius: 4px; 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(--bg); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); } /* Content area */ .usage-content { max-height: 60vh; overflow-y: auto; padding: 0; } /* Provider cards */ .usage-providers { display: flex; flex-direction: column; gap: 16px; padding: 16px; } .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: 8px; } .usage-provider-info { display: flex; align-items: center; gap: 8px; } .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: 10px; } .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: 12px; margin-bottom: 12px; 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: 8px 12px; margin-bottom: 12px; } /* Usage windows */ .usage-provider-windows { display: flex; flex-direction: column; gap: 12px; } .usage-window { display: flex; flex-direction: column; gap: 4px; } .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: 4px; overflow: hidden; } .usage-progress-fill { height: 100%; border-radius: 4px; 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; } /* Pace marker and text */ .usage-progress-wrapper { position: relative; } .usage-pace-marker { position: absolute; top: -1px; width: 2px; height: 10px; background: var(--in-progress); border-radius: 1px; z-index: 2; transform: translateX(-50%); } .usage-pace-row { display: flex; align-items: center; gap: 6px; font-size: 11px; margin-top: 4px; } .pace-icon { flex-shrink: 0; } .pace-text { font-weight: 500; } .pace-ahead { color: var(--color-success); } .pace-behind { color: var(--triage); } .pace-ontrack { color: var(--text-muted); } /* 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: 16px; padding: 16px; } .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: 8px; margin-bottom: 12px; } .usage-skeleton-icon, .usage-skeleton-name, .usage-skeleton-badge, .usage-skeleton-bar, .usage-skeleton-text { background: var(--border); border-radius: 4px; 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: 10px; } .usage-skeleton-bar { height: 8px; width: 100%; border-radius: 4px; margin-bottom: 8px; } .usage-skeleton-text { height: 12px; width: 60%; } @keyframes skeleton-pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.8; } } /* Error state */ .usage-error { padding: 24px; text-align: center; } .usage-error p:first-child { font-weight: 600; color: var(--color-error); margin-bottom: 8px; } .usage-error-message { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; } /* Empty state */ .usage-empty { padding: 32px 24px; text-align: center; } .usage-empty p:first-child { font-weight: 500; color: var(--text-muted); margin-bottom: 8px; } .usage-empty-hint { font-size: 12px; color: var(--text-dim); } /* Actions */ .usage-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; } .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: 8px; } } /* === Spec Editor === */ .spec-editor { display: flex; flex-direction: column; height: 100%; min-height: 0; overflow: hidden; } /* 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: 4px; } .spec-editor-actions { display: flex; align-items: center; gap: 8px; } /* 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: 12px; 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: 24px; 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: 4px; 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: 4px; 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: 8px; } .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: 8px; } .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: 8px; } .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; } /* === 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: 8px; } .new-task-modal .checkbox-label { margin-bottom: 4px !important; } .new-task-modal .form-group small { display: block; margin-top: 8px; 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: 8px; padding: 2px 0; } .dep-chip { display: inline-flex; align-items: center; gap: 4px; 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: 12px; margin-bottom: 12px; } .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; }