*{margin:0;-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;user-select:none;width:100%;height:100%}body{overflow-x:hidden;font-size:16px}uni-app,uni-page,uni-page-wrapper,uni-page-body{display:block;box-sizing:border-box;width:100%}uni-page-wrapper{position:relative}#app,uni-app,uni-page,uni-page-wrapper{height:100%}.uni-mask{position:fixed;z-index:999;top:0;right:0;left:0;bottom:0;background:rgba(0,0,0,.5)}.uni-fade-enter-active,.uni-fade-leave-active{transition-duration:.25s;transition-property:opacity;transition-timing-function:ease}.uni-fade-enter-from,.uni-fade-leave-active{opacity:0}.uni-loading,uni-button[loading]:before{background-color:transparent;background-image:url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1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IgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=);background-repeat:no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}html{--primary-color: #007aff;--UI-BG: #fff;--UI-BG-1: #f7f7f7;--UI-BG-2: #fff;--UI-BG-3: #f7f7f7;--UI-BG-4: #4c4c4c;--UI-BG-5: #fff;--UI-FG: #000;--UI-FG-0: rgba(0, 0, 0, .9);--UI-FG-HALF: rgba(0, 0, 0, .9);--UI-FG-1: rgba(0, 0, 0, .5);--UI-FG-2: rgba(0, 0, 0, .3);--UI-FG-3: rgba(0, 0, 0, .1)}uni-page[data-type] uni-page-body{background-color:transparent}body:after{position:fixed;content:"";left:-1000px;top:-1000px;animation:shadow-preload .1s;animation-delay:3s}@keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}to{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}.uni-async-error{position:absolute;left:0;right:0;top:0;bottom:0;color:#999;padding:100px 10px;text-align:center}.uni-async-loading{box-sizing:border-box;width:100%;padding:50px;text-align:center}.uni-async-loading .uni-loading{width:30px;height:30px}*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}uni-page-body,html,body,#app{height:100%}html,body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;color:#1a1d23;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f7fb}a{text-decoration:none;color:inherit}h1,h2,h3,p{margin:0}svg{display:block}.shell-nav-bar{position:fixed;top:0;left:0;right:0;z-index:999;display:flex;justify-content:space-between;align-items:center;padding:10px 16px;background:linear-gradient(135deg,rgba(67,233,123,.9),rgba(56,249,215,.9));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff}.shell-nav-btn{display:flex;align-items:center;gap:4px;padding:8px 14px;background:rgba(255,255,255,.2);border-radius:20px;font-size:13px;color:#fff;cursor:pointer;border:none}.shell-nav-btn:active{background:rgba(255,255,255,.3)}.shell-balance-bar{font-size:13px;font-weight:600}.xt-page-wrap{min-height:100vh;width:100%;padding:16px 0 24px;display:flex;justify-content:center;align-items:flex-start;box-sizing:border-box}.xt-bg-home{background:linear-gradient(135deg,#667eea,#764ba2)}.xt-bg-doc{background:linear-gradient(135deg,#43e97b,#38f9d7)}.xt-bg-asr{background:linear-gradient(135deg,#f093fb,#f5576c)}.xt-bg-tts{background:linear-gradient(135deg,#4facfe,#00f2fe)}.xt-app{width:100%;max-width:760px;min-height:calc(100vh - 40px);min-height:calc(100dvh - 40px);background:#fff;border-radius:20px;box-shadow:0 20px 60px rgba(0,0,0,.15);overflow:hidden;display:flex;flex-direction:column;margin:0 12px}@media (max-width: 768px){.xt-app{margin:0;border-radius:0;min-height:100vh;min-height:100dvh}}.xt-header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;background:#fff;border-bottom:1px solid #e8ecf2}.xt-header-left{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.xt-header-right{display:flex;align-items:center;gap:8px}.xt-back-btn{display:flex;align-items:center;gap:4px;padding:8px 14px;background:#f0f2f7;border-radius:8px;font-size:13px;color:#5a6070;cursor:pointer;transition:background .15s;flex-shrink:0}.xt-back-btn:hover{background:#e4e8f0}.xt-back-btn svg{width:16px;height:16px}.xt-back-btn.tone-doc{background:linear-gradient(135deg,#43e97b,#38f9d7);color:#fff}.xt-back-btn.tone-doc:hover{opacity:.9}.xt-back-btn.tone-asr{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff}.xt-back-btn.tone-tts{background:linear-gradient(135deg,#4facfe,#00f2fe);color:#fff}.xt-logo{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.xt-logo svg{width:20px;height:20px}.xt-header-title{min-width:0;flex:1}.xt-header-title h1{font-size:17px;font-weight:600;color:#1a1d23;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.xt-header-title p{font-size:12px;color:#8a909c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.xt-main{flex:1;padding:8px 0 24px;display:flex;flex-direction:column;gap:14px}.xt-welcome{margin:20px 20px 10px;padding:20px;background:#fff;border-radius:14px;box-shadow:0 4px 20px rgba(0,0,0,.04)}.xt-welcome h2{font-size:18px;font-weight:600;color:#1a1d23;margin-bottom:6px}.xt-welcome p{font-size:13px;color:#5a6070;line-height:1.7}.xt-card-list{display:grid;gap:14px;padding:12px 20px}.xt-card{display:flex;align-items:center;gap:14px;padding:18px 16px;background:#fff;border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,.06);cursor:pointer;transition:transform .15s,box-shadow .15s}.xt-card:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(0,0,0,.12)}.xt-card-icon{width:52px;height:52px;border-radius:14px;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;flex-shrink:0}.xt-card-icon svg{width:26px;height:26px;color:#fff}.xt-card-body{flex:1;min-width:0}.xt-card-body h2{font-size:15px;font-weight:600;color:#1a1d23;margin-bottom:4px}.xt-card-body p{font-size:12px;color:#888;line-height:1.5}.xt-selector-bar{white-space:nowrap;padding:12px 20px 4px;background:#fff;border-bottom:1px solid #e8ecf2}.xt-pill-row{display:inline-flex;gap:8px;padding-bottom:8px}.xt-pill{display:inline-block;background:#f0f2f7;border-radius:20px;padding:2px;flex-shrink:0}.xt-pill-inner{padding:6px 14px;font-size:12px;color:#5a6070;white-space:nowrap}.xt-chat{flex:1;height:450px;padding:16px 20px;box-sizing:border-box;background:#f5f7fb}.xt-msg{display:flex;gap:10px;margin-bottom:14px;align-items:flex-start}.xt-msg.is-sys{justify-content:center}.xt-msg.is-user{flex-direction:row-reverse}.xt-sys-bar{background:#e4e8f0;color:#5a6070;font-size:12px;padding:4px 12px;border-radius:12px}.xt-avatar{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:13px;font-weight:600;color:#fff}.xt-avatar svg{width:18px;height:18px}.xt-avatar.avatar-user{background:linear-gradient(135deg,#667eea,#764ba2)}.xt-avatar.avatar-asr{background:linear-gradient(135deg,#f093fb,#f5576c)}.xt-avatar.avatar-tts{background:linear-gradient(135deg,#4facfe,#00f2fe)}.xt-bubble-wrap{max-width:78%;display:flex;flex-direction:column;gap:6px}.xt-msg.is-user .xt-bubble-wrap{align-items:flex-end}.xt-bubble{padding:10px 14px;border-radius:12px;font-size:14px;line-height:1.65;color:#1a1d23;word-break:break-word;box-shadow:0 2px 10px rgba(0,0,0,.04)}.xt-bubble.bubble-user{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-top-right-radius:4px}.xt-bubble.bubble-ai{background:#fff;border-top-left-radius:4px}.xt-bubble.bubble-err{background:#fff1f0;color:#f5576c}.xt-tts-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;background:rgba(79,172,254,.08);color:#4facfe;border-radius:12px;font-size:12px;cursor:pointer;align-self:flex-start}.xt-tts-btn:hover{background:rgba(79,172,254,.15)}.xt-tts-btn svg{width:14px;height:14px}.xt-tts-btn.active{background:linear-gradient(135deg,#4facfe,#00f2fe);color:#fff}.xt-status{text-align:center;color:#5a6070;font-size:12px;padding:8px 0 16px}.xt-status.is-loading{color:#4facfe}.xt-loading-dots{display:inline-flex;gap:3px}.xt-loading-dots span{width:5px;height:5px;border-radius:50%;background:#4facfe;animation:xt-dot-bounce 1.2s infinite ease-in-out both}.xt-loading-dots span:nth-child(2){animation-delay:.15s}.xt-loading-dots span:nth-child(3){animation-delay:.3s}@keyframes xt-dot-bounce{0%,80%,to{transform:scale(0);opacity:.5}40%{transform:scale(1);opacity:1}}.xt-input-area{background:#fff;border-top:1px solid #e8ecf2;padding:12px 16px 16px;display:flex;flex-direction:column;gap:12px}.xt-input-row{display:flex;align-items:flex-end;gap:10px;background:#f5f7fb;border:1px solid #e0e4ec;border-radius:12px;padding:10px 12px;position:relative}.xt-textarea{flex:1;background:transparent;font-size:14px;color:#1a1d23;line-height:1.6;min-height:36px;max-height:140px;padding-right:48px}.xt-char-count{position:absolute;right:66px;bottom:14px;font-size:11px;color:#b0b5c0}.xt-send-btn{width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg,#43e97b,#38f9d7);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:opacity .15s}.xt-send-btn:disabled{opacity:.4;cursor:not-allowed}.xt-send-btn svg{width:18px;height:18px}.xt-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.45);z-index:1000}
