:root { --ink: #e9eee7; --muted: #93a096; --base: #0b100e; --panel: #101714; --line: #2a352f; --signal: #c9a85f; --bad: #de816f; --good: #78c6a3; --radius: 3px; --sans: "Bahnschrift", "Aptos Narrow", "Segoe UI", sans-serif; --serif: Georgia, "Times New Roman", serif; --mono: "Cascadia Mono", Consolas, monospace; } * { box-sizing: border-box; } [hidden] { display: none !important; } body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); background: var(--base); font-family: var(--sans); } button, input, textarea { font: inherit; } button { cursor: pointer; color: inherit; border-radius: var(--radius); } .chat-shell { min-height: 100vh; display: grid; } .login-panel { width: min(100% - 32px, 420px); margin: auto; padding: 46px 40px; border: 1px solid var(--line); background: var(--panel); } .brand-mark { width: 46px; height: 46px; display: grid; place-items: center; color: var(--base); background: var(--signal); font: 700 24px/1 var(--serif); clip-path: polygon(50% 0, 92% 22%, 92% 76%, 50% 100%, 8% 76%, 8% 22%); } h1 { margin: 30px 0; font: 400 58px/.95 var(--serif); letter-spacing: -.02em; } label { display: block; margin: 16px 0 8px; color: var(--muted); font: 600 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; } input, textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #0b110e; } input { height: 48px; padding: 0 12px; } textarea { resize: vertical; min-height: 84px; max-height: 240px; padding: 14px; line-height: 1.45; } .login-form button, .composer button { border: 0; color: #11150f; background: var(--signal); font-weight: 700; } .login-form button { width: 100%; height: 50px; margin-top: 18px; } #login-error { min-height: 20px; color: var(--bad); font-size: 13px; } .chat-view { min-height: 100vh; display: grid; grid-template-rows: 64px minmax(0, 1fr); } .chat-header { display: flex; align-items: center; gap: 18px; padding: 0 22px; border-bottom: 1px solid var(--line); background: rgba(16, 23, 20, .96); } .chat-header a { color: var(--ink); text-decoration: none; font: 400 24px/1 var(--serif); } .chat-header span { color: var(--muted); font: 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; } #active-focus { margin-left: auto; color: var(--good); } .chat-header button { width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; } .human-nav { display: flex; align-items: center; gap: 8px; } .nav-tab, .operator-link { height: 34px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid var(--line); color: var(--muted); background: #0b110e; text-decoration: none; font: 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; } .nav-tab.active { color: #11150f; border-color: var(--signal); background: var(--signal); } .operator-link { color: var(--good); } .surface-panel { min-height: 0; position: relative; } .active-panel { display: grid; min-height: 0; } .messages { width: min(100%, 920px); margin: 0 auto; padding: 28px 18px 120px; display: flex; flex-direction: column; gap: 14px; overflow: auto; } .message { max-width: min(720px, 92%); padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); line-height: 1.45; white-space: pre-wrap; } .message.user { align-self: flex-end; background: #151e1a; } .message.assistant { align-self: flex-start; background: #0f1613; } .message small { display: block; margin-top: 8px; color: var(--muted); font: 10px/1 var(--mono); text-transform: uppercase; } .composer { position: sticky; bottom: 0; width: min(100%, 920px); margin: 0 auto; padding: 16px 18px 20px; display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 12px; background: linear-gradient(transparent, var(--base) 20%); } .composer button { height: 48px; align-self: end; } .composer button:disabled { cursor: wait; filter: saturate(.3); } .attention-surface, .history-surface { width: min(100%, 920px); margin: 0 auto; padding: 34px 18px; align-content: start; gap: 18px; } .surface-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 16px; } .surface-heading p { margin: 0; font: 400 36px/.95 var(--serif); } .surface-heading span, .attention-card small, .history-item span { color: var(--muted); font: 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; } .surface-heading button { height: 36px; padding: 0 12px; border: 1px solid var(--line); background: transparent; } .attention-list, .history-list { display: grid; gap: 12px; } .attention-card, .history-item { border: 1px solid var(--line); background: #0f1613; padding: 16px; } .attention-card time { color: var(--signal); font: 12px/1 var(--mono); } .attention-card h2 { margin: 10px 0 8px; font: 400 24px/1.1 var(--serif); } .attention-card p, .history-item p { margin: 0 0 10px; color: var(--ink); line-height: 1.45; } .attention-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; } .attention-actions button { height: 34px; padding: 0 12px; border: 1px solid var(--line); background: #151e1a; color: var(--ink); font: 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; } .attention-actions button:first-child { border-color: var(--good); color: var(--good); } .history-item.user { border-color: #34443c; background: #151e1a; } .history-item strong { display: block; margin-bottom: 8px; color: var(--signal); } .empty-state { margin: 24px 0 0; color: var(--muted); } .empty-state.error { color: var(--bad); } @media (max-width: 640px) { .composer { grid-template-columns: 1fr; } .composer button { width: 100%; } .chat-header { gap: 10px; padding: 0 12px; } .chat-header span { display: none; } .human-nav { overflow-x: auto; } .operator-link, .nav-tab { padding: 0 9px; } }