*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root,html[data-theme=dark]{--bg: #0b1220;--bg-elevated: #101b2e;--surface: #132035;--surface-hover: #1a2a45;--border: rgba(56, 189, 248, .12);--border-strong: rgba(56, 189, 248, .25);--border-glow: rgba(34, 211, 238, .4);--text: #e2e8f0;--heading: #ffffff;--text-muted: #64748b;--text-secondary: #94a3b8;--accent: #22d3ee;--accent-soft: rgba(34, 211, 238, .15);--accent-glow: rgba(34, 211, 238, .08);--on-accent: #0b1220;--code-bg: #060d18;--kbd-bg: var(--surface);--shadow-modal: 0 20px 60px rgba(0, 0, 0, .5);--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--max-width: 760px;--radius-xl: 16px;--radius-lg: 12px;--radius-md: 8px;--radius-sm: 6px}html[data-theme=light]{--bg: #f8fafc;--bg-elevated: #ffffff;--surface: #ffffff;--surface-hover: #f1f5f9;--border: rgba(15, 23, 42, .1);--border-strong: rgba(15, 23, 42, .2);--border-glow: rgba(14, 165, 233, .4);--text: #1e293b;--heading: #0f172a;--text-muted: #94a3b8;--text-secondary: #475569;--accent: #0891b2;--accent-soft: rgba(8, 145, 178, .12);--accent-glow: rgba(8, 145, 178, .08);--on-accent: #ffffff;--code-bg: #f1f5f9;--kbd-bg: #f1f5f9;--shadow-modal: 0 20px 60px rgba(15, 23, 42, .18)}html,body,#root{height:100%;font-family:var(--font-sans);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}.app{height:100%;display:flex;flex-direction:column}.home{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;gap:2rem}.home-heading{text-align:center}.home-heading h1{font-size:1.75rem;font-weight:600;color:var(--heading);margin-bottom:.5rem}.home-heading p{font-size:.9rem;color:var(--text-secondary);max-width:500px;margin:0 auto;line-height:1.6}.starter-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;width:100%;max-width:560px}.starter-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1rem 1.25rem;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s;text-align:left}.starter-card:hover{border-color:var(--border-strong);background:var(--surface-hover);box-shadow:0 0 20px var(--accent-glow)}.starter-card-label{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--accent);margin-bottom:.375rem}.starter-card-text{font-size:.85rem;color:var(--text);line-height:1.4}.home-input-wrapper{width:100%;max-width:var(--max-width)}.results{flex:1;display:flex;flex-direction:column;min-height:0}.conversation-turn{margin-bottom:2rem}.conversation-turn:last-of-type{margin-bottom:0}.user-query{font-size:1.35rem;font-weight:600;line-height:1.3;color:var(--heading);margin-bottom:.75rem}.status-indicator{display:flex;align-items:center;gap:.5rem;padding:.5rem 0;margin-bottom:.75rem;font-size:.8rem;color:var(--text-secondary)}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0}.status-active .status-dot{animation:pulse 1.2s ease-in-out infinite}.status-active .status-text{animation:fadeInText .3s ease}.status-done .status-dot{background:var(--text-muted)}.status-done .status-text{color:var(--text-muted)}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.8)}}@keyframes fadeInText{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}.typing-indicator{display:flex;align-items:center;gap:3px;flex-shrink:0}.typing-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);animation:typingBounce 1.4s ease-in-out infinite}.typing-dot:nth-child(1){animation-delay:0s}.typing-dot:nth-child(2){animation-delay:.2s}.typing-dot:nth-child(3){animation-delay:.4s}@keyframes typingBounce{0%,60%,to{transform:translateY(0);opacity:.4}30%{transform:translateY(-4px);opacity:1}}.skeleton-loader{display:flex;flex-direction:column;gap:.75rem;padding:.5rem 0;margin-bottom:1rem}.skeleton-line{height:14px;border-radius:4px;background:linear-gradient(90deg,var(--surface) 25%,var(--surface-hover) 50%,var(--surface) 75%);background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite}.skeleton-line-long{width:100%}.skeleton-line-medium{width:80%}.skeleton-line-short{width:55%}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.results-tabs{display:flex;gap:0;border-bottom:1px solid var(--border);margin-bottom:1rem}.tab{background:none;border:none;color:var(--text-muted);font-size:.82rem;font-family:var(--font-sans);font-weight:500;padding:.625rem 1rem;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;transition:color .15s,border-color .15s;display:inline-flex;align-items:center;gap:.35rem}.tab:hover{color:var(--text)}.tab.active{color:var(--accent);border-bottom-color:var(--accent)}.tab-count{font-size:.72rem;opacity:.8}.tab-count:before{content:"· "}.results-body{flex:1;overflow-y:auto;padding:2.5rem 2rem 1.75rem;max-width:var(--max-width);width:100%;margin:0 auto}.answer-content{font-size:.92rem;line-height:1.75;color:var(--text)}.answer-content p{margin-bottom:.75em}.answer-content p:last-child{margin-bottom:0}.answer-content a{color:var(--accent);text-decoration:none}.answer-content a:hover{text-decoration:underline}.answer-content strong{color:var(--heading);font-weight:600}.answer-content code{background:#22d3ee14;color:var(--accent);padding:.15em .4em;border-radius:var(--radius-sm);font-size:.84em}.answer-content pre{background:var(--code-bg);padding:1rem 1.25rem;border-radius:var(--radius-md);overflow-x:auto;margin:.875em 0;border:1px solid var(--border)}.answer-content pre code{background:none;color:var(--text);padding:0;font-size:.82rem}.answer-content ul,.answer-content ol{margin:.5em 0;padding-left:1.5em}.answer-content li{margin-bottom:.35em}.answer-content h1,.answer-content h2,.answer-content h3{color:var(--heading);margin:1.25em 0 .5em;font-weight:600}.answer-content h1{font-size:1.3rem}.answer-content h2{font-size:1.1rem}.answer-content h3{font-size:1rem}.answer-content figure{margin:1em 0;display:flex;flex-direction:column;gap:.4rem}.answer-content img{display:block;max-width:100%;height:auto;margin:.75em 0;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface)}.answer-content a img{cursor:zoom-in;transition:border-color .15s,transform .15s}.answer-content a:hover img{border-color:var(--border-strong)}.answer-content figcaption{font-size:.78rem;color:var(--text-muted);font-style:italic}.inline-sources{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:.4rem}.source-chip{font-size:.72rem;background:var(--accent-soft);color:var(--accent);padding:.3em .65em;border-radius:4px;text-decoration:none;font-weight:500;border:1px solid rgba(34,211,238,.2);transition:background .15s,border-color .15s}.source-chip:hover{background:#22d3ee38;border-color:#22d3ee66}.sources-panel{font-size:.875rem}.sources-list{list-style:none;display:flex;flex-direction:column;gap:.5rem}.sources-list li{padding:.75rem 1rem;background:var(--surface);border-radius:var(--radius-md);border:1px solid var(--border);transition:border-color .15s}.sources-list li:hover{border-color:var(--border-strong)}.sources-list a{color:var(--accent);text-decoration:none;font-size:.82rem;word-break:break-all}.sources-list a:hover{text-decoration:underline}.steps-panel{font-size:.85rem}.steps-list{list-style:none;counter-reset:step;display:flex;flex-direction:column;gap:.5rem}.step-item{counter-increment:step;padding:.75rem 1rem;background:var(--surface);border-radius:var(--radius-md);border:1px solid var(--border);display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem}.step-item:before{content:counter(step);font-size:.65rem;font-weight:700;background:var(--accent-soft);color:var(--accent);width:1.3rem;height:1.3rem;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.step-action{font-weight:600;color:var(--heading);font-size:.8rem}.step-item code{background:#22d3ee14;padding:.12em .35em;border-radius:3px;font-size:.78em;color:var(--text-secondary)}.step-detail{color:var(--text-muted);font-size:.78rem}.step-item--delegate{border-color:#a78bfa;background:#a78bfa0a}.step-item--delegate:before{background:#a78bfa26;color:#7c3aed}.step-action--delegate{color:#7c3aed}.step-pages{width:100%;list-style:none;margin:.4rem 0 0 1.8rem;display:flex;flex-direction:column;gap:.2rem}.step-pages li{font-size:.72rem}.step-pages a{color:var(--accent);text-decoration:none}.step-pages a:hover{text-decoration:underline}.empty-panel{color:var(--text-muted);font-size:.85rem}.results-input-wrapper{padding:1rem 2rem 1.5rem;max-width:var(--max-width);width:100%;margin:0 auto}.chat-input{display:flex;align-items:center;gap:.625rem;padding:.875rem 1rem;border-radius:var(--radius-xl);border:1px solid var(--border-strong);background:var(--bg-elevated);transition:border-color .2s,box-shadow .2s}.chat-input:focus-within{border-color:var(--border-glow);box-shadow:0 0 24px #22d3ee0f}.chat-input textarea{flex:1;resize:none;border:none;background:transparent;color:var(--text);font-size:.9rem;font-family:var(--font-sans);line-height:1.5;outline:none}.chat-input textarea::placeholder{color:var(--text-muted)}.send-btn{width:2.25rem;height:2.25rem;border-radius:50%;border:none;background:var(--accent);color:var(--on-accent);display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:opacity .15s,box-shadow .2s;box-shadow:0 0 12px #22d3ee4d}.send-btn:hover:not(:disabled){opacity:.9;box-shadow:0 0 20px #22d3ee80}.send-btn:disabled{opacity:.25;cursor:not-allowed;box-shadow:none}.input-hint{text-align:center;margin-top:.625rem;font-size:.72rem;color:var(--text-muted)}.input-hint kbd{background:var(--surface);border:1px solid var(--border);border-radius:3px;padding:.1em .35em;font-size:.9em;font-family:inherit}.settings-toggle{position:fixed;top:1rem;right:1rem;z-index:100;width:2.25rem;height:2.25rem;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface);color:var(--text-muted);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:color .15s,border-color .15s,background .15s}.settings-toggle:hover{color:var(--accent);border-color:var(--border-strong);background:var(--surface-hover)}.settings-drawer{position:fixed;top:0;right:0;z-index:200;width:360px;max-width:90vw;height:100%;background:var(--bg-elevated);border-left:1px solid var(--border-strong);box-shadow:-8px 0 32px #0006;overflow-y:auto;padding:1.25rem 1.5rem 2rem;animation:slideIn .2s ease}@keyframes slideIn{0%{transform:translate(100%)}to{transform:translate(0)}}.settings-drawer-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.settings-drawer-header h3{font-size:1.1rem;font-weight:600;color:var(--heading)}.settings-drawer-close{width:1.75rem;height:1.75rem;border-radius:var(--radius-sm);border:none;background:transparent;color:var(--text-muted);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:color .15s,background .15s}.settings-drawer-close:hover{color:var(--text);background:var(--surface-hover)}.settings-view h2{display:none}.settings-section{margin-bottom:1.5rem;padding:1rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md)}.settings-section h3{font-size:.85rem;font-weight:600;color:var(--heading);margin-bottom:.75rem}.settings-section-header{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.settings-section-header h3{margin-bottom:0}.settings-refresh-indicator{font-size:.7rem;color:var(--text-muted);font-weight:500;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;display:inline-flex;align-items:center;gap:.375rem}.settings-refresh-indicator:before{content:"";width:.4rem;height:.4rem;border-radius:50%;background:currentColor;opacity:.65;animation:settings-refresh-pulse 1.1s ease-in-out infinite}@keyframes settings-refresh-pulse{0%,to{opacity:.25;transform:scale(.85)}50%{opacity:.85;transform:scale(1.15)}}.settings-muted{font-size:.8rem;color:var(--text-muted);line-height:1.5;margin-bottom:.75rem}.settings-field{margin-bottom:.75rem}.settings-field-label{display:block;font-size:.75rem;font-weight:600;color:var(--text-secondary);margin-bottom:.3rem}.settings-input{width:100%;padding:.5rem .625rem;border:1px solid var(--border);border-radius:.375rem;font-family:monospace;font-size:.8rem;background:var(--bg-secondary);color:var(--text-muted);box-sizing:border-box}.settings-input:disabled{opacity:.7;cursor:not-allowed}.settings-field-hint{font-size:.72rem;color:var(--text-muted);margin:.25rem 0 0;font-style:italic}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.settings-grid[aria-busy=true] .stat-value,.analytics-chart[aria-busy=true] .analytics-bar-fill,.analytics-table[aria-busy=true] tbody{opacity:.55;transition:opacity .18s ease}.settings-stat{display:flex;flex-direction:column;gap:.2rem}.stat-label{font-size:.68rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;display:inline-flex;align-items:center;gap:.3rem}.stat-value{font-size:.85rem;font-weight:500;color:var(--text)}.link-btn{background:none;border:none;padding:0;margin:0 0 0 .25rem;font:inherit;color:var(--accent, #2563eb);text-decoration:underline;cursor:pointer}.link-btn:hover{opacity:.8}.link-btn:disabled{cursor:default;opacity:.5}.stat-warn{color:#f59e0b}.sync-history-table-wrap{overflow-x:auto;margin-top:.5rem}.sync-history-table{width:100%;border-collapse:collapse;font-size:.78rem}.sync-history-table th,.sync-history-table td{padding:.4rem .6rem;text-align:left;border-bottom:1px solid var(--border, #e5e7eb);white-space:nowrap}.sync-history-table th{font-weight:600;color:var(--text-muted);text-transform:uppercase;font-size:.65rem;letter-spacing:.04em}.sync-status-badge{display:inline-block;padding:.1rem .4rem;border-radius:4px;font-size:.7rem;font-weight:500}.sync-status-completed{background:#d1fae5;color:#065f46}.sync-status-failed{background:#fee2e2;color:#991b1b}.sync-status-running{background:#dbeafe;color:#1e40af}.settings-switch{display:flex;align-items:center;gap:.65rem;cursor:pointer;-webkit-user-select:none;user-select:none;margin-bottom:.5rem}.settings-switch input{position:absolute;opacity:0;width:0;height:0}.settings-switch-track{position:relative;width:2.25rem;height:1.25rem;border-radius:999px;background:#94a3b840;border:1px solid var(--border);transition:background .15s,border-color .15s;flex-shrink:0}.settings-switch-thumb{position:absolute;top:2px;left:2px;width:.95rem;height:.95rem;border-radius:50%;background:var(--text-secondary);transition:transform .15s,background .15s}.settings-switch input:checked+.settings-switch-track{background:var(--accent-soft);border-color:var(--border-strong)}.settings-switch input:checked+.settings-switch-track .settings-switch-thumb{transform:translate(1rem);background:var(--accent)}.settings-switch input:disabled+.settings-switch-track{opacity:.5;cursor:not-allowed}.settings-switch-label{font-size:.85rem;color:var(--text)}.settings-btn{padding:.5rem 1rem;border-radius:var(--radius-md);border:none;background:var(--accent);color:var(--on-accent);font-size:.8rem;font-weight:600;cursor:pointer;transition:opacity .15s}.settings-btn:hover:not(:disabled){opacity:.85}.settings-btn:disabled{opacity:.4;cursor:not-allowed}.progress-container{margin-top:.75rem}.progress-label{font-size:.75rem;color:var(--text-muted);margin-bottom:.375rem}.progress-bar-track{width:100%;height:5px;background:var(--surface-hover);border-radius:3px;overflow:hidden}.progress-bar-fill{height:100%;background:var(--accent);border-radius:3px;transition:width .3s ease}.progress-pct{font-size:.68rem;color:var(--text-muted);margin-top:.25rem;text-align:right}.ingest-result{margin-top:.625rem;font-size:.78rem;color:var(--text-secondary)}.settings-banner-error{border:1px solid var(--border);border-radius:8px;padding:.625rem .75rem;background:color-mix(in srgb,var(--surface),red 4%)}.settings-banner-error>p{margin:0}.settings-banner-error>p+p{margin-top:.375rem}.settings-banner-hint{font-size:.72rem;line-height:1.45}.app-with-sidebar{display:flex;flex-direction:row;height:100vh;overflow:hidden}.app-main{flex:1;position:relative;min-width:0;min-height:0;display:flex;flex-direction:column}.conv-sidebar{width:240px;max-width:30vw;flex-shrink:0;border-right:1px solid var(--border);background:var(--bg-elevated, var(--surface));display:flex;flex-direction:column;height:100vh;overflow:hidden;position:relative}.conv-sidebar.collapsed{width:0;border-right:none}.conv-sidebar.collapsed>*{display:none}.sidebar-resize-handle{position:absolute;top:0;right:0;width:4px;height:100%;cursor:col-resize;background:transparent;z-index:10}.sidebar-resize-handle:hover{background:var(--accent, #4f8cff);opacity:.4}.sidebar-open-btn{position:fixed;top:1rem;left:1rem;z-index:100;width:2.25rem;height:2.25rem;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface);color:var(--text-muted);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:color .15s,border-color .15s,background .15s}.sidebar-open-btn:hover{color:var(--accent);border-color:var(--border-strong);background:var(--surface-hover)}.conv-sidebar-header{padding:.75rem;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:.5rem}.conv-new-btn{flex:1;padding:.5rem .75rem;border:1px solid var(--border);border-radius:.5rem;background:transparent;cursor:pointer;font-size:.85rem;color:var(--text);text-align:left}.conv-new-btn:hover{background:var(--surface-hover);border-color:var(--border-strong)}.icon-btn{width:2rem;height:2rem;border-radius:var(--radius-md);border:1px solid transparent;background:transparent;color:var(--text-muted);display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:color .15s,background .15s,border-color .15s}.icon-btn:hover{color:var(--text);background:var(--surface-hover);border-color:var(--border)}.conv-sidebar-footer{padding:.5rem .75rem .75rem;border-top:1px solid var(--border);display:flex;align-items:stretch;gap:.5rem}.conv-sidebar-footer>*{flex:1}.conv-sidebar-footer .icon-btn{width:auto;padding:.45rem .75rem;font-size:.82rem;gap:.5rem;border:1px solid var(--border);color:var(--text)}.conv-list{flex:1;overflow-y:auto;padding:.5rem;display:flex;flex-direction:column;gap:.25rem}.conv-empty{font-size:.8rem;color:var(--text-secondary);padding:.5rem}.conv-item{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem .625rem;border:none;background:transparent;border-radius:.375rem;cursor:pointer;text-align:left;font-size:.85rem;color:var(--text-primary, inherit)}.conv-item:hover{background:var(--surface-hover)}.conv-item.active{background:var(--surface-hover);color:var(--text);font-weight:500}.conv-item-title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conv-item-delete{opacity:0;display:flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border-radius:var(--radius-sm);color:var(--text-muted);transition:opacity .15s,color .15s,background .15s}.conv-item:hover .conv-item-delete{opacity:.7}.conv-item-delete:hover{opacity:1!important;color:var(--text);background:var(--surface-hover)}.conv-load-more{width:100%;padding:.75rem;margin:.5rem 0;border:none;background:var(--surface-hover);color:var(--text-secondary);border-radius:var(--radius-md);cursor:pointer;font-size:.875rem;transition:color .15s,background .15s}.conv-load-more:hover:not(:disabled){color:var(--text);background:var(--surface)}.conv-load-more:disabled{opacity:.6;cursor:not-allowed}.feedback-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem;margin-top:.75rem}.feedback-controls .copy-btn{margin-left:auto}.feedback-btn{width:1.875rem;height:1.875rem;border:1px solid transparent;background:transparent;border-radius:var(--radius-md);cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-muted);transition:color .15s,background .15s,border-color .15s}.feedback-btn:hover{color:var(--text);background:var(--surface-hover);border-color:var(--border)}.feedback-btn.active{color:var(--accent);border-color:var(--border-strong);background:var(--surface-hover)}.feedback-comment-toggle{background:none;border:none;color:var(--text-secondary);font-size:.75rem;cursor:pointer;padding:0;text-decoration:underline}.feedback-comment-row{flex-basis:100%;display:flex;gap:.5rem;align-items:stretch;margin-top:.25rem}.feedback-comment-input{flex:1;padding:.5rem .625rem;border:1px solid var(--border);border-radius:.375rem;font-family:inherit;font-size:.85rem;line-height:1.4;resize:none;background:var(--surface, transparent);color:inherit}.feedback-comment-input:focus{outline:none;border-color:var(--accent, var(--border-strong))}.feedback-comment-save{align-self:stretch;min-width:4.5rem;padding:.5rem 1rem;border:1px solid var(--border);background:var(--surface-hover, transparent);color:var(--text);border-radius:.375rem;cursor:pointer;font-size:.85rem;font-weight:500;transition:background .15s,border-color .15s}.feedback-comment-save:hover:not(:disabled){background:var(--accent, var(--border-strong));color:var(--surface, #fff);border-color:var(--accent, var(--border-strong))}.feedback-comment-save:disabled{opacity:.5;cursor:not-allowed}.theme-picker{display:flex;gap:.5rem}.theme-btn{padding:.4rem .75rem;border:1px solid var(--border);border-radius:.375rem;background:transparent;cursor:pointer;font-size:.8rem;color:var(--text-primary, inherit)}.theme-btn.active{background:var(--surface-hover);border-color:var(--border-strong);color:var(--accent);font-weight:500}html[data-theme=dark]{color-scheme:dark}html[data-theme=light]{color-scheme:light}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;background:#0000008c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;animation:fadeIn .12s ease}.modal-card{width:360px;max-width:calc(100vw - 2rem);background:var(--bg-elevated);border:1px solid var(--border-strong);border-radius:var(--radius-lg);padding:1.25rem 1.25rem 1rem;box-shadow:var(--shadow-modal);animation:modalIn .14s ease}.modal-title{font-size:1rem;font-weight:600;color:var(--heading);margin-bottom:.5rem}.modal-body{font-size:.85rem;color:var(--text-secondary);line-height:1.5;margin-bottom:1.25rem}.modal-actions{display:flex;justify-content:flex-end;gap:.5rem}.modal-btn{padding:.45rem .9rem;border-radius:var(--radius-md);border:1px solid var(--border);background:transparent;color:var(--text);cursor:pointer;font-size:.85rem;transition:background .15s,border-color .15s}.modal-btn:hover{background:var(--surface-hover);border-color:var(--border-strong)}.modal-btn.danger{background:#dc32321f;border-color:#dc323280;color:#ff8a8a}.modal-btn.danger:hover{background:#dc323233;border-color:#dc3232cc}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalIn{0%{opacity:0;transform:translateY(4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.settings-page{flex:1;overflow-y:auto;display:flex;justify-content:center}.settings-page-inner{width:100%;max-width:var(--max-width);padding:2.5rem 2rem 3rem}.settings-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.25rem}.settings-header h2{font-size:1.35rem;font-weight:600;color:var(--heading)}.settings-tabs{display:flex;gap:.25rem;border-bottom:1px solid var(--border);margin-bottom:1.5rem}.settings-tab{background:transparent;border:none;padding:.6rem .875rem;font-size:.85rem;color:var(--text-muted);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;transition:color .15s,border-color .15s}.settings-tab:hover{color:var(--text)}.settings-tab.active{color:var(--accent);border-bottom-color:var(--accent)}.settings-admin-note{margin-bottom:1.25rem;padding:.625rem .875rem;background:var(--accent-soft);border:1px solid var(--border);border-radius:var(--radius-md);font-size:.78rem}.icon-btn.active{color:var(--accent);background:var(--surface-hover);border-color:var(--border-strong)}.auth-loading{display:flex;align-items:center;justify-content:center;height:100vh;color:var(--text-muted);font-size:.9rem}.auth-screen{display:flex;align-items:center;justify-content:center;height:100vh;padding:2rem}.auth-card{width:360px;max-width:100%;background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius-lg);padding:2rem;text-align:center;box-shadow:var(--shadow-modal)}.auth-card h1{font-size:1.4rem;font-weight:600;color:var(--heading);margin-bottom:.5rem}.auth-card p{color:var(--text-secondary);font-size:.9rem;margin-bottom:1.5rem;line-height:1.5}.auth-btn{width:100%;padding:.65rem 1rem;border-radius:var(--radius-md);border:none;background:var(--accent);color:var(--on-accent);font-size:.9rem;font-weight:600;cursor:pointer;transition:opacity .15s,box-shadow .2s}.auth-btn:hover{opacity:.92;box-shadow:0 0 20px var(--accent-glow)}.auth-config-grid{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.auth-config-field{display:flex;flex-direction:column;gap:.3rem;font-size:.78rem;color:var(--text-secondary)}.auth-config-field input{padding:.5rem .65rem;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--text);font-family:var(--font-sans);font-size:.82rem;outline:none;transition:border-color .15s}.auth-config-field input:focus{border-color:var(--border-strong)}.auth-config-actions{display:flex;gap:.5rem;align-items:center}.settings-btn-secondary{background:transparent!important;color:var(--text)!important;border:1px solid var(--border)!important}.settings-btn-danger{background:#dc2626!important;color:#fff!important;border:none!important}.settings-btn-danger:hover:not(:disabled){background:#b91c1c!important}.settings-btn-danger:disabled{opacity:.5}.retry-btn{margin-top:.5rem;font-size:.85rem;padding:.35rem .75rem}.profile-btn{display:flex;align-items:center;gap:.625rem;width:100%;padding:.5rem .625rem;border:1px solid transparent;border-radius:var(--radius-md);background:transparent;color:var(--text);cursor:pointer;text-align:left;min-width:0;transition:background .15s,border-color .15s}.profile-btn:hover{background:var(--surface-hover);border-color:var(--border)}.profile-btn.active{background:var(--surface-hover);border-color:var(--border-strong)}.profile-avatar{width:2rem;height:2rem;border-radius:50%;background:var(--accent);color:var(--on-accent);display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;letter-spacing:.02em;flex-shrink:0;overflow:hidden}.profile-avatar-img{width:100%;height:100%;object-fit:cover}.profile-text{display:flex;flex-direction:column;min-width:0;line-height:1.25}.profile-name{font-size:.85rem;font-weight:500;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-subtitle{font-size:.7rem;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-grid{display:grid;grid-template-columns:1fr;gap:0;border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}.profile-row{display:grid;grid-template-columns:160px 1fr;gap:1rem;padding:.65rem .875rem;border-bottom:1px solid var(--border);font-size:.85rem}.profile-row:last-child{border-bottom:none}.profile-row dt{color:var(--text-muted);font-weight:500}.profile-row dd{color:var(--text);word-break:break-word}.profile-empty{color:var(--text-muted)}.profile-loading{margin-top:.5rem}@media (max-width: 600px){.profile-row{grid-template-columns:1fr;gap:.25rem}}.analytics-controls{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.analytics-range-label{margin-left:auto;display:inline-flex;align-items:center;gap:.5rem;font-size:.8rem;color:var(--text-muted)}.analytics-range-select{padding:.3rem .5rem;background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-md);font-size:.8rem}.analytics-chart{display:flex;align-items:flex-end;gap:2px;height:110px;padding:.5rem 0;border-bottom:1px solid var(--border)}.analytics-bar{flex:1 1 0;display:flex;align-items:flex-end;height:100%;min-width:2px;position:relative;cursor:default}.analytics-bar-fill{width:100%;background:var(--accent, #3b82f6);border-radius:2px 2px 0 0;transition:height .12s ease-out,opacity .12s ease-out}.analytics-bar:hover .analytics-bar-fill{opacity:1!important;filter:brightness(1.15)}.analytics-bar-tooltip{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%);background:var(--surface, #1f2937);color:var(--text, #f9fafb);border:1px solid var(--border);border-radius:var(--radius-md, 6px);padding:.3rem .5rem;font-size:.72rem;line-height:1.2;white-space:nowrap;display:flex;flex-direction:column;align-items:center;gap:.1rem;opacity:0;pointer-events:none;transition:opacity .1s ease-out;z-index:5;box-shadow:0 2px 8px #0000002e}.analytics-bar-tooltip strong{font-weight:600;font-size:.8rem}.analytics-bar-tooltip em{font-style:normal;color:var(--text-muted);font-size:.65rem}.analytics-bar:hover .analytics-bar-tooltip{opacity:1}.analytics-empty-note{margin-top:.5rem}.analytics-axis{display:flex;justify-content:space-between;font-size:.7rem;color:var(--text-muted);margin-top:.4rem}.cumulative-sat-container{margin-top:1.5rem}.cumulative-sat-title{font-size:.85rem;font-weight:600;color:var(--text);margin:0 0 .5rem;display:flex;align-items:center;gap:.5rem}.cumulative-sat-value{font-size:1rem;font-weight:700;color:var(--accent)}.cumulative-sat-svg{width:100%;max-width:620px;height:auto;min-height:120px}.cumulative-sat-axis-label{font-size:8px;fill:var(--text-muted);font-weight:500}.analytics-table{width:100%;border-collapse:collapse;font-size:.82rem}.analytics-table th,.analytics-table td{text-align:left;padding:.5rem .4rem;border-bottom:1px solid var(--border)}.analytics-table th{font-size:.7rem;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);font-weight:600}.analytics-table td{color:var(--text)}.analytics-table tr:last-child td{border-bottom:none}.world-map-wrap{position:relative;background:#0b1220;border-radius:var(--radius-md);padding:.5rem;border:1px solid var(--border)}.world-map-dot{transition:r .2s ease,fill .2s ease;cursor:pointer}.world-map-dot:hover{fill:#60a5facc}.world-map-tooltip{position:absolute;top:.5rem;left:.5rem;background:#0f172aeb;color:#e5e7eb;font-size:.78rem;padding:.35rem .55rem;border-radius:var(--radius-md);display:flex;flex-direction:column;gap:.15rem;pointer-events:none;border:1px solid #1f2937}.world-map-nongeo{margin-top:.6rem}.world-map-details{margin-top:.75rem;font-size:.8rem}.world-map-details summary{cursor:pointer;color:var(--text-muted);margin-bottom:.4rem}.world-map-section.is-disabled{position:relative}.world-map-section.is-disabled .settings-muted{color:var(--text-muted)}.world-map-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.4rem}.world-map-header h3{margin:0}.feature-pill{font-size:.65rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:.15rem .5rem;border-radius:999px;border:1px solid transparent}.feature-pill.is-on{background:#3b82f626;color:#3b82f6;border-color:#3b82f666}.feature-pill.is-off{background:#94a3b826;color:#94a3b8;border-color:#94a3b859}.world-map-frame{position:relative}.world-map-section.is-disabled .world-map-frame{filter:grayscale(1) opacity(.45);pointer-events:none;-webkit-user-select:none;user-select:none}.world-map-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;background:repeating-linear-gradient(135deg,#0f172a8c,#0f172a8c 8px,#0f172ab3 8px,#0f172ab3 16px);border-radius:var(--radius-md);pointer-events:auto;filter:none}.world-map-overlay-badge{font-size:.95rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#f1f5f9;padding:.35rem .9rem;border:1px solid rgba(241,245,249,.55);border-radius:999px;background:#0f172a99}.world-map-overlay-sub{font-size:.78rem;color:#cbd5e1}.chatbot-field{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1.1rem}.chatbot-field>label{font-size:.8rem;font-weight:600;color:var(--text)}.chatbot-input{width:100%;padding:.5rem .7rem;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:.85rem;font-family:inherit;box-sizing:border-box}.chatbot-input:focus{outline:none;border-color:var(--accent)}.chatbot-textarea{resize:vertical;min-height:2.5rem;line-height:1.4}.chatbot-avatar-row{display:flex;align-items:center;gap:1rem}.chatbot-avatar-preview{width:64px;height:64px;border-radius:50%;border:1px solid var(--border);background:var(--surface);display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;font-weight:600;font-size:1.4rem;color:var(--text-muted)}.chatbot-avatar-preview img{width:100%;height:100%;object-fit:cover}.chatbot-avatar-actions{display:flex;align-items:center;gap:.6rem}.chatbot-questions{list-style:none;padding:0;margin:.5rem 0;display:flex;flex-direction:column;gap:.4rem}.chatbot-question-row{display:flex;gap:.4rem;align-items:center}.chatbot-question-remove{flex-shrink:0}.chatbot-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.chatbot-saved-indicator{font-size:.85rem;color:var(--success, #2e7d32);font-weight:500;display:inline-flex;align-items:center;gap:.25rem}.chatbot-avatar-chat{width:28px;height:28px;border-radius:50%;object-fit:cover;border:1px solid var(--border)}.chatbot-byline{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem;font-size:.85rem;color:var(--text-muted)}.home-avatar{width:56px;height:56px;border-radius:50%;object-fit:cover;border:1px solid var(--border);margin-bottom:.75rem}.analytics-section-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.5rem}.analytics-section-header h3{margin:0}.analytics-metric-label{display:flex;align-items:center}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.follow-up-bubbles{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid var(--border)}.follow-up-bubble{display:inline-flex;align-items:center;padding:8px 14px;background:var(--accent-soft);border:1px solid var(--border-strong);border-radius:20px;color:var(--accent);font-size:.85rem;font-family:var(--font-sans);cursor:pointer;transition:background .15s,border-color .15s,transform .1s;line-height:1.3}.follow-up-bubble:hover{background:var(--accent-glow);border-color:var(--border-glow);transform:translateY(-1px)}.follow-up-bubble:active{transform:translateY(0)}.analytics-section-tabs{display:flex;gap:.25rem;margin-bottom:.5rem}.analytics-section-tab{background:var(--bg-secondary);border:1px solid var(--border);border-radius:6px;padding:.35rem .75rem;font-size:.8rem;cursor:pointer;color:var(--text-secondary);transition:all .15s}.analytics-section-tab.active{background:var(--accent-glow);border-color:var(--accent);color:var(--accent);font-weight:600}.analytics-section-tab:hover:not(.active){background:var(--bg-hover)}.stat-sub{display:block;font-size:.7rem;color:var(--text-secondary);margin-top:.15rem}.stat-value--large{font-size:1.5rem}.analytics-hour-chart{display:flex;flex-direction:column;gap:2px;max-height:300px;overflow-y:auto}.analytics-hour-row{display:flex;align-items:center;gap:.5rem;font-size:.75rem}.analytics-hour-label{width:3rem;text-align:right;color:var(--text-secondary);font-family:monospace}.analytics-hour-bar-bg{flex:1;height:14px;background:var(--bg-secondary);border-radius:3px;overflow:hidden}.analytics-hour-bar-fill{height:100%;background:var(--accent);border-radius:3px;transition:width .3s}.analytics-hour-count{width:3rem;text-align:right;color:var(--text-secondary);font-size:.7rem}.analytics-question-list{display:flex;flex-direction:column;gap:1px;max-height:400px;overflow-y:auto;border:1px solid var(--border);border-radius:8px}.analytics-question-list--warn{border-color:#f59e0b40}.analytics-question-item{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:.5rem .75rem;background:var(--bg-secondary);font-size:.8rem}.analytics-question-item:first-child{border-radius:7px 7px 0 0}.analytics-question-item:last-child{border-radius:0 0 7px 7px}.analytics-question-text{flex:1;color:var(--text-primary);line-height:1.4}.analytics-question-time{flex-shrink:0;color:var(--text-secondary);font-size:.7rem}.analytics-question-list--warn .analytics-question-item{border-left:3px solid #f59e0b}visible .analytics-ranked-list{display:flex;flex-direction:column;gap:1px;border:1px solid var(--border);border-radius:8px;overflow:hidden}.analytics-ranked-item{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;background:var(--bg-secondary);font-size:.8rem}.analytics-ranked-rank{width:1.5rem;text-align:center;font-weight:700;color:var(--accent);font-size:.75rem}.analytics-ranked-text{flex:1;color:var(--text-primary);line-height:1.3}.analytics-ranked-url{font-family:monospace;font-size:.72rem;word-break:break-all}.analytics-ranked-link{color:var(--accent);text-decoration:none;text-transform:capitalize}.analytics-ranked-link:hover{text-decoration:underline}.analytics-ranked-count{flex-shrink:0;font-weight:600;color:var(--text-secondary);font-size:.8rem}.analytics-feedback-diverging{display:flex;flex-direction:column;border-radius:6px;overflow:visible}.analytics-feedback-diverging-pos{display:flex;height:40px;gap:1px;overflow:visible}.analytics-feedback-diverging-axis{height:1px;background:var(--text-muted);opacity:.4}.analytics-feedback-diverging-neg{display:flex;height:40px;gap:1px;overflow:visible}.analytics-feedback-diverging-bar{flex:1;display:flex;height:100%;min-width:2px;position:relative}.analytics-feedback-diverging-pos .analytics-feedback-diverging-bar{align-items:flex-end}.analytics-feedback-diverging-neg .analytics-feedback-diverging-bar{align-items:flex-start}.analytics-feedback-diverging-bar .feedback-bar-tooltip{position:absolute;left:50%;transform:translate(-50%);background:var(--surface, #1f2937);color:var(--text, #f9fafb);border:1px solid var(--border);border-radius:var(--radius-md, 6px);padding:.25rem .45rem;font-size:.7rem;line-height:1.2;white-space:nowrap;display:flex;flex-direction:column;align-items:center;gap:.1rem;opacity:0;pointer-events:none;transition:opacity .1s ease-out;z-index:10;box-shadow:0 2px 8px #0000002e}.analytics-feedback-diverging-pos .feedback-bar-tooltip{bottom:calc(100% + 4px)}.analytics-feedback-diverging-neg .feedback-bar-tooltip{top:calc(100% + 4px)}.analytics-feedback-diverging-bar:hover .feedback-bar-tooltip{opacity:1}.analytics-feedback-bar-pos{width:100%;background:#22c55e;border-radius:2px 2px 0 0;min-height:0;transition:height .3s}.analytics-feedback-bar-neg{width:100%;background:#ef4444;border-radius:0 0 2px 2px;min-height:0;transition:height .3s}.analytics-comments-list{display:flex;flex-direction:column;gap:.5rem;max-height:400px;overflow-y:auto}.analytics-comment{border:1px solid var(--border);border-radius:8px;padding:.6rem .75rem;background:var(--bg-secondary)}.analytics-comment.negative{border-left:3px solid #ef4444}.analytics-comment.positive{border-left:3px solid #22c55e}.analytics-comment-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.3rem}.analytics-comment-rating{font-size:.9rem}.analytics-comment-time{font-size:.7rem;color:var(--text-secondary)}.analytics-comment-text{font-size:.82rem;line-height:1.4;margin:0;color:var(--text-primary)}.analytics-comment-context{font-size:.72rem;color:var(--text-secondary);margin:.3rem 0 0;font-style:italic}.analytics-downvoted-list{display:flex;flex-direction:column;gap:.4rem}.analytics-downvoted-item{display:flex;align-items:flex-start;gap:.75rem;padding:.5rem .75rem;background:var(--bg-secondary);border:1px solid var(--border);border-left:3px solid #ef4444;border-radius:6px;font-size:.8rem}.analytics-downvoted-count{flex-shrink:0;font-weight:700;font-size:.85rem;display:inline-flex;align-items:center;gap:.25rem}.analytics-downvoted-text{flex:1;color:var(--text-secondary);line-height:1.3}.report-generate-controls{display:flex;align-items:flex-end;gap:1rem;flex-wrap:wrap;margin-top:.75rem}.report-date-label{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;color:var(--text-secondary);font-weight:500}.report-date-input{padding:.4rem .6rem;border:1px solid var(--border);border-radius:6px;background:var(--bg-input, var(--bg-secondary));color:var(--text-primary);font-size:.85rem}.report-generate-btn{padding:.5rem 1.2rem;background:var(--accent, #1a56db);color:#fff;border:none;border-radius:6px;font-weight:500;cursor:pointer;font-size:.85rem;transition:opacity .15s}.report-generate-btn:disabled{opacity:.5;cursor:not-allowed}.report-generate-btn:hover:not(:disabled){opacity:.9}.report-list{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.report-item{border:1px solid var(--border);border-radius:8px;padding:.75rem 1rem;background:var(--bg-secondary)}.report-item.report-status-generating{border-color:var(--accent, #1a56db);border-style:dashed}.report-item.report-status-failed{border-color:#dc2626}.report-item-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.report-item-title{font-weight:600;font-size:.9rem;color:var(--text-primary)}.report-item-badge{font-size:.7rem;font-weight:600;padding:.15rem .5rem;border-radius:10px;text-transform:uppercase;letter-spacing:.02em}.report-item-badge.completed{background:#dcfce7;color:#166534}.report-item-badge.generating{background:#dbeafe;color:#1e40af;animation:pulse-badge 1.5s ease-in-out infinite}.report-item-badge.failed{background:#fee2e2;color:#991b1b}@keyframes pulse-badge{0%,to{opacity:1}50%{opacity:.6}}.report-item-meta{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.4rem;font-size:.75rem;color:var(--text-secondary)}.report-item-error{margin-top:.4rem;font-size:.8rem;color:#dc2626}.report-item-actions{display:flex;gap:.75rem;margin-top:.5rem}.report-delete-btn{color:#dc2626!important}.funnel-h-container{margin-top:1rem;overflow-x:auto}.funnel-h-svg{width:100%;max-width:860px;height:auto;min-height:420px}.funnel-h-root{cursor:default;transition:opacity .2s}.funnel-h-root:hover{opacity:1!important}.funnel-h-root-label{fill:#fff;font-size:11px;font-weight:600;pointer-events:none}.funnel-h-path-title{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.funnel-h-path-title--msg{fill:#1d4ed8}.funnel-h-path-title--click{fill:#b45309}.funnel-h-path-title--sess{fill:#047857}.funnel-h-fork{transition:opacity .2s}.funnel-h-segment .funnel-h-path{transition:opacity .2s,filter .2s;cursor:default}.funnel-h-segment:hover .funnel-h-path{opacity:1!important;filter:brightness(1.15) drop-shadow(0 2px 6px rgba(0,0,0,.25))}.funnel-h-label{fill:#1e293b;font-size:9px;font-weight:600;pointer-events:none;opacity:0;transition:opacity .15s;filter:drop-shadow(0 0 2px rgba(255,255,255,.8))}.funnel-h-segment:hover .funnel-h-label{opacity:1}.hive-view{padding:0 0 2rem}.hive-view h2{margin-bottom:.25rem}.hive-subtitle{color:var(--muted);margin-bottom:1.5rem;font-size:.9rem}.hive-controls{margin-bottom:2rem}.hive-controls h3{margin-bottom:.75rem;font-size:.95rem}.hive-toggle{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem;cursor:pointer;font-size:.9rem}.hive-toggle input{width:1rem;height:1rem}.hive-agents-section h3{margin-bottom:.75rem;font-size:.95rem}.hive-empty{color:var(--muted);font-size:.9rem}.hive-agents-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.hive-agent-card{border:1px solid var(--border);border-radius:8px;padding:1rem;transition:box-shadow .15s;cursor:pointer}.hive-agent-card:hover{box-shadow:0 2px 8px #00000014}.hive-agent-card.blocked{opacity:.5}.hive-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1.5rem}.hive-modal{background:var(--bg, #fff);border-radius:12px;padding:1.5rem;max-width:520px;width:100%;max-height:80vh;overflow-y:auto;position:relative;box-shadow:0 20px 60px #0003}.hive-modal-close{position:absolute;top:.5rem;right:.75rem;background:none;border:none;font-size:1.5rem;color:var(--muted);cursor:pointer;line-height:1}.hive-modal-close:hover{color:var(--fg, #333)}.hive-agent-avatar--large{width:48px;height:48px}.hive-agent-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.hive-status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.hive-self-badge{font-size:.7rem;background:var(--accent);color:#fff;padding:.1rem .4rem;border-radius:4px;margin-left:auto}.hive-agent-desc{font-size:.85rem;color:var(--muted);margin-bottom:.5rem}.hive-agent-meta{margin-bottom:.5rem}.hive-agent-meta-row{display:flex;justify-content:space-between;align-items:center;padding:.2rem 0;font-size:.8rem}.hive-agent-meta-row a{color:var(--accent, #2563eb);text-decoration:none;font-size:.8rem}.hive-agent-meta-row a:hover{text-decoration:underline}.hive-tags{display:flex;flex-wrap:wrap;gap:.3rem;margin-bottom:.5rem}.hive-tag{font-size:.75rem;background:var(--bg-muted, #f0f0f0);padding:.15rem .5rem;border-radius:4px}.hive-capabilities{display:flex;flex-wrap:wrap;gap:.3rem;margin-bottom:.5rem}.hive-capability{font-size:.7rem;font-family:monospace;background:var(--bg-muted, #f0f0f0);padding:.15rem .4rem;border-radius:3px}.hive-block-btn{font-size:.8rem;padding:.25rem .75rem;border:1px solid var(--border);border-radius:4px;background:transparent;cursor:pointer;margin-top:.5rem}.hive-block-btn:hover{background:var(--bg-hover, #f5f5f5)}.hive-agent-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover}.hive-meta-label{font-size:.8rem;color:var(--muted);font-weight:500}.hive-capabilities-detail{margin-top:.5rem}.hive-capability-list{display:flex;flex-direction:column;gap:.4rem;margin-top:.4rem}.hive-capability-item{padding:.4rem .6rem;background:var(--bg-muted, #f8f8f8);border-radius:6px;display:flex;flex-direction:column;gap:.15rem}.hive-capability-name{font-weight:600;font-size:.8rem;color:var(--fg, #333)}.hive-capability-desc{font-size:.75rem;color:var(--muted);line-height:1.4}.hive-capabilities-summary{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);padding-top:.5rem;margin-top:.5rem;font-size:.8rem;color:var(--muted)}.hive-expand-hint{font-size:.75rem;color:var(--muted);opacity:.7}.hive-mcp-prompt-section{margin-bottom:2rem}.hive-mcp-prompt-section h3{margin-bottom:.5rem;font-size:.95rem}.hive-mcp-prompt-note{font-size:.8rem;color:var(--muted);margin-bottom:.5rem}.hive-mcp-prompt-input{width:100%;padding:.5rem;border:1px solid var(--border);border-radius:6px;font-size:.85rem;resize:vertical;font-family:inherit}.hive-save-btn{margin-top:.5rem;padding:.4rem 1rem;background:var(--accent, #2563eb);color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.85rem}.hive-save-btn:hover{opacity:.9}
