:root { color-scheme: dark; font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; background: #050608; color: #f5f5f7; } *, *::before, *::after { box-sizing: border-box; } body { margin: 0; overflow: hidden; } /* Custom scrollbar styling - Claude Code style */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #272832; border-radius: 4px; transition: background 0.2s ease; } ::-webkit-scrollbar-thumb:hover { background: #3a3b4d; } /* App Root - Fixed height with footer accommodation */ .app-root { display: flex; flex-direction: column; height: 100vh; background: radial-gradient(circle at top, #171823 0, #050608 55%); color: #f5f5f7; overflow: hidden; } /* Main content wrapper (sidebar + workspace) */ .main-wrapper { display: flex; flex: 1; min-height: 0; overflow: hidden; } /* Sidebar */ .sidebar { width: 320px; min-width: 320px; padding: 16px 14px; border-right: 1px solid #272832; background: linear-gradient(180deg, #101117 0, #050608 100%); display: flex; flex-direction: column; gap: 16px; overflow-y: auto; overflow-x: hidden; transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), min-width 0.25s cubic-bezier(0.4, 0, 0.2, 1), padding 0.25s cubic-bezier(0.4, 0, 0.2, 1); } .sidebar--collapsed { width: 52px; min-width: 52px; padding: 16px 8px; gap: 8px; } /* ---- Sidebar top row: logo + toggle ---- */ .sidebar-top-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 32px; } .sidebar--collapsed .sidebar-top-row { justify-content: center; } .sidebar-toggle-btn { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; border: none; background: transparent; color: #6b6d82; cursor: pointer; transition: background 0.15s, color 0.15s; flex-shrink: 0; } .sidebar-toggle-btn:hover { background: #1e1f2e; color: #e0e1eb; } .sidebar--collapsed .sidebar-toggle-btn { display: none; } /* ---- Nav buttons: icon + label layout ---- */ .sidebar .nav-btn { display: flex; align-items: center; gap: 10px; } .sidebar .nav-btn svg { flex-shrink: 0; } .sidebar--collapsed .nav-btn { justify-content: center; padding: 8px; } /* ---- User profile in collapsed state ---- */ .sidebar--collapsed .user-profile { align-items: center; } .sidebar--collapsed .user-avatar { width: 28px; height: 28px; } /* User Profile Section */ .user-profile { margin-top: auto; padding-top: 16px; border-top: 1px solid #272832; display: flex; flex-direction: column; gap: 12px; animation: fadeIn 0.3s ease; } .user-profile-header { display: flex; align-items: center; gap: 10px; } .user-avatar { width: 40px; height: 40px; border-radius: 10px; border: 2px solid #272832; transition: all 0.2s ease; } .user-avatar:hover { border-color: #ff7a3c; transform: scale(1.05); } .user-info { flex: 1; min-width: 0; } .user-name { font-size: 13px; font-weight: 600; color: #f5f5f7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .user-login { font-size: 11px; color: #9a9bb0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .btn-logout { border: none; outline: none; background: #1a1b26; color: #c3c5dd; border-radius: 8px; padding: 8px 12px; font-size: 12px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; border: 1px solid #272832; } .btn-logout:hover { background: #2a2b3c; border-color: #ff7a3c; color: #ff7a3c; transform: translateY(-1px); } .logo-row { display: flex; align-items: center; gap: 10px; animation: fadeIn 0.3s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } .logo-square { width: 32px; height: 32px; border-radius: 8px; background: #ff7a3c; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #050608; transition: transform 0.2s ease; } .logo-square:hover { transform: scale(1.05); } .logo-title { font-size: 16px; font-weight: 600; } .logo-subtitle { font-size: 12px; color: #a1a2b3; } /* Active context card */ .sidebar-context-card { padding: 10px 12px; border-radius: 10px; background: #151622; border: 1px solid #272832; display: flex; flex-direction: column; gap: 6px; animation: slideIn 0.3s ease; } .sidebar-context-header { display: flex; align-items: center; justify-content: space-between; } .sidebar-context-close { width: 22px; height: 22px; border-radius: 4px; border: none; background: transparent; color: #71717a; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; transition: all 0.15s ease; } .sidebar-context-close:hover { background: #272832; color: #f5f5f7; } .sidebar-section-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: #71717a; text-transform: uppercase; } .sidebar-context-body { display: flex; flex-direction: column; gap: 2px; } .sidebar-context-repo { font-size: 13px; font-weight: 600; color: #f5f5f7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sidebar-context-meta { font-size: 11px; color: #9a9bb0; display: flex; align-items: center; gap: 6px; } .sidebar-context-dot { width: 3px; height: 3px; border-radius: 50%; background: #4a4b5e; display: inline-block; } .sidebar-context-actions { display: flex; gap: 6px; margin-top: 2px; } .sidebar-context-btn { border: none; outline: none; background: #1a1b26; color: #9a9bb0; border-radius: 6px; padding: 4px 10px; font-size: 11px; font-weight: 500; cursor: pointer; transition: all 0.15s ease; border: 1px solid #272832; } .sidebar-context-btn:hover { background: #222335; color: #c3c5dd; border-color: #3a3b4d; } /* Per-repo chip list in sidebar context card */ .sidebar-repo-chips { display: flex; flex-direction: column; gap: 3px; } .sidebar-repo-chip { display: flex; align-items: center; gap: 5px; padding: 5px 6px 5px 8px; border-radius: 6px; border: 1px solid #272832; background: #111220; cursor: pointer; white-space: nowrap; overflow: hidden; transition: border-color 0.15s, background-color 0.15s; } .sidebar-repo-chip:hover { border-color: #3a3b4d; background: #1a1b2e; } .sidebar-repo-chip-active { border-color: #3B82F6; background: rgba(59, 130, 246, 0.06); } .sidebar-chip-name { font-size: 12px; font-weight: 600; color: #c3c5dd; font-family: monospace; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; } .sidebar-repo-chip-active .sidebar-chip-name { color: #f5f5f7; } .sidebar-chip-dot { width: 2px; height: 2px; border-radius: 50%; background: #4a4b5e; flex-shrink: 0; } .sidebar-chip-branch { font-size: 10px; color: #71717a; font-family: monospace; flex-shrink: 0; } .sidebar-repo-chip-active .sidebar-chip-branch { color: #60a5fa; } .sidebar-chip-write-badge { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #4caf88; padding: 0 4px; border-radius: 3px; border: 1px solid rgba(76, 175, 136, 0.25); flex-shrink: 0; } /* Per-chip remove button: subtle by default, visible on hover */ .sidebar-chip-remove { display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 3px; border: none; background: transparent; color: #52525B; cursor: pointer; flex-shrink: 0; padding: 0; opacity: 0; transition: opacity 0.15s, color 0.15s, background 0.15s; } .sidebar-repo-chip:hover .sidebar-chip-remove { opacity: 1; } .sidebar-chip-remove:hover { color: #f87171; background: rgba(248, 113, 113, 0.1); } /* "clear all" link-style button */ .sidebar-clear-all { font-size: 9px; color: #52525B; width: auto; height: auto; padding: 2px 6px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; } .sidebar-clear-all:hover { color: #f87171; background: rgba(248, 113, 113, 0.08); } @keyframes slideIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } } /* ContextBar — horizontal chip bar above workspace */ .ctxbar { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-bottom: 1px solid #1E1F23; background-color: #0D0D10; min-height: 40px; } .ctxbar-scroll { display: flex; align-items: center; gap: 6px; flex: 1; overflow-x: auto; scrollbar-width: none; } .ctxbar-scroll::-webkit-scrollbar { display: none; } .ctxbar-chip { display: flex; align-items: center; gap: 5px; padding: 4px 6px 4px 8px; border-radius: 6px; border: 1px solid #27272A; background: #18181B; cursor: pointer; white-space: nowrap; position: relative; flex-shrink: 0; transition: border-color 0.15s, background-color 0.15s; } .ctxbar-chip:hover { border-color: #3a3b4d; background: #1e1f30; } .ctxbar-chip-active { border-color: #3B82F6; background: rgba(59, 130, 246, 0.08); } .ctxbar-chip-indicator { position: absolute; left: 0; top: 25%; bottom: 25%; width: 2px; border-radius: 1px; background-color: #3B82F6; } .ctxbar-chip-name { font-size: 12px; font-weight: 600; font-family: monospace; color: #A1A1AA; max-width: 120px; overflow: hidden; text-overflow: ellipsis; } .ctxbar-chip-active .ctxbar-chip-name { color: #E4E4E7; } .ctxbar-chip-dot { width: 2px; height: 2px; border-radius: 50%; background: #4a4b5e; flex-shrink: 0; } .ctxbar-chip-branch { font-size: 10px; font-family: monospace; background: none; border: 1px solid transparent; border-radius: 3px; padding: 1px 4px; cursor: pointer; color: #71717A; transition: border-color 0.15s, color 0.15s; } .ctxbar-chip-branch:hover { border-color: #3a3b4d; } .ctxbar-chip-branch-active { color: #60a5fa; } .ctxbar-chip-write { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #4caf88; padding: 0 4px; border-radius: 3px; border: 1px solid rgba(76, 175, 136, 0.25); flex-shrink: 0; } /* Hover-reveal remove button (Claude-style: hidden → visible on chip hover → red on X hover) */ .ctxbar-chip-remove { display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 3px; border: none; background: transparent; color: #52525B; cursor: pointer; flex-shrink: 0; padding: 0; opacity: 0; transition: opacity 0.15s, color 0.15s, background 0.15s; } .ctxbar-chip-remove-visible, .ctxbar-chip:hover .ctxbar-chip-remove { opacity: 1; } .ctxbar-chip-remove:hover { color: #f87171; background: rgba(248, 113, 113, 0.1); } .ctxbar-add { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; border: 1px dashed #3F3F46; background: transparent; color: #71717A; cursor: pointer; flex-shrink: 0; transition: border-color 0.15s, color 0.15s; } .ctxbar-add:hover { border-color: #60a5fa; color: #60a5fa; } .ctxbar-meta { font-size: 10px; color: #52525B; white-space: nowrap; flex-shrink: 0; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; } .ctxbar-branch-picker { position: absolute; top: 100%; left: 0; z-index: 100; margin-top: 4px; } /* Legacy compat — kept for other uses */ .sidebar-repo-info { padding: 10px 12px; border-radius: 10px; background: #151622; border: 1px solid #272832; animation: slideIn 0.3s ease; } .sidebar-repo-name { font-size: 13px; font-weight: 500; } .sidebar-repo-meta { font-size: 11px; color: #9a9bb0; margin-top: 2px; } .settings-button { border: none; outline: none; background: #1a1b26; color: #f5f5f7; border-radius: 8px; padding: 8px 10px; cursor: pointer; font-size: 13px; transition: all 0.2s ease; } .settings-button:hover { background: #222335; transform: translateY(-1px); } /* Repo search */ .repo-search-box { border-radius: 12px; background: #101117; border: 1px solid #272832; padding: 8px; display: flex; flex-direction: column; gap: 8px; } /* Search header wrapper */ .repo-search-header { display: flex; flex-direction: column; gap: 8px; } /* Search row with input and button */ .repo-search-row { display: flex; gap: 6px; align-items: center; } /* Search input */ .repo-search-input { flex: 1; border-radius: 7px; padding: 8px 10px; border: 1px solid #272832; background: #050608; color: #f5f5f7; font-size: 13px; transition: all 0.2s ease; } .repo-search-input:focus { outline: none; border-color: #ff7a3c; background: #0a0b0f; box-shadow: 0 0 0 3px rgba(255, 122, 60, 0.08); } .repo-search-input::placeholder { color: #676883; } .repo-search-input:disabled { opacity: 0.5; cursor: not-allowed; } /* Search button */ .repo-search-btn { border-radius: 7px; border: none; outline: none; padding: 8px 14px; background: #1a1b26; color: #f5f5f7; cursor: pointer; font-size: 13px; font-weight: 500; transition: all 0.2s ease; white-space: nowrap; } .repo-search-btn:hover:not(:disabled) { background: #222335; transform: translateY(-1px); } .repo-search-btn:active:not(:disabled) { transform: translateY(0); } .repo-search-btn:disabled { opacity: 0.5; cursor: not-allowed; } /* Info bar (shows count and clear button) */ .repo-info-bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; background: #0a0b0f; border: 1px solid #272832; border-radius: 7px; font-size: 11px; } .repo-count { color: #9a9bb0; font-weight: 500; } .repo-clear-btn { padding: 3px 10px; background: transparent; border: 1px solid #272832; border-radius: 5px; color: #9a9bb0; font-size: 11px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; } .repo-clear-btn:hover:not(:disabled) { background: #1a1b26; color: #c3c5dd; border-color: #3a3b4d; } .repo-clear-btn:disabled { opacity: 0.5; cursor: not-allowed; } /* Status message */ .repo-status { padding: 8px 10px; background: #1a1b26; border: 1px solid #272832; border-radius: 7px; color: #9a9bb0; font-size: 11px; text-align: center; } /* Repository list */ .repo-list { max-height: 220px; overflow-y: auto; overflow-x: hidden; padding-right: 2px; display: flex; flex-direction: column; gap: 4px; } /* Custom scrollbar for repo list */ .repo-list::-webkit-scrollbar { width: 6px; } .repo-list::-webkit-scrollbar-track { background: transparent; } .repo-list::-webkit-scrollbar-thumb { background: #272832; border-radius: 3px; } .repo-list::-webkit-scrollbar-thumb:hover { background: #3a3b4d; } /* Repository item */ .repo-item { width: 100%; text-align: left; border: none; outline: none; background: transparent; color: #f5f5f7; padding: 8px 8px; border-radius: 7px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; transition: all 0.15s ease; border: 1px solid transparent; } .repo-item:hover { background: #1a1b26; border-color: #272832; transform: translateX(2px); } .repo-item-content { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; } .repo-name { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .repo-owner { font-size: 11px; color: #8e8fac; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* Private badge */ .repo-badge-private { padding: 2px 6px; background: #1a1b26; border: 1px solid #3a3b4d; border-radius: 4px; color: #9a9bb0; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; flex-shrink: 0; } /* Loading states */ .repo-loading { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 20px; color: #9a9bb0; font-size: 12px; } .repo-loading-spinner { width: 24px; height: 24px; border: 2px solid #272832; border-top-color: #ff7a3c; border-radius: 50%; animation: repo-spin 0.8s linear infinite; } .repo-loading-spinner-small { width: 14px; height: 14px; border: 2px solid rgba(255, 122, 60, 0.3); border-top-color: #ff7a3c; border-radius: 50%; animation: repo-spin 0.8s linear infinite; } @keyframes repo-spin { to { transform: rotate(360deg); } } /* Load more button */ .repo-load-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px 12px; margin: 4px 0; background: #0a0b0f; border: 1px solid #272832; border-radius: 7px; color: #c3c5dd; font-size: 12px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; } .repo-load-more:hover:not(:disabled) { background: #1a1b26; border-color: #3a3b4d; transform: translateY(-1px); } .repo-load-more:active:not(:disabled) { transform: translateY(0); } .repo-load-more:disabled { opacity: 0.6; cursor: not-allowed; } .repo-load-more-count { color: #7779a0; font-weight: 400; } /* All loaded message */ .repo-all-loaded { padding: 10px 12px; margin: 4px 0; background: rgba(124, 255, 179, 0.08); border: 1px solid rgba(124, 255, 179, 0.2); border-radius: 7px; color: #7cffb3; font-size: 11px; text-align: center; font-weight: 500; } /* GitHub App installation notice */ .repo-github-notice { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; background: #0a0b0f; border: 1px solid #272832; border-radius: 7px; font-size: 11px; line-height: 1.5; margin-top: 4px; } .repo-github-icon { flex-shrink: 0; margin-top: 1px; opacity: 0.6; color: #9a9bb0; width: 16px; height: 16px; } .repo-github-notice-content { flex: 1; display: flex; flex-direction: column; gap: 3px; } .repo-github-notice-title { color: #c3c5dd; font-weight: 600; font-size: 11px; } .repo-github-notice-text { color: #9a9bb0; } .repo-github-link { color: #ff7a3c; text-decoration: none; font-weight: 500; transition: color 0.2s ease; } .repo-github-link:hover { color: #ff8b52; text-decoration: underline; } /* Focus visible for accessibility */ .repo-item:focus-visible, .repo-search-btn:focus-visible, .repo-load-more:focus-visible, .repo-clear-btn:focus-visible { outline: 2px solid #ff7a3c; outline-offset: 2px; } /* Reduced motion support */ @media (prefers-reduced-motion: reduce) { .repo-item, .repo-search-btn, .repo-load-more, .repo-clear-btn { transition: none; } .repo-loading-spinner, .repo-loading-spinner-small { animation: none; } } /* Mobile responsive adjustments */ @media (max-width: 768px) { .repo-search-input { font-size: 16px; /* Prevents zoom on iOS */ } .repo-item { padding: 7px 7px; } .repo-name { font-size: 12px; } .repo-owner { font-size: 10px; } } /* Workspace */ .workspace { flex: 1; display: flex; flex-direction: column; position: relative; overflow: hidden; min-height: 0; } .empty-state { margin: auto; max-width: 420px; text-align: center; color: #c3c5dd; animation: fadeIn 0.5s ease; } .empty-bot { font-size: 36px; margin-bottom: 12px; animation: bounce 2s ease infinite; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } .empty-state h1 { font-size: 24px; margin-bottom: 6px; } .empty-state p { font-size: 14px; color: #9a9bb0; } /* Workspace grid - Properly constrained */ .workspace-grid { display: grid; grid-template-columns: 320px minmax(340px, 1fr); height: 100%; overflow: hidden; flex: 1; min-height: 0; } /* Panels */ .panel-header { height: 40px; padding: 0 16px; border-bottom: 1px solid #272832; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 500; color: #c3c5dd; background: #0a0b0f; flex-shrink: 0; } .badge { padding: 2px 6px; border-radius: 999px; border: 1px solid #3a3b4d; font-size: 10px; } /* Files */ .files-panel { border-right: 1px solid #272832; background: #101117; display: flex; flex-direction: column; overflow: hidden; } .files-list { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 6px 4px; min-height: 0; } .files-item { border: none; outline: none; width: 100%; background: transparent; color: #f5f5f7; display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 6px; cursor: pointer; font-size: 12px; transition: all 0.15s ease; } .files-item:hover { background: #1a1b26; transform: translateX(2px); } .files-item-active { background: #2a2b3c; } .file-icon { width: 16px; flex-shrink: 0; } .file-path { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .files-empty { padding: 10px 12px; font-size: 12px; color: #9a9bb0; } /* Chat panel */ .editor-panel { display: flex; flex-direction: column; background: #050608; } .chat-container { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; } .chat-messages { flex: 1; padding: 12px 16px; overflow-y: auto; overflow-x: hidden; font-size: 13px; min-height: 0; scroll-behavior: smooth; } .chat-message-user { margin-bottom: 16px; animation: slideInRight 0.3s ease; } @keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } } .chat-message-ai { margin-bottom: 16px; animation: slideInLeft 0.3s ease; } @keyframes slideInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } } .chat-message-ai span { display: inline-block; padding: 10px 14px; border-radius: 12px; max-width: 80%; line-height: 1.5; } .chat-message-user span { display: inline; padding: 0; border-radius: 0; background: transparent; border: none; max-width: none; line-height: inherit; } .chat-message-ai span { background: #151622; border: 1px solid #272832; } /* Compact thinking bubble — defensive isolation so the global .chat-message-ai span rule (which gives every span a chunky 10×14 padded pill with a dark background) cannot leak into the thinking indicator's tiny inline-styled dots and label. */ .gitpilot-thinking-indicator, .gitpilot-thinking-indicator span { background: transparent; border: none; padding: 0; max-width: none; line-height: 1.4; } .chat-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; padding: 40px 20px; text-align: center; } .chat-empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.6; animation: pulse 2s ease infinite; } @keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 0.8; } } .chat-empty-state p { margin: 0; font-size: 13px; color: #9a9bb0; max-width: 400px; } .chat-input-box { padding: 12px 16px; border-top: 1px solid #272832; display: flex; flex-direction: column; gap: 10px; background: #050608; flex-shrink: 0; min-height: fit-content; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3); } .chat-input-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .chat-input { flex: 1; min-width: 200px; border-radius: 8px; padding: 10px 12px; border: 1px solid #272832; background: #0a0b0f; color: #f5f5f7; font-size: 13px; line-height: 1.5; transition: all 0.2s ease; } .chat-input:focus { outline: none; border-color: #ff7a3c; background: #101117; box-shadow: 0 0 0 3px rgba(255, 122, 60, 0.1); } .chat-input::placeholder { color: #676883; } .chat-btn { border-radius: 8px; border: none; outline: none; padding: 10px 16px; background: #ff7a3c; color: #050608; cursor: pointer; font-size: 13px; font-weight: 600; transition: all 0.2s ease; white-space: nowrap; min-height: 40px; } .chat-btn:hover:not(:disabled) { background: #ff8c52; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255, 122, 60, 0.3); } .chat-btn:active:not(:disabled) { transform: translateY(0); } .chat-btn.secondary { background: #1a1b26; color: #f5f5f7; border: 1px solid #272832; } .chat-btn.secondary:hover:not(:disabled) { background: #222335; border-color: #3a3b4d; } .chat-btn:disabled { opacity: 0.5; cursor: not-allowed; } /* Plan rendering */ .plan-card { border-radius: 12px; background: #101117; border: 1px solid #272832; padding: 10px 12px; margin-top: 6px; animation: fadeIn 0.3s ease; } .plan-steps { margin: 6px 0 0; padding-left: 18px; font-size: 12px; } .plan-steps li { margin-bottom: 4px; } /* Modal */ .modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); display: flex; align-items: center; justify-content: center; z-index: 20; animation: fadeIn 0.2s ease; } .modal { background: #101117; border-radius: 16px; border: 1px solid #272832; padding: 16px 18px; width: 360px; animation: scaleIn 0.3s ease; } @keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } } .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .modal-title { font-size: 15px; font-weight: 600; } .modal-close { border: none; outline: none; background: transparent; color: #9a9bb0; cursor: pointer; transition: color 0.2s ease; } .modal-close:hover { color: #ff7a3c; } .provider-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; } .provider-item { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; border-radius: 8px; background: #151622; border: 1px solid #272832; font-size: 13px; transition: all 0.2s ease; } .provider-item:hover { border-color: #3a3b4d; } .provider-item.active { border-color: #ff7a3c; background: rgba(255, 122, 60, 0.1); } .provider-name { font-weight: 500; } .provider-badge { font-size: 11px; color: #9a9bb0; } /* Navigation */ .main-nav { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; margin-bottom: 10px; } .nav-btn { border: none; outline: none; background: transparent; color: #9a9bb0; border-radius: 8px; font-size: 13px; font-weight: 500; padding: 8px 12px; text-align: left; cursor: pointer; transition: all 0.15s ease; } .nav-btn:hover { background: #1a1b26; color: #c3c5dd; } .nav-btn-active { background: #1a1b26; color: #f5f5f7; font-weight: 600; border-left: 2px solid #ff7a3c; padding-left: 10px; } /* Settings page */ .settings-root { padding: 20px 24px; overflow-y: auto; max-width: 800px; } .settings-root h1 { margin-top: 0; font-size: 24px; margin-bottom: 8px; } .settings-muted { font-size: 13px; color: #9a9bb0; margin-bottom: 20px; line-height: 1.5; } .settings-card { background: #101117; border-radius: 12px; border: 1px solid #272832; padding: 14px 16px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; transition: all 0.2s ease; } .settings-card:hover { border-color: #3a3b4d; } .settings-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; } .settings-label { font-size: 12px; color: #9a9bb0; font-weight: 500; margin-top: 4px; } .settings-input, .settings-select { background: #050608; border-radius: 8px; border: 1px solid #272832; padding: 8px 10px; color: #f5f5f7; font-size: 13px; font-family: inherit; transition: all 0.2s ease; } .settings-input:focus, .settings-select:focus { outline: none; border-color: #ff7a3c; box-shadow: 0 0 0 3px rgba(255, 122, 60, 0.1); } .settings-input::placeholder { color: #676883; } .settings-hint { font-size: 11px; color: #7a7b8e; margin-top: -2px; } .settings-actions { margin-top: 12px; display: flex; align-items: center; gap: 12px; } .settings-save-btn { background: #ff7a3c; border-radius: 999px; border: none; outline: none; padding: 9px 18px; font-size: 13px; cursor: pointer; color: #050608; font-weight: 600; transition: all 0.2s ease; } .settings-save-btn:hover { background: #ff8b52; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255, 122, 60, 0.3); } .settings-save-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; } .settings-success { font-size: 12px; color: #7cffb3; font-weight: 500; } .settings-error { font-size: 12px; color: #ff8a8a; font-weight: 500; } /* Flow viewer */ .flow-root { display: flex; flex-direction: column; height: 100%; overflow: hidden; } .flow-header { padding: 16px 20px; border-bottom: 1px solid #272832; display: flex; align-items: center; justify-content: space-between; } .flow-header h1 { margin: 0; font-size: 22px; margin-bottom: 4px; } .flow-header p { margin: 0; font-size: 12px; color: #9a9bb0; max-width: 600px; line-height: 1.5; } .flow-canvas { flex: 1; background: #050608; position: relative; } .flow-error { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; } .error-icon { font-size: 48px; } .error-text { font-size: 14px; color: #ff8a8a; } /* Assistant Message Sections */ .gp-section { margin-bottom: 16px; border-radius: 12px; background: #101117; border: 1px solid #272832; overflow: hidden; animation: fadeIn 0.3s ease; } .gp-section-header { padding: 8px 12px; background: #151622; border-bottom: 1px solid #272832; } .gp-section-header h3 { margin: 0; font-size: 13px; font-weight: 600; color: #c3c5dd; } .gp-section-content { padding: 12px; } .gp-section-answer .gp-section-content p { margin: 0; font-size: 13px; line-height: 1.6; color: #f5f5f7; } .gp-section-plan { background: #0a0b0f; } /* Plan View Enhanced */ .plan-header { margin-bottom: 12px; } .plan-goal { font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #f5f5f7; } .plan-summary { font-size: 12px; color: #c3c5dd; line-height: 1.5; } .plan-totals { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; } .plan-total { padding: 4px 8px; border-radius: 6px; font-size: 11px; font-weight: 500; animation: fadeIn 0.3s ease; } .plan-total-create { background: rgba(76, 175, 80, 0.15); color: #81c784; border: 1px solid rgba(76, 175, 80, 0.3); } .plan-total-modify { background: rgba(33, 150, 243, 0.15); color: #64b5f6; border: 1px solid rgba(33, 150, 243, 0.3); } .plan-total-delete { background: rgba(244, 67, 54, 0.15); color: #e57373; border: 1px solid rgba(244, 67, 54, 0.3); } .plan-step { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #1a1b26; } .plan-step:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; } .plan-step-header { margin-bottom: 6px; } .plan-step-description { font-size: 12px; color: #9a9bb0; margin-bottom: 8px; } .plan-files { list-style: none; padding: 0; margin: 8px 0; } .plan-file { display: flex; align-items: center; gap: 8px; padding: 4px 0; } .gp-pill { padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; } .gp-pill-create { background: rgba(76, 175, 80, 0.2); color: #81c784; border: 1px solid rgba(76, 175, 80, 0.4); } .gp-pill-modify { background: rgba(33, 150, 243, 0.2); color: #64b5f6; border: 1px solid rgba(33, 150, 243, 0.4); } .gp-pill-delete { background: rgba(244, 67, 54, 0.2); color: #e57373; border: 1px solid rgba(244, 67, 54, 0.4); } .plan-file-path { font-size: 11px; color: #c3c5dd; font-family: "SF Mono", Monaco, "Cascadia Code", monospace; background: #0a0b0f; padding: 2px 6px; border-radius: 4px; } .plan-step-risks { margin-top: 8px; padding: 6px 8px; background: rgba(255, 152, 0, 0.1); border-left: 2px solid #ff9800; border-radius: 4px; font-size: 11px; color: #ffb74d; } .plan-risk-label { font-weight: 600; } /* Execution Log */ .execution-steps { list-style: none; padding: 0; margin: 0; } .execution-step { padding: 8px; margin-bottom: 6px; background: #0a0b0f; border-radius: 6px; font-size: 11px; font-family: "SF Mono", Monaco, "Cascadia Code", monospace; white-space: pre-wrap; } .execution-step-number { color: #ff7a3c; font-weight: 600; margin-right: 8px; } .execution-step-summary { color: #c3c5dd; } /* Project Context Panel - Properly constrained */ .gp-context { padding: 12px; height: 100%; overflow: hidden; display: flex; flex-direction: column; } .gp-context-column { background: #0a0b0f; border-right: 1px solid #272832; overflow: hidden; display: flex; flex-direction: column; } .gp-chat-column { display: flex; flex-direction: column; background: #050608; height: 100%; min-width: 0; overflow: hidden; } .gp-card { background: #101117; border-radius: 12px; border: 1px solid #272832; overflow: hidden; display: flex; flex-direction: column; height: 100%; min-height: 0; } .gp-card-header { padding: 10px 12px; background: #151622; border-bottom: 1px solid #272832; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; } .gp-card-header h2 { margin: 0; font-size: 14px; font-weight: 600; color: #f5f5f7; } .gp-badge { padding: 3px 8px; border-radius: 999px; background: #2a2b3c; border: 1px solid #3a3b4d; font-size: 11px; color: #c3c5dd; font-weight: 500; transition: all 0.2s ease; } .gp-badge:hover { border-color: #ff7a3c; } .gp-context-meta { padding: 12px; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid #272832; flex-shrink: 0; background: #0a0b0f; } .gp-context-meta-item { display: flex; align-items: center; gap: 6px; font-size: 12px; } .gp-context-meta-label { color: #9a9bb0; min-width: 60px; } .gp-context-meta-item strong { color: #f5f5f7; font-weight: 500; } /* File tree - Properly scrollable */ .gp-context-tree { flex: 1; overflow-y: auto; overflow-x: hidden; min-height: 0; padding: 4px; } .gp-context-empty { padding: 20px 12px; text-align: center; color: #9a9bb0; font-size: 12px; } /* Footer - Fixed at bottom */ .gp-footer { position: fixed; bottom: 0; left: 0; right: 0; border-top: 1px solid #272832; padding: 8px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #9a9bb0; background: #0a0b0f; backdrop-filter: blur(10px); z-index: 10; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2); } .gp-footer-left { display: flex; align-items: center; gap: 6px; font-weight: 500; color: #c3c5dd; } .gp-footer-right { display: flex; align-items: center; gap: 12px; } .gp-footer-right a { color: #9a9bb0; text-decoration: none; transition: all 0.2s ease; } .gp-footer-right a:hover { color: #ff7a3c; transform: translateY(-1px); } /* Adjust app-root to account for fixed footer */ .app-root > .main-wrapper { padding-bottom: 32px; /* Space for fixed footer */ } /* ============================================================================ LOGIN PAGE - Enterprise GitHub Authentication ============================================================================ */ .login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at center, #171823 0%, #050608 70%); padding: 20px; animation: fadeIn 0.4s ease; } .login-container { width: 100%; max-width: 480px; background: #101117; border: 1px solid #272832; border-radius: 24px; padding: 40px 36px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); animation: slideUp 0.5s ease; } @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Header */ .login-header { text-align: center; margin-bottom: 32px; } .login-logo { display: flex; justify-content: center; margin-bottom: 16px; } .logo-icon { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, #ff7a3c 0%, #ff6b2b 100%); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 28px; color: #050608; box-shadow: 0 8px 24px rgba(255, 122, 60, 0.3); transition: transform 0.3s ease; } .logo-icon:hover { transform: scale(1.05) rotate(3deg); } .login-title { margin: 0; font-size: 28px; font-weight: 700; color: #f5f5f7; margin-bottom: 8px; letter-spacing: -0.5px; } .login-subtitle { margin: 0; font-size: 14px; color: #9a9bb0; font-weight: 500; } /* Welcome Section */ .login-welcome { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid #272832; } .login-welcome h2 { margin: 0 0 12px 0; font-size: 20px; font-weight: 600; color: #f5f5f7; } .login-welcome p { margin: 0; font-size: 14px; line-height: 1.6; color: #c3c5dd; } /* Error Message */ .login-error { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: rgba(255, 82, 82, 0.1); border: 1px solid rgba(255, 82, 82, 0.3); border-radius: 10px; color: #ff8a8a; font-size: 13px; margin-bottom: 20px; animation: shake 0.4s ease; } @keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } } .login-error svg { flex-shrink: 0; } /* Login Actions */ .login-actions { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; } /* Buttons */ .btn-primary, .btn-secondary, .btn-text { border: none; outline: none; cursor: pointer; font-family: inherit; font-weight: 600; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; gap: 10px; } .btn-large { padding: 14px 24px; font-size: 15px; border-radius: 12px; } .btn-primary { background: linear-gradient(135deg, #ff7a3c 0%, #ff6b2b 100%); color: #fff; box-shadow: 0 4px 12px rgba(255, 122, 60, 0.25); } .btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 122, 60, 0.35); } .btn-primary:active:not(:disabled) { transform: translateY(0); } .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; } .btn-secondary { background: #1a1b26; color: #f5f5f7; border: 1px solid #3a3b4d; } .btn-secondary:hover { background: #2a2b3c; border-color: #4a4b5d; transform: translateY(-1px); } .btn-text { background: transparent; color: #9a9bb0; padding: 10px; font-size: 14px; font-weight: 500; } .btn-text:hover { color: #ff7a3c; } /* Button Spinner */ .btn-spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Loading Spinner (Page) */ .loading-spinner { width: 48px; height: 48px; border: 4px solid #272832; border-top-color: #ff7a3c; border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto; } /* Divider */ .login-divider { position: relative; text-align: center; margin: 8px 0; } .login-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #272832; } .login-divider span { position: relative; display: inline-block; padding: 0 16px; background: #101117; color: #9a9bb0; font-size: 12px; font-weight: 500; } /* Form */ .login-form { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; } .form-group { display: flex; flex-direction: column; gap: 8px; } .form-group label { font-size: 13px; font-weight: 600; color: #f5f5f7; } .form-input { background: #0a0b0f; border: 1px solid #272832; border-radius: 10px; padding: 12px 14px; color: #f5f5f7; font-size: 14px; font-family: "SF Mono", Monaco, monospace; transition: all 0.2s ease; } .form-input:focus { outline: none; border-color: #ff7a3c; box-shadow: 0 0 0 4px rgba(255, 122, 60, 0.1); } .form-input:disabled { opacity: 0.5; cursor: not-allowed; } .form-input::placeholder { color: #676883; } .form-hint { font-size: 12px; color: #9a9bb0; line-height: 1.5; margin: 0; } .form-link { color: #ff7a3c; text-decoration: none; font-weight: 500; transition: color 0.2s ease; } .form-link:hover { color: #ff8b52; text-decoration: underline; } .form-hint code { background: #1a1b26; padding: 2px 6px; border-radius: 4px; font-family: "SF Mono", Monaco, monospace; font-size: 11px; color: #ff7a3c; } /* Notice (for no auth configured) */ .login-notice { padding: 20px; background: rgba(255, 152, 0, 0.1); border: 1px solid rgba(255, 152, 0, 0.3); border-radius: 12px; margin-bottom: 28px; } .login-notice h3 { margin: 0 0 12px 0; font-size: 16px; color: #ffb74d; } .login-notice p { margin: 0 0 12px 0; font-size: 13px; color: #c3c5dd; line-height: 1.6; } .login-notice ul { margin: 0; padding-left: 20px; font-size: 13px; color: #c3c5dd; line-height: 1.8; } .login-notice code { background: #1a1b26; padding: 2px 6px; border-radius: 4px; font-family: "SF Mono", Monaco, monospace; font-size: 12px; color: #ff7a3c; } /* Features List */ .login-features { display: flex; flex-direction: column; gap: 12px; padding: 20px 0; border-top: 1px solid #272832; border-bottom: 1px solid #272832; margin-bottom: 20px; } .feature-item { display: flex; align-items: flex-start; gap: 12px; } .feature-icon { flex-shrink: 0; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; color: #7cffb3; } .feature-text { display: flex; flex-direction: column; gap: 2px; } .feature-text strong { font-size: 13px; font-weight: 600; color: #f5f5f7; } .feature-text span { font-size: 12px; color: #9a9bb0; } /* Footer */ .login-footer { text-align: center; } .login-footer p { margin: 0; font-size: 11px; color: #7a7b8e; line-height: 1.6; }/* ============================================================================ INSTALLATION MODAL - Claude Code Style ============================================================================ */ .install-modal-backdrop { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); z-index: 9999; animation: fadeIn 0.2s ease; } .install-modal { width: 480px; max-width: 90vw; background: #101117; border: 1px solid #272832; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); animation: modalSlideIn 0.3s ease; overflow: hidden; } @keyframes modalSlideIn { from { opacity: 0; transform: translateY(-20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } } /* Modal Header */ .install-modal-header { padding: 32px 32px 24px; text-align: center; border-bottom: 1px solid #272832; } .install-modal-logo { display: flex; justify-content: center; margin-bottom: 16px; } .logo-icon-large { width: 56px; height: 56px; border-radius: 12px; background: linear-gradient(135deg, #ff7a3c 0%, #ff6b2b 100%); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 24px; color: #050608; box-shadow: 0 4px 16px rgba(255, 122, 60, 0.3); } .install-modal-title { margin: 0 0 8px 0; font-size: 20px; font-weight: 600; color: #f5f5f7; } .install-modal-subtitle { margin: 0; font-size: 13px; color: #9a9bb0; line-height: 1.5; } /* Status Indicator */ .install-status { display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin: 16px 24px; border-radius: 8px; font-size: 13px; transition: all 0.2s ease; } .install-status-error { background: rgba(255, 82, 82, 0.1); border: 1px solid rgba(255, 82, 82, 0.3); color: #ff8a8a; } .install-status-pending { background: rgba(255, 152, 0, 0.1); border: 1px solid rgba(255, 152, 0, 0.3); color: #ffb74d; } .status-icon { flex-shrink: 0; } .status-spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 180, 77, 0.3); border-top-color: #ffb74d; border-radius: 50%; animation: spin 0.6s linear infinite; } /* Installation Steps */ .install-steps { padding: 24px 32px; display: flex; flex-direction: column; gap: 16px; } .install-step { display: flex; align-items: flex-start; gap: 12px; } .step-number { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: #1a1b26; border: 1px solid #3a3b4d; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: #ff7a3c; } .step-content h3 { margin: 0 0 4px 0; font-size: 14px; font-weight: 600; color: #f5f5f7; } .step-content p { margin: 0; font-size: 12px; color: #9a9bb0; line-height: 1.5; } /* Action Buttons */ .install-modal-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid #272832; background: #0a0b0f; } .btn-install-primary { border: none; outline: none; background: #000; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.2s ease; } .btn-install-primary:hover:not(:disabled) { background: #1a1a1a; transform: translateY(-1px); } .btn-install-primary:active:not(:disabled) { transform: translateY(0); } .btn-install-primary:disabled { opacity: 0.5; cursor: not-allowed; } .btn-check-status { border: 1px solid #3a3b4d; outline: none; background: #1a1b26; color: #f5f5f7; padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.2s ease; } .btn-check-status:hover:not(:disabled) { background: #2a2b3c; border-color: #4a4b5d; } .btn-check-status:disabled { opacity: 0.5; cursor: not-allowed; } .btn-install-secondary { border: 1px solid #3a3b4d; outline: none; background: transparent; color: #c3c5dd; padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.2s ease; } .btn-install-secondary:hover:not(:disabled) { background: #1a1b26; border-color: #4a4b5d; } .btn-install-secondary:disabled { opacity: 0.5; cursor: not-allowed; } /* Footer */ .install-modal-footer { padding: 16px 32px 24px; text-align: center; } .install-modal-footer p { margin: 0; font-size: 12px; color: #7a7b8e; line-height: 1.6; } .install-modal-footer strong { color: #c3c5dd; font-weight: 600; } /* Button spinner */ .btn-spinner { width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Secondary primary-style button for "Load available models" */ .settings-load-btn { margin-top: 8px; /* Make it hug the text, not full width */ display: inline-flex; align-items: center; justify-content: center; width: auto !important; min-width: 0; align-self: flex-start; /* Size: slightly smaller than Save but same family */ padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.01em; border: none; outline: none; cursor: pointer; /* Match Save button color palette */ background: #ff7a3c; color: #050608; transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, opacity 0.2s ease; } .settings-load-btn:hover { background: #ff8b52; transform: translateY(-1px); box-shadow: 0 3px 10px rgba(255, 122, 60, 0.28); } .settings-load-btn:active { transform: translateY(0); box-shadow: 0 1px 4px rgba(255, 122, 60, 0.25); } .settings-load-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; } /* ------------------------------ LLM Settings Loading Experience ------------------------------ */ .settings-loading-shell { min-height: calc(100vh - 32px); display: flex; align-items: center; justify-content: center; padding: 32px 24px; } .settings-loading-card { width: 100%; max-width: 520px; background: #101117; border: 1px solid #272832; border-radius: 20px; padding: 40px 28px; text-align: center; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28); } .settings-loading-card h1 { margin: 0 0 6px 0; font-size: 28px; line-height: 1.1; } .settings-loading-subtitle { font-size: 13px; color: #9a9bb0; margin-bottom: 18px; } .settings-loading-text { font-size: 14px; color: #d4d7e1; line-height: 1.6; margin: 0; } .settings-loading-spinner { width: 56px; height: 56px; border: 4px solid #272832; border-top-color: #ff7a3c; border-right-color: rgba(255, 122, 60, 0.7); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 18px; } .settings-loading-slow { margin-top: 18px; padding: 14px 16px; background: #0b0c11; border: 1px solid #272832; border-radius: 12px; } .settings-loading-slow p { margin: 0 0 12px 0; color: #9a9bb0; font-size: 13px; line-height: 1.5; } .settings-inline-error-card { width: 100%; max-width: 620px; margin: 60px auto 0; background: #101117; border: 1px solid #272832; border-radius: 16px; padding: 28px 24px; } .settings-error-banner, .settings-success-banner { border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-size: 13px; line-height: 1.5; } .settings-error-banner { background: rgba(255, 87, 87, 0.08); border: 1px solid rgba(255, 87, 87, 0.24); color: #ffb0b0; } .settings-success-banner { background: rgba(67, 181, 129, 0.08); border: 1px solid rgba(67, 181, 129, 0.24); color: #9ce7c2; } .settings-error-text { color: #ffb0b0; font-size: 14px; line-height: 1.6; margin: 12px 0 18px; } .settings-secondary-btn { background: transparent; border: 1px solid #313244; color: #f5f5f7; border-radius: 999px; padding: 9px 16px; font-size: 13px; cursor: pointer; transition: all 0.2s ease; } .settings-secondary-btn:hover { border-color: #ff7a3c; color: #fff; background: rgba(255, 122, 60, 0.08); } .settings-inline-row { display: flex; gap: 10px; align-items: center; } .settings-inline-row .settings-input { flex: 1; } .settings-model-list { display: flex; flex-wrap: wrap; gap: 8px; } .settings-model-chip { background: #090a0e; border: 1px solid #2b2c36; border-radius: 999px; color: #f5f5f7; padding: 8px 12px; font-size: 12px; cursor: pointer; transition: all 0.18s ease; } .settings-model-chip:hover { border-color: #ff7a3c; background: rgba(255, 122, 60, 0.08); } /* ========================================================= Startup Screen — Enterprise Loader ========================================================= */ .startup-screen { min-height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; padding: 32px; box-sizing: border-box; background: radial-gradient(circle at top center, rgba(255, 122, 60, 0.10), transparent 18%), linear-gradient(180deg, #050814 0%, #03060f 100%); } .startup-card { width: min(100%, 520px); display: flex; flex-direction: column; gap: 20px; padding: 28px 28px 24px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.08); background: linear-gradient(180deg, rgba(18, 24, 42, 0.94) 0%, rgba(10, 15, 28, 0.96) 100%); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.02) inset; backdrop-filter: blur(12px); } .startup-brand-row { display: flex; align-items: center; gap: 16px; } .startup-brand-mark { position: relative; width: 52px; height: 52px; flex: 0 0 52px; } .startup-brand-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(255, 122, 60, 0.22); border-top-color: #ff7a3c; animation: startup-spin 1.1s linear infinite; } .startup-brand-mark--static .startup-brand-ring { display: none; } .startup-brand-mark--static .startup-brand-core { inset: 0; } .startup-brand-core { position: absolute; inset: 11px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 60, 0.95) 0%, rgba(255, 122, 60, 0.25) 72%, transparent 100%); box-shadow: 0 0 24px rgba(255, 122, 60, 0.28); } .startup-brand-copy { min-width: 0; } .startup-title { font-size: 26px; line-height: 1.1; font-weight: 700; color: #f8fafc; letter-spacing: 0.01em; } .startup-subtitle { margin-top: 4px; font-size: 13px; line-height: 1.5; color: #94a3b8; } .startup-loader-wrap { display: flex; align-items: center; justify-content: center; padding: 8px 0 4px; } .startup-loader { position: relative; width: 72px; height: 72px; } .startup-loader-ring { position: absolute; inset: 0; border-radius: 50%; } .startup-loader-ring-outer { border: 4px solid rgba(255, 255, 255, 0.08); border-top-color: #ff7a3c; animation: startup-spin 1s linear infinite; } .startup-loader-ring-inner { inset: 10px; border: 3px solid rgba(255, 122, 60, 0.14); border-bottom-color: rgba(255, 122, 60, 0.9); animation: startup-spin-reverse 1.4s linear infinite; } /* Single branded orb loader: static glowing core + one thin rotating ring */ .startup-orb-loader { position: relative; width: 112px; height: 112px; display: flex; align-items: center; justify-content: center; } .startup-orb-ring-track { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.06); } .startup-orb-ring-progress { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid transparent; border-top-color: #ff7a3c; border-right-color: rgba(255, 122, 60, 0.55); animation: startup-spin 1.4s linear infinite; } .startup-orb-core { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient( circle at 35% 35%, #ffd2b3 0%, #ff9a5c 30%, #ff7a3c 60%, rgba(255, 122, 60, 0.25) 100% ); box-shadow: 0 0 18px rgba(255, 122, 60, 0.45), 0 0 40px rgba(255, 122, 60, 0.25); } .startup-status-block { text-align: center; } .startup-status { font-size: 18px; font-weight: 600; color: #f8fafc; letter-spacing: 0.01em; } .startup-detail { margin-top: 8px; font-size: 13px; line-height: 1.6; color: #94a3b8; } .startup-phase-row { display: flex; justify-content: center; } .startup-phase-badge { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 28px; padding: 0 14px; border-radius: 999px; background: rgba(255, 122, 60, 0.12); border: 1px solid rgba(255, 122, 60, 0.24); color: #ffb089; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; } .startup-phase-dot { width: 6px; height: 6px; border-radius: 999px; background: #ff7a3c; box-shadow: 0 0 0 0 rgba(255, 122, 60, 0.45); animation: startup-phase-pulse 1.6s ease-in-out infinite; } .startup-detail--hint { margin-top: 10px; color: #cbd5e1; font-style: italic; } .startup-action-row { display: flex; flex-direction: column; align-items: center; gap: 8px; } .startup-action-text { font-size: 12px; color: #94a3b8; } .startup-action-btn { appearance: none; border: 1px solid rgba(255, 122, 60, 0.45); background: rgba(255, 122, 60, 0.10); color: #ffb089; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 10px; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; } .startup-action-btn:hover { background: rgba(255, 122, 60, 0.18); border-color: rgba(255, 122, 60, 0.65); } .startup-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .startup-meta-item { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.05); } .startup-meta-item-wide { grid-column: 1 / -1; } .startup-meta-label { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #64748b; } .startup-meta-value { margin-top: 6px; font-size: 14px; font-weight: 600; color: #e2e8f0; word-break: break-word; } .startup-footer { font-size: 12px; line-height: 1.6; color: #64748b; text-align: center; } @keyframes startup-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes startup-spin-reverse { from { transform: rotate(360deg); } to { transform: rotate(0deg); } } @keyframes startup-phase-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 60, 0.45); } 70% { box-shadow: 0 0 0 6px rgba(255, 122, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 60, 0); } } @media (max-width: 640px) { .startup-screen { padding: 20px; } .startup-card { padding: 22px 20px 20px; border-radius: 18px; } .startup-title { font-size: 22px; } .startup-meta-grid { grid-template-columns: 1fr; } .startup-meta-item-wide { grid-column: auto; } } /* ========================================================= Session list status dots ========================================================= */ .session-dot { flex-shrink: 0; display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: #5b6472; opacity: 0.7; } .session-dot--active { width: 9px; height: 9px; background: #ff7a3c; box-shadow: 0 0 0 4px rgba(255, 122, 60, 0.12); animation: sessionPulse 1.6s ease-in-out infinite; opacity: 1; } .session-dot--idle { width: 8px; height: 8px; background: #b7791f; opacity: 0.85; animation: none; } .session-dot--inactive { width: 6px; height: 6px; background: #3f4654; opacity: 0.6; animation: none; } .session-dot--failed { width: 8px; height: 8px; background: #ef4444; opacity: 0.9; animation: none; } .session-dot--completed { width: 7px; height: 7px; background: #6b7280; opacity: 0.7; animation: none; } @keyframes sessionPulse { 0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.35); } 70% { box-shadow: 0 0 0 7px rgba(249, 115, 22, 0); } 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); } } /* ========================================================= Assistant message — enterprise execution card ========================================================= */ .assistant-card { margin-bottom: 20px; padding: 20px 22px; background: #18181B; border: 1px solid #27272A; border-radius: 12px; color: #F4F4F5; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); display: flex; flex-direction: column; gap: 18px; } .assistant-answer { font-size: 14px; line-height: 1.6; } .assistant-answer__p { margin: 0 0 8px; white-space: pre-wrap; } .assistant-answer__p:last-child { margin-bottom: 0; } .assistant-block { display: flex; flex-direction: column; gap: 10px; } .assistant-run-error { color: #fca5a5; font-size: 12px; } .assistant-run-output { margin: 0; padding: 8px; font-size: 12px; color: #d4d4d8; background: #000; border-radius: 4px; white-space: pre-wrap; } /* Read-only success status pill (no toggle shape). */ .exec-status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.01em; line-height: 1; border: 1px solid transparent; } .exec-status-badge--ok { color: #34d399; background: rgba(52, 211, 153, 0.08); border-color: rgba(52, 211, 153, 0.28); } .exec-status-badge--muted { color: #9CA3AF; background: rgba(156, 163, 175, 0.06); border-color: rgba(156, 163, 175, 0.25); } /* ----- Execution plan card (proposed) ----- */ .exec-card { display: flex; flex-direction: column; gap: 18px; } .exec-card__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); } .exec-card__icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .exec-card__icon--plan { color: #D95C3D; background: rgba(217, 92, 61, 0.10); border: 1px solid rgba(217, 92, 61, 0.25); } .exec-card__head-text { min-width: 0; } .exec-card__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #D95C3D; margin-bottom: 4px; } .exec-card__title { font-size: 16px; font-weight: 600; color: #F4F4F5; line-height: 1.4; } .exec-card__head-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; } .exec-card__totals { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; } .exec-total { font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid transparent; } .exec-total--create { color: #10B981; background: rgba(16, 185, 129, 0.10); border-color: rgba(16, 185, 129, 0.25); } .exec-total--modify { color: #F59E0B; background: rgba(245, 158, 11, 0.10); border-color: rgba(245, 158, 11, 0.25); } .exec-total--delete { color: #EF4444; background: rgba(239, 68, 68, 0.10); border-color: rgba(239, 68, 68, 0.25); } .exec-total--index { color: #D95C3D; background: rgba(217, 92, 61, 0.10); border-color: rgba(217, 92, 61, 0.25); } /* ----- Timeline of steps ----- */ .exec-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; } .exec-step { display: grid; grid-template-columns: 36px 1fr; gap: 14px; } .exec-step__rail { display: flex; flex-direction: column; align-items: center; gap: 6px; } .exec-step__num { width: 28px; height: 28px; border-radius: 999px; border: 1.5px solid #D95C3D; color: #D95C3D; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: rgba(217, 92, 61, 0.08); flex-shrink: 0; } .exec-step__line { flex: 1; width: 1.5px; background: linear-gradient(180deg, rgba(217, 92, 61, 0.35) 0%, rgba(217, 92, 61, 0.08) 100%); min-height: 16px; } .exec-step__body { display: flex; flex-direction: column; gap: 10px; padding-top: 2px; min-width: 0; } .exec-step__title { font-size: 14px; font-weight: 600; color: #F4F4F5; } .exec-step__desc { margin: 0; font-size: 13px; line-height: 1.55; color: #A1A1AA; } .exec-actions { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 6px; } .exec-action-row { display: flex; align-items: center; gap: 10px; padding: 6px 4px; font-size: 12.5px; } .exec-action__path { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12.5px; color: #D4D4D8; background: rgba(255, 255, 255, 0.04); padding: 2px 8px; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; } /* Compact action badges */ .exec-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; padding: 4px 10px; border-radius: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-family: ui-monospace, SFMono-Regular, monospace; flex-shrink: 0; border: 1px solid transparent; } .exec-badge--read { color: #60a5fa; background: rgba(96, 165, 250, 0.10); border-color: rgba(96, 165, 250, 0.30); } .exec-badge--create { color: #10B981; background: rgba(16, 185, 129, 0.10); border-color: rgba(16, 185, 129, 0.30); } .exec-badge--modify { color: #F59E0B; background: rgba(245, 158, 11, 0.10); border-color: rgba(245, 158, 11, 0.30); } .exec-badge--delete { color: #EF4444; background: rgba(239, 68, 68, 0.10); border-color: rgba(239, 68, 68, 0.30); } .exec-badge--index { color: #D95C3D; background: rgba(217, 92, 61, 0.10); border-color: rgba(217, 92, 61, 0.30); } .exec-notice { margin-top: 4px; font-size: 12px; color: #D95C3D; background: rgba(217, 92, 61, 0.05); padding: 8px 12px; border-radius: 6px; border: 1px solid rgba(217, 92, 61, 0.15); line-height: 1.5; } .exec-risk { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: #F59E0B; background: rgba(245, 158, 11, 0.05); padding: 8px 12px; border-radius: 6px; border: 1px solid rgba(245, 158, 11, 0.15); line-height: 1.5; } /* ----- Success receipt (Execution completed) ----- */ .success-card { display: flex; flex-direction: column; gap: 16px; } .success-card__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); } .success-card__icon { width: 36px; height: 36px; border-radius: 999px; color: #10B981; background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.30); display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .success-card__title { font-size: 17px; font-weight: 700; color: #F4F4F5; line-height: 1.2; } .success-card__subtitle { margin-top: 4px; font-size: 12.5px; color: #A1A1AA; display: inline-flex; align-items: center; gap: 6px; } .success-card__dot { color: #52525B; } .success-card__time-inline { color: #71717A; } .success-card__badge { align-self: center; } .success-headlines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; } .success-headline { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #F4F4F5; } .success-headline__verb { font-weight: 600; } .success-headline__path { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 13px; color: #D4D4D8; background: rgba(255, 255, 255, 0.04); padding: 2px 8px; border-radius: 5px; } .success-files { padding: 14px 16px; background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 8px; } .success-files__label { font-size: 12px; font-weight: 600; color: #A1A1AA; margin-bottom: 10px; } .success-next-row { display: flex; flex-wrap: wrap; gap: 8px; } .success-hint { font-size: 12.5px; color: #71717A; font-style: italic; } .success-techlog__step + .success-techlog__step { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, 0.06); } .success-techlog__step-title { font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #71717A; margin: 6px 0 4px; } .success-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); } .success-meta__item { display: flex; align-items: center; gap: 10px; min-width: 0; } .success-meta__label { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #71717A; flex-shrink: 0; } .success-meta__value { font-size: 12.5px; color: #D4D4D8; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .success-meta__value--mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12px; } .success-action-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; } .success-action-row { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 10px; font-size: 12.5px; } .success-action__check { color: #10B981; font-weight: 700; font-size: 13px; } .success-action__path { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12.5px; color: #D4D4D8; background: rgba(255, 255, 255, 0.04); padding: 2px 8px; border-radius: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .success-action__meta { font-size: 11.5px; color: #71717A; white-space: nowrap; } .next-action-btn { display: inline-flex; align-items: center; gap: 6px; border-radius: 6px; padding: 7px 14px; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; border: 1px solid transparent; } .next-action-btn__glyph { font-size: 11px; } .next-action-btn--primary { background: #10B981; color: #052e1c; border-color: #10B981; } .next-action-btn--primary:hover { background: #0ea271; border-color: #0ea271; } .next-action-btn--ghost { background: transparent; color: #10B981; border-color: rgba(16, 185, 129, 0.45); } .next-action-btn--ghost:hover { background: rgba(16, 185, 129, 0.10); border-color: rgba(16, 185, 129, 0.65); } .assistant-next-row { display: flex; flex-wrap: wrap; gap: 8px; } .success-techlog { margin-top: 6px; } .success-techlog > summary { cursor: pointer; font-size: 12px; color: #71717A; padding: 6px 0; list-style: none; user-select: none; } .success-techlog > summary::-webkit-details-marker { display: none; } .success-techlog > summary::before { content: "▸ "; display: inline-block; margin-right: 4px; transition: transform 0.15s ease; } .success-techlog[open] > summary::before { content: "▾ "; } .success-techlog__time { margin-left: 4px; color: #52525B; } .success-techlog__pre { margin: 4px 0 8px; padding: 8px 10px; font-size: 11.5px; color: #A1A1AA; background: #0d0d0f; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.04); white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, monospace; } /* ----- Inner technical execution card (collapsed by default) ----- */ .exec-card-inner { margin-top: 8px; padding: 10px 12px; border-radius: 8px; background: #0d0e17; border: 1px solid #1f2937; font-family: system-ui, sans-serif; font-size: 12.5px; } .exec-card-inner--ok { border-color: #166534; } .exec-card-inner--bad { border-color: #7f1d1d; } .exec-card-inner--warn { border-color: #854d0e; } .exec-card-inner--info { border-color: #3B82F6; } .exec-card-inner__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; gap: 8px; } .exec-card-inner__path { font-family: ui-monospace, monospace; } .exec-card-inner__sandbox { margin-left: 8px; font-size: 11px; color: #9092b5; } .exec-card-inner__status { padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; background: rgba(255, 255, 255, 0.04); color: #A1A1AA; border: 1px solid rgba(255, 255, 255, 0.06); } .exec-card-inner__cmd { font-size: 11.5px; padding: 6px 10px; border-radius: 4px; background: #000; color: #93c5fd; font-family: ui-monospace, SFMono-Regular, monospace; margin-bottom: 8px; } .exec-card-inner__pre { margin: 6px 0 0; padding: 8px 10px; border-radius: 4px; background: #000; color: #d4d4d8; font-size: 11.5px; font-family: ui-monospace, monospace; max-height: 240px; overflow: auto; white-space: pre-wrap; } .exec-card-inner__pre--err { color: #fca5a5; } .exec-card-inner__stdout-summary { cursor: pointer; font-size: 11px; color: #86efac; } .exec-card-inner__stderr-summary { cursor: pointer; font-size: 11px; color: #fca5a5; } .exec-card-inner__error, .exec-card-inner__reason { font-size: 11.5px; color: #9092b5; margin-top: 4px; } .exec-card-inner__error { color: #fca5a5; } @media (max-width: 640px) { .exec-card__head { grid-template-columns: auto 1fr; } .exec-card__totals { grid-column: 1 / -1; justify-content: flex-start; } .success-card__head { grid-template-columns: auto 1fr; } .success-card__badge { grid-column: 1 / -1; justify-self: flex-start; } .success-meta { grid-template-columns: 1fr; gap: 8px; } .success-action-row { grid-template-columns: auto auto 1fr; } .success-action__meta { grid-column: 1 / -1; margin-left: 88px; } } /* ========================================================= File viewer — calm "not available" state ========================================================= */ .file-notavail { margin: 24px 18px; padding: 22px 22px 18px; border-radius: 10px; background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.06); color: #E4E4E7; font-family: system-ui, sans-serif; } .file-notavail__icon { width: 36px; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; margin-bottom: 12px; } .file-notavail--muted { /* deleted, unavailable */ } .file-notavail--muted .file-notavail__icon { background: rgba(156, 163, 175, 0.10); color: #9CA3AF; border: 1px solid rgba(156, 163, 175, 0.30); } .file-notavail--info .file-notavail__icon { /* syncing */ background: rgba(96, 165, 250, 0.10); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.30); animation: file-notavail-spin 1.6s linear infinite; } .file-notavail--warn .file-notavail__icon { /* generic error */ background: rgba(245, 158, 11, 0.10); color: #F59E0B; border: 1px solid rgba(245, 158, 11, 0.30); } @keyframes file-notavail-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .file-notavail__title { font-size: 16px; font-weight: 600; color: #F4F4F5; margin-bottom: 6px; } .file-notavail__body { font-size: 13px; color: #A1A1AA; line-height: 1.55; margin-bottom: 14px; } .file-notavail__fields { display: grid; grid-template-columns: 70px 1fr; row-gap: 6px; column-gap: 14px; font-size: 12px; margin: 0 0 16px; padding: 10px 12px; background: rgba(0, 0, 0, 0.25); border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.04); } .file-notavail__fields dt { margin: 0; color: #71717A; font-weight: 500; } .file-notavail__fields dd { margin: 0; color: #D4D4D8; overflow: hidden; text-overflow: ellipsis; } .file-notavail__fields code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 11.5px; word-break: break-all; } .file-notavail__actions { display: flex; flex-wrap: wrap; gap: 8px; } .file-notavail__btn { padding: 6px 14px; font-size: 12px; font-weight: 500; border-radius: 6px; cursor: pointer; background: transparent; color: #c3c5dd; border: 1px solid #2c2d46; transition: background 0.15s ease, border-color 0.15s ease; } .file-notavail__btn:hover { background: rgba(255, 255, 255, 0.04); border-color: #3F3F46; } .file-notavail__btn--primary { background: #D95C3D; color: #ffffff; border-color: #D95C3D; } .file-notavail__btn--primary:hover { background: #c54f30; border-color: #c54f30; } .file-notavail__details { margin-top: 14px; } .file-notavail__details > summary { cursor: pointer; font-size: 11.5px; color: #71717A; list-style: none; } .file-notavail__details > summary::-webkit-details-marker { display: none; } .file-notavail__details > summary::before { content: "▸ "; margin-right: 4px; } .file-notavail__details[open] > summary::before { content: "▾ "; } .file-notavail__details pre { margin: 6px 0 0; padding: 8px 10px; font-size: 11px; background: #000; color: #A1A1AA; border-radius: 4px; white-space: pre-wrap; font-family: ui-monospace, monospace; } /* ========================================================= Sandbox Canvas — enterprise runner ========================================================= */ .canvas-modal { display: flex; flex-direction: column; background: #0c0d18; border: 1px solid #1f2030; border-radius: 12px; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; } .canvas-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid #1f2030; background: #0c0d18; } .canvas-header__left, .canvas-header__right { display: flex; align-items: center; gap: 10px; } .canvas-header__glyph { width: 28px; height: 28px; border-radius: 6px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); display: flex; align-items: center; justify-content: center; color: #c3c5dd; flex-shrink: 0; } .canvas-header__title { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 14px; font-weight: 600; color: #F4F4F5; margin-right: 6px; } .canvas-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 500; border: 1px solid transparent; line-height: 1; } .canvas-pill__dot { width: 8px; height: 8px; border-radius: 999px; background: currentColor; } .canvas-pill--lang { color: #fbbf24; background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.25); } .canvas-pill--sandbox { color: #34d399; background: rgba(52, 211, 153, 0.08); border-color: rgba(52, 211, 153, 0.25); } .canvas-run-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 8px; background: #2563eb; color: #ffffff; border: none; font-size: 13px; font-weight: 600; cursor: pointer; transition: background 0.15s ease; } .canvas-run-btn:hover:not(:disabled) { background: #1d4ed8; } .canvas-run-btn:disabled { opacity: 0.7; cursor: not-allowed; } .canvas-run-btn__spinner { width: 10px; height: 10px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #ffffff; animation: canvas-spin 0.9s linear infinite; } @keyframes canvas-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .canvas-icon-btn { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid #2c2d46; border-radius: 6px; color: #9092b5; font-size: 16px; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; } .canvas-icon-btn:hover { background: rgba(255, 255, 255, 0.04); border-color: #3F3F46; color: #c3c5dd; } .canvas-icon-btn--close { font-size: 14px; } .canvas-menu { position: relative; } .canvas-menu__panel { position: absolute; right: 0; top: 38px; min-width: 180px; background: #14152a; border: 1px solid #2c2d46; border-radius: 8px; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5); padding: 4px 0; z-index: 30; } .canvas-menu__item { display: block; width: 100%; text-align: left; background: transparent; border: none; color: #E4E4E7; font-size: 13px; padding: 8px 14px; cursor: pointer; } .canvas-menu__item:hover { background: rgba(255, 255, 255, 0.04); } /* ----- Calm status strip ----- */ .canvas-status { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #0c0d18; border-bottom: 1px solid #1f2030; } .canvas-status__dot { width: 28px; height: 28px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; font-weight: 700; border: 1.5px solid transparent; } .canvas-status__dot--ok { color: #34d399; background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.35); } .canvas-status__dot--bad { color: #f87171; background: rgba(248, 113, 113, 0.12); border-color: rgba(248, 113, 113, 0.35); } .canvas-status__dot--info { color: #60a5fa; background: rgba(96, 165, 250, 0.12); border-color: rgba(96, 165, 250, 0.35); position: relative; } .canvas-status__dot--info::after { content: ""; position: absolute; inset: 4px; border-radius: 999px; border: 1.5px solid transparent; border-top-color: #60a5fa; animation: canvas-spin 1.1s linear infinite; } .canvas-status__text { flex: 1; min-width: 0; } .canvas-status__title { font-size: 14px; font-weight: 600; color: #F4F4F5; } .canvas-status__sub { margin-top: 2px; font-size: 12px; color: #9092b5; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .canvas-status__sub code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 11.5px; background: rgba(255, 255, 255, 0.04); padding: 1px 6px; border-radius: 4px; color: #c3c5dd; } .canvas-status__sep { color: #4b5563; } .canvas-status__details { background: transparent; border: none; color: #60a5fa; font-size: 12px; cursor: pointer; padding: 4px 8px; border-radius: 4px; } .canvas-status__details:hover { background: rgba(96, 165, 250, 0.08); } .canvas-run-config { padding: 12px 18px 14px; background: rgba(255, 255, 255, 0.02); border-bottom: 1px solid #1f2030; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; } .canvas-run-config__row { display: flex; gap: 12px; align-items: baseline; } .canvas-run-config__label { width: 110px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: #71717A; font-weight: 600; } .canvas-run-config__val { font-size: 12.5px; color: #D4D4D8; } .canvas-run-config__val code, code.canvas-run-config__val { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; background: rgba(255, 255, 255, 0.04); padding: 1px 6px; border-radius: 4px; font-size: 12px; } /* ----- Notices ----- */ .canvas-notices { padding: 12px 18px 14px; border-bottom: 1px solid #1f2030; } .canvas-notices__label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #71717A; margin-bottom: 8px; } .canvas-notices__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; } .canvas-notice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 8px; background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.06); } .canvas-notice__icon { width: 26px; height: 26px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700; font-size: 13px; } .canvas-notice--info .canvas-notice__icon { color: #60a5fa; background: rgba(96, 165, 250, 0.10); border: 1px solid rgba(96, 165, 250, 0.25); } .canvas-notice--accent .canvas-notice__icon { color: #34d399; background: rgba(52, 211, 153, 0.10); border: 1px solid rgba(52, 211, 153, 0.25); } .canvas-notice__title { font-size: 13px; font-weight: 600; color: #F4F4F5; } .canvas-notice__desc { margin-top: 2px; font-size: 12px; color: #9092b5; line-height: 1.5; } /* ----- Approval confirmation strip ----- */ .canvas-confirm { display: flex; align-items: center; gap: 14px; padding: 10px 18px; background: rgba(96, 165, 250, 0.06); border-bottom: 1px solid rgba(96, 165, 250, 0.2); font-size: 12.5px; color: #c3c5dd; } .canvas-confirm__text { flex: 1; } .canvas-confirm__text code { font-family: ui-monospace, monospace; background: rgba(255, 255, 255, 0.06); padding: 1px 6px; border-radius: 4px; } .canvas-confirm__cancel { background: transparent; border: 1px solid #2c2d46; color: #c3c5dd; padding: 5px 12px; font-size: 12px; border-radius: 6px; cursor: pointer; } .canvas-confirm__cancel:hover { background: rgba(255, 255, 255, 0.04); } .canvas-plan-error { padding: 8px 18px; font-size: 12px; color: #fca5a5; background: rgba(127, 29, 29, 0.25); border-bottom: 1px solid #7f1d1d; } /* ----- Split body ----- */ .canvas-body { flex: 1; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; min-height: 0; } .canvas-pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #0c0d18; } .canvas-pane--source { border-right: 1px solid #1f2030; } .canvas-pane__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid #1f2030; background: rgba(255, 255, 255, 0.015); } .canvas-pane__title { font-size: 13px; font-weight: 600; color: #E4E4E7; } .canvas-pane__head-right { display: flex; align-items: center; gap: 10px; } .canvas-pane__meta { font-size: 11px; color: #71717A; } .canvas-pane__icon { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid #2c2d46; border-radius: 5px; color: #9092b5; cursor: pointer; } .canvas-pane__icon:hover { background: rgba(255, 255, 255, 0.04); } .canvas-pane__icon-btn { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid #2c2d46; border-radius: 6px; padding: 4px 10px; font-size: 11.5px; color: #9092b5; cursor: pointer; } .canvas-pane__icon-btn:hover { background: rgba(255, 255, 255, 0.04); color: #c3c5dd; } /* ----- Editor with gutter ----- */ .canvas-editor-wrap { flex: 1; display: grid; grid-template-columns: 56px 1fr; min-height: 0; overflow: hidden; } .canvas-editor-gutter { margin: 0; padding: 12px 0; background: #0c0d18; color: #4b5563; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12.5px; line-height: 1.6; text-align: right; border-right: 1px solid #1f2030; overflow: hidden; user-select: none; } .canvas-editor-gutter__line { padding: 0 12px; font-variant-numeric: tabular-nums; } .canvas-editor { flex: 1; resize: none; background: #0c0d18; color: #e6e8ff; border: none; padding: 12px 14px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12.5px; line-height: 1.6; outline: none; white-space: pre; overflow: auto; } .canvas-statusbar { display: flex; align-items: center; gap: 6px; padding: 6px 16px; border-top: 1px solid #1f2030; background: rgba(255, 255, 255, 0.015); font-size: 11px; color: #71717A; } .canvas-statusbar__sep { color: #3F3F46; } .canvas-statusbar__spacer { flex: 1; } .canvas-statusbar__kbd { color: #52525B; } /* ----- Output pane ----- */ .canvas-output-body { flex: 1; overflow: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 16px; } .canvas-output-empty { text-align: center; padding: 40px 20px; color: #9092b5; } .canvas-output-empty__title { font-size: 14px; font-weight: 600; color: #c3c5dd; margin-bottom: 6px; } .canvas-output-empty__sub { font-size: 12.5px; color: #71717A; line-height: 1.55; } .canvas-output-running { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 8px; background: rgba(96, 165, 250, 0.06); border: 1px solid rgba(96, 165, 250, 0.2); color: #93c5fd; font-size: 12.5px; align-self: flex-start; } .canvas-output-running__spinner { width: 12px; height: 12px; border-radius: 999px; border: 2px solid rgba(96, 165, 250, 0.4); border-top-color: #60a5fa; animation: canvas-spin 0.9s linear infinite; } .canvas-result-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; border: 1px solid transparent; } .canvas-result-head--ok { background: rgba(52, 211, 153, 0.05); border-color: rgba(52, 211, 153, 0.2); } .canvas-result-head--bad { background: rgba(239, 68, 68, 0.05); border-color: rgba(239, 68, 68, 0.25); } .canvas-result-icon { width: 30px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; } .canvas-result-head--ok .canvas-result-icon { background: rgba(52, 211, 153, 0.15); color: #34d399; } .canvas-result-head--bad .canvas-result-icon { background: rgba(239, 68, 68, 0.15); color: #f87171; } .canvas-result-title { font-size: 14px; font-weight: 600; color: #F4F4F5; } .canvas-result-sub { margin-top: 2px; font-size: 11.5px; color: #9092b5; } .canvas-result-time { font-size: 11.5px; color: #71717A; } .canvas-result-err { margin: 4px 0 0; padding: 6px 8px; background: rgba(0, 0, 0, 0.35); border-radius: 4px; font-family: ui-monospace, monospace; font-size: 12px; color: #fca5a5; white-space: pre-wrap; } .canvas-output-section { display: flex; flex-direction: column; gap: 6px; } .canvas-output-section__label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9092b5; display: inline-flex; align-items: center; gap: 8px; } .canvas-output-section__label--err { color: #fca5a5; } .canvas-output-section__count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 6px; border-radius: 999px; background: rgba(96, 165, 250, 0.15); color: #93c5fd; font-size: 10px; font-weight: 700; letter-spacing: 0; } .canvas-output-pre { margin: 0; padding: 12px 14px; background: #06070f; border: 1px solid #1f2030; border-radius: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12px; line-height: 1.55; color: #d4d4d8; white-space: pre-wrap; overflow: auto; max-height: 320px; } .canvas-output-pre--err { color: #fca5a5; border-color: rgba(127, 29, 29, 0.6); background: rgba(127, 29, 29, 0.10); } /* ----- Artifacts ----- */ .canvas-artifacts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; } .canvas-artifact { background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 8px; overflow: hidden; } .canvas-artifact__img { display: block; width: 100%; max-height: 360px; object-fit: contain; background: #ffffff; } .canvas-artifact__row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid rgba(255, 255, 255, 0.04); } .canvas-artifact:first-child .canvas-artifact__row { border-top: none; } .canvas-artifact__icon { width: 26px; height: 26px; border-radius: 6px; display: flex; align-items: center; justify-content: center; background: rgba(96, 165, 250, 0.10); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.25); flex-shrink: 0; } .canvas-artifact__name { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12.5px; color: #D4D4D8; } .canvas-artifact__badge { font-size: 10.5px; font-weight: 600; letter-spacing: 0.03em; padding: 2px 8px; border-radius: 999px; background: rgba(96, 165, 250, 0.12); color: #93c5fd; border: 1px solid rgba(96, 165, 250, 0.25); } .canvas-artifact__meta { margin-left: auto; font-size: 11px; color: #71717A; } .canvas-artifact__download { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 5px; background: transparent; border: 1px solid #2c2d46; color: #9092b5; text-decoration: none; transition: background 0.15s ease; } .canvas-artifact__download:hover { background: rgba(255, 255, 255, 0.04); color: #c3c5dd; } @media (max-width: 900px) { .canvas-body { grid-template-columns: 1fr; } .canvas-pane--source { border-right: none; border-bottom: 1px solid #1f2030; } .canvas-run-config { grid-template-columns: 1fr; } } /* AI Providers — OllaBridge default + upgrade banner */ .settings-upsell { display: flex; gap: 12px; align-items: flex-start; background: linear-gradient(135deg, rgba(217, 92, 61, 0.10), rgba(99, 102, 241, 0.10)); border: 1px solid rgba(217, 92, 61, 0.30); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; } .settings-upsell-icon { font-size: 20px; line-height: 1.4; } .settings-upsell-body { flex: 1; min-width: 0; } .settings-upsell-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; } .settings-upsell-text { font-size: 13px; opacity: 0.82; line-height: 1.5; } .settings-upsell-text a { color: #e8916f; text-decoration: none; font-weight: 600; } .settings-upsell-text a:hover { text-decoration: underline; } /* RepoSelector — GitHub-not-connected CTA (GitHub is optional) */ .repo-connect-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 22px 18px; margin: 6px 4px; background: #101117; border: 1px solid #272832; border-radius: 12px; } .repo-connect-icon { color: #e6e6e6; opacity: 0.9; } .repo-connect-title { font-weight: 600; font-size: 14px; } .repo-connect-text { font-size: 12.5px; opacity: 0.72; line-height: 1.55; } .repo-connect-text strong { color: #e8e8e8; } .repo-connect-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; padding: 10px 16px; width: 100%; background: #1f2229; color: #fff; border: 1px solid #33373f; border-radius: 9px; font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease; } .repo-connect-btn:hover { background: #272a33; border-color: #444955; } .repo-connect-hint { font-size: 11px; opacity: 0.5; line-height: 1.5; } /* Account tab — danger zone (delete account) */ .settings-danger-card { background: rgba(255, 80, 80, 0.05); border: 1px solid rgba(255, 80, 80, 0.30); border-radius: 12px; padding: 16px; margin-top: 4px; } .settings-danger-title { font-weight: 700; font-size: 14px; color: #ff9b9b; margin-bottom: 6px; } .settings-danger-btn { background: #3a1414; color: #ff9b9b; border: 1px solid rgba(255, 80, 80, 0.45); border-radius: 9px; padding: 9px 16px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .15s ease, border-color .15s ease; } .settings-danger-btn:hover:not(:disabled) { background: #4d1818; border-color: rgba(255, 80, 80, 0.7); } .settings-danger-btn:disabled { opacity: .6; cursor: default; } .settings-danger-confirm { margin-top: 6px; }