.talk-overlay{position:fixed;inset:0;z-index:9600;background:rgba(24,36,48,0.38);}.talk-window{position:fixed;display:flex;flex-direction:column;min-width:22rem;min-height:16rem;max-width:calc(100vw - 1rem);max-height:calc(100vh - 1rem);background:var(--panel,#fff);color:var(--text,#243447);border:1px solid var(--border,#d8dee4);border-radius:14px;box-shadow:0 18px 48px rgba(24,36,48,0.28);overflow:hidden;}.talk-top{display:flex;align-items:center;gap:0.75rem;padding:0.55rem 0.7rem 0.55rem 0.9rem;background:var(--sidebar,#f4f6f8);border-bottom:1px solid var(--border-soft,#e8edf1);cursor:grab;user-select:none;flex:0 0 auto;}.talk-top.is-dragging{cursor:grabbing;}.talk-title{margin:0;font-size:1rem;font-weight:700;letter-spacing:-0.01em;white-space:nowrap;}.talk-title .brand-ai{color:var(--ai,#4d6bfe);}.talk-model{margin-left:auto;max-width:22rem;min-width:12rem;font:inherit;font-size:0.85rem;color:var(--text,#243447);background:#fff;border:1px solid var(--border,#d8dee4);border-radius:8px;padding:0.35rem 0.5rem;cursor:pointer;}.talk-close{flex:0 0 auto;}.talk-body{display:flex;flex:1 1 auto;min-height:0;}.talk-history{width:16rem;flex:0 0 16rem;display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--border-soft,#e8edf1);background:var(--sidebar,#f4f6f8);}.talk-history-label{display:flex;align-items:center;justify-content:space-between;gap:0.35rem;margin:0;padding:0.45rem 0.55rem 0.3rem 0.75rem;font-size:0.75rem;font-weight:650;color:var(--muted,#6b7c8a);}.talk-hist-toggle{flex:0 0 auto;border:0;background:transparent;color:var(--muted,#6b7c8a);cursor:pointer;font-size:1rem;line-height:1;padding:0.1rem 0.25rem;border-radius:6px;}.talk-hist-toggle:hover{background:rgba(77,107,254,0.12);color:var(--text,#243447);}.talk-history.is-collapsed{width:2.15rem;flex-basis:2.15rem;}.talk-history.is-collapsed [data-talk-hist-title],.talk-history.is-collapsed .talk-history-list{display:none;}.talk-history.is-collapsed .talk-history-label{justify-content:center;padding-left:0.2rem;padding-right:0.2rem;}.talk-history-list{flex:1 1 auto;overflow:auto;padding:0 0.4rem 0.5rem;}.talk-history-empty{margin:0.4rem 0.4rem 0;color:var(--muted,#6b7c8a);font-size:0.8rem;line-height:1.35;}.talk-hist-row{display:flex;align-items:stretch;gap:0.15rem;margin-bottom:0.25rem;}.talk-hist{flex:1 1 auto;min-width:0;text-align:left;border:0;background:transparent;border-radius:8px;padding:0.4rem 0.45rem;cursor:pointer;color:inherit;font:inherit;}.talk-hist:hover,.talk-hist.is-on{background:#fff;}.talk-hist.is-on{box-shadow:inset 2px 0 0 var(--ai,#4d6bfe);}.talk-hist-q{display:block;font-size:0.82rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.talk-hist-meta{display:block;margin-top:0.1rem;font-size:0.7rem;color:var(--muted,#6b7c8a);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.talk-hist-del{flex:0 0 auto;width:1.6rem;border:0;background:transparent;color:var(--muted,#6b7c8a);border-radius:8px;cursor:pointer;font-size:1rem;line-height:1;}.talk-hist-del:hover{background:var(--err-bg,#fdecea);color:var(--err,#c0392b);}.talk-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;min-height:0;}.talk-steps{width:16rem;flex:0 0 16rem;display:flex;flex-direction:column;min-height:0;border-left:1px solid var(--border-soft,#e8edf1);background:#fff;}.talk-steps[hidden]{display:none;}.talk-steps-list{list-style:none;margin:0;padding:0 0.7rem 0.8rem;overflow:auto;}.talk-step{margin:0 0 0.75rem;}.talk-step-n{display:inline-flex;align-items:center;justify-content:center;width:1.3rem;height:1.3rem;margin-bottom:0.25rem;border-radius:999px;background:var(--info-bg,#eaf4fb);color:var(--info,#1a6aa0);font-size:0.75rem;font-weight:700;}.talk-step p{margin:0 0 0.35rem;line-height:1.35;font-size:0.86rem;}.talk-step-go{font-size:0.8rem;}.talk-answer{flex:1 1 auto;min-height:0;overflow:auto;padding:0.9rem 1rem 0.6rem;}.talk-empty{margin:0.4rem 0 0;color:var(--muted,#6b7c8a);line-height:1.45;}.talk-turn{margin:0 0 0.9rem;padding-bottom:0.75rem;border-bottom:1px solid var(--border-soft,#e8edf1);}.talk-turn.is-on{background:rgba(77,107,254,0.06);border-radius:8px;padding:0.35rem 0.4rem 0.75rem;}.talk-q{margin:0 0 0.45rem;padding:0.45rem 0.65rem;background:var(--sidebar,#f4f6f8);border-radius:8px;white-space:pre-wrap;line-height:1.4;}.talk-a-bar{display:flex;align-items:center;gap:0.5rem;margin-bottom:0.35rem;}.talk-a-label{font-size:0.75rem;font-weight:650;color:var(--muted,#6b7c8a);}.talk-copy{margin-left:auto;}.talk-a-text{margin:0;white-space:pre-wrap;line-height:1.45;}.talk-a-img{display:block;max-width:100%;max-height:22rem;margin-top:0.4rem;border-radius:10px;border:1px solid var(--border-soft,#e8edf1);background:var(--sidebar,#f4f6f8);}.talk-wait,.talk-err{margin:0;line-height:1.4;}.talk-err{color:var(--err,#c0392b);}.talk-compose{flex:0 0 auto;border-top:1px solid var(--border-soft,#e8edf1);padding:0.55rem 0.7rem 0.65rem;}.talk-hint{min-height:1.1rem;margin:0 0 0.35rem;font-size:0.78rem;color:var(--muted,#6b7c8a);}.talk-hint.is-warn{color:var(--warn,#9a6b00);}.talk-file{display:inline-flex;align-items:center;gap:0.35rem;max-width:100%;margin:0 0 0.35rem;padding:0.15rem 0.35rem 0.15rem 0.5rem;background:var(--info-bg,#eaf4fb);border-radius:999px;font-size:0.78rem;}.talk-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:18rem;}.talk-file-x{border:0;background:transparent;cursor:pointer;color:var(--muted,#6b7c8a);font-size:1rem;line-height:1;}.talk-row{display:flex;align-items:flex-end;gap:0.4rem;}.talk-input{flex:1 1 auto;min-height:2.6rem;max-height:8rem;resize:none;font:inherit;font-size:0.92rem;line-height:1.35;padding:0.45rem 0.6rem;border:1px solid var(--border,#d8dee4);border-radius:10px;color:inherit;background:#fff;}.talk-input:focus{outline:2px solid rgba(77,107,254,0.35);border-color:var(--ai,#4d6bfe);}.talk-attach{flex:0 0 auto;}.talk-edge{position:fixed;z-index:20;touch-action:none;background:transparent;box-sizing:border-box;}.talk-edge-n,.talk-edge-s{cursor:ns-resize;}.talk-edge-e,.talk-edge-w{cursor:ew-resize;}.talk-edge-ne,.talk-edge-sw{cursor:nesw-resize;}.talk-edge-nw,.talk-edge-se{cursor:nwse-resize;}html.talk-edge-ns,html.talk-edge-ns *{cursor:ns-resize !important;}html.talk-edge-ew,html.talk-edge-ew *{cursor:ew-resize !important;}html.talk-edge-nesw,html.talk-edge-nesw *{cursor:nesw-resize !important;}html.talk-edge-nwse,html.talk-edge-nwse *{cursor:nwse-resize !important;}@media (max-width:760px){.talk-window{min-width:0;}.talk-body{flex-direction:column;}.talk-history{width:auto;flex:0 0 7.5rem;border-right:0;border-bottom:1px solid var(--border-soft,#e8edf1);}}