.lecture-chat{width:min(960px,100vw - 48px);max-width:none;height:min(860px,100dvh - 56px);max-height:none;color:var(--web-text);background:var(--web-surface);border:1px solid var(--web-border);border-radius:20px;padding:0;overflow:hidden;box-shadow:0 24px 90px #0003}.lecture-chat::backdrop{backdrop-filter:blur(3px);background:#10182873}.lecture-chat-layout{flex-direction:column;height:100%;min-height:0;display:flex}.lecture-chat button,.lecture-chat textarea{font:inherit}.lecture-chat button{cursor:pointer}.lecture-chat button:focus-visible,.lecture-chat textarea:focus-visible{outline:2px solid var(--web-primary);outline-offset:3px}.lecture-chat-header{border-bottom:1px solid var(--web-border);justify-content:space-between;align-items:center;gap:24px;padding:22px 28px;display:flex}.lecture-chat-heading{min-width:0}.lecture-chat-heading h2{letter-spacing:-.4px;margin:0;font-size:17px;font-weight:650}.lecture-chat-heading p{color:var(--web-muted);text-overflow:ellipsis;white-space:nowrap;margin:5px 0 0;font-size:12px;overflow:hidden}.lecture-chat-icon-button{width:36px;height:36px;color:var(--web-muted);background:0 0;border:0;border-radius:9px;flex:0 0 36px;place-items:center;display:grid}.lecture-chat-icon-button:hover{color:var(--web-text);background:var(--web-surface-muted)}.lecture-chat-scroll{overscroll-behavior:contain;scrollbar-gutter:stable both-edges;flex:1;min-height:0;position:relative;overflow-y:auto}.lecture-chat-content{box-sizing:border-box;flex-direction:column;gap:28px;width:min(100%,788px);margin:0 auto;padding:28px 24px 36px;display:flex}.lecture-chat-content.is-empty{justify-content:center;min-height:100%}.lecture-chat-welcome{text-align:center;padding:24px 0 36px}.lecture-chat-welcome-icon{width:52px;height:52px;color:var(--web-muted);background:var(--web-surface-muted);border-radius:16px;place-items:center;margin-bottom:20px;display:inline-grid}.lecture-chat-welcome h3{letter-spacing:-.8px;margin:0;font-size:clamp(21px,3vw,27px);font-weight:650}.lecture-chat-welcome p{color:var(--web-muted);margin:12px 0 28px;font-size:14px;line-height:1.7}.lecture-chat-suggestions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.lecture-chat-suggestions button{color:var(--web-text);background:var(--web-surface);border:1px solid var(--web-border);border-radius:12px;align-items:center;gap:20px;padding:12px 16px;font-size:13px;display:flex}.lecture-chat-suggestions button:hover{background:var(--web-surface-muted)}.lecture-chat-message{min-width:0}.lecture-chat-message.is-user{align-self:flex-end;max-width:86%}.lecture-chat-user-text{overflow-wrap:anywhere;background:var(--web-surface-muted);border-radius:18px;margin:0;padding:12px 17px;font-size:15px;line-height:1.65}.lecture-chat-answer-actions{color:var(--web-subtle);align-items:center;gap:12px;margin-top:12px;font-size:12px;display:flex}.lecture-chat-generating{color:var(--web-muted);align-items:center;gap:9px;margin:12px 0 0;font-size:13px;display:flex}.lecture-chat-generating>span{background:var(--web-text);border-radius:50%;width:8px;height:8px}.lecture-chat-answer-actions button{color:var(--web-muted);background:0 0;border:0;border-radius:6px;align-items:center;gap:6px;padding:6px 7px;font-size:12px;display:inline-flex}.lecture-chat-answer-actions button:hover{color:var(--web-text);background:var(--web-surface-muted)}.lecture-chat-bottom{box-sizing:border-box;width:min(100%,788px);margin:0 auto;padding:12px 24px 18px}.lecture-chat-error{color:var(--web-danger);margin:0 0 10px;font-size:13px;line-height:1.5}.lecture-chat-composer{background:var(--web-surface);border:1px solid var(--web-border);border-radius:18px;align-items:flex-end;gap:10px;padding:10px 10px 10px 16px;display:flex;box-shadow:0 3px 14px #00000006}.lecture-chat-composer:focus-within{border-color:var(--web-muted)}.lecture-chat-composer textarea{resize:none;box-sizing:border-box;min-width:0;min-height:38px;max-height:160px;color:var(--web-text);background:0 0;border:0;outline:0;flex:1;padding:8px 0;font-size:15px;line-height:22px}.lecture-chat-composer textarea:focus-visible{outline:0}.lecture-chat-composer textarea::placeholder{color:var(--web-subtle)}.lecture-chat-send{width:38px;height:38px;color:var(--web-surface);background:var(--web-text);border:0;border-radius:12px;flex-shrink:0;place-items:center;display:grid}.lecture-chat-send:disabled{color:var(--web-subtle);background:var(--web-surface-muted);cursor:default}.lecture-chat-footer{color:var(--web-subtle);justify-content:space-between;gap:12px;padding:10px 3px 0;font-size:11px;line-height:1.5;display:flex}.lecture-chat-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=600px){.lecture-chat{border:0;border-radius:0;width:100vw;height:100dvh;margin:0}.lecture-chat-header{gap:12px;padding:17px 18px}.lecture-chat-content{padding:22px 18px 28px}.lecture-chat-bottom{padding:10px 18px max(14px, env(safe-area-inset-bottom))}.lecture-chat-welcome p{font-size:13px}.lecture-chat-composer textarea{font-size:16px}}