*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}.chat-user-page{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.5;color:#1a202c;position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background:#fff;display:flex;flex-direction:column;overflow:hidden}.graphrag-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:linear-gradient(135deg,#805ad5,#6b46c1);color:#fff;flex-shrink:0}.graphrag-header-title{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px}.graphrag-header-title svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2}.graphrag-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;background:#f7f7f8}.graphrag-msg{max-width:min(720px,85%);padding:10px 14px;border-radius:16px;font-size:14px;line-height:1.6;word-break:break-word}.graphrag-msg.user{align-self:flex-end;background:#ebf4ff;color:#1a202c;border-bottom-right-radius:4px}.graphrag-msg.assistant{align-self:flex-start;background:#fff;color:#1a202c;border:1px solid #e2e8f0;border-bottom-left-radius:4px;box-shadow:0 1px 3px #0000000a}.graphrag-msg.system{align-self:center;background:transparent;color:#a0aec0;font-size:12px;padding:4px 12px}.graphrag-msg.assistant p{margin-bottom:10px;line-height:1.75}.graphrag-msg.assistant p:last-child{margin-bottom:0}.graphrag-msg.assistant h2,.graphrag-msg.assistant h3,.graphrag-msg.assistant h4{font-weight:700;margin:12px 0 6px;line-height:1.4}.graphrag-msg.assistant h2{font-size:16px}.graphrag-msg.assistant h3{font-size:15px;color:#2b6cb0}.graphrag-msg.assistant h4{font-size:14px;color:#2b6cb0}.graphrag-msg.assistant ul,.graphrag-msg.assistant ol{padding-left:20px;margin:6px 0 10px}.graphrag-msg.assistant li{margin-bottom:6px;line-height:1.7}.graphrag-msg.assistant strong{font-weight:700;color:#1a365d}.graphrag-msg.assistant a{color:#3182ce;text-decoration:underline}.graphrag-msg.assistant small{font-size:12px;color:#718096}.graphrag-msg.assistant code{background:#edf2f7;padding:1px 5px;border-radius:4px;font-size:13px;font-family:SF Mono,Consolas,monospace}.graphrag-msg.assistant hr{border:none;border-top:1px solid #e2e8f0;margin:10px 0}.graphrag-typing{align-self:flex-start;display:flex;align-items:center;gap:8px;padding:10px 14px;background:#fff;border:1px solid #e2e8f0;border-radius:16px 16px 16px 4px;font-size:13px;color:#a0aec0}.graphrag-typing .dots span{display:inline-block;width:6px;height:6px;background:#a0aec0;border-radius:50%;margin:0 1px;animation:graphrag-bounce 1.2s infinite ease-in-out}.graphrag-typing .dots span:nth-child(2){animation-delay:.2s}.graphrag-typing .dots span:nth-child(3){animation-delay:.4s}@keyframes graphrag-bounce{0%,80%,to{transform:translateY(0)}40%{transform:translateY(-6px)}}.graphrag-stats{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.graphrag-stat-badge{font-size:11px;padding:2px 8px;border-radius:10px;font-weight:500}.graphrag-stat-badge.time{background:#faf5ff;color:#805ad5}.graphrag-stat-badge.graph{background:#ebf8ff;color:#3182ce}.graphrag-stat-badge.vector{background:#f0fff4;color:#38a169}.graphrag-stat-badge.websearch{background:#fff8e1;color:#f57c00;font-weight:600}.graphrag-input-area{display:flex;gap:8px;padding:12px 16px;border-top:1px solid #e2e8f0;background:#fff;flex-shrink:0}.graphrag-input{flex:1;border:1px solid #e2e8f0;border-radius:12px;padding:10px 14px;font-size:14px;outline:none;transition:border-color .15s;font-family:inherit}.graphrag-input:focus{border-color:#805ad5}.graphrag-input::placeholder{color:#a0aec0}.graphrag-send{width:40px;height:40px;border-radius:12px;border:none;background:#805ad5;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s;flex-shrink:0}.graphrag-send:hover{background:#6b46c1}.graphrag-send:disabled{background:#cbd5e0;cursor:not-allowed}.graphrag-send svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}.graphrag-send.stop svg{fill:currentColor;stroke:none}.graphrag-setup{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;gap:16px;text-align:center}.graphrag-setup-icon{width:64px;height:64px;background:#faf5ff;border-radius:50%;display:flex;align-items:center;justify-content:center}.graphrag-setup-icon svg{width:32px;height:32px;fill:none;stroke:#805ad5;stroke-width:1.5}.graphrag-setup h3{font-size:18px;font-weight:700;color:#1a202c}.graphrag-setup p{font-size:13px;color:#a0aec0;max-width:280px}.graphrag-setup-form{width:100%;max-width:360px;display:flex;flex-direction:column;gap:8px}.graphrag-setup-input{width:100%;border:1px solid #e2e8f0;border-radius:10px;padding:10px 14px;font-size:13px;outline:none;font-family:inherit}.graphrag-setup-input:focus{border-color:#805ad5}.graphrag-setup-btn{width:100%;padding:10px;border-radius:10px;border:none;background:#805ad5;color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s;font-family:inherit}.graphrag-setup-btn:hover{background:#6b46c1}.graphrag-setup-error{font-size:12px;color:#e53e3e}.graphrag-rating{display:flex;align-items:center;gap:8px;margin-top:10px;padding-top:8px;border-top:1px solid #f0f0f0}.graphrag-rating-label{font-size:12px;color:#a0aec0}.graphrag-rating-stars{display:flex;gap:2px}.graphrag-star{font-size:18px;color:#cbd5e0;cursor:pointer;transition:color .15s;-webkit-user-select:none;user-select:none}.graphrag-star:hover,.graphrag-star.active{color:#f6ad55}.graphrag-powered{text-align:center;padding:6px;font-size:10px;color:#cbd5e0;border-top:1px solid #f0f0f0;flex-shrink:0}
