@font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/atkinson-hyperlegible-mono-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } @font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/atkinson-hyperlegible-mono-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; } @font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: italic; font-display: swap; font-weight: 200 800; src: url(/fonts/atkinson-hyperlegible-mono-latin-wght-italic.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } @font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: italic; font-display: swap; font-weight: 200 800; src: url(/fonts/atkinson-hyperlegible-mono-latin-ext-wght-italic.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; } :root { color-scheme: light dark; --bg: #fbfbfa; --surface: #f2f3f5; --raised: #ffffff; --border: #d6d9de; --text: #16181b; --muted: #4a5260; --accent: #1a45bd; --accent-tint: #e7edfb; --danger: #b42318; --danger-tint: #fdecea; --warn: #855600; --warn-tint: #fdf3dc; --ok: #1a7f37; --shadow: 0 8px 28px rgb(16 24 40 / 0.18); --font: "Atkinson Hyperlegible Mono", ui-monospace, Menlo, monospace; font: 13px/1.55 var(--font); } @media (prefers-color-scheme: dark) { :root { --bg: #15171a; --surface: #1c1f23; --raised: #23272c; --border: #353b43; --text: #eceff3; --muted: #a9b1bc; --accent: #8ab4ff; --accent-tint: #1e2a40; --danger: #ff9488; --danger-tint: #3a1f1d; --warn: #f2c66d; --warn-tint: #352a14; --ok: #7fd88f; --shadow: 0 8px 28px rgb(0 0 0 / 0.5); } } * { box-sizing: border-box; } html, body { height: 100%; margin: 0; background: var(--bg); color: var(--text); } body { display: flex; flex-direction: column; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } code, pre, input, textarea, select, button { font-family: var(--font); font-size: inherit; } pre { margin: 0; white-space: pre-wrap; word-break: break-word; } :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } button { padding: 4px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--raised); color: var(--text); cursor: pointer; } button:hover:not(:disabled) { border-color: var(--muted); } button:disabled { opacity: 0.45; cursor: default; } button.primary { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 700; } button.danger { color: var(--danger); } input, textarea, select { color: var(--text); background: var(--raised); border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; width: 100%; } input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: none; } textarea { resize: vertical; } .navbar { display: flex; align-items: center; gap: 14px; padding: 8px 16px; background: var(--surface); border-bottom: 1px solid var(--border); } .brand { font-weight: 800; font-size: 14px; color: var(--text); } .brand:hover { text-decoration: none; } .crumb { border-color: transparent; background: transparent; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .crumb:hover:not(:disabled) { background: var(--raised); border-color: var(--border); } .spacer { flex: 1; } .inbox-count { background: transparent; } .inbox-count.urgent { background: var(--danger-tint); border-color: transparent; color: var(--danger); font-weight: 700; } .connection { width: 8px; height: 8px; border-radius: 50%; } .connection.up { background: var(--ok); } .connection.down { background: var(--danger); } .connection-label { color: var(--danger); } .connection-label[hidden] { display: none; } .me { color: var(--muted); } .banner { padding: 8px 16px; background: var(--accent-tint); border-bottom: 1px solid var(--border); } .banner input { width: auto; margin: 0 4px; } .panes { flex: 1; display: grid; grid-template-columns: 1fr 1fr; min-height: 0; } .pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; } .pane + .pane { border-left: 1px solid var(--border); } .pane-tabs { display: flex; gap: 4px; padding: 0 12px; border-bottom: 1px solid var(--border); } .pane-tabs button, .scope-tabs button, .range-tabs button, .modes button { border: none; border-radius: 0; background: transparent; color: var(--muted); border-bottom: 2px solid transparent; } .pane-tabs button { padding: 8px 10px 6px; } .pane-tabs button:hover:not(:disabled), .scope-tabs button:hover:not(:disabled), .range-tabs button:hover:not(:disabled), .modes button:hover:not(:disabled) { color: var(--text); } .pane-tabs button.active, .scope-tabs button.active, .range-tabs button.active, .modes button.active { color: var(--text); border-bottom-color: var(--accent); } .pane-body, .view, .transcript-view, .changes-view, .inbox-view { flex: 1; min-height: 0; display: flex; flex-direction: column; } .tasks-view { overflow-y: auto; padding: 8px 16px 16px; } .project h2 { font-size: 13px; margin: 16px 0 6px; } .project h2 .repo { font-weight: 400; color: var(--muted); font-size: 11px; margin-left: 6px; } .task-list { list-style: none; margin: 0 0 8px; padding: 0; } .task-list a { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 6px; color: var(--text); } .task-list a:hover { background: var(--surface); text-decoration: none; } .task-list li.selected a { background: var(--accent-tint); } .task-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .task-state { color: var(--muted); font-size: 11px; } .empty-row { color: var(--muted); padding: 6px 10px; } .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; box-shadow: inset 0 0 0 1.5px var(--muted); } .dot.running { background: var(--ok); box-shadow: none; } .dot.queued { background: var(--warn); box-shadow: none; } .badge { font-size: 11px; font-weight: 700; background: var(--danger-tint); color: var(--danger); border-radius: 10px; padding: 0 7px; } .inline-form, .stack-form { display: flex; gap: 6px; margin-top: 6px; } .stack-form { flex-direction: column; } .add-project { margin-top: 24px; } .add-project summary { cursor: pointer; color: var(--muted); } .task-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 16px; border-bottom: 1px solid var(--border); } .task-header:empty { display: none; } .head-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; } .session-actions { margin-right: auto; } .context-meter { font-size: 11px; } .context-meter.ok { color: var(--ok); } .context-meter.warn { color: var(--warn); } .context-meter.danger { color: var(--danger); font-weight: 700; } .transcript { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; border: 1px solid transparent; transition: border-color 0.3s; } .transcript.running { border-color: var(--accent); } .spinner { flex-shrink: 0; display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, 2px); grid-template-columns: repeat(2, 2px); gap: 2px 1px; width: max-content; padding: 5px 1px; } .spinner[hidden] { display: none; } .spinner span { border-radius: 50%; background: var(--accent); animation: 0.8s step-end infinite; } .spinner .dot1 { animation-name: braille-1; } .spinner .dot2 { animation-name: braille-2; } .spinner .dot3 { animation-name: braille-3; } .spinner .dot4 { animation-name: braille-4; } .spinner .dot5 { animation-name: braille-5; } .spinner .dot6 { animation-name: braille-6; } @keyframes braille-1 { 0% { opacity: 1; } 30% { opacity: 0; } 70%, 100% { opacity: 1; } } @keyframes braille-2 { 0% { opacity: 1; } 10% { opacity: 0; } 60%, 100% { opacity: 1; } } @keyframes braille-3 { 0% { opacity: 0; } 40%, 100% { opacity: 1; } } @keyframes braille-4 { 0% { opacity: 1; } 50% { opacity: 0; } 90%, 100% { opacity: 1; } } @keyframes braille-5 { 0% { opacity: 0; } 10% { opacity: 1; } 60%, 100% { opacity: 0; } } @keyframes braille-6 { 0% { opacity: 0; } 20% { opacity: 1; } 80%, 100% { opacity: 0; } } .empty { color: var(--muted); padding: 32px; text-align: center; } .md { word-break: break-word; } .md > :first-child { margin-top: 0; } .md > :last-child { margin-bottom: 0; } .md p, .md ul, .md ol, .md blockquote, .md pre, .md .md-table { margin: 0 0 8px; } .md ul, .md ol { padding-left: 22px; } .md li > ul, .md li > ol { margin: 2px 0; } .md h3, .md h4, .md h5, .md h6 { margin: 12px 0 4px; font-size: 13px; } .md h3 { font-size: 14px; } .md blockquote { border-left: 3px solid var(--border); padding-left: 10px; color: var(--muted); } .md hr { border: none; border-top: 1px solid var(--border); margin: 10px 0; } .md code { background: var(--surface); border-radius: 4px; padding: 0 4px; } .md pre.md-code { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; overflow-x: auto; white-space: pre; } .md pre.md-code code { background: none; padding: 0; } .md .md-table { overflow-x: auto; } .md table { border-collapse: collapse; } .md th, .md td { border: 1px solid var(--border); padding: 3px 8px; text-align: left; vertical-align: top; } .md th { background: var(--surface); } .msg.user { align-self: flex-end; max-width: 85%; background: var(--accent-tint); padding: 8px 12px; border-radius: 10px; } .who { font-size: 11px; color: var(--muted); margin-bottom: 2px; } .thinking, .tool, .tool-group { border: 1px solid var(--border); border-radius: 8px; padding: 4px 10px; background: var(--surface); } .tool, .tool-group { font-size: 12px; } .thinking summary, .tool summary, .tool-group summary { cursor: pointer; } .tool-group-body { display: flex; flex-direction: column; gap: 6px; padding: 6px 0 4px; } .tool-group-body .thinking, .tool-group-body .tool { background: var(--raised); } .tool-count { color: var(--muted); } .thinking summary { color: var(--muted); } .thinking .text { color: var(--muted); padding: 6px 0; } .tool-name { font-weight: 600; } .tool-brief { color: var(--muted); } .tool-input, .tool-result pre { background: var(--raised); border: 1px solid var(--border); padding: 6px 8px; border-radius: 6px; margin: 6px 0; max-height: 320px; overflow: auto; } .tool-result.pending { color: var(--muted); font-style: italic; padding: 4px 0; } .turn-end, .note { font-size: 11px; color: var(--muted); } .turn-end:empty { height: 1px; background: var(--border); } .note.error, .turn-end.error { color: var(--danger); } .note.ask { color: var(--accent); } .note time { float: right; margin-left: 12px; } details.note summary { cursor: pointer; } .folded-turn { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; padding-left: 10px; border-left: 1px solid var(--border); font-size: 13px; color: var(--text); } details.note .md { margin-top: 6px; padding-left: 10px; border-left: 1px solid var(--border); font-size: 12px; color: var(--text); } .composer { border-top: 1px solid var(--border); padding: 12px 16px; background: var(--surface); } .composer:empty { display: none; } .compose-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; } .compose-actions select { width: auto; margin-right: auto; } .compose.dropping textarea { border-color: var(--accent); } .compose-images { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; } .compose-images .thumb { position: relative; } .compose-images img, .msg-images img { display: block; max-width: 120px; max-height: 90px; border: 1px solid var(--border); border-radius: 6px; } .compose-images .remove { position: absolute; top: -6px; right: -6px; padding: 0 6px; line-height: 18px; border-radius: 9px; } .msg-images { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; } .msg-images img { max-width: 240px; max-height: 180px; } .inbox-changes { flex-shrink: 0; } .changes-view.compact { flex: none; } .changes-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 16px; border-bottom: 1px solid var(--border); } .changes-summary { font-size: 11px; color: var(--muted); } .changes-summary .base { color: var(--muted); } .adds { color: var(--ok); } .dels { color: var(--danger); } .changes-list { flex: 1; overflow-y: auto; padding: 8px 16px 16px; display: flex; flex-direction: column; gap: 6px; } .file { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); } .file summary { display: flex; align-items: baseline; gap: 10px; padding: 4px 10px; cursor: pointer; } .file .status { width: 1ch; font-weight: 700; color: var(--muted); } .file .status.added { color: var(--ok); } .file .status.deleted { color: var(--danger); } .file .status.renamed, .file .status.modified { color: var(--accent); } .file-path { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .counts, .binary { font-size: 11px; color: var(--muted); white-space: nowrap; } .file-diff { border-top: 1px solid var(--border); background: var(--raised); border-radius: 0 0 8px 8px; overflow-x: auto; } .file-diff .hint, .file-diff .error-text { padding: 6px 10px; } pre.diff { white-space: pre; word-break: normal; padding: 4px 0; font-size: 11px; } pre.diff .line { display: block; padding: 0 10px; min-width: max-content; } pre.diff .add { background: color-mix(in srgb, var(--ok) 14%, transparent); } pre.diff .del { background: color-mix(in srgb, var(--danger) 14%, transparent); } pre.diff .hunk { color: var(--muted); background: var(--surface); } pre.diff .meta { color: var(--muted); } .scope-tabs { display: flex; gap: 4px; padding: 4px 12px 0; } .scope-tabs button { padding: 6px 8px 4px; font-size: 12px; } .range-tabs { display: flex; gap: 4px; flex-shrink: 0; } .range-tabs button { padding: 2px 6px 3px; font-size: 12px; } .submit-bar { padding: 8px 16px; } .submit-bar:empty { display: none; } .submit-bar button { width: 100%; } .inbox-list { flex: 1; overflow-y: auto; padding: 8px 16px 16px; display: flex; flex-direction: column; gap: 12px; } .card { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; background: var(--raised); } .card.blocked { box-shadow: inset 3px 0 0 var(--danger); } .card header { display: flex; gap: 10px; align-items: baseline; font-size: 11px; color: var(--muted); } .card header time { margin-left: auto; } .priority { font-weight: 700; } .priority.blocked { color: var(--danger); } .task-group { display: flex; flex-direction: column; gap: 8px; } .task-group + .task-group { margin-top: 8px; } .task-group h3 { margin: 0; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .task-group.blocked h3 a { color: var(--danger); } .context { margin: 10px 0; } .question { margin: 10px 0 4px; } .ack { display: flex; justify-content: flex-end; } .why { color: var(--muted); margin: 0 0 8px; } .why strong { color: var(--text); font-weight: 400; } .error-text { color: var(--danger); } .attachments { padding-left: 18px; margin: 6px 0; } .attachments img { max-width: 100%; border-radius: 6px; } .mermaid-source { background: var(--surface); padding: 6px 8px; border-radius: 6px; } .caption { color: var(--muted); font-size: 11px; } .thread { list-style: none; padding: 6px 10px; margin: 8px 0; background: var(--surface); border-radius: 6px; font-size: 11px; } .card-actions { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; } .modes { display: flex; flex-wrap: wrap; gap: 2px; } .modes button { font-size: 11px; padding: 2px 8px 3px; } .options, .snooze { display: flex; flex-direction: column; gap: 4px; } .option, .snooze label { cursor: pointer; } .option input, .snooze input { width: auto; accent-color: var(--accent); } .recommended { margin-left: 8px; font-size: 11px; color: var(--ok); } .hint { color: var(--muted); margin: 0; } .modal { width: min(520px, 90vw); padding: 16px; color: var(--text); background: var(--raised); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); } .modal::backdrop { background: rgb(0 0 0 / 0.35); } .modal-text { margin: 0 0 16px; white-space: pre-wrap; overflow-wrap: anywhere; } .modal-actions { display: flex; justify-content: flex-end; gap: 8px; } button.danger-primary { background: var(--danger); border-color: var(--danger); color: var(--bg); font-weight: 700; } .switcher-backdrop { position: fixed; inset: 0; background: rgb(0 0 0 / 0.35); } .switcher { position: fixed; top: 15vh; left: 50%; translate: -50% 0; width: min(560px, 90vw); background: var(--raised); border: 1px solid var(--border); border-radius: 10px; padding: 10px; box-shadow: var(--shadow); } .switcher-list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 50vh; overflow-y: auto; } .switcher-list li { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 6px; cursor: pointer; } .switcher-list .task-title { flex: 1; min-width: 0; } .switcher-list li.new-task { color: var(--accent); } .switcher-list li.selected { background: var(--accent-tint); } .project-name { color: var(--muted); } .settings-view { overflow-y: auto; padding: 8px 16px 16px; } .settings-view h2 { font-size: 13px; margin: 16px 0 6px; } .push-device p { margin: 0 0 8px; } .push-prefs { margin: 16px 0 0; padding: 8px 12px 10px; border: 1px solid var(--border); border-radius: 8px; display: flex; flex-direction: column; gap: 4px; } .push-prefs legend { color: var(--muted); padding: 0 4px; } .push-prefs label { cursor: pointer; } .push-prefs input { width: auto; accent-color: var(--accent); } .fatal { padding: 24px; color: var(--danger); } .nav-link { background: transparent; } .admin-view { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 16px 16px; } .admin-section h2 { font-size: 13px; margin: 16px 0 8px; } .admin-section h3 { font-size: 12px; color: var(--muted); margin: 12px 0 4px; } .caps { display: flex; flex-wrap: wrap; gap: 8px; } .cap-tile { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); padding: 6px 12px; min-width: 110px; } .cap-label { font-size: 11px; color: var(--muted); } .cap-value { font-size: 18px; font-weight: 700; } .cap-value.warn { color: var(--warn); } .cap-max { font-size: 12px; font-weight: 400; color: var(--muted); } .queue-pos { width: 3ch; color: var(--muted); flex-shrink: 0; } .rate-limit + .rate-limit { margin-top: 8px; } .rate-limit .vendor { color: var(--text); font-weight: 700; font-size: 13px; } .rate-limit .resets { margin-left: auto; } .rl-status { font-weight: 700; } .rl-status.ok, .rl-windows .ok { color: var(--ok); } .rl-status.warn, .rl-windows .warn { color: var(--warn); } .rl-status.danger, .rl-windows .danger, .problems .danger, .task-state.danger { color: var(--danger); } .rl-windows { border-collapse: collapse; margin-top: 8px; width: 100%; } .rl-windows th, .rl-windows td { text-align: left; padding: 2px 12px 2px 0; border-bottom: 1px solid var(--border); } .problems { list-style: none; margin: 0; padding: 0; } .problems li { padding: 2px 0; word-break: break-word; } .problems summary { color: var(--muted); cursor: pointer; } .raw-line { margin: 4px 0 0; font-size: 11px; white-space: pre-wrap; word-break: break-all; max-height: 12em; overflow-y: auto; } .rl-windows th { font-weight: 400; font-size: 11px; color: var(--muted); } .kv { display: grid; grid-template-columns: max-content 1fr; gap: 2px 16px; margin: 8px 0 0; } .kv dt { color: var(--muted); } .kv dd { margin: 0; word-break: break-word; }