.yj-assistant-launch{position:fixed;right:8px;bottom:16px;z-index:9998;display:grid;place-items:center;width:56px;height:56px;padding:0;border:2px solid #fff;border-radius:18px;background:linear-gradient(145deg,#277fe8 4%,#365bd3 58%,#6345bd);box-shadow:0 11px 28px #15345b5c,0 0 0 1px #2262c544;cursor:pointer;opacity:1;transition:transform .22s ease,bottom .22s ease,box-shadow .18s ease,opacity .22s ease}
.yj-assistant-launch:hover{transform:translateY(-3px);box-shadow:0 15px 32px #15345b68,0 0 0 3px #8fc7ff88}
.yj-assistant-launch.is-idle:not(.is-open):not(:hover):not(:focus-visible){transform:translateX(34px);opacity:.76;box-shadow:0 7px 18px #15345b4a}
.yj-assistant-launch.is-left{left:8px;right:auto}.yj-assistant-launch.is-left.is-idle:not(.is-open):not(:hover):not(:focus-visible){transform:translateX(-34px)}
.yj-assistant-launch.is-left::after{left:calc(100% + 10px);right:auto;transform:translate(-5px,-50%)}
.yj-assistant-launch.is-left:hover::after,.yj-assistant-launch.is-left:focus-visible::after{transform:translate(0,-50%)}
.yj-assistant-launch.is-middle{bottom:50%}
.yj-assistant-launch:focus-visible{outline:3px solid #8bc3ff;outline-offset:3px}
.yj-assistant-launch.is-open{box-shadow:0 11px 28px #15345b5c,0 0 0 3px #8fc7ff88}
.yj-assistant-launch svg{display:block;width:44px;height:44px;filter:drop-shadow(0 3px 3px #15345b4d)}
.yj-robot-antenna,.yj-robot-ear,.yj-robot-chin{fill:none;stroke:#eef9ff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.yj-robot-antenna-tip{fill:#96f4fc}.yj-robot-shell{fill:#eff8ff}.yj-robot-screen{fill:#153c72}.yj-robot-eye{fill:none;stroke:#89ecfa;stroke-width:4;stroke-linecap:round;transform-origin:center;transform-box:fill-box;animation:yj-robot-blink 6.5s infinite}.yj-robot-smile{fill:none;stroke:#c6f5ff;stroke-width:2.5;stroke-linecap:round}
@keyframes yj-robot-blink{0%,86%,92%,100%{transform:scaleY(1)}88%,90%{transform:scaleY(.08)}}
.yj-assistant-launch::after{content:"站内问答";position:absolute;right:calc(100% + 10px);top:50%;padding:6px 10px;border-radius:8px;background:#163a65;color:#fff;white-space:nowrap;font:600 13px/1.3 system-ui,-apple-system,"Microsoft YaHei",sans-serif;box-shadow:0 5px 16px #15345b3b;opacity:0;pointer-events:none;transform:translate(5px,-50%);transition:opacity .18s ease,transform .18s ease}
.yj-assistant-launch:hover::after,.yj-assistant-launch:focus-visible::after{opacity:1;transform:translate(0,-50%)}
.yj-assistant-launch.is-open::after{display:none}
.yj-assistant-panel{position:fixed;right:12px;bottom:74px;z-index:9999;display:flex;flex-direction:column;width:min(430px,calc(100vw - 24px));max-height:calc(100vh - 100px);max-height:min(690px,calc(100dvh - 100px));border:1px solid #d5e0ed;border-radius:18px;background:#fff;color:#17324f;box-shadow:0 20px 65px #09233e3d;font:15px/1.6 system-ui,-apple-system,"Microsoft YaHei",sans-serif;overflow:hidden}
.yj-assistant-panel.is-left{left:12px;right:auto}.yj-assistant-panel.is-middle{top:50%;bottom:auto;transform:translateY(-50%)}
.yj-assistant-panel[hidden]{display:none}
.yj-assistant-sheet-handle{display:none}
.yj-assistant-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #e6edf5;background:#f5f9ff}
.yj-assistant-head strong{display:block;font-size:17px;color:#102b49}
.yj-assistant-head small{display:block;margin-top:2px;color:#60758b;font-size:12px}
.yj-assistant-head-actions{display:flex;align-items:center;gap:5px}
.yj-assistant-position-picker{position:relative}.yj-assistant-position-picker summary{list-style:none;padding:4px 7px;border:1px solid #cedbea;border-radius:8px;color:#426580;font-size:12px;cursor:pointer}.yj-assistant-position-picker summary::-webkit-details-marker{display:none}
.yj-assistant-position-menu{position:absolute;right:0;top:calc(100% + 5px);z-index:3;min-width:104px;padding:5px;border:1px solid #cfdeed;border-radius:10px;background:#fff;box-shadow:0 8px 24px #15345b26}
.yj-assistant-position-menu button{display:block;width:100%;padding:6px 8px;border:0;border-radius:7px;background:#fff;color:#294e70;text-align:left;font:12px/1.4 system-ui,-apple-system,"Microsoft YaHei",sans-serif;cursor:pointer}.yj-assistant-position-menu button:hover,.yj-assistant-position-menu button:focus-visible{background:#edf6ff}
.yj-assistant-close{border:0;background:transparent;color:#536f88;font-size:25px;line-height:1;cursor:pointer}
.yj-assistant-body{min-height:125px;overflow-y:auto;padding:16px 18px;overscroll-behavior:contain}
.yj-assistant-message{margin:0 0 13px}
.yj-assistant-evidence{margin:0 0 14px;padding:10px 12px 10px 32px;border:1px solid #dce8f4;border-radius:12px;background:#f7fbff;color:#24435e;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.yj-assistant-evidence li+li{margin-top:7px}
.yj-assistant-evidence-block{margin:10px 0;border:1px solid #dce8f4;border-radius:12px;background:#f7fbff;overflow:hidden}
.yj-assistant-evidence-block .yj-assistant-source{padding-bottom:6px}
.yj-assistant-evidence-block .yj-assistant-evidence{margin:0;border:0;border-radius:0;background:transparent;padding-top:2px}
.yj-assistant-conflict{margin:0 0 12px;padding:10px 12px;border:1px solid #efc87b;border-radius:10px;background:#fff8e9;color:#754711}
.yj-assistant-choice-heading{margin:13px 0 5px;color:#536b83;font-size:13px}
.yj-assistant-choices{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:8px}
.yj-assistant-choices button{max-width:100%;padding:6px 10px;border:1px solid #b9d4f2;border-radius:9px;background:#edf6ff;color:#175996;font:inherit;font-size:12px;cursor:pointer;overflow-wrap:anywhere}
.yj-assistant-choices button:hover,.yj-assistant-choices button:focus-visible{border-color:#3582d4;background:#dceeff}
.yj-assistant-question{margin:0 0 14px;padding:10px 12px;border-radius:12px;background:#eaf3ff;color:#143c6b;font-weight:600}
.yj-assistant-context{margin:-6px 0 12px;color:#60758b;font-size:12px}
.yj-assistant-intent{display:inline-block;margin:0 0 10px;padding:3px 8px;border-radius:999px;background:#e7f1ff;color:#1b5d9d;font-size:12px;font-weight:700}
.yj-assistant-intent.is-troubleshoot{background:#fff1e2;color:#925113}.yj-assistant-intent.is-data{background:#e8f8f2;color:#176b51}.yj-assistant-intent.is-comparison{background:#f1edff;color:#6044a3}
.yj-assistant-signals{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 12px;padding:9px 10px;border:1px solid #f0d2aa;border-radius:10px;background:#fffaf2;color:#704716;font-size:12px}
.yj-assistant-signals code{padding:2px 6px;border-radius:6px;background:#fff;color:#a34816;font:600 11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.yj-assistant-version-note{margin:0 0 12px;padding:8px 10px;border-left:3px solid #e6a62b;background:#fff9ea;color:#765018;font-size:12px}
.yj-assistant-redaction-note{margin:0 0 12px;padding:9px 11px;border:1px solid #bfe5d6;border-radius:10px;background:#effaf6;color:#17654d;font-size:12px}
.yj-assistant-answer-section{margin:0 0 13px;padding:12px;border:1px solid #e0e9f3;border-radius:13px;background:#fff}
.yj-assistant-answer-section h3{margin:0 0 8px;color:#173d66;font-size:14px;line-height:1.4}
.yj-assistant-answer-section.is-conclusion{border-color:#b9d7f4;background:linear-gradient(145deg,#f5faff,#fff)}
.yj-assistant-answer-section.is-caution{border-color:#efdbad;background:#fffbf1}
.yj-assistant-answer-section.is-related{padding-bottom:2px;background:#f8fbff}
.yj-assistant-conclusion-lead,.yj-assistant-section-note{margin:0 0 7px;color:#667b90;font-size:12px}
.yj-assistant-conclusion-quote{margin:0;padding:9px 10px;border-left:3px solid #2477ce;background:#fff;color:#173b5e;font-size:13px;font-weight:600;line-height:1.6}
.yj-assistant-conclusion-source{margin:7px 0 0;color:#6b7f92;font-size:11px}
.yj-assistant-structured-list{margin:0;padding-left:22px;color:#294760;font-size:13px;line-height:1.65}
.yj-assistant-structured-list li+li{margin-top:6px}
.yj-assistant-missing{margin:0;color:#765018;font-size:12px}
.yj-assistant-evidence-details{margin:0 0 13px;border:1px solid #dce8f4;border-radius:12px;background:#f9fcff;overflow:hidden}
.yj-assistant-evidence-details>summary{padding:10px 12px;color:#285d91;font-size:13px;font-weight:700;cursor:pointer}
.yj-assistant-evidence-details[open]>summary{border-bottom:1px solid #e2ebf4;background:#f3f8fe}
.yj-assistant-evidence-content{padding:4px 10px 10px}.yj-assistant-evidence-content>.yj-assistant-section-note{padding:4px 2px 0}
.yj-assistant-tool-actions{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}
.yj-assistant-tool-action{display:inline-flex;align-items:center;max-width:100%;padding:7px 11px;border:1px solid #1769d2;border-radius:9px;background:#1769d2;color:#fff!important;font-size:13px;font-weight:600;text-decoration:none!important;overflow-wrap:anywhere}
.yj-assistant-tool-action:hover,.yj-assistant-tool-action:focus-visible{background:#0f55ae;border-color:#0f55ae}
.yj-assistant-tool-action.is-article{border-color:#b9d4f2;background:#edf6ff;color:#175996!important}
.yj-assistant-tool-action.is-article:hover,.yj-assistant-tool-action.is-article:focus-visible{background:#dceeff;border-color:#3582d4}
.yj-assistant-result{margin:10px 0;border:1px solid #e0e9f3;border-radius:12px;background:#fff;overflow:hidden}
.yj-assistant-result:hover,.yj-assistant-result:focus-within{border-color:#5b9be5;background:#f7fbff}
.yj-assistant-source{display:block;padding:11px 12px;color:inherit;text-decoration:none}
.yj-assistant-source:hover,.yj-assistant-source:focus-visible{text-decoration:none}
.yj-assistant-source strong{display:block;font-size:14px;color:#1360b7}
.yj-assistant-source small{display:block;color:#697d90;font-size:12px}
.yj-assistant-source span{display:block;margin-top:5px;color:#334c64;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.yj-assistant-jump{display:inline-block;margin:0 12px 10px;color:#2869af;font-size:12px;text-decoration:underline}
.yj-assistant-target-highlight{scroll-margin-top:90px;outline:3px solid #ffbe35!important;outline-offset:5px;background:#fff3ad!important;border-radius:4px;animation:yj-assistant-highlight-pulse 1.1s ease 2}
.yj-assistant-locate-notice{position:fixed;left:50%;bottom:28px;z-index:10001;max-width:min(440px,calc(100vw - 32px));padding:10px 14px;border-radius:10px;background:#173b61;color:#fff;box-shadow:0 8px 24px #102f514d;font:13px/1.5 system-ui,-apple-system,"Microsoft YaHei",sans-serif;transform:translateX(-50%)}
@keyframes yj-assistant-highlight-pulse{50%{outline-color:#ff7a1a;box-shadow:0 0 0 8px #ffc13b33}}
.yj-assistant-hint{margin:10px 0 0;color:#63778b;font-size:12px}
.yj-assistant-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}
.yj-assistant-actions button,.yj-assistant-export{padding:5px 9px;border:1px solid #d3e2f3;border-radius:9px;background:#f7fbff;color:#2463a5;font:inherit;font-size:12px;cursor:pointer}
.yj-assistant-actions button:disabled{opacity:.6;cursor:default}
.yj-assistant-export{margin-top:8px;background:#fff}
.yj-assistant-export+.yj-assistant-export{margin-left:7px}
.yj-assistant-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.yj-assistant-suggestions button{padding:5px 9px;border:1px solid #d3e2f3;border-radius:999px;background:#fff;color:#2463a5;font:inherit;font-size:12px;cursor:pointer}
.yj-assistant-history{margin-top:14px;border-top:1px solid #e2ebf4;padding-top:10px}
.yj-assistant-history summary{color:#315f8c;font-size:12px;font-weight:700;cursor:pointer}
.yj-assistant-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin-top:7px}
.yj-assistant-history-row button,.yj-assistant-history-export{border:1px solid #d7e4f1;border-radius:8px;background:#f8fbff;color:#2463a5;font:12px/1.45 system-ui,-apple-system,"Microsoft YaHei",sans-serif;cursor:pointer}
.yj-assistant-history-question{min-width:0;padding:6px 8px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yj-assistant-history-again{padding:6px 8px;white-space:nowrap}.yj-assistant-history-export{margin-top:8px;padding:6px 9px}
.yj-assistant-form{display:flex;align-items:flex-end;gap:8px;padding:10px 15px 12px;border-top:1px solid #e6edf5;background:#fff}
.yj-assistant-compose{flex:1;min-width:0;border:1px solid #bdd0e4;border-radius:11px;background:#fff;overflow:hidden}
.yj-assistant-compose:focus-within{outline:2px solid #8bc3ff;outline-offset:1px}
.yj-assistant-form textarea{display:block;width:100%;min-width:0;min-height:43px;max-height:132px;box-sizing:border-box;border:0;padding:9px 11px 3px;color:#102b49;background:#fff;font:inherit;line-height:1.45;resize:none;overflow-y:auto}
.yj-assistant-form textarea:focus{outline:0}
.yj-assistant-composer-meta{display:flex;align-items:center;justify-content:space-between;min-height:23px;padding:0 8px 4px;color:#8192a4;font-size:10px}
.yj-assistant-clear{border:0;background:transparent;color:#3571ad;font:inherit;cursor:pointer;padding:1px 3px}
.yj-assistant-submit{min-height:43px;border:0;border-radius:10px;padding:0 15px;background:#1769d2;color:#fff;font:600 14px system-ui,-apple-system,"Microsoft YaHei",sans-serif;cursor:pointer}
.yj-assistant-submit:disabled{opacity:.55;cursor:wait}
@media(max-width:620px){.yj-assistant-launch{right:4px;bottom:calc(var(--yj-assistant-mobile-bottom,10px) + env(safe-area-inset-bottom));width:48px;height:48px;border-radius:15px}.yj-assistant-launch svg{width:39px;height:39px}.yj-assistant-launch.is-idle:not(.is-open):not(:hover):not(:focus-visible){transform:translateX(28px)}.yj-assistant-launch.is-left{left:4px;right:auto}.yj-assistant-launch.is-left.is-idle:not(.is-open):not(:hover):not(:focus-visible){transform:translateX(-28px)}.yj-assistant-launch.is-middle{bottom:50%}.yj-assistant-panel,.yj-assistant-panel.is-left,.yj-assistant-panel.is-middle{left:6px;right:6px;top:auto;bottom:0;transform:none;width:auto;max-width:calc(100vw - 12px);height:var(--yj-assistant-sheet-height,min(78dvh,700px));max-height:calc(100dvh - 8px);box-sizing:border-box;border-radius:20px 20px 0 0}.yj-assistant-sheet-handle{display:block;flex:0 0 22px;position:relative;touch-action:none;cursor:ns-resize}.yj-assistant-sheet-handle::after{content:"";position:absolute;left:50%;top:8px;width:42px;height:5px;border-radius:999px;background:#bfcede;transform:translateX(-50%)}.yj-assistant-sheet-handle:focus-visible{outline:2px solid #58a0e8;outline-offset:-2px}.yj-assistant-panel.is-dragging{transition:none;user-select:none}.yj-assistant-head{padding-top:10px}.yj-assistant-body{flex:1;min-height:0;overflow-x:hidden}.yj-assistant-form{flex:0 0 auto;padding-left:10px;padding-right:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}.yj-assistant-form textarea{font-size:16px;line-height:1.4}.yj-assistant-submit{padding:0 13px}}
@media(hover:none){.yj-assistant-launch::after{display:none}}
@media(prefers-reduced-motion:reduce){.yj-assistant-launch,.yj-assistant-launch::after{transition:none}.yj-assistant-launch:hover{transform:none}.yj-robot-eye,.yj-assistant-target-highlight{animation:none}}
