.ia-demo { width:100%; color:#19345a; font-family:"Segoe UI","Microsoft YaHei",sans-serif; }
.ia-demo * { box-sizing:border-box; }
.ia-demo [hidden] { display:none!important; }
.demo-label { margin:0 0 22px; color:#57769e; font-size:12px; letter-spacing:.3px; }
.demo-stage { position:relative; min-height:470px; padding:0 0 20px; }
.demo-paper { border:1px solid #e0e8f5; border-radius:14px; background:white; padding:26px 28px 36px; box-shadow:0 16px 45px #19345a0a; margin-right:16px; }
.demo-paper-top { display:flex; justify-content:space-between; gap:15px; font-size:10px; color:#8b99aa; }
.demo-paper-top>span:last-child { font-size:8px; letter-spacing:1px; }
.demo-sentence { font:19px/1.95 "Segoe UI","Microsoft YaHei",sans-serif; letter-spacing:0; margin:25px 0 24px; white-space:pre-line; }
.demo-word { position:relative; white-space:nowrap; }
.demo-term { background:linear-gradient(to right,#c8dcfa var(--selection,0px),transparent var(--selection,0px)); }
.demo-note,.demo-blue-dot { position:absolute; z-index:3; padding:0; opacity:0; pointer-events:none; }
.demo-note { z-index:1; }
.demo-blue-dot { background:#4a90e2; width:16px; height:16px; border:4px solid #fff; border-radius:50%; box-shadow:0 1px 4px rgba(0,0,0,.3); transition:transform .15s; }
.demo-dot-hover .demo-blue-dot { transform:scale(1.3); }
.demo-note { min-width:16px; height:18px; padding:0 3px; border:0; border-radius:4px; background:#eff6ff; color:#296fba; font:600 11px/18px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-align:center; }
.demo-note-hover .demo-note:not(.demo-secondary-note) { background:#dbeafe; }
.demo-dot-visible .demo-blue-dot { opacity:1; }.demo-annotated .demo-note { opacity:1; }
.demo-annotated .demo-term { box-shadow:0 1px 0 #4a90e2b3; }
.demo-secondary-term { white-space:nowrap; box-shadow:0 1px 0 #4a90e2b3; }
.demo-refreshing .demo-paper { opacity:.15; }
.demo-refreshing .demo-secondary-term { box-shadow:none; }
.demo-multi-note:not(.demo-annotated) .demo-secondary-term { box-shadow:none; }
.demo-secondary-hover .demo-secondary-note { background:#dbeafe; }
.demo-multi-note .demo-paper { padding-inline:18px; }
.demo-multi-note .demo-sentence { font-size:16px; }
@media(max-width:480px) { .demo-multi-note .demo-sentence { font-size:14px; } }
.demo-lines { display:grid; gap:11px; }.demo-lines i { height:4px; background:#f0f3f8; border-radius:3px; }.demo-lines i:nth-child(2){width:88%}.demo-lines i:last-child{width:65%}
.demo-dialog { position:absolute; z-index:2; padding:0; margin:0; background:#fff; border:0; border-radius:10px; box-shadow:0 4px 20px rgba(0,0,0,.15); overflow:hidden; color:#333; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size:12px; }
.demo-dialog-head { display:flex; align-items:center; gap:9px; padding:10px 14px; border-bottom:1px solid #eee; background:#f9f9f9; }.demo-dialog-head strong { font-size:12px; font-weight:500; color:#555; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.demo-ai { background:#edf3ff; border-radius:4px; padding:2px 5px; color:#2563eb; font-size:9px; }.demo-x { margin-left:auto; color:#999; font-size:16px; }
.demo-answer { min-height:80px; padding:14px; font-size:12px; line-height:1.7; overflow-wrap:anywhere; }.demo-typing:after { content:'▍'; color:#333; }
.demo-dialog-status { color:#777; font-size:9px; margin:0 14px 10px; }.demo-composer { display:flex; justify-content:space-between; padding:9px 10px; margin:0 12px 12px; border:1px solid #e4ebf5; border-radius:6px; color:#95a2b5; font-size:10px; }.demo-composer b { font-size:12px; color:#628ccb; }
.demo-follow { padding:0 14px; }.demo-follow p { font-size:11px; line-height:1.7; }.demo-question { background:#edf3ff; padding:7px 10px; border-radius:6px; margin-left:15px; }.demo-reply { margin:8px 0 12px; }
.demo-composer { align-items:center; gap:8px; }.demo-composer>span { flex:1; min-width:0; overflow-wrap:anywhere; }.demo-send { flex-shrink:0; padding:4px 6px; border-radius:4px; transition:background .15s; }.demo-input-active .demo-composer { border-color:#8eb5ea; }.demo-input-active .demo-composer>span { color:#333; }.demo-send-active .demo-send { background:#4a90e2; color:white; }
.demo-pointer { position:absolute; z-index:5; top:0; left:0; width:22px; height:28px; pointer-events:none; filter:drop-shadow(0 2px 2px #19345a25); }.demo-pointer svg { width:22px; height:28px; }.demo-ibeam { display:none; position:absolute; width:7px; height:19px; left:0; top:-7px; border-top:1.5px solid #182d47; border-bottom:1.5px solid #182d47; }.demo-ibeam:after { content:''; position:absolute; left:3px; top:0; height:100%; width:1.5px; background:#182d47; }.demo-selecting .demo-pointer svg { display:none; }.demo-selecting .demo-ibeam { display:block; }
.demo-controls { display:flex; align-items:center; justify-content:space-between; gap:10px; color:#8293a7; font-size:9px; margin-top:14px; }.demo-controls button { background:none; border:0; color:#6d83a2; padding:6px; font:inherit; cursor:pointer; }.demo-controls button:hover { color:#2563eb; }.demo-controls button:focus-visible { outline:2px solid #2563eb; outline-offset:2px; }
@media(max-width:480px) { .demo-paper { padding:22px; }.demo-sentence { font-size:17px; }.demo-stage { min-height:470px; } }
@media(prefers-reduced-motion:reduce) { .demo-pointer{display:none}.ia-demo *{animation:none!important;transition:none!important} }
