:root { --ink: #e7efe9; --muted: #96a49d; --faint: #5f6e66; --surface: #0f1512; --surface-alt: #151d18; --line: #27322c; --base: #090d0b; --good: #7cc7a4; --signal: #ceb27a; --bad: #d88d78; --radius-lg: 16px; --radius: 10px; --sans: "Bahnschrift", "Aptos Narrow", "Segoe UI", sans-serif; --serif: Georgia, "Times New Roman", serif; --mono: "Cascadia Mono", Consolas, monospace; --shadow: 0 24px 56px rgba(0, 0, 0, .22); } * { box-sizing: border-box; } [hidden] { display: none !important; } body { margin: 0; min-height: 100vh; min-width: 320px; color: var(--ink); background: radial-gradient(circle at 10% 0%, rgba(120, 182, 160, .16), transparent 40%), radial-gradient(circle at 90% 0%, rgba(201, 168, 95, .16), transparent 35%), var(--base); font-family: var(--sans); } button, input, textarea { font: inherit; } button { color: inherit; border: 0; border-radius: var(--radius); } p { margin: 0; } .assistant-shell, .chat-view { min-height: 100vh; } .auth-view { min-height: 100vh; display: grid; place-items: center; padding: 36px 20px; } .auth-card { width: min(100%, 440px); padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(15, 21, 18, .92); box-shadow: var(--shadow); } .brand-block, .header-brand { display: flex; align-items: center; gap: 14px; } .brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--base); background: linear-gradient(145deg, var(--good), #7aa7bd); font: 700 24px/1 var(--serif); box-shadow: 0 0 0 4px rgba(124, 199, 164, .12); } h1 { margin: 0; font: 500 42px/1.05 var(--serif); } .brand-kicker { margin: 0 0 4px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-family: var(--mono); } .auth-copy { margin: 18px 0 22px; color: var(--muted); line-height: 1.45; } label { display: block; margin: 0 0 6px; color: var(--faint); font-size: 12px; letter-spacing: .03em; } input, textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #080e0c; } input { height: 46px; padding: 0 14px; } input:focus, textarea:focus, .primary-button:focus, .ghost-button:focus, .nav-tab:focus-visible, button:focus-visible, textarea:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; } textarea { min-height: 96px; max-height: 220px; padding: 14px; line-height: 1.45; resize: vertical; } .input-with-action { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; } .icon-button, .ghost-button, .primary-button { height: 44px; border-radius: var(--radius); } .icon-button, .ghost-button { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--muted); } .primary-button { background: var(--signal); color: #111810; font-weight: 700; } #login-button, .primary-button { width: 100%; } #login-button, #send { margin-top: 14px; } .login-form, .composer { display: grid; gap: 12px; } #login-error { min-height: 20px; color: var(--bad); } .chat-view { width: min(100%, 980px); margin: 0 auto; padding: 14px 16px 24px; display: grid; gap: 12px; } .assistant-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px; } .assistant-header h1 { font-size: clamp(30px, 4.4vw, 38px); letter-spacing: -.02em; } .session-state { display: flex; align-items: center; gap: 10px; } .status-pill { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #0f1512; font-size: 12px; } .human-nav { display: inline-flex; flex-wrap: wrap; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 6px; width: fit-content; background: #0c1210; } .nav-tab { height: 34px; padding: 0 14px; border-radius: 999px; background: transparent; color: var(--muted); } .nav-tab.active, .nav-tab:hover { background: var(--signal); color: #11150f; } .surface-panel { display: grid; align-content: start; min-height: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(21, 29, 24, .86), rgba(15, 21, 18, .95)); box-shadow: var(--shadow); overflow: hidden; } .surface-panel.active-panel { display: grid; } .panel-toolbar { padding: 16px 18px; border-bottom: 1px solid var(--line); background: #0c1210; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .panel-toolbar h2 { margin: 0; font: 500 26px/1.12 var(--serif); } .panel-toolbar p { margin-top: 6px; color: var(--muted); line-height: 1.45; } .focus-chip { margin: 8px 0 0; font-size: 12px; color: var(--good); padding: 6px 10px; border: 1px solid rgba(124, 199, 164, .45); border-radius: 999px; background: rgba(124, 199, 164, .12); } .messages { padding: 24px 18px; display: flex; flex-direction: column; gap: 10px; overflow: auto; min-height: calc(100vh - 280px); max-height: calc(100vh - 280px); } .message { width: min(92%, 760px); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; line-height: 1.45; white-space: pre-wrap; background: #0f1512; } .message.assistant { align-self: flex-start; background: #121a16; } .message.user { align-self: flex-end; background: #19231c; border-color: rgba(120, 191, 162, .4); } .message-author { color: var(--faint); font-size: 11px; margin-bottom: 6px; font-weight: 700; } .message.user .message-author { color: #b6ddb8; } .message-time { margin-top: 8px; font-size: 11px; color: var(--faint); font-family: var(--mono); } .message small { display: block; margin-top: 6px; color: var(--faint); } .composer { position: sticky; bottom: 0; padding: 14px 16px 16px; border-top: 1px solid var(--line); background: linear-gradient(transparent, rgba(11, 16, 14, .88)); grid-template-columns: minmax(0, 1fr) auto; } .composer-actions { display: grid; align-items: end; } .composer button:disabled { cursor: wait; opacity: .7; } .surface-panel:not(.active-panel) { display: none; } .attention-surface, .history-surface { padding: 0 0 12px; } .attention-list, .history-list { display: grid; gap: 12px; padding: 18px; } .attention-card, .history-item { border: 1px solid var(--line); border-radius: 12px; background: #0b110f; padding: 14px; } .attention-card h3, .history-item strong { margin: 0 0 8px; font: 600 15px/1.2 var(--serif); } .attention-card time, .history-item time, .attention-card .muted, .history-item .muted { color: var(--muted); font-size: 12px; font-family: var(--mono); } .attention-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; } .attention-actions .ghost-button, .action-row button { height: 34px; padding: 0 11px; background: rgba(255, 255, 255, .06); color: var(--ink); } .attention-actions .ghost-button { border: 1px solid rgba(194, 168, 118, .48); color: #f2e8d0; } .attention-actions .ghost-button.primary { border-color: transparent; background: var(--good); color: #11211b; } .history-item { display: grid; grid-template-columns: minmax(0, 1fr); } .history-item p { margin: 0 0 8px; color: var(--ink); white-space: pre-wrap; } .history-item .history-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: var(--faint); font-family: var(--mono); font-size: 11px; } .history-item .message-kind { text-transform: uppercase; letter-spacing: .08em; color: var(--signal); } .status-bar { margin: 8px auto 0; max-width: 980px; color: var(--faint); padding: 10px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(15, 21, 18, .8); min-height: 18px; visibility: hidden; } .status-bar.visible { visibility: visible; } .composer-error { position: fixed; right: 16px; bottom: 16px; max-width: min(420px, calc(100vw - 32px)); border-radius: 12px; border: 1px solid rgba(216, 141, 120, .36); background: #241715; color: #ffd8ca; padding: 10px 12px; transform: translateY(16px); opacity: 0; transition: .2s ease; } .composer-error.show { transform: translateY(0); opacity: 1; } .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); border: 0; white-space: nowrap; } .empty-state { color: var(--muted); padding: 18px; } .empty-state.error { color: var(--bad); } @media (max-width: 720px) { .chat-view { padding: 10px 10px 18px; gap: 10px; } .assistant-header { flex-direction: column; align-items: flex-start; gap: 10px; } .session-state { width: 100%; justify-content: space-between; } .messages { min-height: calc(100vh - 320px); max-height: calc(100vh - 320px); } .composer { grid-template-columns: 1fr; } .panel-toolbar { flex-direction: column; } .attention-list, .history-list { padding: 12px; } }