:root{--coach-bg:#1a1f2c;--coach-bg-card:#232a3a66;--coach-text-primary:#fffffff2;--coach-text-secondary:#ffffffb3;--coach-text-tertiary:#fff6;--coach-gold:#d4a84b;--coach-gold-bright:#e8b85a;--coach-success:#5dcaa5;--coach-warning:#e8b85a;--coach-border-subtle:#ffffff0f;--coach-border-card:#ffffff14;--coach-message-gap:24px;--coach-line-width:2px;--coach-line-padding:18px;--font-coach-data:"Plus Jakarta Sans", system-ui, sans-serif}.coach-chat-v2{color:var(--coach-text-primary);font-family:var(--font-coach-data)}.coach-chat-v2 .coach-header{border-bottom:1px solid var(--coach-border-subtle);flex-shrink:0;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.coach-chat-v2 .coach-name{font-family:var(--font-coach-prose);color:var(--coach-gold);letter-spacing:.5px;font-size:22px;font-weight:500}.coach-chat-v2 .coach-subline{letter-spacing:1.5px;text-transform:uppercase;color:var(--coach-text-tertiary);font-size:11px}.coach-chat-v2 .coach-online-dot{background:var(--coach-success);border-radius:50%;width:8px;height:8px;animation:2.5s ease-in-out infinite coach-pulse-soft}.coach-chat-v2 .messages-container{gap:var(--coach-message-gap);flex-direction:column;flex:1;min-height:0;padding:16px;display:flex;overflow-y:auto}.coach-chat-v2 .user-message-row{justify-content:flex-end;align-items:flex-start;gap:8px;padding-left:60px;display:flex}.coach-chat-v2 .user-message-bubble{color:var(--coach-text-primary);background:#4a9eff1a;border:1px solid #4a9eff33;border-radius:14px 14px 2px;max-width:min(560px,80vw);padding:10px 14px;font-size:15px;line-height:1.5}.coach-chat-v2 .user-message-actions{opacity:0;transition:opacity .15s}.coach-chat-v2 .user-message-row:hover .user-message-actions{opacity:1}@media (max-width:768px){.coach-chat-v2 .user-message-actions{opacity:1}}.coach-chat-v2 .coach-message-block{padding-left:var(--coach-line-padding);max-width:720px;padding-right:24px;position:relative}.coach-chat-v2 .coach-line{width:var(--coach-line-width);background:var(--coach-gold);opacity:.7;border-radius:1px;position:absolute;top:0;bottom:0;left:0}.coach-chat-v2 .coach-line.urgent{background:var(--coach-gold-bright);opacity:1;animation:2.5s ease-in-out infinite coach-pulse-glow}.coach-chat-v2 .tone-tag{letter-spacing:1.5px;text-transform:uppercase;color:var(--coach-gold);align-items:center;gap:5px;margin-bottom:8px;font-size:10px;display:inline-flex}.coach-chat-v2 .coach-lead{font-family:var(--font-coach-prose);color:var(--coach-text-primary);letter-spacing:.2px;margin-bottom:12px;font-size:18px;font-weight:500;line-height:1.45}.coach-chat-v2 .coach-prose{font-family:var(--font-coach-prose);color:#ffffffeb;letter-spacing:.1px;margin-bottom:14px;font-size:15px;line-height:1.6}.coach-chat-v2 .coach-prose em{color:var(--coach-gold);font-style:normal;font-weight:500}.coach-chat-v2 .coach-thinking-block{padding-left:var(--coach-line-padding);color:var(--coach-text-tertiary);margin-bottom:12px;position:relative}.coach-chat-v2 .thinking-label{letter-spacing:1.5px;text-transform:uppercase;color:var(--coach-gold);opacity:.7;margin-bottom:4px;font-size:10px}.coach-chat-v2 .thinking-dots{gap:4px;display:inline-flex}.coach-chat-v2 .thinking-dots span{background:var(--coach-gold);opacity:.4;border-radius:50%;width:4px;height:4px;animation:1.4s ease-in-out infinite coach-typing-dot}.coach-chat-v2 .thinking-dots span:nth-child(2){animation-delay:.2s}.coach-chat-v2 .thinking-dots span:nth-child(3){animation-delay:.4s}.coach-chat-v2 .coach-thinking-block-v2{margin-bottom:12px}.coach-chat-v2 .thinking-step{letter-spacing:.1em;align-items:center;gap:8px;margin-bottom:8px;font-size:11.5px;font-weight:600;animation:.3s ease-out coach-fade-in;display:flex}.coach-chat-v2 .thinking-step-active{color:#ffffffb3}.coach-chat-v2 .thinking-step-done{color:#ffffff73}.coach-chat-v2 .thinking-step-dots{gap:3px;display:inline-flex}.coach-chat-v2 .thinking-step-dots span{background:var(--coach-gold);border-radius:50%;width:4px;height:4px;animation:.45s ease-in-out infinite coach-typing-dot-fast}.coach-chat-v2 .thinking-step-dots span:nth-child(2){animation-delay:.15s}.coach-chat-v2 .thinking-step-dots span:nth-child(3){animation-delay:.3s}@keyframes coach-typing-dot-fast{0%,to{opacity:.3;transform:translateY(0)}50%{opacity:1;transform:translateY(-1px)}}.coach-chat-v2 .coach-line.thinking{animation:2.5s ease-in-out infinite coach-pulse-glow}.coach-chat-v2 .coach-line.thinking-done{opacity:1;animation:none}.coach-chat-v2 .streaming-cursor{background:var(--coach-gold);vertical-align:middle;width:8px;height:18px;margin-left:2px;animation:.6s step-end infinite coach-streaming-cursor-blink;display:inline-block}@keyframes coach-streaming-cursor-blink{50%{opacity:0}}.coach-chat-v2 .coach-signature{font-family:var(--font-coach-data);color:var(--coach-text-tertiary);align-items:center;gap:12px;margin-top:10px;font-size:11px;display:flex}.coach-chat-v2 .signature-text{letter-spacing:.5px}.coach-chat-v2 .coach-feedback{justify-content:flex-end;align-items:center;gap:2px;margin-top:2px;display:flex}.coach-chat-v2 .coach-feedback-button{color:#ffffff38;cursor:pointer;transition:color .16s var(--ease-forge,ease), background .16s var(--ease-forge,ease);background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:4px;display:inline-flex}.coach-chat-v2 .coach-feedback-button:hover{color:var(--coach-text-tertiary);background:#ffffff0a}.coach-chat-v2 .coach-feedback-button.is-active{color:var(--coach-gold)}@media (prefers-reduced-motion:reduce){.coach-chat-v2 .coach-feedback-button{transition:none}}.coach-chat-v2 .confidence-indicator{align-items:center;gap:8px;margin-left:auto;display:flex}.coach-chat-v2 .confidence-bars{gap:2px;display:inline-flex}.coach-chat-v2 .confidence-bar{background:#ffffff1a;border-radius:1px;width:3px;height:8px}.coach-chat-v2 .confidence-bar.filled{background:var(--coach-gold)}.coach-chat-v2 .confidence-label{letter-spacing:1px;text-transform:uppercase;color:var(--coach-text-tertiary);font-size:9px}.coach-chat-v2 .coach-reflection{font-family:var(--font-coach-prose);color:#ffffff8c;border:1px dashed #ffffff1a;border-radius:6px;margin-top:12px;padding:8px 12px;font-size:13px;font-style:italic;position:relative}.coach-chat-v2 .coach-reflection .label{font-style:normal;font-family:var(--font-coach-data);letter-spacing:1.5px;text-transform:uppercase;color:var(--coach-gold);opacity:.7;margin-bottom:4px;font-size:9px}.coach-chat-v2 .thought-trail{color:var(--coach-text-tertiary);font-size:11px;font-family:var(--font-coach-data);margin-top:10px}.coach-chat-v2 .thought-trail-toggle{color:var(--coach-text-tertiary);cursor:pointer;letter-spacing:1.5px;text-transform:uppercase;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:10px;display:inline-flex}.coach-chat-v2 .thought-trail-toggle:hover{color:var(--coach-gold)}.coach-chat-v2 .thought-steps{border-left:1px dotted var(--coach-border-subtle);margin-top:6px;padding:0 0 0 8px;list-style:none}.coach-chat-v2 .thought-steps li{color:var(--coach-text-tertiary);padding:3px 0;font-size:11px}.coach-chat-v2 .time-context-divider{align-items:center;gap:12px;margin:6px 0;display:flex}.coach-chat-v2 .time-context-divider:before,.coach-chat-v2 .time-context-divider:after{content:"";background:var(--coach-border-subtle);flex:1;height:1px}.coach-chat-v2 .time-context-divider span{letter-spacing:1.5px;text-transform:uppercase;color:var(--coach-text-tertiary);font-size:10px}.coach-chat-v2 .coach-input-area{border-top:1px solid var(--coach-border-subtle);padding:10px 14px env(safe-area-inset-bottom,12px);background:var(--coach-bg);flex-shrink:0}.coach-chat-v2 .empty-state{text-align:center;color:var(--coach-text-secondary);padding:32px 16px}.coach-chat-v2 .empty-state h2{font-family:var(--font-coach-prose);color:var(--coach-text-primary);margin-bottom:8px;font-size:22px}.coach-chat-v2 .empty-state .suggestion-chips{flex-direction:column;gap:8px;margin-top:16px;display:inline-flex}.coach-chat-v2 .empty-state .suggestion-chip{background:var(--coach-bg-card);border:1px solid var(--coach-border-card);color:var(--coach-text-primary);cursor:pointer;border-radius:999px;padding:8px 14px;font-size:13px;transition:border-color .15s,color .15s}.coach-chat-v2 .empty-state .suggestion-chip:hover{border-color:var(--coach-gold);color:var(--coach-gold)}@media (max-width:768px){.coach-chat-v2 .coach-message-block{padding-right:12px}.coach-chat-v2 .user-message-row{padding-left:30px}}@media (prefers-reduced-motion:reduce){.coach-chat-v2 *,.coach-chat-v2 :before,.coach-chat-v2 :after{transition-duration:.01ms!important;animation-duration:.01ms!important}}html[data-theme=light] .coach-chat-v2{--coach-bg:#faf8f3;--coach-bg-card:#1a140e0a;--coach-text-primary:#1a140e;--coach-text-secondary:#1a140ec7;--coach-text-tertiary:#1a140e9e;--coach-gold:#8a5e1a;--coach-gold-bright:#b8862a;--coach-success:#047857;--coach-warning:#b8862a;--coach-border-subtle:#1a140e1f;--coach-border-card:#1a140e26}html[data-theme=light] .coach-chat-v2 .coach-prose{color:#1a140ee0}html[data-theme=light] .coach-chat-v2 .thinking-step-active{color:#1a140ebf}html[data-theme=light] .coach-chat-v2 .thinking-step-done{color:#1a140e73}html[data-theme=light] .coach-chat-v2 .coach-reflection{color:#1a140e99;background:#1a140e05;border-color:#1a140e2e}html[data-theme=light] .coach-chat-v2 .confidence-bar{background:#1a140e26;width:4px;height:11px}html[data-theme=light] .coach-chat-v2 .confidence-bar.filled{background:#6d4810}html[data-theme=light] .coach-chat-v2 .confidence-label{color:#1a140ed9;font-weight:600}html[data-theme=light] .coach-chat-v2 .user-message-bubble{color:#1a140e;background:#4a9eff1f;border-color:#4a9eff59}html[data-theme=light] .coach-chat-v2 .coach-line{opacity:.85}html[data-theme=light] .coach-chat-v2 .bg-zinc-900\/40,html[data-theme=light] .coach-chat-v2 .bg-zinc-900\/60{background-color:#1a140e0a!important}html[data-theme=light] .coach-chat-v2 .bg-zinc-900\/70{background-color:#1a140e0f!important}html[data-theme=light] .coach-chat-v2 .border-white\/10,html[data-theme=light] .coach-chat-v2 .border-white\/5{border-color:#1a140e1f!important}html[data-theme=light] .coach-chat-v2 .border-white\/20{border-color:#1a140e33!important}html[data-theme=light] .coach-chat-v2 .text-white\/40,html[data-theme=light] .coach-chat-v2 .text-white\/45,html[data-theme=light] .coach-chat-v2 .text-white\/50{color:#1a140e8c!important}html[data-theme=light] .coach-chat-v2 .text-white\/55,html[data-theme=light] .coach-chat-v2 .text-white\/60,html[data-theme=light] .coach-chat-v2 .text-white\/65,html[data-theme=light] .coach-chat-v2 .text-white\/70{color:#1a140eb3!important}html[data-theme=light] .coach-chat-v2 .text-white\/75,html[data-theme=light] .coach-chat-v2 .text-white\/80,html[data-theme=light] .coach-chat-v2 .text-white\/85,html[data-theme=light] .coach-chat-v2 .text-white\/90,html[data-theme=light] .coach-chat-v2 .text-white\/95,html[data-theme=light] .coach-chat-v2 .text-white{color:#1a140e!important}html[data-theme=light] .coach-chat-v2 .text-amber-400,html[data-theme=light] .coach-chat-v2 .text-amber-400\/80,html[data-theme=light] .coach-chat-v2 .text-amber-400\/70,html[data-theme=light] .coach-chat-v2 .text-amber-300{color:#8a5e1a!important}html[data-theme=light] .coach-chat-v2 .text-amber-500{color:#6d4810!important}
