.ai-source-list{border:1px solid var(--source-border,#dce2e7);border-radius:8px;min-width:0;margin-top:12px;padding:10px 12px;font-size:12px}.ai-source-list .ai-source-heading{font-size:inherit;margin:0 0 8px;font-weight:600}.ai-source-list .ai-source-rows{list-style:none;margin:0;padding:0}.ai-source-list .ai-source-row{margin:0;padding:8px 0}.ai-source-row+.ai-source-row{border-top:1px solid var(--source-border,#dce2e7)}.ai-source-bar{display:flex;align-items: start;gap:12px}.ai-source-link{overflow-wrap:anywhere;flex:1;min-width:0}.ai-source-list .ai-source-toggle{border:1px solid var(--source-border,#dce2e7);color:inherit;font:inherit;cursor:pointer;background:0 0;border-radius:6px;flex-shrink:0;padding:4px 8px}.ai-source-link a:focus-visible{outline:2px solid;outline-offset:3px}.ai-source-toggle:focus-visible{outline:2px solid;outline-offset:3px}.ai-source-preview{overflow-y:auto;overflow-wrap:anywhere;white-space:pre-wrap;max-height:12rem;margin-top:8px}.ai-source-preview>p{margin:0}.chat-launch{position:fixed;z-index:35;background:var(--brand-1);color:var(--bg);border-radius:28px;padding:12px 20px;font-weight:650;bottom:24px;right:24px;box-shadow:0 4px 24px #0002}.chat-mask{position:fixed;z-index:110;display:flex;background:#0005;justify-content:flex-end;inset:0}.chat-panel{position:relative;width:var(--chat-width,70%);display:flex;background:var(--bg);flex-direction:column;min-width:0;height:100dvh;box-shadow:-8px 0 40px #0002}.chat-resizer{position:absolute;z-index:1;cursor:col-resize;touch-action:none;width:12px;inset:0 auto 0 -6px}.chat-resizer:after{content:"";position:absolute;background:var(--t3);border-radius:4px;width:4px;height:48px;top:calc(50% - 24px);left:4px}.chat-resizer:hover:after,.chat-resizer.resizing:after{background:var(--brand-1)}.chat-resizer:focus-visible:after{background:var(--brand-1)}.chat-panel:has(.chat-resizer.resizing){user-select:none}.chat-header{display:flex;border-bottom:1px solid var(--divider);justify-content:space-between;gap:16px;padding:22px 24px 14px}.chat-header h2{margin:0;font-size:20px}.chat-header p{color:var(--t2);margin:4px 0 0;font-size:13px}.chat-header button{background:var(--bg-mute);border-radius:8px;align-self: flex-start;width:32px;height:32px}.chat-tools{display:flex;border-bottom:1px solid var(--divider);color:var(--t2);justify-content:space-between;align-items: center;gap:12px;padding:10px 24px;font-size:12px}.chat-tools button{white-space:nowrap;color:var(--brand-1)}.chat-transcript{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:24px}.chat-transcript-wrap{position:relative;display:flex;flex-direction:column;flex:1;min-height:0}.chat-panel .chat-latest{position:absolute;background:var(--brand-1);color:var(--bg);white-space:nowrap;border-radius:20px;padding:8px 16px;font-size:13px;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 2px 12px #0003}.chat-welcome{padding:20px 0}.chat-welcome>span{color:var(--brand-1);font-size:36px}.chat-welcome h3{margin:8px 0;font-size:20px}.chat-welcome p{color:var(--t2)}.chat-welcome button{text-align:left;border:1px solid var(--divider);border-radius:10px;width:100%;margin-top:10px;padding:12px 14px}.chat-welcome button:hover{background:var(--bg-soft)}.chat-message{overflow-wrap:anywhere;margin:0 0 24px}.chat-message.user{background:var(--bg-soft);border-radius:12px;padding:12px 16px}.chat-message.user p{white-space:pre-wrap;margin:6px 0 0}.chat-speaker{color:var(--t2);font-size:12px}.chat-markdown{font-size:14px;line-height:1.8}.chat-markdown p{margin:8px 0}.chat-markdown h2,.chat-markdown h3{margin:16px 0 8px;font-size:16px}.chat-markdown ul,.chat-markdown ol{padding-left:22px}.chat-markdown pre{overflow:auto;background:var(--bg-soft);border-radius:8px;padding:12px}.chat-markdown table{display:block;overflow-x:auto;border-collapse:collapse}.chat-markdown th,.chat-markdown td{border:1px solid var(--divider);padding:6px 10px}.chat-citation{background:var(--brand-soft);white-space:nowrap;border-radius:4px;padding:1px 4px;font-size:12px}.chat-message .ai-source-list{--source-border:var(--divider)}.chat-message .ai-source-preview{color:var(--t2)}.chat-progress{color:var(--brand-1);font-size:13px}.chat-composer{border-top:1px solid var(--divider);padding:12px 24px}.chat-composer>p{color:var(--red-1);margin:0 0 8px;font-size:12px}.chat-label{display:block;color:var(--t2);margin-bottom:4px;font-size:12px}.chat-composer textarea{resize:vertical;font:inherit;color:var(--t1);border:1px solid var(--divider);background:var(--bg);border-radius:10px;width:100%;min-height:80px;max-height:160px;padding:10px 12px}.chat-send-row{display:flex;justify-content:space-between;align-items: center;gap:12px;margin-top:8px}.chat-send-row small{color:var(--t3);font-size:11px}.chat-send-row button{background:var(--brand-1);color:var(--bg);border-radius:8px;padding:8px 14px;font-weight:600}.chat-panel button:disabled{opacity:.5;cursor:default}.chat-privacy{color:var(--t3);margin:0;padding:0 24px 16px;font-size:11px}.chat-header,.chat-tools,.chat-transcript,.chat-composer,.chat-privacy{padding-inline-start:max(24px,50% - 480px);padding-inline-end:max(24px,50% - 480px)}@media (max-width:600px){.chat-panel{width:100%}.chat-resizer{display:none}.chat-launch{bottom:20px;right:16px}.chat-header,.chat-transcript{padding:16px}.chat-tools,.chat-composer{padding:10px 16px}.chat-privacy{padding:0 16px max(12px,env(safe-area-inset-bottom))}}
