.sales-coach{color:var(--foreground);letter-spacing:0;min-width:0;font-size:.875rem}.sales-coach h2,.sales-coach h3,.coach-drawer h2,.coach-drawer h3{letter-spacing:0}.coach-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.coach-symbol{border:1px solid var(--border);background:var(--card);width:40px;height:40px;color:var(--primary);border-radius:8px;flex-shrink:0;place-items:center;display:grid}.coach-layout{border-top:1px solid var(--border);background:var(--card);grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);margin-top:1rem;display:grid}.coach-conversation{border-right:1px solid var(--border);flex-direction:column;min-width:0;display:flex}.coach-thread{scrollbar-width:thin;flex:1;min-height:320px;max-height:620px;padding:1.5rem;overflow-y:auto}.coach-welcome{max-width:460px;margin:auto;padding:1rem 0 2rem}.coach-welcome h2{margin:.6rem 0;font-size:1.5rem;font-weight:500;line-height:1.4}.coach-kicker{color:var(--muted-foreground);margin-bottom:.4rem;font-size:.65rem;font-weight:600}.coach-starts{gap:.6rem;margin-top:1.5rem;display:grid}.coach-starts [data-slot=button]{white-space:normal;justify-content:flex-start;min-height:3.5rem}.coach-starts span{text-align:left;flex:1}.coach-message{border-bottom:1px solid var(--border);overflow-wrap:anywhere;padding:1.1rem 0}.coach-message-user{background:var(--muted);border:0;border-radius:8px;margin:.75rem 0;padding:1rem}.coach-message-author{align-items:center;gap:.4rem;margin-bottom:.6rem;font-size:.7rem;font-weight:600;display:flex}.coach-message-author>span{color:var(--muted-foreground);margin-left:auto;font-size:.65rem;font-weight:400}.coach-rich{overflow-wrap:anywhere;max-width:70ch;font-size:.875rem;line-height:1.7}.coach-rich p+p{margin-top:.65rem}.coach-rich ul,.coach-rich ol{margin:.5rem 0;padding-left:1.2rem}.coach-rich li{margin:.25rem 0}.coach-rich h2,.coach-rich h3{margin:.65rem 0 .35rem;font-size:.95rem}.coach-rich a{color:var(--primary);text-decoration:underline}.coach-rich pre{white-space:pre-wrap}.coach-rich blockquote{border-left:2px solid var(--border);padding-left:.75rem}.coach-suggestion{background:var(--secondary);border-left:3px solid var(--primary);border-radius:4px;margin-top:1rem;padding:1rem}.coach-example{border-left:2px solid var(--border);padding-left:.8rem;font-size:.8rem}.coach-example>span{text-transform:uppercase;color:var(--muted-foreground);margin:.6rem 0 .2rem;font-size:.65rem;display:block}.coach-composer{border-top:1px solid var(--border);background:var(--card);padding:1rem 1.25rem;position:sticky;bottom:0}.sales-coach .coach-composer textarea{resize:none;background:var(--muted);border:0;min-height:78px;font-size:.875rem}.coach-preview{scrollbar-width:thin;align-self:start;min-width:0;max-height:820px;padding:1.25rem;overflow-y:auto}.coach-preview-tabs{gap:.25rem;margin-bottom:1.2rem;display:flex}.coach-voice-section{border-bottom:1px solid var(--border);padding:1rem 0}.coach-voice-section h3{font-size:.875rem}.coach-voice-section .coach-rich{color:var(--muted-foreground);font-size:.8rem}.coach-preview [data-slot=badge]{border-radius:4px;flex-shrink:0;align-self:start;max-width:9rem}.coach-preview-actions{background:var(--card);border-top:1px solid var(--border);flex-wrap:wrap;gap:.5rem;padding:.75rem 0;display:flex;position:sticky;bottom:-1.25rem}.coach-loading{align-items:center;gap:1rem;padding:2rem;display:flex}.coach-library{margin-top:1.5rem}.coach-library-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.25rem;display:flex}.coach-source-layout{grid-template-columns:minmax(0,1fr);gap:1.5rem;display:grid}.coach-source-layout:has(.coach-source-detail){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.coach-source-row{border-bottom:1px solid var(--border);align-items:center;gap:.65rem;min-width:0;padding:.5rem 0;display:flex}.coach-source-row.is-selected{background:var(--muted)}.sales-coach .coach-source-open{white-space:normal;text-align:left;flex:1;justify-content:flex-start;gap:.5rem;min-width:0;height:auto;min-height:4rem;padding:.5rem;display:flex}.coach-source-open>span:first-child{flex:1;min-width:0}.coach-source-open strong{overflow-wrap:anywhere;font-size:.8rem;display:block}.coach-source-open small{color:var(--muted-foreground);margin-top:.3rem;font-size:.65rem;font-weight:400;display:block}.coach-source-open [data-slot=badge]{font-size:.6rem}.coach-source-detail{border-left:1px solid var(--border);background:var(--card);min-width:0;max-height:800px;padding:1.25rem;overflow-y:auto}.coach-source-text{padding-top:1rem}.coach-fact{border-bottom:1px solid var(--border);padding:.7rem 0}.coach-fact [data-slot=input]{font-size:.75rem}.coach-fact [data-slot=checkbox]{flex-shrink:0;margin-top:.8rem}.coach-readable-voice{max-width:850px;margin:1.5rem auto}.coach-readable-voice>.space-y-4{background:var(--card);padding:1.25rem}.coach-empty{text-align:center;color:var(--muted-foreground);place-items:center;gap:.5rem;padding:3rem 1rem;display:grid}.coach-dropzone{border:1px dashed var(--input);text-align:center;background:var(--muted);border-radius:8px;place-items:center;gap:.85rem;padding:2rem 1rem;display:grid}.coach-dropzone p{color:var(--muted-foreground);font-size:.8rem}.coach-dropzone progress{width:100%;accent-color:var(--primary)}.coach-notice{background:var(--secondary);border:1px solid var(--border);margin-bottom:1rem;padding:.8rem;font-size:.8rem}.sales-coach details,.coach-drawer details{border-top:1px solid var(--border);padding:.75rem 0}.sales-coach summary,.coach-drawer summary{cursor:pointer;font-size:.8rem;font-weight:600}.sales-coach [data-slot=textarea],.coach-drawer [data-slot=textarea]{background:var(--card);resize:vertical;min-height:70px;font-size:.875rem}.sales-coach [data-slot=input],.coach-drawer [data-slot=input]{background:var(--card);font-size:.875rem}.sales-coach [data-slot=button],.coach-drawer [data-slot=button]{white-space:normal;letter-spacing:0}.sales-coach [data-slot=badge]{white-space:normal;max-width:100%}@media (width<=1100px){.coach-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.coach-thread{padding:1rem}.coach-header{flex-wrap:wrap}.coach-source-layout:has(.coach-source-detail){grid-template-columns:1fr}.coach-source-detail{border-left:0;border-top:1px solid var(--border)}.coach-preview{padding:1rem}.coach-source-open{flex-wrap:wrap}}@media (width<=767px){.coach-layout{flex-direction:column;display:flex}.coach-conversation{border-right:0}.coach-thread{min-height:240px;max-height:420px}.coach-preview{border-top:1px solid var(--border);max-height:none;overflow:visible}.coach-composer{position:static}.coach-header{gap:.7rem}.coach-header>div:last-child{justify-content:space-between;width:100%}.coach-header [data-slot=button]{font-size:.75rem}.coach-library-header{flex-wrap:wrap}.coach-source-detail{padding:1rem}.coach-source-row{gap:.25rem}.coach-source-open small{line-height:1.6}.coach-preview-actions{position:static}.coach-readable-voice>.space-y-4{padding:1rem}.coach-drawer{max-width:100%}.coach-starts [data-slot=button]{font-size:.8rem}}@media (prefers-reduced-motion:reduce){.sales-coach *{scroll-behavior:auto}}.coach-chat-first{flex-direction:column;height:calc(100dvh - 300px);min-height:360px;display:flex}.coach-chat-first .coach-header{border-bottom:1px solid var(--border);flex-shrink:0;margin-bottom:0;padding-bottom:1rem}.coach-chat-first .coach-header h2{font-size:1.1rem;font-weight:600;line-height:1.5}.coach-tools{flex-wrap:wrap;align-items:center;gap:.25rem;display:flex}.coach-chat{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.coach-chat-first .coach-thread{overscroll-behavior:contain;min-height:0;max-height:none;padding:1.5rem max(1rem,50% - 380px);overflow-y:auto}.coach-chat-first .coach-welcome{text-align:center;flex-direction:column;justify-content:center;align-items:center;max-width:680px;height:100%;min-height:300px;padding:2rem 0;display:flex}.coach-welcome-symbol{color:var(--foreground);margin-bottom:1rem}.coach-chat-first .coach-welcome h2{margin:0 0 1.5rem;font-size:1.6rem}.coach-chat-first .coach-starts{grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;width:100%;margin:0}.coach-chat-first .coach-starts [data-slot=button]{flex-direction:column;justify-content:center;gap:.6rem;min-height:88px;padding:.8rem;font-size:.8rem}.coach-chat-first .coach-starts span{text-align:center;flex:0}.coach-chat-first .coach-message{border:0;margin:0 0 .5rem;padding:1rem 0 1.5rem}.coach-chat-first .coach-message-user{background:var(--muted);width:fit-content;max-width:85%;margin-bottom:1.5rem;margin-left:auto;padding:.9rem 1.1rem}.coach-chat-first .coach-message-author{color:var(--muted-foreground);margin-bottom:.6rem}.coach-chat-first .coach-rich{max-width:none;color:var(--foreground);line-height:1.8}.coach-compose-wrap{flex-shrink:0;width:100%;max-width:792px;margin:0 auto;padding:.5rem 1rem 0}.coach-chat-first .coach-composer{border:1px solid var(--border);background:var(--card);border-radius:8px;padding:.75rem 1rem;position:static}.coach-chat-first .coach-composer [data-slot=textarea]{resize:none;min-height:62px;max-height:170px;box-shadow:none;color:var(--foreground);background:0 0;border:0;padding:.5rem 0}.coach-chat-first .coach-composer [data-slot=textarea]:focus-visible{box-shadow:none}.coach-pending{color:var(--muted-foreground);margin-bottom:.25rem;font-size:.7rem}.coach-status-dot{background:var(--foreground);border-radius:50%;flex-shrink:0;width:6px;height:6px}.coach-attachments{flex-wrap:wrap;gap:.4rem;padding-bottom:.4rem;display:flex}.coach-attachment{background:var(--muted);max-width:100%;color:var(--foreground);border-radius:4px;align-items:center;gap:.4rem;padding:.2rem .3rem .2rem .6rem;font-size:.75rem;display:flex}.coach-attachment span{overflow-wrap:anywhere;min-width:0}.coach-attachment [data-slot=button]{flex-shrink:0;width:24px;height:24px}.coach-feedback-context{color:var(--muted-foreground);flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.5rem;font-size:.7rem;display:flex}.coach-feedback-context [data-slot=select-trigger]{width:auto;max-width:100%;height:30px;font-size:.75rem}.coach-email-result{border-left:2px solid var(--border);overflow-wrap:anywhere;margin:1rem 0;padding:.5rem 0 .5rem 1rem;line-height:1.8}.coach-email-result h3{margin:.7rem 0;font-size:.9rem;font-weight:600}.coach-email-result p{margin-bottom:1rem}.coach-drawer h2{overflow-wrap:anywhere;font-size:1.1rem;font-weight:600}.coach-drawer .coach-library{margin-top:0}.coach-drawer .coach-library-header{flex-wrap:wrap;align-items:flex-start}.coach-drawer .coach-preview-actions{background:var(--background);position:static}@media (width<=767px){.coach-chat-first{height:calc(100dvh - 270px);min-height:380px}.coach-chat-first .coach-header{flex-wrap:wrap;gap:.5rem;padding-bottom:.65rem}.coach-tools{justify-content:flex-start;width:100%}.coach-chat-first .coach-thread{padding:1rem .25rem}.coach-chat-first .coach-message-user{max-width:92%}.coach-compose-wrap{padding:.25rem 0 0}.coach-chat-first .coach-welcome h2{font-size:1.3rem}.coach-chat-first .coach-welcome{min-height:220px;padding:1rem 0}.coach-chat-first .coach-starts{grid-template-columns:1fr}.coach-chat-first .coach-starts [data-slot=button]{flex-direction:row;justify-content:flex-start;min-height:44px}.coach-chat-first .coach-starts span{text-align:left}.coach-feedback-context>span{display:none}}
