:root { font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 14px; color: #e6e3df; background: #1c1c1c; } * { box-sizing: border-box; } body { margin: 0; min-width: 640px; min-height: 520px; background: transparent; } button, input, textarea, select { font: inherit; } button { border: 0; border-radius: 5px; padding: 6px 9px; background: #f0a347; color: #25180b; font-weight: 750; cursor: pointer; } button:hover { background: #ffc170; } button:disabled { opacity: 0.6; cursor: wait; } button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #f0a347; outline-offset: 2px; } .quiet { background: #363b43; color: #d9dce1; } .danger { background: #59333b; color: #ffd7db; } .muted { color: #9299a6; } .app-shell { height: 100vh; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 9px; border: 1px solid #4b4b4b; border-radius: 8px; background: rgba(34, 34, 34, 0.98); } .workflow-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: grab; } .workspace-heading, .status-row { display: flex; align-items: center; gap: 8px; } .brand { color: #f0a347; font-size: 10px; font-weight: 900; letter-spacing: 0.16em; } .workflow-header h1 { margin: 0; font-size: 16px; } .status-row { margin-top: 1px; color: #aaa6a0; font-size: 11px; } .state-pill { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #555; border-radius: 999px; padding: 2px 8px; font-size: 11px; } .state-pill.working { color: #ffd39a; border-color: #f0a347; background: #4b3420; box-shadow: 0 0 0 1px rgba(240, 163, 71, 0.22), 0 0 10px rgba(240, 163, 71, 0.2); } .state-pill.recovering { color: #e0c2a1; border-color: #8d6745; } .state-pill.error { color: #ffb4ba; border-color: #a65b67; } .working-pulse { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #f0a347; box-shadow: 0 0 0 0 rgba(240, 163, 71, 0.7); animation: work-pulse 1.35s ease-out infinite; } .working-banner { display: inline-flex; align-items: center; gap: 5px; padding: 2px 6px; border: 1px solid #b76f26; border-radius: 4px; background: #41301f; color: #ffd39a; font-weight: 700; } .workspace-warning { padding: 6px 8px; border: 1px solid #8c713c; border-radius: 5px; background: #302817; color: #f2cf86; font-size: 13px; } .workspace-warning.collision { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-color: #a85b4d; background: #35211e; color: #ffc0b4; } .warning-dismiss { flex: 0 0 auto; padding: 4px 8px; } .workspace-layout { flex: 1; min-height: 0; display: grid; grid-template-columns: 178px minmax(0, 1fr); gap: 6px; } .directory-sidebar { min-height: 0; overflow: auto; border: 1px solid #484848; border-radius: 6px; background: #292929; padding: 5px; } .sidebar-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; color: #bbb7b0; text-transform: uppercase; font-size: 11px; } .sidebar-heading button { padding: 3px 8px; } .directory-row { display: flex; gap: 2px; margin-bottom: 2px; } .directory-select { min-width: 0; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 4px; text-align: left; background: #353535; color: #e3dfd8; } .directory-select span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .directory-select small { grid-row: 2; color: #9099a7; font-size: 10px; } .directory-row.selected .directory-select { background: #403a33; color: #fff5e7; box-shadow: inset 3px 0 #f0a347; } .directory-badges { display: flex; gap: 3px; } .directory-badges b { border-radius: 999px; padding: 1px 4px; font-size: 9px; } .directory-badges .attention { background: #6f5220; color: #ffe3a3; } .directory-badges .error { background: #672d2d; color: #ffcaca; } .forget-directory { padding: 4px 7px; background: #2a303a; color: #b8c1cd; } .session-area { min-height: 0; display: flex; flex-direction: column; gap: 5px; } .session-strip { display: block; min-width: 0; } .session-tab-bar { display: flex; align-items: end; min-width: 0; border-bottom: 1px solid #55585d; } .session-tabs { min-width: 0; flex: 1; display: flex; overflow-x: auto; gap: 2px; padding-left: 4px; } .session-tab { display: flex; flex: 0 0 auto; } .session-tab > button[role="tab"] { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; min-width: 124px; max-width: 190px; padding: 6px 8px 5px; border: 1px solid #555; border-bottom: 0; border-radius: 8px 8px 0 0; background: #303136; color: #d5d7dc; text-align: left; } .session-tab.selected > button[role="tab"] { border-color: #d88735; background: #3b3935; color: #fff5e7; box-shadow: inset 0 2px #f0a347; } .session-tab > button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .session-tab small { grid-row: 2; color: #788077; font-size: 10px; } .session-tab small.streaming, .session-tab small.recovering { color: #ffc170; } .close-session { align-self: stretch; border: 1px solid #505257; border-bottom: 0; border-left: 0; border-radius: 0 8px 0 0; padding: 4px 8px; background: #303136; color: #b8bbc1; } .unread-dot { width: 7px; height: 7px; border-radius: 50%; background: #f0a347; } .attention-dot { color: #ffcb6b; } .session-tab-actions { display: flex; gap: 3px; padding: 0 0 2px 5px; } .session-tab-actions button { white-space: nowrap; border: 1px solid #55585d; border-bottom: 0; border-radius: 6px 6px 0 0; padding: 5px 8px; background: #383a40; color: #e2e4e8; } .session-tab-actions button:hover { background: #4a4540; color: #ffc170; } .session-tab-actions .new-session { border-color: #d88735; background: #4a3827; color: #ffc170; } .session-tab-actions span { margin-right: 5px; font-size: 15px; line-height: 0; } .directory-add { display: flex; gap: 5px; } .directory-add input { min-width: 240px; flex: 1; padding: 7px; } .workflow { flex: 1; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 7px; } .workflow-main { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 5px; } .transcript, .todos-pane, .settings, .empty-workspace { min-height: 0; overflow: auto; border: 1px solid #4a4a4a; border-radius: 6px; background: #292929; padding: 6px; } .transcript.working { border-color: #f0a347; box-shadow: inset 3px 0 #f0a347, 0 0 16px rgba(240, 163, 71, 0.25); } .agent-working { display: flex; align-items: center; gap: 8px; margin: -1px -1px 6px; padding: 7px 8px; border: 1px solid #b76f26; border-radius: 5px; background: #3d2d1d; color: #ffd39a; } .agent-working > div { display: grid; gap: 1px; } .agent-working strong { color: #fff0da; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; } .agent-working span { font-size: 12px; } .agent-working small { color: #d8b892; font-size: 10px; } .working-bars { display: flex; align-items: center; gap: 3px; height: 19px; } .working-bars i { width: 3px; height: 8px; border-radius: 3px; background: #f0a347; animation: work-bars 0.8s ease-in-out infinite alternate; } .working-bars i:nth-child(2) { animation-delay: 0.18s; } .working-bars i:nth-child(3) { animation-delay: 0.36s; } .transcript.error { border-color: #9d5050; } .message { margin: 3px 0; padding: 5px 6px; border: 1px solid transparent; border-radius: 7px; } .message.user { margin-left: 24px; border-color: #73532f; background: #332a21; } .message.assistant { margin-right: 12px; border-color: #496983; background: #253544; } .message.tool, .message.toolResult { margin-right: 12px; border-color: #2d8372; background: #193936; } .message.error { border-color: #bf6570; background: #44282d; } .message strong { display: block; margin-bottom: 3px; color: #c7d0df; font-size: 10px; text-transform: uppercase; } .message.user strong { color: #ffc170; } .message.assistant strong { color: #b9d9ff; } .message.tool strong, .message.toolResult strong { color: #a9f2df; } .message.error strong { color: #ffd7db; } .message pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 13px; line-height: 1.32; } .tool-result summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; color: #a9f2df; font-size: 10px; font-weight: 700; text-transform: uppercase; } .tool-result summary::-webkit-details-marker { display: none; } .tool-result summary::after { content: "▾"; font-size: 14px; } .tool-result[open] summary::after { content: "▴"; } .tool-result[open] summary { margin-bottom: 6px; } .pending-message { border-style: dashed; } .pending-message strong { display: flex; justify-content: space-between; } .todos-pane { background: #292929; } .todos-heading { display: flex; justify-content: space-between; color: #e0ddd7; font-size: 10px; text-transform: uppercase; } .todo-list { display: grid; gap: 3px; margin: 4px 0 0; padding: 0; list-style: none; } .todo-list li { display: flex; justify-content: space-between; border-bottom: 1px solid #484848; padding: 3px 0; font-size: 10px; } .todo-list li > div { display: grid; } .todo-list small { color: #9099a7; } .todo-list .completed { opacity: 0.55; } .workflow-footer { display: grid; gap: 5px; } .pi-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; border: 1px solid #4a4a4a; border-radius: 5px; background: #303030; } .pi-controls label { display: grid; grid-template-columns: auto 1fr; gap: 6px; align-items: center; font-size: 10px; } .pi-controls select { min-width: 0; appearance: none; color-scheme: dark; padding: 5px 25px 5px 6px; border: 1px solid #70522f; border-radius: 4px; background: #2c2a27 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23f0a347' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 7px center; color: #f2ece4; } .pi-controls select:hover { border-color: #d88735; background-color: #383129; } .pi-controls select:focus { border-color: #f0a347; box-shadow: 0 0 0 2px rgba(240, 163, 71, 0.22); } .pi-controls select option { background: #2c2a27; color: #f2ece4; } .pi-controls select option:checked { background: #4b3420; color: #fff2df; } .composer-progress { display: flex; align-items: center; gap: 6px; color: #8f988e; font-size: 11px; } .work-dot { width: 7px; height: 7px; border-radius: 50%; background: #687168; } .composer-progress.working { padding: 4px 6px; border-left: 3px solid #f0a347; background: #3b3025; color: #ffd39a; font-weight: 700; } .composer-progress.working .work-dot { background: #f0a347; box-shadow: 0 0 8px #f0a347; animation: work-pulse 1.35s ease-out infinite; } .composer { display: flex; gap: 7px; } .composer textarea { flex: 1; min-height: 48px; max-height: 110px; resize: vertical; padding: 7px; border: 1px solid #4a4a4a; border-radius: 5px; background: #242424; color: #f0f4fa; } .composer-actions { display: flex; align-items: end; gap: 5px; } .settings, .empty-workspace { flex: 1; } .settings-actions { display: flex; gap: 7px; } .default-worktree-control { display: grid; gap: 4px; margin: 8px 0; color: #ddd8d0; font-size: 11px; font-weight: 700; } .default-worktree-control select { min-width: 0; appearance: none; color-scheme: dark; padding: 5px 28px 5px 7px; border: 1px solid #70522f; border-radius: 4px; background: #2c2a27 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23f0a347' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 8px center; color: #f2ece4; } .default-worktree-control select:hover { border-color: #d88735; background-color: #383129; } .default-worktree-control select:focus { border-color: #f0a347; box-shadow: 0 0 0 2px rgba(240, 163, 71, 0.22); } .default-worktree-control option { background: #2c2a27; color: #f2ece4; } .default-worktree-control option:checked { background: #4b3420; color: #fff2df; } .default-worktree-control small { color: #b9afa4; font-weight: 400; } .extension-widget { padding: 5px 8px; border-left: 3px solid #f0a347; background: #302a24; font-size: 12px; } .startup-blocker { position: absolute; z-index: 20; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(20, 18, 16, 0.82); backdrop-filter: blur(3px); outline: 0; } .startup-blocker-card { display: flex; align-items: center; gap: 12px; width: min(380px, 90vw); padding: 16px; border: 1px solid #f0a347; border-radius: 8px; background: #33271d; box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45); color: #ffd9aa; } .startup-blocker-card > div { display: grid; gap: 3px; } .startup-blocker-card strong { color: #fff2df; font-size: 14px; } .startup-blocker-card p { margin: 0; font-weight: 700; } .startup-blocker-card small { color: #d8b892; } .startup-bars { flex: 0 0 auto; transform: scale(1.35); } .modal-backdrop, .extension-backdrop { position: absolute; z-index: 10; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, 0.62); } .session-picker, .extension { width: min(680px, 90vw); max-height: 75vh; overflow: auto; display: grid; gap: 8px; padding: 15px; border: 1px solid #b76f26; border-radius: 10px; background: #2d2e31; } .session-picker { overflow: hidden; } .picker-heading { display: flex; justify-content: space-between; } .picker-heading h2, .extension h2 { margin: 0; } .session-search input { box-sizing: border-box; width: 100%; padding: 8px 10px; border: 1px solid #5f6570; border-radius: 6px; background: #202125; color: #f1f3f4; } .session-result-count { margin: 0; color: #8d97a6; font-size: 0.85rem; } .session-list { display: grid; gap: 6px; max-height: min(44vh, 430px); margin: 0; padding: 0; overflow-y: auto; list-style: none; } .session-row { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 12px; padding: 10px; border: 1px solid #474b54; border-radius: 7px; background: #25262a; text-align: left; } .session-row:hover { border-color: #b76f26; background: #303136; } .session-row-content { display: grid; min-width: 0; gap: 3px; } .session-preview, .session-metadata { overflow: hidden; color: #a7afbc; text-overflow: ellipsis; white-space: nowrap; } .session-metadata { display: flex; gap: 8px; color: #8d97a6; } .session-open { flex: 0 0 auto; padding: 2px 6px; border-radius: 999px; background: #234a33; color: #a5e3bc; font-size: 0.75rem; font-weight: 700; } .extension-eyebrow, .extension-request-label, .extension-request-action, .extension-request-details { margin: 0; } .extension-eyebrow, .extension-request-label { color: #b9afa4; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; } .extension-request { display: grid; gap: 6px; padding: 12px; border-left: 3px solid #f0a347; border-radius: 4px; background: #25262a; } .extension-request-action { color: #fff3df; font-size: 1.05rem; font-weight: 750; } .extension-request-details { white-space: pre-wrap; overflow-wrap: anywhere; } .extension-options { display: flex; flex-wrap: wrap; gap: 7px; } .extension textarea { min-height: 150px; } .notification { padding: 6px; } @keyframes work-pulse { 70% { box-shadow: 0 0 0 7px rgba(240, 163, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 163, 71, 0); } } @keyframes work-bars { from { transform: scaleY(0.55); opacity: 0.55; } to { transform: scaleY(1.35); opacity: 1; } } .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); } @media (max-width: 800px) { .workspace-layout { grid-template-columns: 150px minmax(0, 1fr); } .workflow-main { grid-template-columns: minmax(0, 1fr) 165px; } .session-strip-actions { flex-direction: column; } .session-tab > button[role="tab"] { min-width: 125px; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }