.pcs-drawer,.pcs-drawer *{box-sizing:border-box}.pcs-drawer{position:fixed;top:0;right:0;bottom:0;width:min(380px,100vw);z-index:2147482900;background:#ffffff;border-left:1px solid #e6e6ec;box-shadow:-16px 0 42px -22px rgba(17,17,20,.18);display:flex;flex-direction:column;color:#111114;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;transition:width .18s cubic-bezier(.22,1,.36,1);animation:pcsSlideIn .2s cubic-bezier(.22,1,.36,1) both}.pcs-drawer.wide{width:min(520px,92vw)}@keyframes pcsSlideIn{0%{transform:translateX(18px);opacity:0}to{transform:none;opacity:1}}.pcs-backdrop{display:none}@media (max-width:1024px){.pcs-backdrop{display:block;position:fixed;inset:0;z-index:2147482890;background:rgba(17,17,20,.22);backdrop-filter:blur(2px)}}.pcs-head{height:52px;padding:0 14px 0 18px;border-bottom:1px solid #ececf1;justify-content:space-between;gap:10px;flex-shrink:0}.pcs-head,.pcs-head-left{display:flex;align-items:center}.pcs-head-left{gap:8px;min-width:0}.pcs-spark{width:22px;height:22px;border-radius:6px;background:#111114;color:#ffffff;display:grid;place-items:center;flex-shrink:0}.pcs-title{font-size:14px;font-weight:600;letter-spacing:-.01em;color:#111114}.pcs-qpill{font-size:11.5px;font-weight:500;color:#6e6e73;background:#f4f4f7;border-radius:99px;padding:2px 8px;white-space:nowrap;flex-shrink:0}.pcs-head-right{display:flex;align-items:center;gap:6px;flex-shrink:0}.pcs-wide-btn{height:26px;padding:0 9px;border:1px solid #e4e4ea;border-radius:7px;background:#ffffff;color:#52525b;font:inherit;font-size:11.5px;font-weight:600;cursor:pointer}.pcs-wide-btn:hover{border-color:#111114;color:#111114;background:#fafafa}@media (max-width:1023px){.pcs-wide-btn{display:none}}.pcs-close{width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:#6e6e73;cursor:pointer;display:grid;place-items:center;font-size:14px;flex-shrink:0;transition:background-color .14s ease,color .14s ease}.pcs-close:hover{background:#f3f3f6;color:#111114}.pcs-tax-bar{padding:7px 18px;background:#fafafa;border-bottom:1px solid #f0f0f4;display:flex;align-items:center;gap:6px;flex-wrap:nowrap;overflow:hidden;flex-shrink:0}.pcs-tax-tag{font-size:11px;font-weight:500;color:#52525b;background:#ffffff;border:1px solid #e4e4ea;border-radius:6px;padding:2px 8px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;min-width:0}.pcs-body{flex:1;min-height:0;overflow-y:auto;padding:18px;gap:14px}.pcs-body,.pcs-empty{display:flex;flex-direction:column}.pcs-empty{margin:auto 0;gap:16px;padding:8px 0}.pcs-empty-head{display:flex;align-items:center;gap:12px}.pcs-emblem{width:36px;height:36px;border-radius:10px;border:1px solid #e6e6ec;background:#fafafa;color:#111114;display:grid;place-items:center;flex-shrink:0}.pcs-empty-head strong{display:block;font-size:14px;font-weight:600;color:#111114;line-height:1.35}.pcs-empty-head p{margin:2px 0 0;font-size:12px;color:#6e6e73;line-height:1.45}.pcs-action-card{border:1px solid #e6e6ec;border-radius:12px;background:#ffffff;overflow:hidden}.pcs-action-row{width:100%;border:0;border-bottom:1px solid #f0f0f4;background:#ffffff;padding:11px 13px;display:flex;align-items:center;gap:11px;text-align:left;cursor:pointer;color:#111114;font:inherit;transition:background-color .14s ease}.pcs-action-row:last-child{border-bottom:0}.pcs-action-row:hover:not(:disabled){background:#fafafa}.pcs-action-row:hover:not(:disabled) .pcs-action-arr{transform:translateX(2px);color:#111114}.pcs-action-row:disabled{opacity:.55;cursor:not-allowed}.pcs-action-ico{width:28px;height:28px;border-radius:7px;background:#f5f5f7;color:#111114;display:grid;place-items:center;flex-shrink:0}.pcs-action-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.pcs-action-copy b{font-size:13px;font-weight:600;color:#111114}.pcs-action-copy small{font-size:11.5px;color:#8e8e93}.pcs-action-arr{font-size:13px;color:#a1a1aa;transition:transform .15s ease,color .15s ease}.pcs-msg{display:flex;flex-direction:column;gap:4px}.pcs-msg.user{margin-top:4px}.pcs-msg.assistant,.pcs-msg.user{align-items:stretch}.pcs-bubble{max-width:100%;font-size:13.5px;line-height:1.72;white-space:pre-wrap;word-break:break-word}.pcs-msg.user .pcs-bubble{background:#f5f5f7;border:1px solid #ececf1;color:#3f3f46;font-size:13px;font-weight:500;padding:9px 12px;border-radius:10px}.pcs-msg.assistant .pcs-bubble{width:100%;max-width:100%;white-space:normal;background:transparent;border:0;border-bottom:1px solid #f0f0f4;color:#18181b;padding:6px 2px 16px;border-radius:0}.pcs-msg.assistant .cmr-prose.ag-md{font-size:13.8px;font-weight:400;line-height:1.78;color:#1f1f24}.pcs-msg.assistant .cmr-prose.ag-md .katex-display{margin:14px 0;padding:6px 0;text-align:center;overflow-x:auto}.pcs-msg.assistant .cmr-prose.ag-md .ag-md-quote{margin:12px 0 4px;padding:12px 14px;border:1px solid #e6e6ec;background:#f4f4f6;border-radius:11px;color:#18181b}.pcs-msg-meta{font-size:11px;color:#8e8e93;display:flex;align-items:center;gap:6px}.pcs-loading{align-self:flex-start;padding:9px 13px;border-radius:12px;background:#f6f6f9;border:1px solid #ececf1;font-size:12.5px;color:#6e6e73;display:inline-flex;align-items:center;gap:8px}.pcs-dot{width:6px;height:6px;border-radius:50%;background:#111114;animation:pcsPulse 1.1s ease-in-out infinite}@keyframes pcsPulse{0%,to{opacity:.25}50%{opacity:1}}.pcs-err{margin:0 16px 10px;padding:8px 11px;border-radius:9px;background:#fff1f2;border:1px solid #fecdd3;color:#be123c;font-size:12px;line-height:1.48;flex-shrink:0}.pcs-foot{border-top:1px solid #ececf1;padding:10px 14px 12px;background:#ffffff;display:flex;flex-direction:column;gap:8px;flex-shrink:0}.pcs-mini-strip{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;overflow-x:auto}.pcs-mini-chip{flex:none;height:26px;padding:0 9px;border:1px solid #e4e4ea;border-radius:99px;background:#ffffff;color:#3f3f46;font:inherit;font-size:11.5px;font-weight:500;cursor:pointer;white-space:nowrap;transition:border-color .12s ease,color .12s ease,background-color .12s ease}.pcs-mini-chip:hover:not(:disabled){border-color:#111114;color:#111114;background:#fafafa}.pcs-mini-chip:disabled{opacity:.5;cursor:not-allowed}.pcs-input-row{display:flex;align-items:flex-end;gap:8px;border:1px solid #e4e4ea;border-radius:14px;padding:7px 7px 7px 12px;background:#fafafa;transition:border-color .14s ease,background-color .14s ease}.pcs-input-row:focus-within{border-color:#111114;background:#ffffff}.pcs-input-row textarea{flex:1;min-width:0;border:0;background:transparent;resize:none;font:inherit;font-size:13px;line-height:1.5;max-height:92px;color:#111114;outline:none;padding:2px 0}.pcs-send{width:28px;height:28px;padding:0;border:0;border-radius:50%;background:#111114;color:#ffffff;cursor:pointer;flex-shrink:0;display:grid;place-items:center;transition:background-color .14s ease,opacity .14s ease,transform .14s ease}.pcs-send:hover:not(:disabled){background:#27272f;transform:translateY(-1px)}.pcs-send:disabled{opacity:.32;cursor:not-allowed}@media (prefers-reduced-motion:reduce){.pcs-dot,.pcs-drawer{animation:none}}