:root{color-scheme:light;--ink:#162c3e;--sub:#6f7f8c;--line:#e7edf0;--brand:#0b8e80;--brand-dark:#086b60;--bg:#f7f9fb;--white:#fff}*{box-sizing:border-box}html{min-height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}body{margin:0;background:var(--bg);color:var(--ink)}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}[hidden]{display:none!important}.shell{min-height:100vh;display:flex;flex-direction:column}.top{background:rgba(255,255,255,.93);border-bottom:1px solid var(--line)}.top-inner{max-width:1090px;margin:auto;height:73px;padding:0 30px;display:flex;align-items:center;justify-content:space-between}.brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:12px}.brand .logo,.bot-icon{background:var(--brand);color:white;display:grid;place-items:center;border-radius:13px;width:39px;height:39px;font-size:23px}.brand strong{display:block;letter-spacing:.03em;font-size:16px}.brand small{display:block;font-size:10px;color:#96a2ab;letter-spacing:.12em;margin-top:2px}.top-right{display:flex;align-items:center;gap:13px}.status{font-size:12px;color:#48685d;background:#edf7f2;border-radius:20px;padding:7px 11px}.status i,.dot{display:inline-block;background:#36b489;width:7px;height:7px;border-radius:50%;margin-right:5px}.vtag{font-size:11px;color:#9aa6ae}.main{width:100%;max-width:1090px;margin:0 auto;flex:1;padding:50px 30px 28px}.intro{text-align:center;margin-bottom:34px}.eyebrow{font-size:12px;letter-spacing:.17em;color:var(--brand);font-weight:700}.spark{font-size:18px;vertical-align:-1px}.intro h1{font-size:clamp(28px,4.1vw,42px);line-height:1.4;margin:12px 0 11px;letter-spacing:-.04em}.intro h1 em{font-style:normal;color:var(--brand)}.intro p{font-size:13px;color:var(--sub);margin:0;line-height:1.8}.main-card{max-width:530px;margin:0 auto;border-radius:17px;background:white;border:1px solid var(--line);box-shadow:0 13px 60px #213e5210;overflow:hidden}.step{height:62px;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center;padding:0 32px;color:#2c504c;font-size:12px;font-weight:600}.stepnum{background:#e6f5ee;color:var(--brand);font-size:11px;border-radius:50%;width:23px;height:23px;display:grid;place-items:center}.step-line{height:1px;background:var(--line);flex:1}.step .muted{color:#a8b2bb;font-weight:400}.formarea{padding:36px 43px 32px}.circle-icon{height:52px;width:52px;border-radius:15px;background:#eaf7f3;color:var(--brand);display:grid;place-items:center;font-size:26px;margin:0 auto 18px}.formarea h2{text-align:center;font-size:21px;margin:0 0 10px;letter-spacing:-.02em}.sub{text-align:center;color:var(--sub);font-size:13px;line-height:1.9;margin:0 auto 29px;max-width:360px}label{display:block;font-size:13px;font-weight:600;margin-bottom:9px}.input-wrap{position:relative}input{width:100%;background:#fbfcfd;border:1px solid #dce5e8;border-radius:9px;padding:14px 44px 14px 15px;color:var(--ink);outline:none;font-size:14px}input:focus,textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px #0b8e801c}.at{position:absolute;right:14px;top:11px;color:#c0cbd2;font-size:19px}.primary{display:flex;align-items:center;justify-content:center;gap:12px;background:var(--brand);color:white;border:0;border-radius:9px;padding:14px;width:100%;margin-top:19px;font-size:14px;font-weight:600;transition:background .2s}.primary:hover{background:var(--brand-dark)}.primary span{font-size:19px}.privacy{font-size:11px;text-align:center;line-height:1.9;color:#9aa6af;margin:22px 0 0}.error{font-size:12px;color:#9e3838;background:#fff2f2;border:1px solid #ffd5d5;border-radius:8px;padding:10px 12px;line-height:1.8}.demo-banner{max-width:900px;background:#fff8e7;border:1px solid #f3deac;color:#825e25;margin:0 auto 16px;border-radius:9px;padding:12px 15px;text-align:center;font-size:12px;line-height:1.8}.support-footer{text-align:center;color:#9aa5af;font-size:11px;margin:27px auto 0;line-height:1.8}.footer{border-top:1px solid var(--line);padding:22px;text-align:center;color:#b5bec5;font-size:11px}.chat-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:18px;max-width:1030px;margin:0 auto}.side,.chat-card{background:white;border:1px solid var(--line);border-radius:15px;box-shadow:0 10px 45px #213e520a}.side{padding:22px;height:fit-content}.side-top{font-size:13px;font-weight:700;color:#217a61;display:flex;align-items:center;gap:9px;margin-bottom:22px}.success-mark{background:#e4f5ed;border-radius:50%;padding:4px 7px}.detail{margin-bottom:22px}.detail small{display:block;color:#93a0a9;font-size:11px;margin-bottom:7px}.detail strong{font-size:13px;overflow-wrap:anywhere}.traffic{display:flex;gap:6px;align-items:baseline;color:#067c6f}.traffic strong{font-size:28px;letter-spacing:-.05em}.traffic span{font-size:12px}.divider{border-top:1px solid var(--line);margin:18px 0}.side h3{font-size:12px;color:#7e8c97;font-weight:600;margin:0 0 12px}.device-list{display:grid;gap:7px}.device{border:1px solid transparent;background:transparent;color:#586977;border-radius:8px;text-align:left;padding:11px 12px;font-size:12px}.device span{font-size:18px;vertical-align:-2px;color:#90a3b0;margin-right:7px}.device:hover{background:#f4f8f8}.device.selected{color:#08786c;border-color:#cdebe4;background:#f1f9f6;font-weight:600}.device.selected span{color:var(--brand)}.change{border:0;border-top:1px solid var(--line);background:white;color:#8c9ca5;font-size:12px;width:100%;text-align:left;padding:20px 2px 0;margin-top:19px;display:flex;justify-content:space-between}.chat-card{display:flex;flex-direction:column;min-height:530px;height:min(660px,calc(100vh - 235px));overflow:hidden}.chat-head{display:flex;align-items:center;gap:11px;padding:17px 20px;border-bottom:1px solid var(--line)}.bot-icon{width:35px;height:35px;font-size:18px}.chat-head h2{margin:0;font-size:14px}.chat-head p{margin:4px 0 0;color:#96a1ab;font-size:11px}.chat-head .dot{margin-left:auto}.messages{flex:1;overflow:auto;padding:22px 18px;display:flex;flex-direction:column;gap:17px}.bubble-wrap{display:flex;gap:9px;max-width:88%;align-self:flex-start;align-items:flex-start}.bubble-wrap.mine{align-self:flex-end;justify-content:flex-end}.assistant-badge{flex:none;width:26px;height:26px;border-radius:9px;background:#e7f6f2;color:#0b8e80;display:grid;place-items:center}.bubble{padding:12px 14px;white-space:pre-wrap;line-height:1.75;font-size:12.5px;max-width:100%;overflow-wrap:anywhere}.agent{background:#f3f7f8;color:#384b56;border-radius:4px 12px 12px 12px}.mine .bubble{background:#0b8e80;color:white;border-radius:12px 4px 12px 12px}.bottom{border-top:1px solid var(--line);padding:14px 16px 13px}.quick{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}.quick button{border:1px solid #dce8e9;color:#53717a;background:white;border-radius:15px;padding:6px 10px;font-size:11px}.quick button:hover{background:#eef8f5}.composer{display:flex;align-items:end;gap:8px;border:1px solid #dde8ec;border-radius:11px;padding:6px}.composer textarea{flex:1;resize:none;max-height:100px;min-height:30px;padding:8px 9px;border:0;outline:none;font-size:12px;line-height:1.6;box-shadow:none;background:transparent}.composer textarea:focus{box-shadow:none}.composer button{width:33px;height:33px;flex:none;border:0;border-radius:8px;background:var(--brand);color:white;font-size:17px}.note{margin-top:9px;text-align:center;color:#a5afb7;font-size:10px;line-height:1.6}@media(max-width:700px){.top-inner{height:60px;padding:0 18px}.brand .logo{width:34px;height:34px}.brand strong{font-size:14px}.top-right .vtag{display:none}.main{padding:29px 14px 24px}.intro{margin-bottom:26px}.intro h1{font-size:29px}.intro p{max-width:330px;margin:auto}.formarea{padding:29px 22px}.step{padding:0 20px}.chat-layout{grid-template-columns:1fr;gap:10px}.side{padding:14px}.side-top{margin:0 0 12px}.detail{display:inline-block;vertical-align:top;width:48%;margin-bottom:12px}.detail .traffic strong{font-size:21px}.side .divider,.side h3{display:none}.device-list{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.device{padding:7px 9px}.change{margin-top:9px;padding-top:12px}.chat-card{height:570px;min-height:440px}.support-footer{font-size:10px}.bubble-wrap{max-width:94%}}

/* V6: screenshot upload and preview */
.file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important;padding:0!important;border:0!important}
.attach-image{width:35px;height:35px;flex:none;display:grid;place-items:center;border-radius:8px;border:1px solid #d6e5e7;background:#f7fbfa;color:#087e72;cursor:pointer;margin:0;font-size:22px;font-weight:400;user-select:none}
.attach-image:hover,.attach-image:focus-within{background:#e7f7f3;border-color:#87cfc2}
.composer.drag-over{border-color:#0b8e80;background:#eaf8f5;box-shadow:0 0 0 3px #0b8e801f}
.image-preview{display:flex;align-items:center;gap:10px;padding:8px 10px;margin:0 0 8px;border:1px solid #cfe9e3;background:#f5fbf9;border-radius:9px}
.image-preview img{width:58px;height:58px;object-fit:contain;background:white;border-radius:6px;border:1px solid #dae6e7}
.image-name{font-size:12px;color:#53717a;flex:1;word-break:break-word}
.remove-image{border:0;background:#e1eeeb;border-radius:50%;width:26px;height:26px;color:#476a63;font-size:19px;line-height:1}
.image-hint{font-size:10px;color:#80939c;margin-top:6px;text-align:left}
.bubble img.sent-thumb{display:block;width:auto;max-width:165px;max-height:185px;object-fit:contain;border-radius:7px;margin:5px 0 7px;background:#ffffff;border:1px solid #c3dad4}
@media(max-width:700px){.image-preview img{width:46px;height:46px}.attach-image{width:34px;height:34px}}

/* V7 统一文字+图片输入与每条回答反馈 */
.composer{align-items:end;min-height:65px;padding:8px 9px;background:#fbfdfd}
.composer textarea{font-size:13px;line-height:1.55;min-height:49px;max-height:135px;padding:7px 9px;resize:vertical}
.attach-image{align-self:end;margin-bottom:2px}
.composer #sendButton{align-self:end;margin-bottom:2px}
.bubble-wrap.assistant-answer{display:flex;flex-wrap:wrap;max-width:88%}
.bubble-wrap.assistant-answer .bubble{max-width:calc(100% - 37px);flex:1}
.feedback-row{width:calc(100% - 36px);margin-left:35px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:3px}
.feedback-row button{font-size:11px;color:#416e69;border:1px solid #d8e7e4;padding:6px 10px;border-radius:16px;background:#fff;cursor:pointer}
.feedback-row button:hover{background:#edf8f4;border-color:#8bd3c5}
.feedback-row button:disabled{opacity:.6;cursor:default}
.feedback-status{font-size:11px;color:#668177;line-height:1.5}
@media(max-width:700px){.bubble-wrap.assistant-answer{max-width:98%}.feedback-row{margin-left:33px;width:calc(100% - 33px)}.composer textarea{font-size:14px}}
