.workspace-tabs{display:flex;gap:7px;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:25px}.workspace-tabs button{background:transparent;color:var(--muted);border:1px solid transparent}.workspace-tabs button[aria-pressed=true]{background:var(--ink);color:#fff}.chat-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;align-items:start}.chat-sidebar{min-width:0}.thread-list{display:grid;gap:9px}.thread{display:flex;gap:12px;text-align:left;width:100%;background:white;color:var(--ink);border:1px solid var(--line);padding:15px;border-radius:13px;min-width:0}.thread.active{background:#edf4e3;border-color:#94ad72}.thread-avatar{flex:0 0 36px;width:36px;height:36px;background:#e7eddc;border-radius:50%;display:grid;place-items:center;font-size:12px}.thread-copy{min-width:0;display:block}.thread-copy strong{display:block;font-size:13px;overflow-wrap:anywhere}.thread-copy small{display:block;white-space:normal;line-height:1.6;margin-top:3px}.thread-preview{display:block;font-size:12px;color:#53675a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-weight:400}.chat-heading{display:flex;gap:15px;align-items:start;justify-content:space-between}.chat-heading h2{font-size:21px;margin:5px 0}.chat-heading p{font-size:12px;margin:5px 0;overflow-wrap:anywhere}.chat-heading>div{min-width:0}.chat-heading>button{flex-shrink:0;font-size:12px}.chat-heading .eyebrow{font-size:9px;letter-spacing:1.5px}.chat-context{background:#f0f5e6;padding:15px;border:1px solid #dfe8d2;border-radius:12px;margin:20px 0}.chat-context strong{font-size:12px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.chat-context strong span{font-size:17px}.chat-context p{font-size:11px;margin:5px 0}.chat-log{height:390px;overflow-y:auto;overscroll-behavior:contain;background:#fafbf7;border:1px solid #e9ecdf;border-radius:13px;padding:18px;display:flex;flex-direction:column;gap:13px;scrollbar-gutter:stable}.chat-message{max-width:88%;width:fit-content;flex:0 0 auto;align-self:flex-start;padding:12px 15px;border:1px solid #e0e7d7;border-radius:13px 13px 13px 3px;background:#fff;min-width:0}.chat-message.own{align-self:flex-end;background:#e5efdb;border-color:#d3e2c3;border-radius:13px 13px 3px 13px}.chat-message-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.chat-message-meta strong{font-size:10px;overflow-wrap:anywhere}.chat-message-meta time{font-size:9px;color:var(--muted);white-space:nowrap}.chat-message p{margin:5px 0 0;color:var(--ink);font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.chat-empty{text-align:center;margin:auto;color:var(--muted);font-size:13px;padding:15px}.chat-empty strong{display:block;color:var(--ink);font-size:17px}.chat-older{font-size:11px;width:100%;margin:0 0 10px}.chat-composer{display:flex;align-items:stretch;gap:10px;margin-top:6px}.chat-composer textarea{margin:0;min-height:86px;max-height:230px;font-size:13px}.chat-composer button{font-size:12px;align-self:flex-end;flex-shrink:0}.chat-composer-hint{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);margin-top:7px}.chat-readonly{font-size:12px;line-height:1.8;padding:17px;border-radius:10px;background:#f2f0e9;color:#6d6857;margin-top:18px}#chat>.subtle{font-size:10px;margin-top:15px}#messages-workspace .workspace-heading p{margin:5px 0;font-size:12px;color:var(--muted)}
@media(max-width:850px){.chat-layout{grid-template-columns:1fr}.thread-list{display:flex;gap:9px;overflow-x:auto;padding:4px 3px 12px;scroll-snap-type:x proximity}.thread{flex:0 0 min(280px,85vw);scroll-snap-align:start}.chat-log{height:350px}.chat-sidebar{max-width:100%}}
@media(max-width:400px){.chat-heading{flex-wrap:wrap}.chat-heading>button{min-height:44px}.chat-log{height:310px;padding:10px}.chat-message{max-width:96%;padding:10px}.chat-composer{flex-direction:column}.chat-composer button{align-self:stretch}.chat-composer-hint{flex-wrap:wrap}.chat-context{padding:12px}.chat-message-meta{gap:5px}.chat-message p{font-size:12px}.chat-sidebar{width:100%}.workspace-tabs button{font-size:13px}.chat-layout>.panel{padding:16px}}

.thread-copy small,.chat-context p{overflow-wrap:anywhere}

.is-authenticated .intro{display:none}
