.message{margin-bottom:1.5rem;display:flex;gap:.75rem}.message.user{flex-direction:row-reverse}.avatar{width:36px;height:36px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:600;color:#fff;overflow:hidden}.message.user .avatar{background:#111827}.message.assistant .avatar{background:#7a9ea8}.avatar-img{width:100%;height:100%;object-fit:cover;object-position:top;image-rendering:smooth;border-radius:50%}.bubble-wrap{max-width:80%;min-width:0}.bubble{padding:.85rem 1.1rem;border-radius:12px;line-height:1.6;font-size:.92rem;word-wrap:break-word}.message.user .bubble{background:#111827;color:#fff;border-bottom-right-radius:4px}.message.assistant .bubble{background:#fff;color:#111827;border:1px solid #e7e5e4;border-bottom-left-radius:4px}.message.assistant .bubble p{margin:.4rem 0}.message.assistant .bubble p:first-child{margin-top:0}.message.assistant .bubble p:last-child{margin-bottom:0}.message.assistant .bubble strong{font-weight:600}.message.assistant .bubble code{background:#f5f5f4;padding:.15rem .35rem;border-radius:3px;font-size:.85em}.message.assistant .bubble pre{background:#111827;color:#e0e0e0;padding:.75rem;border-radius:8px;overflow-x:auto;margin:.5rem 0}.message.assistant .bubble pre code{background:none;padding:0;color:inherit}.message.assistant .bubble ul,.message.assistant .bubble ol{margin:.4rem 0;padding-left:1.5rem}.message.assistant .bubble img{max-width:200px;border-radius:8px;margin:.5rem 0;display:block}.message.assistant .bubble a{color:#7a9ea8}.message.assistant .bubble h1,.message.assistant .bubble h2,.message.assistant .bubble h3{font-size:1rem;font-weight:600;margin:.75rem 0 .25rem}.message.assistant .bubble blockquote{border-left:3px solid #7a9ea8;padding-left:.75rem;margin:.5rem 0;color:#6b7280}.sources{font-size:.75rem;color:#6b7280;margin-top:.35rem;padding-left:.25rem}.sources a{color:#7a9ea8;text-decoration:none}.sources a:hover{text-decoration:underline}.hawk-spin{animation:hawk-rotate 1.8s ease-in-out infinite}@keyframes hawk-rotate{0%{transform:rotate(0deg);opacity:.3}50%{transform:rotate(180deg);opacity:.6}100%{transform:rotate(360deg);opacity:.3}}.prose-custom{line-height:1.75;color:#1f2937}.prose-custom h1,.prose-custom h2,.prose-custom h3{margin:1.5rem 0 .5rem;color:#111827}.prose-custom h1{font-size:1.45rem;font-weight:700;border-bottom:1px solid #f5f5f4;padding-bottom:.4rem}.prose-custom h2{font-size:1.2rem;font-weight:600}.prose-custom h3{font-size:1.05rem;font-weight:600}.prose-custom p{margin:.5rem 0}.prose-custom ul,.prose-custom ol{padding-left:1.5rem;margin:.5rem 0}.prose-custom li{margin:.25rem 0}.prose-custom code{background:#f5f5f4;padding:.15rem .35rem;border-radius:4px;font-size:.88em}.prose-custom pre{background:#111827;color:#e0e0e0;padding:1rem 1.25rem;border-radius:8px;overflow-x:auto;margin:.75rem 0}.prose-custom pre code{background:none;color:inherit;padding:0;font-size:.85em}.prose-custom img{max-width:100%;border-radius:8px;margin:.75rem 0}.prose-custom blockquote{border-left:3px solid #7a9ea8;padding:.5rem 1rem;margin:.75rem 0;color:#6b7280;background:#f0f5f6;border-radius:0 6px 6px 0}.prose-custom a{color:#7a9ea8;text-decoration:underline;text-underline-offset:2px}.prose-custom a:hover{color:#6a8e98}.prose-custom table{border-collapse:collapse;width:100%;margin:.75rem 0}.prose-custom th,.prose-custom td{border:1px solid #e7e5e4;padding:.5rem .75rem;text-align:left;font-size:.88rem}.prose-custom th{background:#f5f5f4;font-weight:600}.prose-custom hr{border:none;border-top:1px solid #f5f5f4;margin:1.5rem 0}.prose-custom strong{font-weight:600}.guide-widget{max-width:100%}.guide-card{background:#fff;border:1px solid #e7e5e4;border-radius:12px;padding:1.25rem 1.5rem;margin-bottom:.75rem}.guide-intro{border-left:4px solid #7a9ea8}.guide-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}.guide-icon{color:#7a9ea8;display:flex;align-items:center}.guide-label{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#7a9ea8}.guide-title{font-size:1.1rem;font-weight:600;margin:0 0 .35rem;color:#111827}.guide-desc{font-size:.88rem;color:#6b7280;margin:0 0 .75rem;line-height:1.5}.guide-meta{font-size:.75rem;color:#9ca3af;margin-bottom:1rem}.guide-progress{height:4px;background:#f5f5f4;border-radius:2px;margin-bottom:1rem;overflow:hidden}.guide-progress-bar{height:100%;background:#7a9ea8;border-radius:2px;transition:width .3s ease}.guide-step-counter{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#9ca3af;margin-bottom:.5rem}.guide-question{font-size:1rem;font-weight:600;margin:0 0 .35rem;color:#111827}.guide-options{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.75rem}.guide-option{display:block;width:100%;padding:.7rem 1rem;border:1px solid #e7e5e4;border-radius:8px;background:#fff;text-align:left;font-size:.88rem;color:#374151;cursor:pointer;transition:border-color .15s,background .15s}.guide-option:hover{border-color:#7a9ea8;background:#f0f5f6}.guide-option.selected{border-color:#7a9ea8;background:#f0f5f6;font-weight:500}.guide-btn{padding:.55rem 1.25rem;border-radius:8px;font-size:.88rem;font-weight:500;cursor:pointer;border:none;transition:background .15s}.guide-btn-primary{background:#111827;color:#fff}.guide-btn-primary:hover{background:#374151}.guide-btn-secondary{background:#f0f5f6;color:#7a9ea8;border:1px solid rgb(214.5,228,230.7)}.guide-btn-secondary:hover{background:rgb(227.25,236.5,238.35)}.guide-btn-back{background:rgba(0,0,0,0);color:#9ca3af;font-size:.8rem;padding:.4rem 0}.guide-btn-back:hover{color:#6b7280}.guide-section-header{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#7a9ea8;background:#f0f5f6;display:inline-block;padding:.25rem .6rem;border-radius:4px;margin-bottom:.75rem}.guide-step-desc{font-size:.85rem;color:#6b7280;margin:0 0 1rem;line-height:1.5}.guide-step-desc p{margin:.3rem 0}.guide-step-desc p:first-child{margin-top:0}.guide-step-desc p:last-child{margin-bottom:0}.guide-step-desc strong{font-weight:600}.guide-step-desc code{background:#f5f5f4;padding:.1rem .3rem;border-radius:3px;font-size:.85em}.guide-step-desc a{color:#7a9ea8}.guide-result{border-left:4px solid #7a9ea8}.guide-result-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}.guide-severity-icon{display:flex;align-items:center;flex-shrink:0}.guide-result-title{font-size:1rem;font-weight:600;margin:0;color:#111827}.guide-result-content{font-size:.88rem;line-height:1.65}.guide-severity-info{border-left-color:#7a9ea8}.guide-severity-info .guide-severity-icon{color:#7a9ea8}.guide-severity-success{border-left-color:#22c55e}.guide-severity-success .guide-severity-icon{color:#22c55e}.guide-severity-warning{border-left-color:#f59e0b;background:#fffbeb}.guide-severity-warning .guide-severity-icon{color:#f59e0b}.guide-severity-action{border-left-color:#ef4444;background:#fef2f2}.guide-severity-action .guide-severity-icon{color:#ef4444}.guide-actions{text-align:right;padding:.5rem 0}.guide-retake-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.3rem .6rem;font-size:.75rem;color:#78716c;background:none;border:1px solid #d6d3d1;border-radius:6px;cursor:pointer;font-family:inherit;transition:color .15s,border-color .15s}.guide-retake-btn:hover{color:#44403c;border-color:#a8a29e}.guide-retake-btn svg{flex-shrink:0}.guide-suggestion,.engagement-suggestion{display:flex;align-items:center;gap:.85rem;width:100%;padding:.85rem 1rem;background:#fff;border:1px solid #e7e5e4;border-radius:12px;cursor:pointer;text-align:left;font-family:inherit;transition:border-color .15s,box-shadow .15s}.guide-suggestion:hover,.engagement-suggestion:hover{border-color:#7a9ea8;box-shadow:0 0 0 3px rgba(122,158,168,.08)}.guide-suggestion:hover .guide-suggestion-arrow,.engagement-suggestion:hover .guide-suggestion-arrow{color:#7a9ea8}.guide-suggestion-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:#f0f5f6;color:#7a9ea8;flex-shrink:0}.guide-suggestion-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:.15rem}.guide-suggestion-title{font-size:.9rem;font-weight:600;color:#111827}.guide-suggestion-desc{font-size:.78rem;color:#9ca3af;line-height:1.4}.guide-suggestion-arrow{flex-shrink:0;color:#d1d5db;transition:color .15s}.guide-suggest-bar{display:flex;align-items:center;gap:.5rem;margin-top:.5rem;padding:.5rem .75rem;font-size:.8rem;color:#6b7280;background:#f0f5f6;border-radius:8px}.guide-suggest-bar span{flex:1}.guide-suggest-bar strong{color:#111827;font-weight:600}.guide-suggest-bar button{padding:.25rem .65rem;border-radius:6px;font-size:.78rem;font-weight:500;cursor:pointer;border:none;transition:background .15s}.guide-suggest-bar .guide-suggest-yes{background:#111827;color:#fff}.guide-suggest-bar .guide-suggest-yes:hover{background:#374151}.guide-suggest-bar .guide-suggest-no{background:rgba(0,0,0,0);color:#9ca3af}.guide-suggest-bar .guide-suggest-no:hover{color:#6b7280}select.input{appearance:auto}.modal-overlay.show{display:flex}.doc-card.dragging{opacity:.35}.sb-item.drop-over{background:#e0edef}.engagement-tracker{padding:1rem}.engagement-tracker-header{margin-bottom:1rem}.engagement-tracker-title{font-size:.875rem;font-weight:700;color:#111827;margin:0}.engagement-tracker-phases{display:flex;flex-direction:column;gap:.25rem}.engagement-phase{display:flex;align-items:flex-start;gap:.75rem;padding:.625rem .5rem;border-radius:.5rem;transition:background-color .2s}.engagement-phase.active{background:rgba(122,158,168,.12)}.engagement-phase.locked{opacity:.5}.phase-status-icon{width:1.5rem;height:1.5rem;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:.125rem}.phase-status-icon.approved{background:#10b981;color:#fff}.phase-status-icon.complete{background:#fbbf24;color:#fff}.phase-status-icon.active{background:#7a9ea8;position:relative}.phase-status-icon.locked{background:#e5e7eb;color:#9ca3af}.phase-pulse{width:.5rem;height:.5rem;border-radius:50%;background:#fff;animation:pulse-ring 1.5s ease-in-out infinite}@keyframes pulse-ring{0%,100%{opacity:1}50%{opacity:.4}}.phase-info{flex:1;min-width:0}.phase-name{display:block;font-size:.8125rem;font-weight:600;color:#374151}.engagement-phase.locked .phase-name{color:#9ca3af}.phase-deliverable-type{display:block;font-size:.625rem;color:#94a3b8;font-weight:400;margin-top:.125rem}.phase-progress{display:flex;align-items:center;gap:.5rem;margin-top:.375rem}.phase-progress-bar{flex:1;height:4px;background:#e5e7eb;border-radius:2px;overflow:hidden}.phase-progress-fill{height:100%;background:#7a9ea8;border-radius:2px;transition:width .5s ease}.phase-progress-fill--done{background:#10b981}.phase-progress-text{font-size:.625rem;color:#9ca3af;font-weight:600}.engagement-deliverable{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;overflow:hidden;margin:.5rem 0}.deliverable-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;border-bottom:1px solid #e5e7eb;background:#f9fafb}.deliverable-header h3{font-size:.8125rem;font-weight:700;color:#111827;margin:0}.deliverable-phase-badge{font-size:.625rem;font-weight:600;color:#7a9ea8;background:rgba(122,158,168,.12);padding:.125rem .5rem;border-radius:1rem}.deliverable-content{padding:1rem;max-height:24rem;overflow-y:auto}.deliverable-item{padding:.75rem;border:1px solid #f3f4f6;border-radius:.5rem;margin-bottom:.5rem}.deliverable-item:last-child{margin-bottom:0}.deliverable-item h4{font-size:.8125rem;font-weight:600;color:#111827;margin:0 0 .375rem}.deliverable-section{margin-bottom:.75rem}.deliverable-section:last-child{margin-bottom:0}.deliverable-section h4{font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;margin:0 0 .375rem}.deliverable-field{font-size:.8125rem;color:#374151;margin-bottom:.25rem}.deliverable-field .field-label{font-weight:600;color:#6b7280}.deliverable-field .field-list{margin:.25rem 0 0 1.25rem;padding:0;list-style:disc}.deliverable-field .field-list li{font-size:.75rem;color:#4b5563}.deliverable-field .field-json{font-size:.6875rem;background:#f9fafb;padding:.5rem;border-radius:.25rem;overflow-x:auto}.deliverable-actions{padding:.75rem 1rem;border-top:1px solid #e5e7eb;background:#f9fafb;text-align:right}.engagement-approve-btn{padding:.5rem 1.25rem;background:#111827;color:#fff;border:none;border-radius:.5rem;font-size:.8125rem;font-weight:600;cursor:pointer;transition:background-color .2s}.engagement-approve-btn:hover{background:#374151}.engagement-approve-btn:disabled{opacity:.5;cursor:not-allowed}.phase-transition-card{background:linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;border:1px solid #bae6fd !important;text-align:center;padding:1.25rem !important}@media print{nav,.w-72,#phase-tracker,#ws-status,#user-input,#send-btn,.deliverable-toolbar,.deliverable-card-footer,.engagement-approve-btn,.guide-suggestion,.engagement-suggestion,#empty-state,#loading{display:none !important}.flex.h-\[calc\(100vh-3\.5rem\)\]{display:block !important;height:auto !important}.flex-1.flex.flex-col.bg-stone-100{display:block !important;overflow:visible !important}#messages{overflow:visible !important;max-height:none !important;height:auto !important;max-width:100% !important;padding:0 !important}.p-4.pb-6.bg-white.border-t{display:none !important}.deliverable-card-rich{box-shadow:none !important;break-inside:avoid}.message{break-inside:avoid}body{font-size:12px}}.deliverable-card-rich{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;overflow:hidden;margin-top:1rem;box-shadow:0 1px 3px rgba(0,0,0,.06)}.deliverable-toolbar{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;border-bottom:1px solid #e2e8f0;background:#f8fafc}.deliverable-phase-badge{font-size:.75rem;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.05em}.deliverable-toolbar-actions{display:flex;gap:.5rem;align-items:center}.deliverable-btn{display:inline-flex;align-items:center;gap:.25rem;padding:.375rem .75rem;border:1px solid #e2e8f0;border-radius:.375rem;background:#fff;color:#64748b;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .15s;line-height:1}.deliverable-btn:hover{background:#f1f5f9;color:#334155;border-color:#cbd5e1}.deliverable-btn svg{flex-shrink:0}.deliverable-btn-edit:hover{border-color:#93c5fd;color:#2563eb;background:#eff6ff}.deliverable-card-content{padding:1.25rem}.deliverable-card-footer{padding:.75rem 1rem;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end}.deliverable-card-footer .engagement-approve-btn{padding:.625rem 1.5rem;background:linear-gradient(135deg, #1e3a5f, #2d5a87);color:#fff;border:none;border-radius:.5rem;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s}.deliverable-card-footer .engagement-approve-btn:hover{background:linear-gradient(135deg, #2d5a87, #3b7cb8);box-shadow:0 2px 8px rgba(30,58,95,.3)}.deliverable-card-footer .engagement-approve-btn:disabled{opacity:.6;cursor:not-allowed}
