:root{--bg:#f3f6fb;--surface:#fff;--surface-soft:#f8fafc;--sidebar:#091426;--sidebar-soft:#101f37;--sidebar-line:rgba(255,255,255,.08);--text:#14213d;--muted:#718096;--line:#e5eaf2;--cyan:#16c5e8;--cyan-soft:#e7fbff;--blue:#246bfd;--blue-soft:#edf3ff;--green:#1ecb8b;--shadow-soft:0 8px 24px rgba(20,33,61,.06);font-family:"Segoe UI","Microsoft YaHei","PingFang SC",system-ui,sans-serif}
*{box-sizing:border-box}html,body{height:100%}body{margin:0;background:var(--bg);color:var(--text);overflow:hidden}button,input,textarea{font:inherit}button{color:inherit}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.app-shell{display:flex;min-height:100vh}
.sidebar{width:248px;flex:0 0 248px;background:var(--sidebar);color:#dbe7ff;padding:22px 16px 18px;display:flex;flex-direction:column;position:relative;z-index:40}.brand-row{display:flex;align-items:center;justify-content:space-between;padding:0 6px 24px}.brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:11px;min-width:0}.brand-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#1ecff0,#246bfd);box-shadow:0 9px 24px rgba(22,197,232,.25);flex:0 0 auto}.brand-mark svg{width:42px;height:42px;stroke:#fff;stroke-width:2}.brand-copy{display:grid;gap:1px}.brand-copy strong{font-size:19px;letter-spacing:-.3px;color:#fff}.brand-copy small{font-size:10px;color:#8ba1c2;letter-spacing:.08em;text-transform:uppercase}
.main-nav{display:grid;gap:5px}.nav-group-label{color:#7086a8;font-size:10px;letter-spacing:.16em;margin:17px 12px 6px;text-transform:uppercase}.nav-item{min-height:46px;border-radius:12px;padding:0 12px;display:flex;align-items:center;gap:12px;color:#a9bad5;text-decoration:none;transition:.2s;border:1px solid transparent}.nav-item svg{width:19px;height:19px}.nav-item span{font-size:14px;font-weight:600}.nav-item em{margin-left:auto;font-style:normal;font-size:10px;color:#8ce9f7;background:rgba(22,197,232,.13);padding:3px 7px;border-radius:99px}.nav-item:hover{background:rgba(255,255,255,.055);color:#fff}.nav-item.is-active{color:#fff;background:linear-gradient(90deg,rgba(22,197,232,.18),rgba(36,107,253,.12));border-color:rgba(86,213,244,.14)}.nav-item.is-active svg{color:#49dff6}
.sidebar-footer{margin-top:auto;padding-top:18px;border-top:1px solid var(--sidebar-line)}.guest-card{display:flex;gap:10px;align-items:center;padding:8px 8px 12px}.avatar{width:36px;height:36px;border-radius:12px;background:var(--sidebar-soft);display:grid;place-items:center;color:#7e96ba}.avatar svg{width:18px;height:18px}.guest-card>span:last-child{display:grid;gap:2px;min-width:0}.guest-card strong{font-size:12px;color:#dce8fb}.guest-card small{font-size:10px;color:#7589a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-login{width:100%;height:39px;border:1px solid rgba(97,221,246,.22);border-radius:11px;background:rgba(22,197,232,.1);color:#7de8f7;font-weight:700;cursor:pointer}.sidebar-login:hover{background:rgba(22,197,232,.16)}.icon-button{border:0;background:transparent;display:grid;place-items:center;cursor:pointer}.sidebar-close{display:none;color:#91a6c5}
.main-panel{min-width:0;flex:1;display:flex;flex-direction:column;height:100vh}.topbar{height:82px;flex:0 0 82px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.9);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);position:relative;z-index:20}.topbar-left{display:flex;align-items:center;gap:14px}.topbar-left h1{margin:2px 0 0;font-size:20px;letter-spacing:-.3px}.eyebrow{margin:0;color:#8a98ae;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.topbar-actions{display:flex;align-items:center;gap:9px}.system-status{height:34px;padding:0 12px;border:1px solid var(--line);border-radius:99px;display:flex;align-items:center;gap:7px;color:#64748b;font-size:11px;background:#fff}.system-status i,.dot{width:7px;height:7px;border-radius:50%;display:inline-block}.system-status i{background:var(--green);box-shadow:0 0 0 4px rgba(30,203,139,.1)}.language-button,.text-button,.primary-button,.wechat-button{border:0;border-radius:10px;cursor:pointer;font-weight:700}.language-button{height:36px;padding:0 11px;display:flex;gap:6px;align-items:center;background:transparent;color:#53627a}.language-button svg{width:17px;height:17px}.text-button{height:36px;padding:0 13px;background:transparent;color:#35445c}.text-button:hover,.language-button:hover{background:#f2f5fa}.primary-button{height:38px;padding:0 16px;background:var(--blue);color:#fff;box-shadow:0 8px 18px rgba(36,107,253,.18)}.primary-button:hover{background:#175ce1}.mobile-menu{display:none;width:40px;height:40px;border-radius:12px;background:#f2f5fa;gap:4px}.mobile-menu span{width:17px;height:2px;border-radius:4px;background:#42526b}
.workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;padding:24px 28px 28px;overflow:auto}.chat-panel,.inspector-panel>section{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft)}.chat-panel{min-height:620px;border-radius:24px;padding:28px 30px 20px;display:flex;flex-direction:column}.conversation-head{display:flex;gap:15px;align-items:flex-start}.assistant-orb{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#173f88,#18b8db);box-shadow:0 12px 24px rgba(23,63,136,.18);flex:0 0 auto}.assistant-orb svg{width:23px;height:23px}.conversation-head h2{margin:5px 0;font-size:clamp(24px,3vw,34px);line-height:1.16;letter-spacing:-.8px}.conversation-head p:last-child{margin:0;color:var(--muted);font-size:13px}.quick-prompts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:26px 0 22px}.quick-prompts button{min-height:94px;padding:15px;border:1px solid var(--line);background:var(--surface-soft);border-radius:15px;text-align:left;cursor:pointer;transition:.2s}.quick-prompts button:hover{border-color:#b8dff0;background:var(--cyan-soft);transform:translateY(-1px)}.quick-prompts span{display:block;color:#7390a6;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px}.quick-prompts strong{display:block;font-size:13px;line-height:1.45}
.message-stream{display:grid;gap:18px;margin-bottom:20px;overflow:auto;padding-right:4px}.message{display:flex;gap:11px;max-width:780px}.message-avatar{width:32px;height:32px;flex:0 0 auto;border-radius:11px;display:grid;place-items:center;color:#fff;background:#1d5ed8}.message-avatar svg{width:16px;height:16px}.message-body{background:#f5f8fc;border:1px solid #e9eff7;border-radius:4px 16px 16px 16px;padding:13px 15px}.message-meta{display:flex;gap:8px;align-items:center;margin-bottom:6px}.message-meta strong{font-size:12px}.message-meta time{color:#9aa6b7;font-size:10px}.message-body p{margin:0;font-size:13px;line-height:1.75;color:#4a5b74}.message-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}.message-actions button{border:1px solid #dce6f2;background:#fff;color:#53657e;border-radius:99px;padding:6px 10px;font-size:11px;cursor:pointer}.user-message{margin-left:auto;flex-direction:row-reverse}.user-message .message-body{background:var(--blue);color:#fff;border:0;border-radius:16px 4px 16px 16px}.user-message .message-body p,.user-message .message-meta time{color:#fff}.user-message .message-avatar{background:#dce6f6;color:#33517c}
.composer{margin-top:auto;border:1px solid #dce4ef;border-radius:18px;background:#fff;padding:13px 13px 10px;box-shadow:0 10px 30px rgba(26,50,87,.08);transition:.2s}.composer:focus-within{border-color:#9edced;box-shadow:0 10px 34px rgba(22,197,232,.12)}.composer textarea{width:100%;min-height:48px;max-height:150px;resize:none;border:0;outline:0;color:var(--text);font-size:14px;line-height:1.65;background:transparent}.composer textarea::placeholder{color:#98a5b8}.composer-toolbar{display:flex;justify-content:space-between;align-items:center;padding-top:7px}.composer-tools{display:flex;gap:5px}.tool-button,.voice-button{border:0;background:transparent;height:32px;border-radius:9px;cursor:pointer;display:flex;align-items:center;gap:6px;color:#66758a}.tool-button{width:34px;justify-content:center}.tool-button:hover,.voice-button:hover{background:#f2f5fa}.tool-button svg,.voice-button svg{width:17px;height:17px}.voice-button{padding:0 9px;font-size:11px}.send-button{width:37px;height:37px;border:0;border-radius:12px;display:grid;place-items:center;background:#17243c;color:#fff;cursor:pointer}.send-button:hover{background:var(--blue)}.compliance-note{color:#9aa6b7;font-size:10px;text-align:center;margin:10px 0 0}
.inspector-panel{display:grid;align-content:start;gap:14px}.inspector-panel>section{border-radius:18px;padding:18px}.card-title{display:flex;align-items:center;gap:11px;margin-bottom:18px}.card-icon{width:38px;height:38px;border-radius:12px;background:var(--cyan-soft);color:#089ab8;display:grid;place-items:center}.card-icon svg{width:19px;height:19px}.card-title>span:last-child{display:grid;gap:2px}.card-title small,.score-preview small{color:#8391a5;font-size:10px}.card-title strong{font-size:14px}.audit-card label{display:block;color:#59697f;font-size:11px;font-weight:700;margin-bottom:7px}.url-input{height:45px;border:1px solid #dce4ef;border-radius:11px;display:flex;align-items:center;gap:8px;padding:0 11px;background:#fbfcfe}.url-input svg{color:#8e9db0;width:17px;height:17px}.url-input input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--text);font-size:12px}.audit-button{width:100%;height:43px;margin-top:10px;border:0;border-radius:11px;background:var(--blue);color:#fff;display:flex;justify-content:center;align-items:center;gap:8px;cursor:pointer;font-weight:700;font-size:12px;box-shadow:0 8px 20px rgba(36,107,253,.18)}.audit-button svg{width:16px;height:16px}.audit-meta{display:flex;flex-wrap:wrap;gap:9px;margin-top:13px;color:#8a98aa;font-size:10px}.audit-meta span{display:flex;align-items:center;gap:5px}.dot.green{background:var(--green)}.dot.cyan{background:var(--cyan)}.dot.blue{background:var(--blue)}
.score-preview{display:flex;align-items:center;gap:15px}.score-ring{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;align-content:center;background:radial-gradient(circle at center,#fff 55%,transparent 57%),conic-gradient(var(--cyan) 0 78%,#e8edf4 78% 100%)}.score-ring span{font-size:20px;font-weight:800;line-height:1}.score-ring small{margin-top:2px;font-size:9px}.score-preview>div:last-child{display:grid;gap:3px}.score-preview strong{font-size:14px}.score-preview p{margin:0;color:#8b98a9;font-size:10px}.insight-list{padding-top:16px!important}.section-label{display:flex;justify-content:space-between;color:#8694a7;font-size:10px;margin-bottom:12px}.insight-list article{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #edf1f6}.insight-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto}.insight-icon svg{width:17px;height:17px}.insight-icon.green{color:#139e70;background:#eafbf4}.insight-icon.cyan{color:#079bb9;background:var(--cyan-soft)}.insight-icon.blue{color:#245ed0;background:var(--blue-soft)}.insight-list article>span:last-child{display:grid;gap:2px}.insight-list strong{font-size:12px}.insight-list small{color:#8d99aa;font-size:10px}
.modal-backdrop{position:fixed;inset:0;z-index:90;background:rgba(5,15,32,.54);display:grid;place-items:center;padding:20px;opacity:0;pointer-events:none;transition:.2s}.modal-backdrop.is-open{opacity:1;pointer-events:auto}.login-modal{width:min(430px,100%);background:#fff;border-radius:24px;padding:30px;position:relative;box-shadow:0 30px 90px rgba(2,12,28,.3);transform:translateY(8px);transition:.2s}.modal-backdrop.is-open .login-modal{transform:translateY(0)}.modal-close{position:absolute;right:16px;top:16px;color:#8794a8}.modal-brand{display:flex;justify-content:center;margin-bottom:12px}.login-modal h2{font-size:24px;line-height:1.3;margin:7px 0 8px;text-align:center}.modal-copy{color:#7c899c;font-size:12px;line-height:1.7;text-align:center;margin:0 0 21px}.login-modal form{display:grid;gap:13px}.login-modal label{display:grid;gap:7px;color:#536279;font-size:11px;font-weight:700}.login-modal input{height:44px;border:1px solid #dce4ef;border-radius:11px;padding:0 12px;outline:0}.login-modal input:focus{border-color:#8dd6e7;box-shadow:0 0 0 3px rgba(22,197,232,.1)}.full-width{width:100%;height:44px;margin-top:3px}.modal-divider{display:flex;align-items:center;gap:10px;color:#a0abb9;font-size:10px;margin:17px 0}.modal-divider::before,.modal-divider::after{content:"";height:1px;flex:1;background:#edf1f6}.wechat-button{width:100%;height:43px;background:#effaf4;color:#19945d}.modal-terms{text-align:center;color:#9aa6b6;font-size:10px;margin:14px 0 0}.toast{position:fixed;left:50%;bottom:28px;z-index:120;transform:translate(-50%,20px);background:#132039;color:#fff;padding:11px 16px;border-radius:11px;font-size:12px;box-shadow:0 15px 40px rgba(5,15,32,.22);opacity:0;pointer-events:none;transition:.2s}.toast.is-visible{opacity:1;transform:translate(-50%,0)}.sidebar-mask{display:none}
@media(max-width:1180px){.workspace{grid-template-columns:minmax(0,1fr) 300px;padding:20px;gap:16px}.topbar{padding:0 20px}.system-status{display:none}}
@media(max-width:940px){.workspace{grid-template-columns:1fr}.inspector-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-list{grid-column:1/-1}.quick-prompts{grid-template-columns:1fr}.quick-prompts button{min-height:68px}}
@media(max-width:760px){body{overflow:auto}.app-shell{min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;transform:translateX(-102%);transition:.25s;width:250px}.sidebar.is-open{transform:translateX(0)}.sidebar-close{display:grid;color:#9fb2cf}.sidebar-mask{display:block;position:fixed;inset:0;background:rgba(5,15,32,.48);z-index:35;opacity:0;pointer-events:none;transition:.2s}.sidebar-mask.is-open{opacity:1;pointer-events:auto}.mobile-menu{display:flex;flex-direction:column;align-items:center;justify-content:center}.topbar{height:70px;flex:0 0 70px;padding:0 14px}.topbar-actions{gap:2px}.text-button,.language-button span{display:none}.primary-button{height:36px;padding:0 12px;font-size:12px}.workspace{display:block;padding:14px}.chat-panel{min-height:auto;padding:22px 18px 18px;border-radius:20px}.conversation-head h2{font-size:25px}.inspector-panel{margin-top:14px;grid-template-columns:1fr}.message{max-width:100%}.composer textarea{min-height:42px}.login-modal{padding:25px 20px}}
.last-report-button { display: flex; align-items: center; gap: 6px; color: #1c5ec7; background: #eef5ff; }
.last-report-button svg { width: 16px; height: 16px; }
.last-report-button:hover { background: #e2efff; }
@media (max-width: 760px) { .last-report-button span { display: none; } .last-report-button { width: 36px; justify-content: center; padding: 0; } }

.home-content{grid-column:1/-1;margin-top:2px;padding:34px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,#fff,#f7fbff);box-shadow:var(--shadow-soft)}.home-content-head{max-width:900px}.home-content-head h2{margin:8px 0 12px;font-size:28px;line-height:1.35;letter-spacing:-.6px}.home-content-head>p:last-child{margin:0;color:var(--muted);font-size:14px;line-height:1.8}.home-content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}.home-content-grid article{padding:20px;border:1px solid #e8edf5;border-radius:16px;background:#fff}.home-content-grid h3{margin:0 0 9px;font-size:15px}.home-content-grid p{margin:0;color:var(--muted);font-size:12px;line-height:1.75}.home-content-links{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:18px;padding:22px;border-radius:17px;background:#101f37;color:#fff}.home-content-links h3{margin:0 0 7px;font-size:17px}.home-content-links p{margin:0;color:#9fb0ca;font-size:12px}.home-content-links nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:650px}.home-content-links a{padding:9px 12px;border:1px solid rgba(255,255,255,.12);border-radius:10px;color:#cfe9ff;text-decoration:none;font-size:11px;font-weight:700}.home-content-links a:hover{border-color:#49dff6;color:#fff;background:rgba(22,197,232,.12)}@media(max-width:1180px){.home-content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.home-content{padding:24px 18px;border-radius:20px}.home-content-head h2{font-size:23px}.home-content-grid{grid-template-columns:1fr}.home-content-links{align-items:flex-start;flex-direction:column}.home-content-links nav{justify-content:flex-start}}
