:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: #e8edf2; background: #0d1117; font-synthesis: none; --bg: #0d1117; --panel: #151a21; --panel-2: #1b222c; --sidebar: #10151c; --header: rgb(13 17 23 / 82%); --line: #28313d; --muted: #8b96a5; --text: #e8edf2; --text-soft: #c2cad4; --accent: #8b72ff; --accent-hover: #9e89ff; --accent-contrast: #ffffff; --accent-soft: #231f3d; --accent-border: #4d4089; --danger: #ff7b86; --danger-soft: #321d23; --warning: #f1c75b; --warning-soft: #302a18; --success-soft: #1d3029; --overlay: #1d2530; --code-bg: #0b0f14; --user-bubble: #26213f; --shadow: 0 16px 45px rgb(0 0 0 / 35%); --radius: 13px; } :root[data-theme="light"] { color: #1c2430; background: #f6f7f9; --bg: #f6f7f9; --panel: #ffffff; --panel-2: #f1f3f6; --sidebar: #fbfbfc; --header: rgb(246 247 249 / 86%); --line: #dde2e8; --muted: #687386; --text: #1c2430; --text-soft: #4f5b6b; --accent: #6748e8; --accent-hover: #5739d4; --accent-contrast: #ffffff; --accent-soft: #eeeaff; --accent-border: #c9befd; --danger: #d94354; --danger-soft: #fff0f2; --warning: #9b6b00; --warning-soft: #fff7df; --success-soft: #e8f7ef; --overlay: #ffffff; --code-bg: #f4f5f7; --user-bubble: #eeeaff; --shadow: 0 16px 45px rgb(31 41 55 / 12%); } * { box-sizing: border-box; } body { margin: 0; min-width: 320px; color: var(--text); background: var(--bg); transition: color .2s, background .2s; } .pairing-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 0%, var(--accent-soft), transparent 38%), var(--bg); } .pairing-card { width: min(100%, 420px); padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: var(--shadow); } .pairing-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; } .pairing-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px; color: var(--accent); background: var(--accent-soft); font-size: 24px; } .pairing-card h1 { margin: 0 0 9px; font-size: 24px; } .pairing-card > p { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.65; } .pairing-command { display: block; margin-bottom: 22px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--code-bg); font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; } .pairing-card form { display: grid; gap: 10px; } .pairing-card label { color: var(--text-soft); font-size: 11px; font-weight: 650; } .pairing-card input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: var(--panel-2); font: 600 22px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .28em; text-align: center; } .pairing-card form .primary { margin-top: 3px; padding: 11px 14px; } .pairing-card > small { display: block; margin-top: 17px; color: var(--muted); font-size: 10px; line-height: 1.5; } .pairing-error { padding: 8px 10px; border-radius: 8px; color: var(--danger); background: var(--danger-soft); font-size: 11px; } .auth-loading { color: var(--muted); font-size: 13px; } button, input, textarea, select { font: inherit; } button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } button:disabled { cursor: not-allowed; opacity: .45; } .shell { height: 100vh; display: grid; grid-template-columns: 232px 1fr; } .sidebar { border-right: 1px solid var(--line); background: var(--sidebar); display: flex; flex-direction: column; padding: 20px 14px; } .brand { display: flex; align-items: center; gap: 12px; padding: 2px 8px 26px; } .brand-mark, .empty-logo { display: grid; place-items: center; background: var(--accent); color: var(--accent-contrast); font-weight: 900; border-radius: 10px; } .brand-mark { width: 35px; height: 35px; } .brand strong, .brand small { display: block; } .brand small { color: var(--muted); font-size: 11px; margin-top: 2px; } .sidebar nav { display: grid; gap: 5px; } .sidebar nav button, .settings-nav button { border: 0; background: transparent; color: var(--muted); text-align: left; padding: 11px 13px; border-radius: 9px; cursor: pointer; } .sidebar nav button span { display: inline-block; width: 25px; } .sidebar nav button:hover, .sidebar nav button.active, .settings-nav button:hover, .settings-nav button[data-state="active"] { background: var(--accent-soft); color: var(--text); } .sidebar nav button.active { color: var(--accent); } .gateway-status { margin-top: auto; border-top: 1px solid var(--line); padding: 18px 8px 2px; display: flex; gap: 10px; align-items: center; } .gateway-status i { width: 9px; height: 9px; border-radius: 50%; color: var(--warning); background: currentColor; box-shadow: 0 0 12px currentColor; } .gateway-status i.online { color: #48b985; background: currentColor; } .gateway-status b, .gateway-status small { display: block; font-size: 12px; } .gateway-status small { color: var(--muted); margin-top: 2px; } main { min-width: 0; height: 100vh; display: flex; flex-direction: column; } .topbar { height: 76px; flex: 0 0 76px; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 26px; background: var(--header); backdrop-filter: blur(16px); } .topbar h1 { font-size: 18px; margin: 0; } .topbar p { font-size: 12px; color: var(--muted); margin: 4px 0 0; } .topbar .menu { display: none; background: none; border: 0; color: var(--text); font-size: 20px; margin-right: 12px; } .theme-toggle { margin-left: auto; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: var(--panel); cursor: pointer; font-size: 12px; } .theme-toggle:hover { color: var(--text); border-color: var(--accent-border); } .page { min-height: 0; flex: 1; } .chat-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); } .chat-layout.todo-open { grid-template-columns: 270px minmax(0, 1fr) 320px; } .sessions-panel { border-right: 1px solid var(--line); padding: 16px; background: color-mix(in srgb, var(--sidebar) 72%, transparent); overflow: auto; } .primary, .secondary { border-radius: 9px; padding: 9px 14px; font-weight: 650; cursor: pointer; } .primary { border: 1px solid var(--accent); background: var(--accent); color: var(--accent-contrast); } .primary:hover { border-color: var(--accent-hover); background: var(--accent-hover); } .secondary { border: 1px solid var(--line); background: var(--panel-2); color: var(--text); } .full { width: 100%; padding: 11px; } .search { height: 39px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); display: flex; align-items: center; padding: 0 11px; color: var(--muted); } .sessions-panel > .search { margin: 13px 0; } .search input { border: 0; outline: 0; background: transparent; color: var(--text); width: 100%; padding: 0 7px; } .session-list { display: grid; gap: 5px; } .session-item { width: 100%; padding: 10px; border-radius: 9px; cursor: pointer; border: 1px solid transparent; color: var(--text); background: transparent; text-align: left; } .session-item:hover, .session-item.active { background: var(--panel-2); border-color: var(--line); } .session-item.active { border-left-color: var(--accent); } .session-item strong { font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .plan-unread { display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px var(--accent); } .session-item small { color: var(--muted); font-size: 11px; display: flex; justify-content: space-between; margin-top: 6px; } .chat-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; } .chat-heading { height: 57px; flex: 0 0 57px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; } .chat-heading strong, .chat-heading small { display: block; } .chat-heading strong { font-size: 13px; } .chat-heading-actions { display: flex; align-items: center; gap: 9px; } .todo-toggle { border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; background: var(--panel-2); color: var(--muted); font-size: 11px; cursor: pointer; } .todo-toggle.active { border-color: var(--accent-border); color: var(--accent); background: var(--accent-soft); } .chat-heading small { font-size: 10px; color: var(--muted); margin-top: 3px; } .icon-button { border: 0; background: none; color: var(--muted); font-size: 20px; cursor: pointer; border-radius: 6px; } .tooltip { z-index: 50; border: 1px solid var(--line); background: var(--overlay); color: var(--text); padding: 6px 9px; border-radius: 7px; font-size: 11px; box-shadow: var(--shadow); } .tooltip-arrow { fill: var(--overlay); } .messages { flex: 1; min-height: 0; overflow-y: auto; padding: 26px max(24px, calc((100% - 850px) / 2)) 18px; } .empty { text-align: center; color: var(--muted); padding-top: 12vh; } .empty-logo { width: 54px; height: 54px; margin: auto; font-size: 24px; } .empty h2 { color: var(--text); font-size: 24px; margin: 18px 0 8px; } .empty p { font-size: 13px; } .message { display: flex; gap: 12px; margin: 15px 0; align-items: flex-start; } .message.user { flex-direction: row-reverse; } .avatar { width: 28px; height: 28px; flex: 0 0 28px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; font-size: 11px; background: var(--panel-2); } .message.assistant .avatar { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); font-weight: bold; } .message-content { display: grid; gap: 8px; max-width: min(82%, 760px); min-width: 0; } .message.user .message-content { justify-items: end; } .bubble { max-width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-size: 14px; line-height: 1.62; overflow-wrap: anywhere; } .message.user .bubble { background: var(--user-bubble); border-color: var(--accent-border); } .message-attachments { display: grid; gap: 7px; width: min(100%, 520px); } .attachment-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) 30px; gap: 9px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); } .attachment-card img, .attachment-icon { width: 42px; height: 42px; border-radius: 7px; object-fit: cover; background: var(--panel-2); display: grid; place-items: center; color: var(--accent); } .attachment-card strong, .attachment-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .attachment-card strong { font-size: 12px; }.attachment-card small { margin-top: 3px; color: var(--muted); font-size: 9px; } .attachment-card a { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--accent); text-decoration: none; } .typing .bubble { color: var(--muted); } .pulse { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.1s infinite; } @keyframes pulse { 50% { opacity: .25; transform: scale(.8); } } .markdown-body { min-width: 0; } .markdown-body > :first-child { margin-top: 0; } .markdown-body > :last-child { margin-bottom: 0; } .markdown-body p, .markdown-body ul, .markdown-body ol, .markdown-body blockquote, .markdown-body pre, .markdown-body table { margin: .65em 0; } .markdown-body ul, .markdown-body ol { padding-left: 1.4em; } .markdown-body li + li { margin-top: .2em; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4 { margin: 1em 0 .45em; line-height: 1.3; } .markdown-body h1 { font-size: 1.45em; } .markdown-body h2 { font-size: 1.25em; } .markdown-body h3 { font-size: 1.1em; } .markdown-body a { color: var(--accent); text-underline-offset: 2px; } .markdown-body blockquote { padding-left: 12px; border-left: 3px solid var(--accent-border); color: var(--muted); } .markdown-body code { padding: .14em .35em; border: 1px solid var(--line); border-radius: 5px; color: var(--text); background: var(--code-bg); font: .88em/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; } .markdown-body pre { max-width: 100%; padding: 12px 13px; overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; background: var(--code-bg); } .markdown-body pre code { padding: 0; border: 0; background: transparent; } .markdown-body table { display: block; max-width: 100%; border-collapse: collapse; overflow-x: auto; } .markdown-body th, .markdown-body td { padding: 7px 10px; border: 1px solid var(--line); text-align: left; } .markdown-body th { background: var(--panel-2); } .markdown-body hr { border: 0; border-top: 1px solid var(--line); } .markdown-body img { max-width: 100%; border-radius: 9px; } .tool-calls { display: grid; gap: 7px; width: min(100%, 680px); } .tool-call { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); } .tool-call.open { border-color: var(--accent-border); } .tool-call-summary { width: 100%; min-height: 48px; display: grid; grid-template-columns: 30px 1fr auto 18px; align-items: center; gap: 9px; padding: 7px 11px; border: 0; color: var(--text); background: transparent; text-align: left; cursor: pointer; } .tool-call-summary:hover { background: var(--panel-2); } .tool-call-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--accent); background: var(--accent-soft); font-size: 13px; } .tool-call-title small, .tool-call-title strong { display: block; } .tool-call-title small { margin-bottom: 1px; color: var(--muted); font-size: 9px; font-weight: 500; } .tool-call-title strong { font: 600 12px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; } .tool-call-status { color: var(--muted); font-size: 10px; } .tool-call-chevron { color: var(--muted); transition: transform .18s; } .tool-call.open .tool-call-chevron { transform: rotate(180deg); } .tool-call-details { display: grid; gap: 12px; padding: 12px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--panel-2) 55%, transparent); } .tool-call-details > div > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; } .tool-call-details pre, .tool-result { max-height: 300px; margin: 0; padding: 10px 11px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; color: var(--text-soft); background: var(--code-bg); font: 11px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; } .tool-result .markdown-body { font: inherit; } .composer { position: relative; margin: 0 max(18px, calc((100% - 850px) / 2)) 18px; border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 10px 11px 6px; display: grid; grid-template-columns: 38px 1fr 38px; box-shadow: var(--shadow); } .composer textarea { resize: none; max-height: 180px; background: transparent; border: 0; outline: 0; color: var(--text); padding: 7px; line-height: 1.5; } .file-input { display: none; } .attach { width: 34px; height: 34px; align-self: end; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: var(--panel-2); cursor: pointer; font-size: 18px; } .pending-uploads { grid-column: 1 / -1; display: flex; gap: 7px; padding: 2px 4px 8px; overflow-x: auto; } .pending-upload { min-width: 170px; max-width: 260px; display: grid; grid-template-columns: 24px minmax(0, 1fr) 22px; gap: 6px; align-items: center; padding: 7px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2); } .pending-upload.error { border-color: var(--danger); }.pending-upload strong, .pending-upload small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.pending-upload strong { font-size: 10px; }.pending-upload small { color: var(--muted); font-size: 9px; }.pending-upload button { border: 0; color: var(--muted); background: none; cursor: pointer; } .send { width: 36px; height: 36px; border-radius: 10px; color: var(--accent-contrast); background: var(--accent); border: 0; font-size: 19px; cursor: pointer; } .composer small { grid-column: 1 / -1; display: flex; justify-content: space-between; padding: 3px 7px; color: var(--muted); font-size: 10px; } .composer small .online { color: var(--accent); } .todo-panel { display: none; min-width: 0; border-left: 1px solid var(--line); background: var(--sidebar); overflow: hidden; } .todo-open .todo-panel { display: flex; flex-direction: column; } .todo-heading { min-height: 78px; padding: 14px 14px 12px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; } .todo-heading small, .todo-heading strong { display: block; } .todo-heading small { color: var(--muted); font-size: 10px; margin-bottom: 5px; } .todo-heading strong { font-size: 13px; line-height: 1.4; } .todo-progress { height: 3px; background: var(--panel-2); } .todo-progress span { display: block; height: 100%; background: var(--accent); transition: width .2s; } .todo-summary { display: flex; justify-content: space-between; padding: 11px 16px; color: var(--muted); font-size: 10px; } .todo-items { min-height: 0; overflow-y: auto; padding: 4px 12px 18px; } .todo-item { display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 10px 8px; border-radius: 9px; color: var(--text-soft); } .todo-item + .todo-item { margin-top: 3px; } .todo-item.running { background: var(--accent-soft); color: var(--text); } .todo-item.blocked { background: var(--danger-soft); } .todo-item.done { color: var(--muted); } .todo-icon { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 11px; } .todo-item.running .todo-icon { color: var(--accent); border-color: var(--accent-border); } .todo-item.blocked .todo-icon { color: var(--danger); border-color: var(--danger); } .todo-item.done .todo-icon { color: var(--accent); } .todo-item strong, .todo-item small { display: block; } .todo-item strong { font-size: 12px; line-height: 1.45; } .todo-item small { color: var(--muted); font-size: 10px; margin-top: 3px; } .todo-item p { margin: 6px 0 0; color: var(--text-soft); font-size: 10px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; } .command-menu { position: absolute; z-index: 5; left: 0; right: 0; bottom: calc(100% + 8px); max-height: min(360px, 48vh); overflow-y: auto; padding: 6px; border: 1px solid var(--line); border-radius: 13px; background: var(--overlay); box-shadow: var(--shadow); } .command-menu-heading { position: sticky; top: -6px; z-index: 1; display: flex; justify-content: space-between; gap: 16px; padding: 9px 10px 8px; color: var(--muted); background: var(--overlay); font-size: 10px; } .command-menu-heading kbd { color: var(--muted); font: inherit; } .command-menu button { display: grid; grid-template-columns: minmax(100px, auto) 1fr; gap: 14px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; color: var(--text); background: transparent; text-align: left; cursor: pointer; } .command-menu button:hover, .command-menu button.selected { background: var(--accent-soft); } .command-menu code { color: var(--accent); font: 600 12px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; } .command-menu button span { color: var(--text-soft); font-size: 12px; line-height: 1.4; } .content-page { padding: 22px 26px; overflow: auto; } .toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 10px; } .tabs { display: flex; background: var(--panel); padding: 3px; border: 1px solid var(--line); border-radius: 10px; } .tabs button { border: 0; background: none; color: var(--muted); padding: 7px 13px; border-radius: 7px; cursor: pointer; } .tabs button[data-state="active"] { background: var(--panel-2); color: var(--text); } .filters select { height: 39px; background: var(--panel); border: 1px solid var(--line); color: var(--text); border-radius: 9px; padding: 0 10px; } .grow { flex: 1; max-width: 520px; } .cards { display: grid; gap: 11px; } .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 17px; } .card-row { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; } .card h3 { font-size: 14px; margin: 0 0 7px; } .card p { color: var(--text-soft); font-size: 12px; line-height: 1.55; margin: 5px 0; white-space: pre-wrap; } .meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 11px; } .badge { border-radius: 99px; padding: 4px 8px; font-size: 10px; background: var(--panel-2); color: var(--text-soft); white-space: nowrap; } .badge.ok { background: var(--success-soft); color: #38a877; } .badge.fail { background: var(--danger-soft); color: var(--danger); } .badge.run { background: var(--warning-soft); color: var(--warning); } .details { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; } .run-row + .run-row { margin-top: 7px; } .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; } .metric { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; } .metric b { font-size: 22px; display: block; } .metric small { color: var(--muted); } .memory-content { font-size: 13px !important; } .memory-key { color: var(--accent); font-family: ui-monospace, monospace; } .log-view { margin: 0; background: var(--code-bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; color: var(--text-soft); min-height: calc(100vh - 190px); font: 11px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow: auto; } .log-meta { color: var(--muted); font-size: 11px; margin: -8px 0 8px; } .switch-label { color: var(--muted); font-size: 12px; display: flex; gap: 7px; align-items: center; cursor: pointer; } .switch { width: 34px; height: 20px; padding: 2px; border: 1px solid var(--line); border-radius: 99px; background: var(--panel); cursor: pointer; } .switch[data-state="checked"] { background: var(--accent); border-color: var(--accent); } .switch-thumb { display: block; width: 14px; height: 14px; background: var(--muted); border-radius: 50%; transition: transform .15s, background .15s; } .switch-thumb[data-state="checked"] { transform: translateX(14px); background: var(--accent-contrast); } .settings-grid { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; } .settings-nav { display: flex; flex-direction: column; gap: 4px; } .editor-card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); overflow: hidden; } .editor-head { height: 62px; padding: 0 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); } .editor-head strong, .editor-head small { display: block; } .editor-head small { color: var(--muted); font-size: 10px; margin-top: 4px; } .editor-card textarea { display: block; width: 100%; height: calc(100vh - 275px); min-height: 420px; resize: vertical; border: 0; outline: 0; padding: 18px; background: var(--code-bg); color: var(--text); font: 12px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; tab-size: 2; } .notice { padding: 11px 15px; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); } code { color: var(--accent); } #toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; color: var(--text); background: var(--overlay); border: 1px solid var(--line); border-radius: 10px; padding: 11px 15px; font-size: 12px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: .2s; box-shadow: var(--shadow); } #toast.show { opacity: 1; transform: none; } #toast.error { border-color: var(--danger); color: var(--danger); } .loading, .empty-card { text-align: center; color: var(--muted); padding: 50px; } .empty-card.compact { padding: 24px 8px; } .error-text { color: var(--danger) !important; } @media (max-width: 800px) { .shell { grid-template-columns: 1fr; } .sidebar { position: fixed; z-index: 10; inset: 0 auto 0 0; width: 232px; transform: translateX(-100%); transition: .2s; box-shadow: var(--shadow); } .sidebar.open { transform: none; } .topbar .menu { display: block; } .chat-layout { grid-template-columns: 1fr; } .chat-layout.todo-open { grid-template-columns: 1fr; } .sessions-panel { display: none; } .todo-open .todo-panel { position: fixed; z-index: 20; top: 76px; right: 0; bottom: 0; width: min(340px, 92vw); box-shadow: var(--shadow); } .content-page { padding: 16px; } .settings-grid { grid-template-columns: 1fr; } .settings-nav { flex-direction: row; overflow: auto; } .metrics { grid-template-columns: 1fr; } .filters { align-items: stretch; flex-wrap: wrap; } .grow { max-width: none; width: 100%; flex-basis: 100%; } .message-content { max-width: 88%; } .theme-toggle span:last-child { display: none; } }