:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#1d1d1f;background:#f5f5f7;font-synthesis:none;--line:#e8e8ed;--muted:#7d7d86}*{box-sizing:border-box}body{margin:0;background:#f5f5f7}button,a,textarea{font:inherit}button{border:0;background:none;color:inherit;cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration:none}svg{width:21px;height:21px;display:block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}button:focus-visible,a:focus-visible{outline:3px solid #a1c9f6;outline-offset:4px}textarea:focus{outline:none}[hidden]{display:none!important}
.topbar{height:82px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:rgba(255,255,255,.92);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px;white-space:nowrap}.brand-logo{width:62px;height:52px;display:block;object-fit:contain}.brand-divider{width:1px;height:29px;margin:0 6px;background:#dedee3}.product-label{color:#4f4f57;font-size:15px;font-weight:500}.top-right{display:flex;align-items:center;gap:20px}.edition{color:#85858b;font-size:13px}.user-badge{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#ececf0;color:#64646c;font-size:13px}
.shell{display:flex;min-height:calc(100dvh - 82px)}.sidebar{width:226px;max-height:calc(100dvh - 82px);padding:28px 17px 20px;display:flex;flex-direction:column;flex-shrink:0;background:#fafafa;border-right:1px solid var(--line)}.nav-item{width:100%;display:flex;align-items:center;gap:13px;margin-bottom:7px;padding:15px 16px;border-radius:12px;color:#55555e;font-size:15px;text-align:left}.nav-item.active{color:#17171b;background:#eaeaf0;font-weight:600}.nav-item:hover{background:#f0f0f4}.history-head{display:flex;align-items:center;justify-content:space-between;margin:35px 12px 7px;color:#93939b;font-size:12px}.history-head .icon-button{width:27px;height:27px}.history-head svg{width:15px;height:15px}#history{flex:1;min-height:100px;overflow:auto}.history-empty{padding:6px 14px;color:#a0a0a7;font-size:13px;line-height:1.9}.history-item{width:100%;display:block;padding:12px;overflow:hidden;border-radius:8px;color:#707078;font-size:13px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.history-item:hover,.history-item.selected{color:#24242b;background:#ebebef}.sidebar-bottom{display:flex;flex-direction:column;gap:7px;padding:20px 15px 0;color:#aaaab0;font-size:11px}.tiny-logo{color:#7d7d86;font-size:13px;letter-spacing:2px}
main{flex:1;min-width:0}.home-view{max-width:1230px;margin:auto;padding:66px 58px 32px}.eyebrow{margin:0 0 13px;color:#87878f;font-size:14px}.home-heading h1{margin:0 0 16px;font-size:38px;font-weight:650;letter-spacing:-1.3px;line-height:1.3}.home-heading>p{margin:0;color:#797981;font-size:16px;line-height:1.8}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:40px}.agent-card{position:relative;min-height:366px;display:flex;flex-direction:column;align-items:flex-start;padding:30px 25px 26px;overflow:hidden;border:1px solid #e9e9ee;border-radius:23px;background:linear-gradient(180deg,#fff 0%,#fefeff 100%);box-shadow:0 8px 28px #1d1d1f08;text-align:left;transition:transform .18s,box-shadow .18s,border-color .18s}.agent-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:3px;background:var(--accent);opacity:.82}.agent-card:hover{transform:translateY(-4px);border-color:#dddde5;box-shadow:0 18px 42px #23232d12}.avatar-wrap{position:relative;width:91px;height:91px;margin-bottom:25px}.avatar{width:100%;height:100%;object-fit:cover;border-radius:24px;background:#f3f3f5}.avatar-badge{position:absolute;right:-7px;bottom:-5px;width:33px;height:33px;display:grid;place-items:center;border:4px solid white;border-radius:50%;background:var(--tint);color:var(--accent)}.avatar-badge svg{width:15px;height:15px}.card-kicker{margin-bottom:9px;color:var(--accent);font-size:12px;letter-spacing:1px}.agent-card h2{margin:0 0 11px;font-size:22px;font-weight:650;letter-spacing:-.4px}.agent-card p{min-height:54px;margin:0 0 22px;color:#818189;font-size:14px;line-height:1.9}.card-action{display:flex;align-items:center;gap:9px;margin-top:auto;color:var(--accent);font-size:14px;font-weight:500}.card-action svg{width:16px;height:16px;transform:rotate(90deg)}
.chat-view{height:calc(100dvh - 82px);display:flex;flex-direction:column;background:#fff}.chat-top{height:65px;display:flex;align-items:center;gap:22px;flex-shrink:0;padding:0 28px;border-bottom:1px solid #f4f4f6}.back-button{display:flex;align-items:center;gap:5px;color:#707078;font-size:14px}.back-button svg{width:17px;height:17px}.chat-agent-label{padding:7px 13px;border:1px solid #ededf0;border-radius:20px;background:#f7f7f9;font-size:13px}.chat-top>.icon-button{margin-left:auto}.chat-scroll{flex:1;overflow-y:auto;padding:0 34px;scroll-behavior:smooth}.welcome{width:min(100%,710px);margin:52px auto 30px;text-align:center}.welcome .avatar-wrap{width:72px;height:72px;margin:0 auto 22px}.welcome .avatar{border-radius:23px}.welcome h1{margin:0 0 12px;font-size:30px;font-weight:600;letter-spacing:-.6px}.welcome>p{margin:0 auto 32px;color:#8c8c95;font-size:15px;line-height:1.8}.suggestions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;text-align:left}.suggestion{padding:17px 16px;border:1px solid #ebebef;border-radius:14px;background:#fbfbfc;color:#60606a;font-size:13px;line-height:1.8;text-align:left;transition:background .15s}.suggestion:hover{border-color:#dde7f5;background:#f0f4fa}.suggestion strong{display:block;margin-bottom:6px;color:#36363d;font-size:14px;font-weight:500}.messages{max-width:820px;margin:30px auto}.message{margin-bottom:28px}.user-message{display:flex;flex-direction:column;align-items:flex-end}.user-bubble{max-width:85%;padding:14px 19px;overflow-wrap:anywhere;border-radius:17px 17px 5px 17px;background:#f3f3f6;font-size:15px;line-height:1.8;white-space:pre-wrap}.attached-names{margin-top:7px;color:#9999a0;font-size:12px}.assistant-head{display:flex;align-items:center;gap:9px;margin-bottom:12px;color:#9999a0;font-size:12px}.assistant-head img{width:26px;height:26px;border-radius:9px}.answer{color:#33333b;font-size:16px;line-height:1.9;overflow-wrap:anywhere}.answer p{margin:8px 0 14px}.answer h2,.answer h3,.answer h4{margin:24px 0 10px;font-size:18px;font-weight:600;line-height:1.7}.answer ul,.answer ol{margin:10px 0 20px;padding-left:25px}.answer li{margin:5px 0}.answer strong{color:#1d1d1f;font-weight:600}.answer pre{padding:18px;border-radius:12px;background:#f7f7f9;font:14px/1.85 inherit;white-space:pre-wrap}.answer table{width:100%;border-collapse:collapse;font-size:14px}.table-scroll{margin:15px 0;overflow:auto}.answer th,.answer td{min-width:80px;padding:10px;border-bottom:1px solid #eaeaef;text-align:left;vertical-align:top}.answer th{background:#f9f9fb;font-weight:600}.answer-tools{display:flex;gap:12px;margin-top:14px}.text-button{display:flex;align-items:center;gap:5px;padding:5px;color:#91919a;font-size:12px}.text-button:hover{color:#333}.text-button svg{width:14px;height:14px}
.composer-zone{width:min(100%,940px);flex-shrink:0;margin:0 auto;padding:10px 34px 15px}.composer{padding:17px 18px 12px;border:1px solid #e4e4e9;border-radius:22px;background:#fff;box-shadow:0 5px 20px #00000006}.composer:focus-within{border-color:#b9bbca;box-shadow:0 4px 20px #00000007}.composer textarea{display:block;width:100%;min-height:52px;max-height:165px;padding:0 4px;resize:none;border:0;background:none;color:#25252b;font-size:16px;line-height:1.7}.composer textarea::placeholder{color:#a2a2aa}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:5px}.composer-tools{display:flex;align-items:center;gap:7px}.icon-button{width:35px;height:35px;display:grid;place-items:center;border-radius:8px;color:#74747e}.icon-button:hover{color:#222;background:#f2f2f5}.composer-tip{margin-left:8px;color:#adadb4;font-size:12px}.send-button{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#27272c;color:white}.send-button:disabled{background:#ededf0;color:#babac1}.send-button svg{width:17px;height:17px}.stop-button{padding:10px 15px;border-radius:30px;background:#f0f0f4;font-size:13px}.composer-note{margin-top:10px;color:#a4a4ad;font-size:11px;line-height:1.7;text-align:center}.attachment-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:9px}.attachment-chip{display:flex;align-items:center;gap:8px;max-width:100%;padding:8px 10px;border:1px solid #e8e8ed;border-radius:11px;background:#fff;color:#707078;font-size:12px}.attachment-chip span{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-chip button{font-size:16px}.thinking{display:flex;align-items:center;gap:6px;min-height:45px;color:#9999a1;font-size:13px}.thinking i{width:5px;height:5px;display:block;border-radius:50%;background:#a4a4ac;animation:pulse 1.2s infinite}.thinking i:nth-child(2){animation-delay:.2s}.thinking i:nth-child(3){animation-delay:.4s}.thinking span{margin-left:7px}@keyframes pulse{0%,80%,100%{opacity:.3}40%{opacity:1}}.toast{position:fixed;z-index:20;bottom:35px;left:50%;max-width:90%;padding:13px 22px;transform:translateX(-50%);border-radius:12px;background:#29292fea;box-shadow:0 4px 30px #0002;color:white;font-size:14px}.error-banner{padding:14px 17px;border-radius:12px;background:#fff7f0;color:#9a4d21;font-size:14px;line-height:1.8}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{max-width:90%;padding:28px;border:1px solid #e8e8ed;border-radius:22px;box-shadow:0 20px 100px #0002}dialog::backdrop{background:#0003;backdrop-filter:blur(4px)}dialog h2{margin:0 0 15px;font-size:20px}dialog p{color:#888;font-size:14px}.dialog-actions{display:flex;justify-content:flex-end;gap:15px;margin-top:28px}.dialog-actions button{padding:9px 16px;border-radius:9px;background:#f0f0f3;font-size:14px}.dialog-actions .danger{background:#d93025;color:white}
@media(max-width:1200px){.sidebar{width:195px;padding:25px 12px}.home-view{padding:50px 30px 24px}.cards{gap:15px}.agent-card{padding:25px 19px}.agent-card h2{font-size:20px}.home-heading h1{font-size:34px}}@media(max-width:900px){.sidebar{width:172px}.home-view{padding:40px 24px}.cards{grid-template-columns:1fr;gap:15px;margin-top:28px}.agent-card{min-height:180px;padding:22px 24px 22px 135px}.agent-card .avatar-wrap{position:absolute;top:29px;left:24px;width:77px;height:77px}.agent-card p{min-height:0;margin-bottom:13px}.suggestions{grid-template-columns:1fr}.suggestion{padding:11px 15px}.suggestion strong{display:inline;margin-right:10px}.chat-scroll{padding:0 20px}.composer-zone{padding:10px 20px 15px}.composer-tip{display:none}}@media(max-width:600px){.topbar{height:68px;padding:0 20px}.brand-logo{width:48px;height:42px}.product-label,.brand-divider{display:none}.edition{font-size:11px}.top-right{gap:10px}.user-badge{width:29px;height:29px}.sidebar{display:none}.shell{min-height:calc(100dvh - 68px)}.home-view{padding:36px 20px 24px}.eyebrow{font-size:12px}.home-heading h1{font-size:30px}.home-heading>p{max-width:300px;font-size:14px}.agent-card{min-height:180px;padding-left:117px;border-radius:20px}.agent-card .avatar-wrap{left:20px;width:68px;height:68px}.agent-card h2{font-size:21px}.agent-card p{font-size:13px}.chat-view{height:calc(100dvh - 68px)}.chat-top{height:56px;padding:0 15px;gap:14px}.chat-agent-label{font-size:12px}.chat-scroll{padding:0 18px}.welcome{margin-top:35px}.welcome h1{font-size:25px}.welcome>p{margin-bottom:22px;font-size:13px}.suggestion{font-size:12px}.suggestion strong{font-size:13px}.composer-zone{padding:7px 12px max(10px,env(safe-area-inset-bottom))}.composer{padding:14px 12px 10px;border-radius:20px}.composer textarea{min-height:46px;font-size:15px}.composer-note{font-size:10px}.user-bubble{max-width:92%;font-size:14px}.answer{font-size:15px}.messages{margin-top:20px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
