:root{--red:#cc1e2b;--red-deep:#b51624;--text:#192126;--muted:#76818b;--border:#ebedf0;--bg:#f6f7f9;--surface:#fff;--soft:#f3f5f7;--shadow:0 10px 35px rgba(34,48,59,.045);font-family:"Huawei Sans",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text)}*{box-sizing:border-box}body{margin:0;background:var(--bg);min-height:100vh}button,input,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.shell{width:min(1190px,calc(100% - 56px));margin:0 auto}.topbar{height:94px;border-bottom:1px solid #e8ebee;display:flex;align-items:center;justify-content:space-between;gap:20px}.identity{display:flex;align-items:center;gap:13px}.logo-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:var(--red);color:white;font-size:22px;font-weight:850;box-shadow:0 6px 12px #cc1e2b2d}.brand{font-weight:850;letter-spacing:.09em;font-size:14px}.brand span{font-weight:550;color:#57626b;letter-spacing:.05em}.brand-caption{font-size:12px;color:#8f99a0;margin-top:2px}.topbar-right{display:flex;align-items:center;gap:20px}.flag{display:flex;align-items:center;gap:9px;color:#606b74;font-weight:650;font-size:12px;border:1px solid #e9ebef;background:#fff;padding:10px 14px;border-radius:30px}.live-dot,.connected{width:7px;height:7px;border-radius:50%;background:#3fba83;display:inline-block;box-shadow:0 0 0 3px #3fba8317}.header-logout{border:0;background:none;color:#6e7780;font-weight:650;font-size:13px}.header-logout:hover,.text-button:hover{color:var(--red)}main{padding:40px 0 30px;min-height:calc(100vh - 165px)}.eyebrow{font-size:11px;font-weight:800;color:var(--red);letter-spacing:.17em;margin:0 0 13px}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:27px}.section-head h1{font-weight:790;font-size:30px;letter-spacing:-.035em;margin:0 0 7px}.subheading{font-size:14px;color:#858f99;margin:0;line-height:1.5}.model-tag{flex-shrink:0;border:1px solid var(--border);background:#fff;border-radius:11px;padding:11px 16px;color:#89939b;font-size:12px}.model-tag b{color:#3a454c;margin-left:5px;font-weight:750}.layout{display:grid;grid-template-columns:315px minmax(0,1fr);align-items:start;gap:20px}.panel{background:white;border:1px solid #ebedf0;border-radius:18px;box-shadow:var(--shadow)}.customer-panel{padding:26px}.customer-visual{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.avatar{height:72px;width:72px;border-radius:23px;display:grid;place-items:center;color:var(--red);font-size:35px;font-weight:650;background:linear-gradient(140deg,#fff0f0,#ffe5e8);border:1px solid #f9d8dc}.scenario-tag{font-size:10px;letter-spacing:.09em;font-weight:850;color:#9fa6ae;background:#f6f7f8;padding:8px 10px;border-radius:7px}.customer-panel h2{font-size:22px;margin:0 0 8px;letter-spacing:-.025em}.customer-panel h2 span{font-weight:430;color:#99a2aa;font-size:17px}.customer-panel>p{line-height:1.63;color:#6d7882;font-size:13px;margin:0}.divider{height:1px;background:#eff1f3;margin:25px 0 22px}.scenario-line{display:flex;gap:12px;margin:0 0 22px}.scenario-line:last-child{margin-bottom:0}.small-icon{height:27px;width:27px;border:1px solid #f1dedf;color:var(--red);border-radius:9px;display:grid;place-items:center;flex-shrink:0;font-size:16px}.scenario-line b{font-size:13px;display:block;margin-bottom:5px}.scenario-line span:not(.small-icon){display:block;color:#83909a;font-size:12px;line-height:1.55}.tip-panel{display:flex;gap:12px;margin-top:15px;padding:18px 19px;background:#f1f3f5;border:0;box-shadow:none}.tip-icon{height:20px;width:20px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;color:#84909b;background:#e4e8eb;font-weight:750;font-size:12px}.tip-panel b{font-size:12px}.tip-panel p{margin:5px 0 0;line-height:1.5;color:#8a959e;font-size:12px}.chat-card{height:min(710px,calc(100dvh - 265px));min-height:530px;display:flex;flex-direction:column;overflow:hidden}.chat-header{padding:18px 23px;border-bottom:1px solid #f0f1f3;display:flex;justify-content:space-between;align-items:center}.chat-identity{display:flex;align-items:center;gap:11px}.tiny-avatar{height:38px;width:38px;display:grid;place-items:center;background:#ffebed;color:var(--red);border-radius:12px;font-weight:760}.chat-header h2{margin:0 0 4px;font-size:14px}.chat-subtitle{display:flex;align-items:center;gap:7px;font-size:11px;color:#89939e}.turn-counter{border:1px solid #f0f1f3;color:#a0a8b0;background:#fafbfc;border-radius:7px;font-size:11px;padding:7px 11px}.chat-scroll{flex:1;overflow:auto;padding:27px 24px 20px;scrollbar-width:thin}.scene-note{display:flex;gap:13px;max-width:510px;margin:0 auto 30px;padding:15px 16px;background:#f8f9fa;border-radius:12px}.scene-note-dot{font-size:18px;color:#c68f93}.scene-note b{font-size:12px}.scene-note p{font-size:12px;color:#89949d;line-height:1.6;margin:4px 0 0}.msg{display:flex;flex-direction:column;gap:5px;margin:0 0 18px;max-width:82%}.msg.user{margin-left:auto;align-items:flex-end}.msg.assistant{margin-right:auto;align-items:flex-start}.msg-name{color:#a0a9b0;font-size:10px;font-weight:700;margin:0 4px}.bubble{font-size:13px;line-height:1.62;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px 15px;border-radius:15px;background:#f4f6f7;color:#36424b}.msg.user .bubble{border-bottom-right-radius:4px;background:#d12d39;color:white}.msg.assistant .bubble{border-bottom-left-radius:4px}.typing{display:flex;gap:5px;padding:16px;width:max-content;background:#f4f6f7;border-radius:15px}.typing span{height:6px;width:6px;background:#aeb6bd;border-radius:50%;animation:blink 1.2s infinite}.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,65%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}.compose-area{padding:15px 22px 16px;border-top:1px solid #f0f1f3}.compose-area form{border:1px solid #e6e9ec;display:flex;align-items:flex-end;border-radius:14px;background:#fcfcfd;padding:10px 11px 9px 14px;gap:8px}.compose-area form:focus-within{border-color:#e7b2b6;box-shadow:0 0 0 3px #cf23310b}textarea{flex:1;background:transparent;border:0;resize:none;outline:0;font-size:13px;color:#1c242a;min-height:40px;max-height:135px;line-height:1.55}textarea::placeholder{color:#aeb7bf}.send-btn{flex-shrink:0;background:var(--red);color:white;border:0;width:35px;height:35px;border-radius:10px;display:grid;place-items:center;font-size:18px;transition:.16s}.send-btn:hover,.primary:hover{background:var(--red-deep)}button:disabled{opacity:.5;cursor:not-allowed}.compose-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 2px 0;font-size:10px;color:#b1b8bd}.chat-actions{display:flex;gap:16px;align-items:center}.text-button{border:0;background:none;padding:0;font-weight:700;color:#8f99a1;font-size:11px}.text-button.emphasis{color:var(--red)}.chat-error{color:#b41926;font-size:12px;background:#fff1f1;border-radius:8px;padding:10px 12px;margin:0 0 10px}.footer-disclaimer{text-align:center;font-size:11px;color:#9ca6ae;margin-top:23px}.page-footer{display:flex;gap:9px;justify-content:center;align-items:center;color:#adb4ba;font-size:11px;padding:11px 0 26px}.page-footer span{color:#e0e3e6}.gate{max-width:465px;margin:38px auto 80px;padding:38px 36px}.gate-icon{width:50px;height:50px;background:#fff0f1;color:var(--red);font-size:26px;border-radius:15px;display:grid;place-items:center;margin-bottom:24px}.gate h1{font-size:28px;letter-spacing:-.04em;line-height:1.2;margin:0 0 12px}.lead{font-size:13px;line-height:1.7;color:#7e8994;margin-bottom:30px}.field-label{display:block;font-size:12px;font-weight:750;margin-bottom:9px}.input-group{display:flex;gap:8px}.input-group input{min-width:0;flex:1;border:1px solid #e8ebee;border-radius:10px;font-size:13px;padding:13px;outline:0}.input-group input:focus{border-color:#d46e75}.button{border:0;border-radius:10px;padding:12px 18px;font-size:13px;font-weight:750}.primary{background:var(--red);color:white}.privacy-pill{margin-top:27px;padding:12px;font-size:11px;color:#87939d;line-height:1.55;background:#f5f6f8;border-radius:9px}.error{font-size:12px;color:#bf202c;line-height:1.5}.modal-overlay{position:fixed;inset:0;background:#19202795;display:flex;align-items:center;justify-content:center;padding:22px;z-index:20;backdrop-filter:blur(4px)}.modal{width:min(620px,100%);max-height:min(80vh,750px);overflow:auto;border-radius:20px;padding:28px 30px;background:white;box-shadow:0 18px 45px #0002}.modal-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.modal-head h2{font-size:23px;letter-spacing:-.02em;margin:0}.modal-close{border:0;background:#f3f4f6;color:#65717b;border-radius:9px;height:35px;width:35px;font-size:24px}.modal-caption{font-size:12px;color:#8a949e;line-height:1.6;margin:15px 0 20px}.feedback-text{font-size:14px;color:#354149;line-height:1.8;white-space:pre-wrap;background:#f6f8f9;border-radius:13px;padding:20px;min-height:80px;margin-bottom:22px;overflow-wrap:anywhere}.full{width:100%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:850px){.shell{width:min(100% - 28px,600px)}.layout{grid-template-columns:minmax(0,1fr)}.sidebar{display:flex;gap:12px}.customer-panel{width:100%;padding:17px 19px}.customer-panel .customer-visual{margin-bottom:12px}.avatar{width:49px;height:49px;border-radius:15px;font-size:25px}.customer-panel h2{font-size:19px}.customer-panel h2 span{font-size:15px}.divider,.scenario-line,.tip-panel{display:none}.chat-card{height:65dvh;min-height:520px}.section-head h1{font-size:25px}.model-tag{display:none}main{padding-top:29px}.topbar{height:75px}.section-head{margin-bottom:19px}}@media(max-width:520px){.shell{width:100%;padding:0 14px}.topbar{height:71px}.brand{font-size:12px}.brand-caption{font-size:10px}.logo-mark{width:36px;height:36px;border-radius:11px}.flag{font-size:10px;padding:8px 10px}.topbar-right{gap:8px}.header-logout{font-size:11px}main{padding:25px 0 8px}.section-head h1{font-size:24px}.subheading{font-size:12px}.customer-panel>p{font-size:12px}.scenario-tag{font-size:9px}.chat-card{min-height:480px;height:calc(100dvh - 380px);max-height:680px;border-radius:16px}.chat-header{padding:14px 16px}.chat-scroll{padding:18px 14px 8px}.compose-area{padding:12px 12px 14px}.compose-footer{flex-wrap:wrap;gap:9px}.compose-footer>span{display:none}.chat-actions{width:100%;justify-content:space-between}.msg{max-width:90%}.bubble{font-size:13px}.gate{padding:26px 22px;margin:30px 0}.gate h1{font-size:25px}.input-group{flex-direction:column}.footer-disclaimer{line-height:1.65}.page-footer{font-size:9px;flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.typing span{animation:none}}
