[hidden]{display:none!important}.chat-project-bar{display:flex;align-items:center;gap:22px;margin:20px 0 14px;color:var(--muted);font-size:12px}.chat-project-bar label{font-size:9px;letter-spacing:1.2px;display:grid;gap:6px;max-width:450px}.chat-project-bar select{width:100%;letter-spacing:0}.chat-layout{display:grid;grid-template-columns:215px minmax(0,1fr) 270px;border:1px solid var(--line);border-radius:12px;background:#151a17;overflow:hidden;min-height:620px}.chat-nav{background:#131a16;border-right:1px solid var(--line);min-width:0}.chat-nav form{padding:14px;display:grid;gap:8px}.chat-nav input{width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;background:#19221b;font:inherit;font-size:12px}.chat-nav form button{font-size:12px}.chat-nav [data-thread]{text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;width:100%;padding:16px;background:transparent;overflow-wrap:anywhere}.chat-nav [data-thread][aria-pressed=true]{background:#273524;box-shadow:inset 3px 0 var(--accent)}.chat-nav [data-thread] small{display:block;margin-top:6px;font-size:10px}.chat-sharing{font-size:11px;color:var(--muted);padding:17px;line-height:1.7}.chat-main{display:flex;flex-direction:column;min-width:0}.chat-heading{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-heading h2{font-size:19px;margin-top:5px;overflow-wrap:anywhere}.chat-heading .chip{font-size:9px;white-space:normal;max-width:150px}.chat-messages{flex:1;height:420px;max-height:65vh;min-height:300px;overflow:auto;padding:25px 28px;scroll-behavior:smooth}.chat-welcome{text-align:center;max-width:390px;margin:40px auto}.chat-welcome h2{margin:22px 0 12px}.chat-welcome p{color:var(--muted);font-size:13px;line-height:1.8}.chat-orbit{display:grid;place-items:center;background:radial-gradient(circle,#354e27,#1c281e);color:var(--accent);font-size:38px;width:70px;height:70px;border:1px solid #455a35;border-radius:23px;margin:auto}.chat-turn{padding:0 0 25px}.chat-author{display:flex;align-items:center;gap:9px;font-size:11px;margin-bottom:11px;flex-wrap:wrap}.chat-author time{color:#8b9d8e;font-size:9px;margin-left:auto}.chat-avatar{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#324237;color:#d4dfd1;font-size:12px}.ai-avatar{color:var(--accent);background:#2c3b24;font-size:17px}.chat-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;font-size:13px}.chat-answer{border:1px solid #36442e;background:linear-gradient(120deg,#1d281d,#182019);border-radius:10px;margin:19px 0 0;padding:19px}.chat-answer .attention{font-size:11px;margin-top:10px}.chat-answer button{font-size:11px;margin-top:9px}.chat-thinking{font-size:12px;color:#b9d8a2}.chat-citations{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.chat-citations a,.chat-citations span{font-size:10px;border:1px solid #42533a;border-radius:5px;padding:5px 8px}.chat-compose{border-top:1px solid var(--line);padding:17px 21px;background:#151d17}.chat-compose textarea{resize:vertical;width:100%;max-height:250px;min-height:85px;background:#202a21;border:1px solid #46543f;border-radius:10px;padding:14px;font:inherit;font-size:13px;line-height:1.6;color:#e7eee3}.chat-compose textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.chat-compose-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;margin-top:10px}.chat-compose-actions small{margin-right:auto;font-size:9px}.chat-compose-actions button{font-size:11px}.chat-primary{background:var(--accent);color:#22301a;border-color:var(--accent);font-weight:650}.chat-primary:hover{background:#d5ffa0}.chat-disclosure{font-size:10px;color:#92a28c;line-height:1.7;margin-top:12px}#chat-suggestions{display:flex;gap:6px;margin-bottom:13px;flex-wrap:wrap}#chat-suggestions button{font-size:10px;padding:6px 9px;color:#b8c8af;background:#1e2a20}#chat-status{font-size:12px;color:#ebcf9c;background:#2b291d;padding:12px 23px}#chat-retry{font-size:11px;margin-top:10px}.chat-context{border-left:1px solid var(--line);background:#131a15;min-width:0}.chat-context h3{margin-top:14px}.chat-context summary{font-size:10px;cursor:pointer;margin-top:9px}.chat-context .source-card a{font-size:11px}.chat-context details p{max-height:200px;overflow:auto}.chat-context .context-body{max-height:720px;overflow:auto}
@media(min-width:1600px){.chat-layout{grid-template-columns:245px minmax(0,1fr) 310px}.chat-messages{padding:32px 45px}.chat-compose{padding:20px 36px}}
@media(max-width:1250px){.chat-layout{grid-template-columns:190px minmax(0,1fr)}.chat-context{grid-column:1/-1;border-left:0;border-top:1px solid var(--line)}.chat-context .context-body{max-height:260px}}
@media(max-width:700px){.chat-project-bar{display:block}.chat-project-bar>span{display:block;margin-top:9px;font-size:11px}.chat-project-bar label{max-width:none}.chat-layout{display:flex;flex-direction:column;min-height:0}.chat-nav{border-right:0;border-bottom:1px solid var(--line)}.chat-nav form{grid-template-columns:1fr auto;padding:12px}.chat-sharing{padding:10px 14px}.chat-nav .pane-label{display:none}#chat-threads{display:flex;overflow:auto;max-height:100px}#chat-threads [data-thread]{min-width:170px;max-width:220px;padding:10px 14px;font-size:12px}.chat-heading{padding:16px}.chat-messages{padding:20px 16px;min-height:260px;max-height:65vh}.chat-compose{padding:15px 13px}.chat-compose-actions{flex-wrap:wrap}.chat-compose-actions small{flex-basis:100%}.chat-answer{padding:14px}.chat-heading h2{font-size:17px}.chat-context .context-body{max-height:none}}
