:root{font-family:Arial,-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;background:#fcfcfc;color:#171819;--line:#e3e3e3;--blue:#222;--muted:#75777a}body{background:#fcfcfc}.shell{display:grid;grid-template-columns:72px minmax(0,1fr);height:100dvh;min-height:0;position:relative}.shell.profile-open{grid-template-columns:72px minmax(0,1fr) 360px}.rail{display:flex;flex-direction:column;align-items:center;height:100dvh;border-right:1px solid #dedede;background:#fcfcfc;z-index:5;padding:18px 0 12px}.rail-nav{display:flex;flex-direction:column;gap:12px;margin:auto 0}.rail-button{height:44px;width:44px;display:grid;place-items:center;border-radius:50%;color:#181919;position:relative}.rail-button svg{width:25px;height:25px;stroke-width:1.8}.rail-button.active,.rail-button:hover{background:#f0f0f0}.rail-bottom{display:flex;flex-direction:column;gap:12px}.main{height:100dvh;background:#fcfcfc;position:relative}.topbar{height:64px;border:0;padding:12px;gap:12px;background:#fcfcfc;z-index:1}.chats-toggle{display:flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 12px;border-radius:26px;background:#fff;box-shadow:0 3px 15px #0000000d;font-size:16px;line-height:1.3;white-space:nowrap}.chats-toggle svg{width:20px;height:20px;color:#666}.thread-heading{font-size:12px;color:#929292;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.top-actions{gap:12px}.scope select{font-size:11px;color:#969696;max-width:140px;cursor:pointer}.avatar-toggle{width:37px;height:37px;border-radius:50%;padding:0}.avatar-toggle img{width:100%;height:100%;border-radius:50%}.content{scrollbar-width:thin;scrollbar-color:#e1e1e1 transparent}.chat-body{width:min(768px,100%);padding:22px 24px 18px}.day{font-size:11px;color:#aaa;margin:7px 0 30px}.day:before,.day:after{display:none}.message{margin:0 0 18px;gap:0}.message .body{max-width:85%;min-width:0}.message.user .body{max-width:min(520px,85%)}.bubble{font-size:16px;line-height:22px;background:#e9eaeb;padding:11px 15px;border-radius:22px 22px 22px 6px;color:#181818;max-width:100%}.user .bubble{background:#b8dbfe;color:#171819;line-height:24px;border-radius:22px 22px 6px 22px}.msg-label,.avatar{display:none}.task-card{border:1px solid #e5e5e5;border-radius:18px;background:#f5f5f5;margin-top:5px;padding:17px}.task-head{font-size:13px;color:#222;font-weight:500}.task-head svg{color:#777}.task-sub{font-size:11px;color:#777;margin-top:8px;line-height:1.6}.suggestions{margin:28px 0 12px;gap:7px}.suggestions button{border:0;background:#f2f2f2;border-radius:17px;padding:8px 12px;font-size:11px;color:#858585}.suggestions button:hover{background:#e9e9e9;color:#333}.compose-area{width:min(824px,100%);padding:10px 28px 10px;background:linear-gradient(0deg,#fcfcfc 75%,#fcfcfc00);margin:0 auto}.compose-box{border:1px solid transparent;border-radius:32px;padding:12px;background:rgba(255,255,255,.76);backdrop-filter:blur(20px);box-shadow:0 2px 8px #11111214,0 2px 16px #1111120a}.composer-line{display:flex;align-items:center;gap:10px;min-width:0;min-height:32px}.compose-box textarea{min-height:24px;max-height:120px;height:24px;line-height:24px;padding:0;border:0;font-size:15px;flex:1;width:0;resize:none}.compose-box textarea::placeholder{color:#9c9da0}.composer-line .icon{height:32px;width:31px;color:#202020}.composer-line .icon svg{width:22px;height:22px}.send{background:#f3f3f3;color:#222;width:30px;height:30px;flex-shrink:0}.send:hover{background:#e7e7e7}.compose-note{font-size:9px;color:#b3b3b3;margin:9px 0 0}.attachment{color:#717171}.profile-panel{border-left:1px solid #dedede;position:relative;height:100dvh;display:flex;flex-direction:column;min-width:0;background:#fcfcfc;padding:0 15px 12px}.profile-close{position:absolute;right:12px;top:13px;color:#777}.profile-close svg{width:22px;height:22px}.profile-identity{text-align:center;padding:70px 0 18px;flex-shrink:0}.portrait-wrap{position:relative;width:128px;height:128px;margin:0 auto 9px}.portrait{width:128px;height:128px;border-radius:50%;display:block}.edit-avatar{position:absolute;bottom:0;right:-5px;background:#f1f1f1;display:grid;place-items:center;border:3px solid #fcfcfc;border-radius:50%;height:38px;width:38px}.edit-avatar svg{height:18px;width:18px}.profile-identity h1{font-size:23px;line-height:1.3;font-weight:500;margin:8px 0 6px;letter-spacing:0}.connection-state{font-size:15px;color:#6f7072;display:flex;justify-content:center;gap:6px;align-items:center}.connection-state>span{width:9px;height:9px;border-radius:50%;background:#9ba5b2}.working-status{font-size:11px;color:#96999d;margin:10px 0 0;min-height:18px;line-height:1.6}.profile-tabs{display:flex;border-radius:24px;background:#f1f1f1;padding:4px;flex-shrink:0}.profile-tabs button{flex:1;height:28px;display:grid;place-items:center;position:relative;color:#737579;border-radius:20px}.profile-tabs button:not(:last-child):after{content:'';position:absolute;right:-1px;height:15px;width:1px;background:#dedede}.profile-tabs button.selected{background:#fff;box-shadow:0 2px 10px #0000000e;color:#292929}.profile-tabs button.selected:after{display:none}.profile-tabs svg{width:17px;height:17px}.profile-tab-content{flex:1;overflow:auto;min-height:0;padding:19px 0 60px;scrollbar-width:thin;scrollbar-color:#ddd transparent}.activity-date{font-size:11px;color:#a0a0a0;margin:0 0 13px 2px}.activity-row{width:100%;display:flex;gap:11px;padding:11px 0;text-align:left;border-radius:12px;align-items:flex-start}.activity-row:hover{background:#f6f6f6}.activity-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;background:#f2f2f2;border-radius:13px;color:#313131}.activity-icon svg{width:22px;height:22px}.activity-icon.running{background:#edf4fd;color:#537fb5}.activity-icon.approval{background:#f4f0e8;color:#9c8257}.activity-info{min-width:0;display:flex;flex-direction:column;gap:5px;padding-top:1px}.activity-info strong{font-size:16px;font-weight:500;line-height:1.45}.activity-info>span{font-size:14px;color:#7a7c7e;line-height:1.5;overflow-wrap:anywhere}.activity-info small{font-size:12px;color:#959799;line-height:1.7}.profile-foot{position:absolute;bottom:16px;right:17px;display:flex;background:#fff;border-radius:22px;padding:4px 8px;box-shadow:0 2px 18px #0000000d}.profile-foot .icon{border-radius:0;color:#555;width:36px;height:29px}.profile-foot .icon:not(:last-child){border-right:1px solid #e5e5e5}.profile-foot svg{width:18px;height:18px}.permission-row{display:flex;align-items:center;width:100%;padding:18px 3px;border-bottom:1px solid #eee;font-size:12px;text-align:left;gap:8px}.permission-row small{margin-left:auto;font-size:10px;color:#999}.permission-row svg{width:12px;color:#999}.panel-note{color:#9a9a9a;font-size:11px;line-height:1.8;margin:20px 3px}.schedule-empty{text-align:center;padding:26px 9px;color:#8b8b8b}.schedule-empty>svg{width:29px;height:29px}.schedule-empty h3{font-size:14px;color:#555;font-weight:500;margin:17px 0 8px}.schedule-empty p{font-size:12px;line-height:1.8;margin-bottom:20px}.memory-summary{white-space:pre-wrap;line-height:1.9;font-size:13px;color:#666}.chat-drawer{position:absolute;left:72px;top:0;bottom:0;width:290px;background:#fcfcfc;z-index:6;padding:17px 17px 20px;box-shadow:12px 0 35px #0000000a;border-right:1px solid #e8e8e8;display:flex;flex-direction:column}.drawer-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.drawer-heading h2{font-size:21px;font-weight:500;margin:0}.new-chat{padding:12px 13px;border:1px solid #e6e6e6;border-radius:13px;font-size:12px;margin-bottom:14px;box-shadow:none}.search-input{border:0;background:#f0f0f0;border-radius:10px;padding:12px;font-size:12px;width:100%;margin-bottom:18px}.thread-list{flex:1;overflow:auto}.thread{padding:13px 10px;gap:10px;font-size:13px;color:#777}.thread.current{background:#ececec;color:#222}.thread svg{width:17px}.drawer-footer{color:#aaa;font-size:10px;padding:14px 4px 0}.page-content{padding:34px 32px}.page-content h1{font-size:23px}.lead{color:#929292}.badge{background:#eee;color:#777}.primary{background:#262626}.secondary{background:#ededed}.text-button{color:#555}.detail{background:#fcfcfc}.preview{background:#fff}.detail-header{color:#888}.detail .metadata{color:#888}.step .dot{background:#eee;color:#555}#toast{background:#333}.company.active{border-color:#bbb;background:#f6f6f6}.memory-field{background:white}.search-input:focus-visible{outline:2px solid #aaa}button:focus-visible,a:focus-visible,textarea:focus-visible,input:focus-visible,select:focus-visible{outline-color:#9daec4}.avatar-toggle:focus-visible{outline-offset:3px}
@media(min-width:1500px){.chat-body{padding-top:30px}}
@media(max-width:1100px) and (min-width:761px){.shell.profile-open{grid-template-columns:64px minmax(0,1fr) 300px}.shell{grid-template-columns:64px minmax(0,1fr)}.rail{padding-top:14px}.chat-drawer{left:64px}.profile-panel{padding-left:12px;padding-right:12px}.profile-identity{padding-top:59px}.portrait-wrap,.portrait{width:112px;height:112px}.chat-body{padding:20px 20px}.compose-area{padding:10px 20px}.bubble{font-size:14px}.scope select{max-width:105px}.activity-info strong{font-size:13px}.profile-identity h1{font-size:22px}}
@media(max-width:760px){.shell,.shell.profile-open{display:grid;grid-template-columns:54px minmax(0,1fr)}.rail{padding:15px 0 11px}.rail-nav{gap:10px}.rail-button{width:38px;height:38px}.rail-button svg{width:22px;height:22px}.rail-bottom{gap:9px}.profile-panel{position:fixed;right:0;top:0;bottom:0;width:min(360px,calc(100% - 54px));z-index:7;box-shadow:-15px 0 40px #00000010}.profile-identity{padding-top:54px}.chat-drawer{left:54px;width:min(290px,calc(100% - 54px));z-index:8}.topbar{height:63px;padding:10px;gap:8px}.chats-toggle{font-size:14px;padding:9px 12px;gap:7px}.chats-toggle svg{width:17px;height:17px}.top-actions{gap:6px}.scope select{font-size:10px;max-width:95px}.thread-heading{display:none}.top-actions{margin-left:auto}.chat-body{padding:15px 17px 15px}.bubble{font-size:14px;padding:13px 15px;line-height:1.75}.message .body{max-width:96%}.message.user .body{max-width:94%}.compose-area{padding:9px 12px 9px}.compose-box{padding:10px 10px}.composer-line{gap:6px}.compose-box textarea{font-size:16px}.composer-line .icon{width:25px}.composer-line .icon svg{width:20px}.send{width:26px;height:26px}.compose-note{font-size:8px}.suggestions{margin-top:23px}.suggestions button{font-size:10px}.day{font-size:10px;margin-bottom:23px}.page-content{padding:24px 17px}.page-content h1{font-size:21px;line-height:1.5}.company-grid{grid-template-columns:1fr}.list-row{flex-wrap:wrap}.detail{padding:24px}.task-head{font-size:12px}.task-sub{font-size:10px}.activity-info strong{font-size:13px}}
@media(max-height:650px){.profile-identity{padding-top:40px;padding-bottom:13px}.portrait-wrap,.portrait{width:92px;height:92px}.rail-nav{gap:4px}.rail-button{height:36px}.working-status{margin-top:6px}.profile-identity h1{font-size:21px}.connection-state{font-size:13px}}
