.page{padding:1.25rem 1rem 6rem;max-width:720px;margin:0 auto;display:flex;flex-direction:column;height:calc(100vh - 64px);box-sizing:border-box}.page-header{margin-bottom:1.25rem;flex-shrink:0}.page-title{font-size:1.25rem;font-weight:700;color:var(--navy);margin-bottom:.2rem}.page-sub{font-size:.85rem;color:var(--text-muted)}.conversation{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:1.25rem;padding-bottom:1rem}.empty-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem 1rem 1.5rem;gap:.875rem}.empty-icon{width:64px;height:64px;background:linear-gradient(135deg,#1a56db,#0f2744);border-radius:20px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px #1a56db40;margin-bottom:.25rem}.empty-icon svg{width:30px;height:30px;color:#fff}.empty-title{font-size:1.1rem;font-weight:800;color:var(--navy);letter-spacing:-.02em}.empty-desc{font-size:.85rem;color:var(--text-muted);line-height:1.5;max-width:260px;margin-bottom:.25rem}.suggestions{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;width:100%;max-width:380px}.suggestion-chip{background:var(--card);border:1.5px solid var(--border);border-radius:12px;padding:.7rem .875rem;font-size:.8rem;color:var(--text-2);cursor:pointer;text-align:left;transition:background .15s,border-color .15s,box-shadow .15s;font-family:inherit;line-height:1.35;box-shadow:var(--shadow-sm)}.suggestion-chip:hover{background:var(--blue-light);border-color:var(--blue);color:var(--blue);box-shadow:0 2px 8px #1a56db1a}.suggestion-chip:first-child{grid-column:span 2}.message{display:flex;flex-direction:column;gap:.25rem}.message.user{align-items:flex-end}.message.assistant{align-items:flex-start}.bubble{max-width:85%;border-radius:16px;padding:.75rem 1rem;font-size:.9rem;line-height:1.5}.message.user .bubble{background:var(--navy);color:#fff;border-bottom-right-radius:4px}.message.assistant .bubble{background:var(--surface-2);color:var(--text);border-bottom-left-radius:4px}.bubble-label{font-size:.72rem;color:var(--text-muted);padding:0 .25rem}.contact-results{display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem;width:100%}.contact-result-card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:.875rem .875rem .875rem 1rem;text-decoration:none;color:inherit;display:flex;align-items:center;gap:.75rem;transition:border-color .15s,box-shadow .15s,transform .15s;box-shadow:var(--shadow-sm)}.contact-result-card:visited{color:inherit}.contact-result-card:hover{border-color:var(--blue);box-shadow:0 4px 12px #1a56db1a;transform:translateY(-1px)}.result-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#1e3a5f,#0f2744);display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:700;color:#fff;flex-shrink:0;text-transform:uppercase}.result-body{flex:1;min-width:0}.contact-result-name{font-size:.9rem;font-weight:700;color:var(--text);margin-bottom:.15rem;letter-spacing:-.01em}.contact-result-role{font-size:.775rem;color:var(--text-muted);margin-bottom:.3rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.contact-result-reason{font-size:.775rem;color:var(--text-2);line-height:1.4}.result-chevron{color:var(--text-muted);flex-shrink:0}.feedback-bar{display:flex;align-items:center;gap:.5rem;margin-top:.75rem;padding:.5rem .25rem}.feedback-label{font-size:.75rem;color:var(--text-muted);flex-shrink:0}.feedback-btn{background:var(--surface-2);border:1.5px solid var(--border);border-radius:8px;padding:.3rem .6rem;font-size:1rem;cursor:pointer;transition:background .15s,border-color .15s;line-height:1}.feedback-btn:hover{background:var(--surface);border-color:var(--text-muted)}.feedback-btn.active-good{background:#d1fae5;border-color:#34d399}.feedback-btn.active-bad{background:#fee2e2;border-color:#f87171}.feedback-comment-wrap{display:none;margin-top:.5rem;gap:.5rem}.feedback-comment-wrap.open{display:flex}.feedback-comment-input{flex:1;border:1.5px solid var(--input-border);border-radius:8px;padding:.4rem .7rem;font-size:.8rem;font-family:inherit;background:var(--input-bg);color:var(--text);outline:none}.feedback-comment-input:focus{border-color:var(--blue)}.feedback-send-btn{background:var(--blue);color:#fff;border:none;border-radius:8px;padding:.4rem .8rem;font-size:.8rem;cursor:pointer;white-space:nowrap}.feedback-sent{font-size:.75rem;color:#34d399;margin-left:.25rem}.loading-bubble{background:var(--surface-2);border-radius:16px 16px 16px 4px;padding:.875rem 1.125rem;display:flex;gap:5px;align-items:center}.dot{width:7px;height:7px;background:var(--text-muted);border-radius:50%;animation:bounce 1.2s infinite ease-in-out}.dot:nth-child(2){animation-delay:.2s}.dot:nth-child(3){animation-delay:.4s}@keyframes bounce{0%,80%,to{transform:translateY(0)}40%{transform:translateY(-6px)}}.input-area{flex-shrink:0;position:sticky;bottom:0;background:var(--surface);border-top:1.5px solid var(--border);margin:0 -1rem;padding:.75rem 1rem 0}.input-row{display:flex;gap:.5rem;align-items:flex-end}.question-input{flex:1;border:1.5px solid var(--input-border);border-radius:12px;padding:.75rem 1rem;font-size:.9rem;font-family:inherit;color:var(--text);background:var(--input-bg);resize:none;min-height:44px;max-height:120px;line-height:1.4;outline:none;transition:border-color .15s}.question-input:focus{border-color:var(--blue);background:var(--card)}.question-input::placeholder{color:var(--text-muted)}.send-btn{width:44px;height:44px;border-radius:12px;background:var(--navy);border:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .15s}.send-btn:hover:not(:disabled){background:var(--navy-mid)}.send-btn:disabled{background:var(--border);cursor:not-allowed}.send-btn svg{width:18px;height:18px}.input-hint{font-size:.72rem;color:var(--text-muted);margin-top:.4rem;padding-bottom:.25rem}.clear-btn{background:none;border:none;font-size:.78rem;color:var(--text-muted);cursor:pointer;padding:.25rem 0;display:none;font-family:inherit}.clear-btn:hover{color:#ef4444}.clear-btn.visible{display:inline-block}.header-row{display:flex;align-items:flex-start;justify-content:space-between}
