:root{--brand:#5b5ff0;--brand-strong:#4f55ec;--brand-soft:#eef0ff;--border:#e8ebf4;--composer-content-width:820px;--composer-panel-height:183px;--composer-divider-offset:10px;--composer-scroll-reserve:calc(var(--composer-panel-height) + var(--composer-divider-offset));--composer-divider-gap:44px;--ink:#12131a;--muted:#7a8191;--surface:#fff;--surface-soft:#f7f8fc;background:#fff;color:var(--ink);font-family:Source Han Sans SC,Source Han Sans CN,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{background:#fff;font-size:14px;margin:0;min-height:100vh;min-width:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled,input:disabled,textarea:disabled{cursor:not-allowed;opacity:.62}.app-frame{background:#fff;display:grid;grid-template-rows:56px minmax(0,1fr);height:100vh;overflow:hidden}.top-bar{align-items:center;background:#fff;box-shadow:0 2px 10px #0f172a12;display:flex;height:56px;justify-content:space-between;padding:0 14px;position:relative;z-index:10}.app-brand{align-items:center;background:transparent;display:inline-flex;gap:7px;height:55px}.app-logo{background:#fff url(../image-assets/logo.svg) 0/auto 30px no-repeat;border-radius:5px;display:block;height:30px;width:30px}.app-brand strong{align-items:center;background:transparent;color:#0f0f0f;display:flex;font-size:20px;font-weight:700;height:24px;line-height:24px;overflow:hidden;white-space:nowrap;width:112px}.login-button{background:var(--brand);border:0;border-radius:7px;box-shadow:0 8px 18px #5b5ff038;color:#fff;font-weight:700;height:34px;min-width:64px}.login-button:focus-visible,.login-button:hover{background:var(--brand-strong);outline:0}.account-area{align-items:center;color:#111;display:inline-flex;gap:14px;min-width:0;position:relative}.account-balance{color:#687385;font-size:14px;white-space:nowrap}.account-balance strong{color:#101828;font-weight:800;margin-left:4px}.recharge-button{background:#575ce9;border:1px solid #575ce9;border-radius:8px;box-shadow:none;color:#fff;font-weight:700;height:32px;min-width:54px;padding:0 16px}.recharge-button:hover{background:#575ce9;border-color:#575ce9}.account-trigger:hover{background:#f8fafc}.account-menu-wrap{position:relative}.account-trigger{align-items:center;background:transparent;border:0;color:#111;display:inline-flex;font-weight:700;gap:8px;max-width:180px;min-height:36px;padding:0}.account-avatar{border-radius:50%;display:grid;flex:0 0 auto;height:32px;-o-object-fit:cover;object-fit:cover;place-items:center;width:32px}.account-avatar-fallback{background:#fbd5d8;font-size:22px;line-height:1}.account-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-dropdown{background:#fff;border:1px solid #dedede;border-radius:6px;box-shadow:0 3px 12px #0f172a2e;overflow:hidden;position:absolute;right:0;top:calc(100% + 7px);width:224px;z-index:50}.account-profile{align-items:center;display:grid;gap:10px;grid-template-columns:40px minmax(0,1fr);padding:16px 14px 12px 16px}.account-profile-avatar{border-radius:50%;display:grid;height:40px;-o-object-fit:cover;object-fit:cover;place-items:center;width:40px}.account-profile-main{display:grid;gap:4px;min-width:0}.account-profile-main span,.account-profile-main strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-profile-main strong{color:#111;font-size:14px;font-weight:800}.account-profile-main span{color:#888;font-size:13px}.account-dropdown-section{border-bottom:1px solid #eee;display:grid;gap:0;padding:8px 0}.account-dropdown-section:last-child{border-bottom:0}.account-dropdown button{align-items:center;background:transparent;border:0;color:#111;display:inline-flex;gap:8px;min-height:34px;padding:0 12px;text-align:left;width:100%}.account-dropdown button:hover{background:#f7f7f7}.account-dropdown .logout-menu-button{color:red;font-weight:500}.account-dropdown .logout-menu-button:hover{background:#f3f3f3;color:red}.logout-icon,.menu-item-icon{flex:0 0 auto;height:16px;width:16px}.logout-icon path,.menu-item-icon path,.menu-item-icon rect{fill:none;stroke:#8a8a8a;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.login-modal{display:grid;top:0;right:0;bottom:0;left:0;overflow:hidden;place-items:center;position:fixed;z-index:80}.login-dialog{border:0;border-radius:16px;box-shadow:0 18px 42px #0f172a2e;opacity:1;overflow:visible;pointer-events:auto;position:relative}.login-dialog:before{border-radius:16px;content:"";top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;position:absolute}.login-iframe{border:0;display:block;height:100vh;max-width:none;overflow:hidden;scrollbar-width:none;width:100vw}.login-iframe::-webkit-scrollbar{display:none}.app-shell{display:grid;grid-template-columns:262px minmax(0,1fr);height:calc(100vh - 56px);min-height:0;overflow:hidden;position:relative;transition:grid-template-columns .2s cubic-bezier(.22,1,.36,1)}.app-shell.is-sidebar-collapsed{grid-template-columns:44px minmax(0,1fr)}.model-sidebar{background:#fff;border-right:1px solid #e5e5e5;min-height:0;overflow:hidden;padding:49px 12px 16px;position:relative;transition:padding .2s cubic-bezier(.22,1,.36,1);width:100%}.model-sidebar.is-collapsed{padding-left:8px;padding-right:8px}.model-sidebar-content{height:100%;min-width:238px;opacity:1;transform:translate(0);transform-origin:left center;transition:opacity .16s ease-out,transform .2s cubic-bezier(.22,1,.36,1)}.model-sidebar.is-collapsed .model-sidebar-content{opacity:0;pointer-events:none;transform:translate(-10px) scale(.98)}.model-browser{display:grid;gap:10px;grid-template-rows:auto auto minmax(0,1fr);height:100%}.collapse-button{background:transparent;border:0;border-radius:7px;color:#667085;display:grid;height:28px;left:220px;padding:0;place-items:center;position:absolute;top:10px;transition:left .2s cubic-bezier(.22,1,.36,1),width .2s cubic-bezier(.22,1,.36,1),background .1s ease-out;width:28px;z-index:4}.model-sidebar.is-collapsed .collapse-button{left:8px;width:28px}.collapse-button:focus-visible,.collapse-button:hover{background:#f5f5f7;color:#344054;outline:0}.collapse-icon{background:transparent;display:block;height:28px;width:28px}.collapse-icon-lines{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.collapse-icon-arrow{fill:currentColor;opacity:.82;stroke:none}.type-filter{align-items:center;background:#f8f9ff;border:1px solid #eef0fb;border-radius:10px;display:grid;gap:2px;grid-template-columns:repeat(4,minmax(0,1fr));height:38px;margin:0;min-height:38px;padding:3px;width:238px}.type-filter-button{background:transparent;border:0;border-radius:7px;color:#1f2937;display:grid;font-family:Source Han Sans SC,Source Han Sans SC-400,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400;height:100%;line-height:20px;min-height:0;place-items:center;text-align:center;transform:translateZ(0);transition:color .16s ease-out,background-color .16s ease-out,box-shadow .16s ease-out;width:auto}.type-filter-button:hover{background:#fff;color:#575ce9}.type-filter-button.is-active{background:#575ce9;border-radius:7px;box-shadow:none;color:#fff;font-family:Source Han Sans SC,Source Han Sans SC-500,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-weight:500;height:100%;width:auto}.model-search-wrap{align-items:center;background:#fdfefe;border:1px solid #ebedfa;border-radius:10px;color:#a3a3a3;display:flex;gap:8px;height:34px;min-height:34px;padding:0 14px;width:238px}.model-search-icon{flex:0 0 auto;height:16px;width:16px}.model-search-icon circle,.model-search-icon path{fill:none;stroke:#999;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.model-search{background:transparent;border:0;color:#a3a3a3;flex:1 1 auto;font-family:Source Han Sans SC,Source Han Sans SC-400,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:12px;font-weight:400;height:17px;line-height:17px;min-width:0;outline:0;text-align:left;width:auto}.model-search::-moz-placeholder{color:#a3a3a3}.model-search::placeholder{color:#a3a3a3}.model-list-scroll{margin-bottom:-16px;margin-right:-12px;min-height:0;overflow-x:hidden;overflow-y:auto;padding:0 0 16px;scrollbar-color:#c7c7c7 transparent;scrollbar-gutter:stable;scrollbar-width:thin;width:calc(100% + 12px)}.model-list-scroll::-webkit-scrollbar{width:10px}.model-list-scroll::-webkit-scrollbar-track{background:transparent}.model-list-scroll::-webkit-scrollbar-thumb{background:#c7c7c7;background-clip:content-box;border:3px solid transparent;border-radius:999px}.model-list{display:grid;gap:6px}.model-card{align-items:center;background:#fff;border:0;border-radius:6px;display:grid;gap:8px;grid-template-columns:40px minmax(0,1fr) 44px;height:62px;min-height:62px;padding:11px 12px;text-align:left;width:238px}.model-card.is-selected,.model-card:hover{background:#f5f5f7}.model-card.is-selected{box-shadow:inset 0 0 0 1px #575ce90f}.intro-icon,.message-avatar,.model-avatar,.record-avatar{background:linear-gradient(180deg,#a29eff,#6e69ff);border-radius:10px;display:grid;font-size:18px;font-weight:900;height:40px;place-items:center;width:40px}.model-icon-image{border-radius:inherit;display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.model-card .model-avatar{background:#fff}.model-card .model-icon-image{-o-object-fit:contain;object-fit:contain}.model-icon-fallback{display:grid;height:100%;place-items:center;width:100%}.model-copy{display:grid;gap:0;min-width:0}.model-copy strong{color:#0f0f0f;font-family:Source Han Sans SC,Source Han Sans SC-500,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;font-weight:500;height:20px;line-height:20px;width:112px}.model-copy small,.model-copy strong{background:transparent;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.model-copy small{color:#737373;display:block;font-family:Source Han Sans SC,Source Han Sans SC-400,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:11px;font-weight:400;height:16px;line-height:16px;width:109px}.model-type,.record-options span{background:#f1f2f6;border-radius:7px;font-size:12px;font-weight:500;padding:4px 8px}.model-type{background:#e7e8ec;border-radius:6px;color:#0f0f0f;display:grid;font-size:10px;height:22px;line-height:14px;padding:0;place-items:center;text-align:left;width:44px}.model-status-card,.model-type{font-family:Source Han Sans SC,Source Han Sans SC-400,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-weight:400}.model-status-card{background:#fbfcff;border:1px solid #ebedfa;border-radius:10px;color:#667085;display:grid;font-size:13px;gap:7px;justify-items:center;line-height:18px;margin:0;padding:20px 14px;text-align:center;width:238px}.model-status-card strong{color:#202535;font-size:14px;font-weight:500;line-height:20px}.model-status-card small{color:#8a90a0;font-size:12px;font-weight:400;line-height:17px}.model-status-icon{background:#f2f3ff;border-radius:10px;color:#575ce9;display:grid;height:34px;place-items:center;width:34px}.model-status-icon svg{display:block;height:18px;width:18px}.model-status-icon circle,.model-status-icon path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.model-loading-skeleton{background:#edf0fb;border-radius:999px;height:6px;overflow:hidden;position:relative;width:132px}.model-loading-skeleton.is-short{width:88px}.model-loading-skeleton:after{animation:model-loading-shimmer 1.2s ease-in-out infinite;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.85),transparent);content:"";top:0;right:0;bottom:0;left:0;position:absolute;transform:translate(-100%)}@keyframes model-loading-shimmer{to{transform:translate(100%)}}.model-load-error .model-status-icon{background:#fff1f0;color:#d92d20}.model-retry-link{background:#fff;border:1px solid #dfe3ff;border-radius:999px;box-shadow:none;color:#575ce9;cursor:pointer;display:inline-grid;font-size:12px;font-weight:500;height:26px;line-height:16px;margin:4px 0 0;padding:0 12px;place-items:center;text-decoration:none}.model-retry-link:focus-visible,.model-retry-link:hover{background:#f7f8ff;border-color:#c7ccff;color:#3f44c8;text-decoration:none}@media(prefers-reduced-motion:reduce){.app-shell,.collapse-button,.model-sidebar,.model-sidebar-content{transition-duration:.01ms}.model-loading-skeleton:after{animation:none}}.workspace{background:#fff;display:grid;grid-template-rows:auto;height:calc(100% - var(--composer-scroll-reserve));min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-color:#8f8f8f transparent;scrollbar-width:thin}.workspace::-webkit-scrollbar{width:10px}.workspace::-webkit-scrollbar-track{background:transparent}.workspace::-webkit-scrollbar-thumb{background:#8f8f8f;background-clip:content-box;border:2px solid transparent;border-radius:999px}.history-drawer-layer{bottom:0;display:flex;justify-content:flex-end;left:262px;pointer-events:none;position:absolute;right:0;top:0;z-index:20}.app-shell.is-sidebar-collapsed .history-drawer-layer{left:44px}.history-drawer-backdrop{background:#0f172a1f;border:0;top:0;right:0;bottom:0;left:0;pointer-events:auto;position:absolute}.history-panel{animation:history-drawer-enter .18s ease-out;background:#fff;border-left:1px solid #e8e8e8;box-shadow:-12px 0 28px #0f172a1f;display:grid;grid-template-rows:auto minmax(0,1fr);height:100%;min-height:0;overflow:hidden;pointer-events:auto;position:relative;width:272px;z-index:1}@keyframes history-drawer-enter{0%{transform:translate(100%)}to{transform:translate(0)}}.history-header{align-items:center;border-bottom:1px solid #eee;display:grid;gap:10px;grid-template-columns:auto minmax(0,1fr) auto;min-height:54px;padding:0 12px 0 14px}.history-header strong{font-size:14px;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-icon{color:#777;height:20px;width:20px}.history-icon path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.history-close,.history-menu-button{background:transparent;border:0;border-radius:6px;color:#222;display:grid;font-size:20px;height:28px;line-height:1;place-items:center;width:28px}.history-close:hover,.history-menu-button:hover{background:#f2f2f2}.history-state{color:#777;font-size:13px;padding:18px 14px}.history-state.is-error{color:#d92d20}.history-list{min-height:0;overflow-y:auto;padding:12px 8px 18px}.history-item{align-items:center;border-radius:8px;display:grid;grid-template-columns:minmax(0,1fr) auto;position:relative}.history-item.is-active,.history-item:hover{background:#f6f6f6}.history-item-main{background:transparent;border:0;display:grid;gap:2px;min-width:0;padding:8px 6px;text-align:left}.history-item-main span,.history-item-main strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-item-main strong{color:#222;font-size:13px;font-weight:500}.history-item-main span{color:#777;font-size:12px}.history-menu-button{color:#777;font-size:18px;margin-right:2px}.history-menu{background:#fff;border:1px solid #e5e5e5;border-radius:8px;box-shadow:0 8px 22px #0f172a29;display:grid;gap:4px;padding:8px 6px;position:absolute;right:8px;top:30px;width:124px;z-index:8}.history-menu button{align-items:center;background:transparent;border:0;border-radius:6px;display:inline-flex;font-size:13px;gap:10px;min-height:30px;padding:0 8px;text-align:left}.history-menu button:hover{background:#f5f5f5}.history-menu .is-danger{color:#d92d20}.history-menu-icon{color:#777;flex:0 0 auto;height:16px;width:16px}.history-menu-icon path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.history-menu .is-danger .history-menu-icon{color:#777}.rename-dialog-layer{background:#0f172a42;display:grid;top:0;right:0;bottom:0;left:0;padding:18px;place-items:center;position:fixed;z-index:90}.rename-dialog{background:#fff;border:1px solid #d8dce4;border-radius:8px;box-shadow:0 14px 40px #0f172a33;display:grid;gap:24px;padding:20px 22px 16px;width:min(448px,100%)}.rename-dialog footer,.rename-dialog header{align-items:center;display:flex;gap:12px;justify-content:space-between}.rename-dialog header strong{font-size:18px;font-weight:700}.rename-dialog header button{background:transparent;border:0;border-radius:6px;color:#555;display:grid;font-size:22px;height:28px;place-items:center;width:28px}.rename-dialog input{background:#fff;border:1px solid #ddd;border-radius:8px;box-shadow:0 1px 3px #0f172a14;color:#111;font-size:14px;height:36px;outline:none;padding:0 14px;width:100%}.rename-dialog input:focus{border-color:#cfcfcf;box-shadow:0 0 0 3px #1111110f,0 1px 3px #0f172a14}.rename-dialog footer{justify-content:flex-end}.rename-dialog footer button{background:#fff;border:1px solid #e2e2e2;border-radius:8px;font-weight:600;height:36px;min-width:62px;padding:0 16px}.rename-dialog footer .confirm-button{background:var(--brand);border-color:var(--brand);color:#fff}.rename-dialog footer .confirm-button:hover{background:var(--brand-strong);border-color:var(--brand-strong)}.delete-dialog-message{color:#6b7280;font-size:14px;margin:0}.rename-dialog footer .danger-button{background:var(--brand);border-color:var(--brand);color:#fff}.rename-dialog footer .danger-button:hover{background:var(--brand-strong);border-color:var(--brand-strong)}.result-panel{min-height:0;overflow:visible;padding:0 34px var(--composer-divider-gap);position:relative}.floating-actions{display:grid;gap:10px;left:284px;position:fixed;top:80px;width:84px;z-index:3}.floating-actions button{align-items:center;background:#fff;border:1px solid #ebedfa;border-radius:16px;box-shadow:4px 4px 10px #9c8de81a;color:#0f0f0f;display:flex;font-size:13px;font-weight:500;height:30px;justify-content:center;line-height:1;min-height:30px;padding:0 16px;text-align:center;white-space:nowrap;width:84px}.floating-actions button:focus-visible:not(:disabled),.floating-actions button:hover:not(:disabled){background:#fff;border-color:#575ce9;color:#575ce9;height:30px;outline:0;width:84px}.floating-actions button:disabled{background:#f7f8fb;border-color:#eceef5;box-shadow:none;color:#999}.app-shell.is-sidebar-collapsed .floating-actions{left:64px}.model-intro{align-content:start;display:grid;justify-items:center;margin:0 auto;max-width:none;min-height:0;padding-top:50px;text-align:center;width:100%}.intro-brand-logo{align-items:center;display:inline-grid;gap:14px;grid-template-columns:60px 199px;height:60px;justify-self:center;margin:0 0 14px;width:273px}.intro-brand-mark{background:#fff url(../image-assets/big-logo.svg) 0/auto 60px no-repeat;border-radius:5px;display:block;height:60px;width:60px}.intro-brand-logo strong{align-items:center;background:transparent;color:#0f0f0f;display:flex;font-family:Source Han Sans SC,Source Han Sans SC-700,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:40px;font-weight:700;height:58px;line-height:58px;text-align:left;white-space:nowrap;width:199px}.intro-icon{border-radius:16px;font-size:24px;height:64px;width:64px}.model-intro h2{align-items:center;display:grid;font-family:Source Han Sans SC,Source Han Sans SC-700,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:38px;font-weight:700;justify-items:center;justify-self:center;line-height:1.25;margin:0 0 10px;min-height:55px;overflow:visible;overflow-wrap:anywhere}.model-intro h2,.model-intro p{background:transparent;color:#0f0f0f;height:auto;max-width:100%;text-align:center;text-overflow:clip;white-space:normal;width:auto}.model-intro p{font-family:Source Han Sans SC,Source Han Sans SC-400,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:16px;font-weight:400;line-height:23px;margin:0;min-height:23px;overflow:visible}.intro-tags{display:flex;flex-wrap:wrap;gap:9px;justify-content:center;justify-self:center;margin:26px 0 28px}.intro-tags>span{background:#fdfefe;border:1px solid #ebedfa;border-radius:6px;display:grid;height:36px;min-width:88px;padding:0 16px;place-items:center}.intro-tag-text{background:transparent;color:#737373;display:block;font-family:Source Han Sans SC,Source Han Sans SC-400,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400;height:20px;line-height:20px;max-width:96px;overflow:visible;text-align:left;text-overflow:clip;white-space:nowrap;width:auto}.preset-label{background:transparent!important;color:#737373!important;font-family:Source Han Sans SC,Source Han Sans SC-400,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif!important;font-size:14px!important;font-weight:400!important;height:20px!important;justify-self:center!important;line-height:20px!important;margin-bottom:12px!important;text-align:left!important;width:98px!important}.preset-grid{display:grid;gap:12px 16px;grid-template-columns:repeat(2,308px);justify-content:center;justify-self:center;margin-bottom:0;width:min(632px,100%)}.preset-grid button{background:#fefefe;border:1px solid #ebedfa;border-radius:10px;color:#0f0f0f;display:grid;height:50px;max-width:100%;min-height:50px;padding:0;place-items:center;text-align:left;width:308px}.preset-text{background:transparent;color:#0f0f0f;display:block;font-family:Source Han Sans SC,Source Han Sans SC-400,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400;height:20px;line-height:20px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:calc(100% - 36px)}.preset-grid button:focus-visible,.preset-grid button:hover{border-color:#575ce9;color:#575ce9;outline:0}.preset-grid button:focus-visible .preset-text,.preset-grid button:hover .preset-text{color:#575ce9;width:calc(100% - 36px)}.chat-feed,.media-feed{margin:40px auto 0;padding-bottom:24px;width:min(var(--composer-content-width),100%)}.chat-message{display:grid;gap:10px;margin-bottom:28px}.chat-message.user{justify-items:end}.chat-message.user:has(.chat-local-images){margin-bottom:56px}.chat-message.assistant{gap:0;justify-items:stretch;margin-bottom:38px;width:100%}.assistant-message-heading{align-items:center;color:#222;display:inline-flex;font-family:Source Han Sans SC,Source Han Sans SC-400,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:16px;font-weight:400;gap:6px;height:26px;justify-self:start;line-height:26px;margin-bottom:10px;text-align:left}.assistant-message-heading .message-avatar{border-radius:6px;font-size:12px;height:24px;width:24px}.chat-message.user .message-body{background:#575ce9;border-radius:10px 0 10px 10px;color:#fff;display:inline-grid;justify-self:end;max-width:min(100%,760px);padding:10px 16px 8px;position:relative;text-align:left;width:-moz-fit-content;width:fit-content}.chat-message.user .user-prompt-text{background:transparent;color:#fff;font-size:13px;line-height:19px;margin:0;overflow:visible;overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word}.chat-message.user .user-prompt-meta,.chat-message.user .user-prompt-text{font-family:Source Han Sans SC,Source Han Sans SC-400,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-weight:400;text-align:left}.chat-message.user .user-prompt-meta{align-items:center;bottom:-36px;color:#a3a3a3;display:inline-flex;font-size:12px;gap:8px;line-height:32px;min-height:32px;opacity:1;pointer-events:auto;position:absolute;right:8px;width:auto}.chat-message.user .user-prompt-meta.has-local-images{align-items:center;bottom:-56px;min-height:48px}.chat-message.user .user-prompt-meta.user-prompt-options{opacity:1;pointer-events:auto}.user-prompt-meta.user-prompt-options span{background:#f1f2f6;border-radius:7px;font-size:12px;font-weight:500;padding:2px 8px}.chat-message.user .user-prompt-meta time{background:transparent;color:#a3a3a3;font-family:Source Han Sans SC,Source Han Sans SC-400,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:12px;font-weight:400;line-height:32px;text-align:left;width:auto}.chat-document-chip,.chat-message.user .user-prompt-meta time{align-items:center;display:inline-flex;height:32px;white-space:nowrap}.chat-document-chip{background:#f3f5fb;border-radius:999px;color:#3e4464;gap:8px;max-width:220px;padding:0 10px;text-decoration:none}.chat-document-chip:focus-visible,.chat-document-chip:hover{background:#e7ebf7;color:#2c3357;outline:none}.chat-document-chip small,.chat-document-chip strong{overflow:hidden;text-overflow:ellipsis}.chat-document-chip strong{font-size:12px;font-weight:600;max-width:132px}.chat-document-chip small{color:#6e7593;font-size:11px}.user-prompt-copy{background:transparent;border:0;border-radius:6px;color:#575ce9;cursor:pointer;display:inline-grid;height:32px;line-height:1;min-width:32px;opacity:0;padding:0;place-items:center;pointer-events:none;position:relative;transition:background .12s ease-out,color .12s ease-out,opacity .12s ease-out;width:32px}.chat-message.user .user-prompt-meta:hover .user-prompt-copy,.chat-message.user:focus-within .user-prompt-copy,.chat-message.user:hover .user-prompt-copy{opacity:1;pointer-events:auto}.user-prompt-copy:focus-visible,.user-prompt-copy:hover{background:#eef0ff;color:#575ce9;outline:0}.user-prompt-copy.is-copied{min-width:32px;opacity:1;pointer-events:auto;width:32px}.user-prompt-copy:focus-visible:after,.user-prompt-copy:hover:after{background:#1f2430;border-radius:5px;box-shadow:0 4px 12px #0f172a29;color:#fff;content:attr(aria-label);font-size:12px;font-weight:500;left:50%;line-height:16px;padding:4px 8px;pointer-events:none;position:absolute;top:calc(100% + 7px);transform:translate(-50%);white-space:nowrap;z-index:20}.chat-message.assistant .message-body{background:#f7f7f9;border-radius:14px;box-sizing:border-box;color:#000;font-family:Source Han Sans SC,Source Han Sans SC-400;font-size:14px;font-weight:400;justify-self:stretch;line-height:26px;min-width:0;overflow:visible;padding:28px 24px;position:relative;text-align:left;width:100%}.chat-message.assistant .markdown-content{max-width:100%;min-width:0;overflow-x:hidden;overflow-y:visible;width:100%}.chat-message.assistant .assistant-message-meta{bottom:-40px;gap:6px;left:0;position:absolute}.chat-message.assistant .assistant-message-meta,.chat-message.assistant .assistant-message-meta time{align-items:center;color:#a3a3a3;display:inline-flex;font-family:Source Han Sans SC,Source Han Sans SC-400,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:12px;font-weight:400;height:32px;line-height:32px}.chat-message.assistant .assistant-message-meta time{background:transparent;text-align:left;white-space:nowrap;width:auto}.chat-message.assistant .message-body.collapsible-content .assistant-message-meta{margin-top:12px;position:static}.assistant-action-btn{background:transparent;border:0;border-radius:6px;color:#575ce9;cursor:pointer;display:inline-grid;height:32px;line-height:1;min-width:32px;opacity:0;padding:0;place-items:center;pointer-events:none;position:relative;transition:background .12s ease-out,color .12s ease-out,opacity .12s ease-out;width:32px}.assistant-action-btn svg,.user-prompt-copy svg{display:block;fill:none;height:20px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7;width:20px}.chat-message.assistant .assistant-message-meta:hover .assistant-action-btn,.chat-message.assistant:focus-within .assistant-action-btn,.chat-message.assistant:hover .assistant-action-btn{opacity:1;pointer-events:auto}.assistant-action-btn:focus-visible,.assistant-action-btn:hover{background:#eef0ff;color:#575ce9;outline:0}.assistant-action-btn:focus-visible:after,.assistant-action-btn:hover:after{background:#111827eb;border-radius:5px;color:#fff;content:attr(aria-label);font-size:12px;left:50%;line-height:18px;padding:4px 8px;pointer-events:none;position:absolute;top:calc(100% + 7px);transform:translate(-50%);white-space:nowrap;z-index:60}.media-asset,.message-body,.record-prompt{font-size:14px}.collapsible-content{transition:max-height .18s ease-out}.collapsible-content.is-collapsed{overflow:hidden}.chat-message.assistant .message-body.collapsible-content.is-collapsed{border-radius:14px 14px 0 0;overflow:hidden}.chat-message.assistant .message-body.collapsible-content:has(+.collapse-content-toggle){border-radius:14px 14px 0 0}.collapsible-content.is-collapsed:after{background:linear-gradient(180deg,#f7f7f900,#f7f7f9 72%);bottom:0;content:"";height:70px;left:0;pointer-events:none;position:absolute;right:0}.chat-message.assistant .message-body.collapsible-content+.collapse-content-toggle{border-radius:0 0 14px 14px;margin-top:0}.chat-message.user .collapsible-content.is-collapsed:after,.record-prompt.is-collapsed:after{background:linear-gradient(180deg,#575ce900,#575ce9 72%)}.media-record.collapsible-content{position:relative}.media-record.collapsible-content.is-collapsed{padding-bottom:42px}.collapse-content-toggle{align-items:center;background:#eef0ff;border:0;border-radius:0 0 8px 8px;color:#575ce9;cursor:pointer;display:inline-flex;font-family:Source Han Sans SC,Source Han Sans SC-400,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:13px;font-weight:500;gap:6px;justify-content:center;line-height:18px;margin-top:-10px;min-height:34px;padding:0 14px;position:relative;transition:color .12s ease-out,background .12s ease-out;width:100%;z-index:2}.chat-message.user .collapse-content-toggle{background:#4549c8;color:#fff;justify-self:end;max-width:min(100%,760px)}.media-record .collapse-content-toggle{bottom:0;left:0;margin-top:0;position:absolute;right:0}.media-record.collapsible-content:not(.is-collapsed) .collapse-content-toggle{bottom:auto;left:auto;margin-top:8px;position:relative;right:auto}.collapse-content-toggle:focus-visible,.collapse-content-toggle:hover{background:#575ce9;color:#fff;outline:0}.collapse-content-toggle svg{fill:none;height:14px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:14px}.collapsible-content:not(.is-collapsed)+.collapse-content-toggle svg,.media-record.collapsible-content:not(.is-collapsed) .collapse-content-toggle svg{transform:rotate(180deg)}.reasoning-panel{background:#f7f7f7;border:1px solid #e2e2e2;border-radius:8px;color:#555;margin-bottom:14px;padding:10px 12px}.reasoning-panel summary{color:#333;cursor:pointer;font-size:13px;font-weight:600}.reasoning-content{line-height:1.65;padding-top:10px;white-space:pre-wrap}.message-body p:not(.user-prompt-text),.record-prompt p{margin:0;white-space:pre-wrap}.markdown-content>:first-child{margin-top:0}.markdown-content>:last-child{margin-bottom:0}.markdown-content blockquote,.markdown-content ol,.markdown-content p,.markdown-content pre,.markdown-content ul{margin:0 0 12px}.markdown-content ol,.markdown-content ul{padding-left:24px}.markdown-content code{background:#f1f1f1;border-radius:4px;font-family:Consolas,Courier New,monospace;font-size:.94em;padding:2px 5px}.markdown-content .assistant-code-block{background:#fff;border:1px solid #dedfed;border-radius:8px;box-sizing:border-box;display:block;margin:0 0 12px;max-width:100%;min-width:0;overflow:hidden;width:100%}.markdown-content .code-block-toolbar{align-items:center;background:#f1f2f8;border-bottom:1px solid #dedfed;display:flex;gap:12px;justify-content:space-between;min-height:38px;padding:0 8px 0 12px}.markdown-content .code-block-language{color:#575ce9;font-size:12px;font-weight:600;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.markdown-content .code-block-actions{align-items:center;display:inline-flex;flex:0 0 auto;gap:4px}.markdown-content .code-block-action{background:transparent;border:0;border-radius:6px;color:#575ce9;cursor:pointer;display:inline-grid;height:30px;padding:0;place-items:center;transition:background .12s ease-out,color .12s ease-out;width:30px}.markdown-content .code-block-action:focus-visible,.markdown-content .code-block-action:hover{background:#e5e7ff;outline:0}.markdown-content .code-block-action svg{fill:none;height:18px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:18px}.markdown-content pre{background:#f5f5f5;border-radius:8px;overflow-x:auto;padding:12px 14px}.markdown-content .assistant-code-block pre{background:#fbfbfd;border-radius:0;box-sizing:border-box;margin:0;max-width:100%}.markdown-content pre code{background:transparent;display:block;min-width:-moz-max-content;min-width:max-content;padding:0}.markdown-content blockquote{border-left:3px solid #d7d7d7;color:#555;padding-left:12px}.markdown-content a{color:#1d63d3}.media-record{display:grid;gap:14px;margin-bottom:36px}.record-prompt{display:inline-grid;justify-items:end;justify-self:end;max-width:min(760px,100%)}.media-output{display:block;justify-self:start;max-width:100%}.media-result-heading{align-items:center;color:#222;display:inline-flex;font-family:Source Han Sans SC,Source Han Sans SC-400,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:16px;font-weight:400;gap:6px;height:26px;line-height:26px;text-align:left}.media-result-heading .message-avatar{border-radius:6px;font-size:12px;height:24px;width:24px}.media-error-output,.media-loading-output{display:inline-grid;font-size:14px;gap:8px;line-height:20px}.media-loading-output{color:#000}.media-error-output{color:#ff1f2d}.media-error-output p,.media-loading-output p{margin:0}.image-feed .chat-message.user,.video-feed .chat-message.user{justify-items:end}.image-feed .chat-message.user .message-body,.record-prompt p,.video-feed .chat-message.user .message-body{border-radius:10px 0 10px 10px}.record-prompt p{background:#575ce9;color:#fff;display:block;font-family:Source Han Sans SC,Source Han Sans SC-400;font-size:13px;font-weight:400;line-height:19px;min-height:19px;overflow-wrap:anywhere;padding:8px 12px;text-align:left;word-break:break-word}.record-options{display:flex;gap:8px;justify-self:end}.record-prompt .user-prompt-meta{display:inline-flex;flex-wrap:wrap}.record-prompt .user-prompt-meta,.record-prompt-tools{align-items:flex-end;gap:8px;justify-content:flex-end;margin-top:8px}.record-prompt-tools{display:flex}.record-local-images{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;max-width:176px}.chat-local-images{align-items:center;display:flex;flex:0 0 auto;gap:6px;justify-content:flex-start;max-width:176px}.record-local-image-button{background:transparent;border:0;border-radius:2px;cursor:zoom-in;height:48px;padding:0;width:48px}.record-local-image-button:focus-visible{outline:2px solid #575ce9;outline-offset:2px}.record-local-image{background:#fff;border:2px solid #ff4f5f;border-radius:2px;height:48px;-o-object-fit:cover;object-fit:cover;width:48px}.record-time{color:#777;display:block;font-size:12px;line-height:1.3;margin-top:8px}.media-asset{display:grid;gap:8px}.media-asset a{color:#777;font-size:12px;max-width:520px;overflow-wrap:anywhere}.image-result-wrap{display:grid;gap:8px;max-width:100%;width:380px}.image-expired-card,.image-result-card{border-radius:8px;height:380px;max-width:100%;overflow:hidden;position:relative;width:380px}.image-result-card img{display:block;height:380px;max-width:100%;-o-object-fit:cover;object-fit:cover;width:380px}.image-expired-card{background:#f7f7f7;border:1px dashed #d7d7d7;color:#777;display:grid;gap:10px;place-content:center;text-align:center}.image-expired-card strong{color:#666;font-size:16px;font-weight:400}.image-expired-card span{font-size:14px}.image-toolbar{display:flex;gap:10px;left:50%;opacity:0;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);transition:opacity .16s ease-out}.image-result-card:focus-within .image-toolbar,.image-result-card:hover .image-toolbar{opacity:1;pointer-events:auto}.image-tool-button{background:#111111b8;border:0;border-radius:9px;box-shadow:0 8px 18px #0000002e;color:#fff;display:grid;height:34px;padding:0;place-items:center;position:relative;width:34px}.image-tool-button:focus-visible,.image-tool-button:hover{background:#111111e0;outline:0}.image-tool-button:after{background:#111827eb;border-radius:5px;box-shadow:0 8px 22px #0000002e;color:#fff;content:attr(aria-label);font-size:12px;font-weight:500;left:50%;line-height:18px;max-width:96px;opacity:0;padding:4px 8px;pointer-events:none;position:absolute;top:calc(100% + 7px);transform:translate(-50%,-2px);transition:opacity .14s ease,transform .14s ease;width:-moz-max-content;width:max-content;z-index:4}.image-tool-button:focus-visible:after,.image-tool-button:hover:after{opacity:1;transform:translate(-50%)}.image-tool-icon{fill:none;height:18px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:18px}.image-expiry-note{color:#606f85;font-size:13px;line-height:18px;margin:0}.image-expiry-note a{color:#1d63d3;font-weight:700;text-decoration:none}.image-result-time{color:#777;margin-top:0}.media-output img{border-radius:8px;max-height:420px;-o-object-fit:cover;object-fit:cover;width:min(385px,100%)}.image-output .image-result-card img{height:380px;max-height:none;max-width:100%;width:380px}.image-preview-layer{display:grid;top:0;right:0;bottom:0;left:0;padding:24px;place-items:center;position:fixed;z-index:80}.image-preview-backdrop{background:#0000006b;border:0;top:0;right:0;bottom:0;left:0;position:absolute}.image-preview-dialog{background:#fff;border-radius:8px;box-shadow:0 18px 44px #00000042;max-height:calc(100vh - 32px);max-width:calc(100vw - 32px);overflow:auto;padding:20px 24px 28px;position:relative;width:-moz-fit-content;width:fit-content;z-index:1}.local-image-preview-dialog{max-height:calc(100vh - 40px);max-width:calc(100vw - 40px);overflow:auto;padding:16px;width:min(560px,calc(100vw - 40px))}.image-preview-dialog header{align-items:center;display:flex;justify-content:space-between;margin-bottom:14px}.image-preview-dialog header strong{color:#111;font-size:20px;line-height:28px}.local-image-preview-dialog header{margin-bottom:10px}.local-image-preview-dialog header strong{font-size:16px;line-height:24px}.local-image-preview-dialog .image-preview-large{max-height:none;max-width:none}.image-preview-media{background:#f5f5f5;border-radius:8px;height:min(76vh,860px);overflow:hidden;width:min(76vw,860px)}.local-image-preview-dialog .image-preview-media{height:min(520px,calc(100vh - 120px));width:min(520px,calc(100vw - 72px))}.image-preview-close{background:transparent;border:0;color:#555;display:grid;font-size:24px;height:28px;line-height:1;padding:0;place-items:center;width:28px}.image-preview-large{display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.image-preview-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:14px}.image-preview-action{align-items:center;background:#fff;border:1px solid #e4e4e4;border-radius:7px;color:#111;display:inline-flex;font-size:14px;gap:8px;height:32px;justify-content:center;padding:0 12px;text-decoration:none}.image-preview-action .image-tool-icon{height:16px;width:16px}.image-preview-action.is-danger{color:#ff1f2d}.media-output video,.video-placeholder{aspect-ratio:16/9;background:#000;border-radius:7px;width:min(385px,100%)}.video-placeholder{color:#111;display:grid;place-items:center}.video-placeholder span{background:#eee;border-radius:999px;display:grid;height:56px;place-items:center;width:56px}.video-processing-output .task-processing{align-items:center;display:flex;margin:0;min-height:36px}.video-asset,.video-result-wrap{display:grid;gap:8px;max-width:100%;width:380px}.video-card,.video-expired-card{border-radius:7px;height:215px;max-width:100%;overflow:hidden;position:relative;width:380px}.video-card{background:#000}.video-card video{display:block;height:215px;max-width:100%;-o-object-fit:contain;object-fit:contain;width:380px}.video-expired-card{background:#f7f7f7;border:1px dashed #d7d7d7;color:#777;display:grid;gap:10px;place-content:center;text-align:center}.video-expired-card strong{color:#666;font-size:16px;font-weight:400}.video-expired-card span{font-size:14px}.video-toolbar{display:flex;gap:10px;opacity:0;pointer-events:none;position:absolute;right:10px;top:10px;transform:translateY(-4px);transition:opacity .16s ease,transform .16s ease;z-index:2}.video-card:focus-within .video-toolbar,.video-card:hover .video-toolbar{opacity:1;pointer-events:auto;transform:translateY(0)}.video-tool-button{background:transparent;border:0;border-radius:6px;color:#fff;display:grid;font-size:0;height:22px;line-height:1;padding:0;place-items:center;position:relative;text-decoration:none;width:22px}.video-tool-button:focus-visible,.video-tool-button:hover{background:#ffffff2e;outline:0}.video-tool-icon{height:17px;width:17px}.video-tool-icon path,.video-tool-icon rect{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.video-tool-button:after{background:#050505;border-radius:5px;box-shadow:0 8px 22px #0000002e;color:#fff;content:attr(aria-label);font-size:12px;font-weight:500;max-width:96px;opacity:0;padding:5px 8px;pointer-events:none;position:absolute;right:0;top:calc(100% + 7px);transform:translateY(-2px);transition:opacity .14s ease,transform .14s ease;width:-moz-max-content;width:max-content}.video-tool-button:focus-visible:after,.video-tool-button:hover:after{opacity:1;transform:translateY(0)}.video-meta{bottom:12px;color:#fff;display:flex;font-size:12px;font-weight:900;gap:6px;left:12px;position:absolute;text-shadow:0 1px 8px rgba(0,0,0,.8);z-index:1}.video-expiry-note{color:#606f85;font-size:13px;line-height:18px;margin:0}.video-expiry-note a{color:#111;font-weight:700;text-decoration:underline}.video-result-time{color:#777;margin-top:0}.copy-toast{background:#111;border-radius:8px;box-shadow:0 12px 30px #0000002e;color:#fff;z-index:100}.attachment-warning-toast,.copy-toast{font-size:13px;font-weight:500;left:50%;padding:8px 14px;position:fixed;top:16px;transform:translate(-50%)}.attachment-warning-toast{background:#fff;border:1px solid #f0f0f0;border-radius:8px;box-shadow:0 12px 30px #0000001f;color:#ff1f1f;line-height:20px;max-width:min(92vw,860px);text-align:center;z-index:110}.record-actions{display:flex;gap:8px;padding-left:48px}.record-actions button{background:#f5f5f5;border:0;border-radius:8px;font-size:13px;min-height:30px;padding:0 10px}.loading-line,.task-processing{color:#555;font-size:14px;font-weight:700}.inline-error,.submit-error{color:#d93025}.inline-recharge-link,.inline-retry-link{background:transparent;border:0;box-shadow:none;color:#575ce9;cursor:pointer;display:inline;font:inherit;line-height:inherit;margin:0;padding:0;text-decoration:none}.inline-recharge-link:focus-visible,.inline-recharge-link:hover,.inline-retry-link:focus-visible,.inline-retry-link:hover{color:#3f44c8;outline:0;text-decoration:none}.prompt-composer{background:#fff;bottom:0;display:grid;gap:0;margin-top:0;min-height:var(--composer-panel-height);min-width:0;padding:0 28px 18px;position:fixed;right:0;width:calc(100vw - 262px);z-index:5}.app-shell.is-sidebar-collapsed .prompt-composer{width:calc(100vw - 44px)}.composer-options{align-items:center;background:#f7f8fb;border:1px solid #dfe3ee;border-bottom:0;border-radius:12px 12px 0 0;display:flex;flex-wrap:wrap;gap:8px;justify-self:center;padding:8px 14px;width:min(var(--composer-content-width),100%)}.option-field,.option-toggle{align-items:center;background:#fbfcff;border:1px solid #dfe3ee;border-radius:7px;color:#30333d;display:inline-flex;font-size:14px;font-weight:400;gap:8px;line-height:1.35;min-height:32px;padding:0 10px;position:relative}.option-toggle{cursor:pointer;transition:color .16s ease-out,border-color .16s ease-out,background-color .16s ease-out}.option-toggle input{height:1px;margin:0;opacity:0;pointer-events:none;position:absolute;width:1px}.option-toggle.is-selected{background:#fbfbff;border-color:var(--brand);color:var(--brand)}.option-toggle:has(input:focus-visible){outline:2px solid rgba(91,95,240,.22);outline-offset:2px}.option-toggle:has(input:disabled){cursor:not-allowed;opacity:.56}.option-menu>button{align-items:center;background:transparent;border:0;color:inherit;display:inline-flex;font-weight:inherit;gap:8px;justify-content:center;max-width:100%;white-space:nowrap}.option-menu>button:after{border-bottom:1.5px solid #999;border-right:1.5px solid #999;content:"";display:block;flex:0 0 auto;height:6px;margin-left:8px;transform:translateY(-1px) rotate(45deg);transform-origin:center;width:6px}.option-menu-label{color:#8a90a0;flex:0 0 auto;font-size:12px;font-weight:400}.option-menu-value{color:#1f2937;font-size:13px;font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis}.option-menu-panel{background:#fff;border:1px solid #ddd;border-radius:10px;bottom:calc(100% + 8px);box-shadow:0 18px 42px #0000001f;display:grid;gap:4px;left:0;min-width:138px;padding:6px;position:absolute;z-index:20}.option-menu-panel button{background:transparent;border:0;border-radius:7px;font-size:13px;font-weight:400;padding:8px 10px;text-align:left}.option-menu-panel button.is-selected,.option-menu-panel button:hover{background:#f2f2f2}.attachment-strip{align-items:center;display:flex;flex-wrap:wrap;gap:8px;grid-column:1/-1;min-height:54px;padding:0;width:100%}.attachment-preview{align-items:center;background:#fff;border:1px solid #eee;border-radius:8px;display:inline-flex;gap:8px;margin-left:0;max-width:240px;padding:4px}.attachment-file-icon,.attachment-preview img{background:#f5f5f5;border-radius:7px;display:block;height:44px;-o-object-fit:cover;object-fit:cover;width:44px}.attachment-file-icon{background:#575ce9;border-radius:8px;color:#fff;display:grid;font-size:10px;font-weight:700;place-items:center}.attachment-info{display:grid;gap:2px;min-width:0}.attachment-info strong{color:#111827;font-size:13px;font-weight:700;line-height:18px}.attachment-info strong,.attachment-preview small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-preview small{color:#6b7280;font-size:12px;line-height:16px}.attachment-remove-button{background:transparent;border:0;border-radius:999px;color:#666;display:grid;flex:0 0 auto;font-size:16px;height:22px;line-height:1;padding:0;place-items:center;width:22px}.attachment-remove-button:focus-visible,.attachment-remove-button:hover{background:#eee;color:#111;outline:0}.composer-main{align-items:end;background:#f7f8fb;border:1px solid #dfe3ee;border-radius:0 0 12px 12px;display:grid;gap:10px;grid-template-columns:minmax(0,1fr) auto;justify-self:center;min-height:108px;min-width:0;padding:16px 12px 12px;width:min(var(--composer-content-width),100%)}.composer-main.has-attachment-entry{grid-template-columns:auto minmax(0,1fr) auto}.composer-main.has-attachment-entry .composer-input-wrap{align-self:stretch}.composer-main.is-dragging-image{background:#f4f5ff;border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.attach-button{align-self:stretch;background:#fafbfe;border:1px dashed #dfe3eb;border-radius:10px;color:#c5c8cf;display:grid;min-height:76px;place-items:center;position:relative;width:78px}.attach-button:after{background:#1f2430;border-radius:6px;bottom:calc(100% + 8px);box-shadow:0 8px 22px #0f172a2e;color:#fff;content:attr(data-tooltip);font-size:12px;font-weight:600;left:50%;line-height:18px;max-width:calc(100vw - 32px);opacity:0;overflow-wrap:anywhere;padding:8px 10px;pointer-events:none;position:absolute;transform:translate(-50%) translateY(4px);transition:opacity .12s ease-out,transform .12s ease-out;visibility:hidden;white-space:pre-line;width:-moz-max-content;width:max-content;z-index:30}.attach-button:hover:after{opacity:1;transform:translate(-50%) translateY(0);visibility:visible}.attach-button.has-selected-attachment:after,.attach-button.has-selected-attachment:hover:after,.attach-button.is-file-picker-open:after{opacity:0;transform:translate(-50%) translateY(4px);visibility:hidden}.attach-button.is-tooltip-hidden:after,.attach-button.is-tooltip-hidden:hover:after,.attach-button[data-tooltip=""]:after{display:none}.attach-button input{top:0;right:0;bottom:0;left:0;opacity:0;pointer-events:none;position:absolute}.attach-icon{height:34px;-o-object-fit:contain;object-fit:contain;width:34px}.attach-file-icon{color:#c7c7ca}.composer-input-wrap{align-self:stretch;min-height:72px;min-width:0;position:relative}.prompt-composer textarea{background:transparent;border:0;color:#252934;display:block;font-family:Source Han Sans SC,Source Han Sans SC-400,Noto Sans CJK SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;font-weight:400;height:100%;line-height:1.5;max-height:120px;min-height:72px;min-width:0;outline:0;overflow-y:auto;padding:0;resize:none;scrollbar-color:#c7c7c7 transparent;scrollbar-gutter:stable;scrollbar-width:thin;width:100%}.prompt-composer textarea::-moz-placeholder{color:#a3a3a3;opacity:1}.prompt-composer textarea::placeholder{color:#a3a3a3;opacity:1}.prompt-composer textarea::-webkit-scrollbar{width:8px}.prompt-composer textarea::-webkit-scrollbar-track{background:transparent}.prompt-composer textarea::-webkit-scrollbar-thumb{background:#c7c7c7;border-radius:999px}.send-button{background:transparent;border:0;border-radius:8px;color:#16191f;display:grid;font-weight:900;height:36px;place-items:center;width:36px}.send-icon{background:url(../image-assets/send.svg) 50%/contain no-repeat;height:36px;width:36px}.send-button.is-ready .send-icon{background-image:url(../image-assets/send-highlight.svg)}.send-button:focus-visible:not(:disabled),.send-button:hover:not(:disabled){background:transparent;color:#fff;outline:0}.send-button:focus-visible:not(:disabled) .send-icon,.send-button:hover:not(:disabled) .send-icon{background-image:url(../image-assets/send-highlight.svg)}.send-button:disabled{cursor:not-allowed;opacity:.4}.send-icon.is-loading{opacity:.4}@media(max-width:760px){.app-frame{grid-template-rows:60px minmax(0,1fr)}.top-bar{justify-content:center;padding:0 12px}.account-area,.login-button{position:absolute;right:10px}.app-shell{grid-template-columns:minmax(0,1fr)}.model-sidebar{border-right:1px solid #dbe5ff;padding-top:50px;width:min(262px,100vw)}.model-sidebar-content{min-width:0}.type-filter{width:calc(100% + 20px)}.floating-actions,.workspace{display:none}}.recharge-modal{background:#0f172a52;display:grid;top:0;right:0;bottom:0;left:0;padding:24px;place-items:center;position:fixed;z-index:100}.recharge-dialog{background:#fff;border:1px solid #e4e7ec;border-radius:8px;box-shadow:0 18px 42px #0f172a29;color:#182230;padding:18px 23px;position:relative;width:min(448px,calc(100vw - 40px))}.recharge-dialog h2{font-size:18px;line-height:26px;margin:0 0 20px;text-align:center}.recharge-subtitle{color:#667085;display:none;margin:0;text-align:center}.recharge-dialog h3{font-size:14px;font-weight:600;margin:0 0 10px}.recharge-close{background:transparent;border:0;color:#667085;display:grid;height:32px;padding:0;place-items:center;position:absolute;right:9px;top:8px;width:32px}.recharge-close-icon{display:block;height:18px;width:18px}.recharge-close-icon path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:2.1}.package-grid,.payment-ways{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px}.package-grid button,.payment-ways button{background:#fff;border:2px solid #e4e7ec;border-radius:10px;color:#182230;min-height:74px}.package-grid button.is-selected,.payment-ways button.is-selected{background:#f5f0ff;border-color:#575ce9}.package-grid span,.package-grid strong{display:block}.package-grid span{color:#667085;margin-top:5px}.package-grid .custom-package{align-items:center;color:#575ce9;display:flex;flex-direction:column;font-weight:600;gap:6px;grid-column:auto;justify-content:center;min-height:74px;padding:0 14px;text-align:center}.package-grid .custom-package.is-selected{background:#f5f0ff;border-color:#575ce9;color:#575ce9}.package-grid .custom-package span{color:#575ce9;margin:0}.package-grid .custom-package.is-selected span{color:#575ce9}.custom-package-check{color:#575ce9;display:block;height:16px;width:16px}.custom-package-check path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.custom-amount-panel{background:#f8fafc;border-radius:10px;margin:-6px 0 18px;padding:16px}.currency-input{align-items:center;background:#fff;border:2px solid #575ce9;border-radius:8px;display:flex;gap:8px;height:50px;margin-top:8px;padding:0 14px}.currency-input input{border:0;flex:1;min-width:0;outline:0}.custom-amount-panel p{color:#575ce9;margin:7px 0 4px}.custom-amount-panel small{color:#98a2b3}.recharge-error{color:#d92d20;margin:8px 0 14px}.payment-ways button{align-items:center;display:flex;font-weight:600;gap:10px;padding:0 12px}.payment-ways button>span:not(.payment-icon){flex:0 0 auto;white-space:nowrap}.payment-ways{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:flex-start;max-width:calc(66.66667% - 4px)}.payment-icon{border-radius:50%;color:#fff;display:grid;flex:0 0 auto;font-size:12px;font-weight:700;height:27px;place-items:center;width:27px}.payment-icon-wechat{background:#09bb07}.payment-icon-alipay{background:#1677ff}.selected-check{color:#575ce9;display:block;height:16px;margin-left:auto;width:16px}.selected-check path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.confirm-payment{border:0;border-radius:8px;color:#fff;font-weight:700;height:48px;margin-top:2px;width:100%}.confirm-payment,.confirm-payment:hover:not(:disabled){background:#575ce9}.agreement{color:#667085;margin:18px 0 0;text-align:center}.agreement-link{color:#575ce9;cursor:pointer;text-decoration:none}.agreement-link:hover{text-decoration:underline}.terms-overlay{background:#0f172a52;display:grid;top:0;right:0;bottom:0;left:0;padding:24px;place-items:center;position:fixed;z-index:110}.terms-dialog{background:#fff;border:1px solid #e4e7ec;border-radius:8px;box-shadow:0 18px 42px #0f172a29;color:#182230;flex-direction:column;height:660px;padding:0;width:500px}.terms-dialog,.terms-header{display:flex;position:relative}.terms-header{align-items:center;border-bottom:1px solid #e4e7ec;flex-shrink:0;justify-content:flex-start;padding:18px 24px}.terms-header strong{font-size:16px;font-weight:700}.terms-header .recharge-close{position:absolute;right:18px;top:50%;transform:translateY(-50%)}.terms-body{background:#f8f9fa;color:#363c46;flex:1;font-size:14px;line-height:1.8;overflow-y:auto;padding:20px 24px}.terms-body h3{color:#182230;font-size:14px;font-weight:600;margin:18px 0 8px}.terms-body h3:first-child{margin-top:0}.terms-body p{margin:4px 0}.terms-footer{border-top:1px solid #e4e7ec;display:flex;flex-shrink:0;justify-content:flex-end;padding:16px 24px}.terms-agree-btn{border:0;border-radius:6px;color:#fff;font-size:14px;font-weight:600;height:40px;padding:0 32px}.terms-agree-btn,.terms-agree-btn:hover{background:#575ce9}.qr-summary{background:#f8fafc;border-radius:10px;display:grid;gap:4px;justify-items:center;margin:20px 0;padding:16px}.qr-countdown,.qr-summary span,.scan-hint{color:#667085}.qr-summary strong{font-size:25px}.qr-summary em{color:#246bfa;font-style:normal}.expired-qr,.qr-image{border:1px solid #e4e7ec;border-radius:8px;display:block;height:228px;margin:0 auto 15px;-o-object-fit:contain;object-fit:contain;width:228px}.expired-qr{background:#f2f4f7;color:#667085;display:grid;gap:6px;place-content:center;text-align:center}.qr-countdown,.scan-hint{margin:8px 0;text-align:center}.secondary-action{background:#575ce9;border:1px solid #575ce9;border-radius:8px;color:#fff;font-weight:700;height:48px;margin-top:10px;width:100%}.secondary-action:hover:not(:disabled){background:#6d28d9;border-color:#6d28d9}.recharge-success{align-content:center;display:grid;justify-items:center;min-height:254px}.recharge-success p{color:#667085}.success-check{background:#dcfae6;border-radius:50%;color:#079455;display:grid;font-size:34px;height:64px;margin-bottom:16px;place-items:center;width:64px}.payment-record-shell{background:#fff;display:grid;grid-template-rows:60px minmax(0,1fr);min-height:100vh}.payment-record-page{background:#fff;color:#111;min-height:0;padding:28px 28px 48px}.payment-record-page h1{font-size:20px;line-height:1.4;margin:-24px 0 34px;text-align:center}.payment-back{align-items:center;background:transparent;border:0;color:#555;display:inline-flex;font-size:14px;gap:8px;min-height:34px;padding:0 4px}.payment-back:hover{color:#111}.payment-record-card{background:#fff;border:1px solid #e2e2e2;border-radius:10px;box-shadow:0 2px 8px #0f172a14;overflow:hidden}.payment-record-table{border-collapse:collapse;table-layout:fixed;width:100%}.payment-record-table td,.payment-record-table th{border-bottom:1px solid #e5e5e5;font-size:14px;height:39px;padding:0 9px;text-align:left}.payment-record-table th{color:#111;font-weight:700;height:64px}.payment-record-table tbody tr:last-child td{border-bottom:0}.payment-record-table td{font-weight:600}.payment-record-table .payment-time{color:#667085;font-weight:400}.payment-way-tag{align-items:center;border-radius:7px;display:inline-flex;font-size:12px;font-weight:700;min-height:22px;padding:0 10px}.payment-way-tag.is-alipay{background:#dbeafe;color:#1677ff}.payment-way-tag.is-wechat{background:#dcfae6;color:#079455}.payment-way-tag.is-unknown{background:#f2f4f7;color:#667085}.payment-record-state{color:#667085;display:grid;min-height:180px;place-items:center}.payment-record-state.is-error{color:#d92d20}.payment-pagination{align-items:center;border-top:1px solid #eee;display:flex;gap:8px;justify-content:flex-end;padding:16px}.payment-pagination button{background:#fff;border:1px solid #575ce9;border-radius:8px;color:#575ce9;height:32px;min-width:34px;padding:0 11px}.payment-pagination .page-number.is-active,.payment-pagination button:hover:not(:disabled){background:#575ce9;border-color:#575ce9;color:#fff}.consumption-record-page{background:#fff;color:#111;min-height:0;padding:28px 22px 48px}.consumption-record-page h1{font-size:20px;line-height:1.4;margin:-24px 0 28px;text-align:center}.consumption-summary-grid{display:grid;gap:16px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:22px}.consumption-summary-card{align-items:center;background:#fff;border:1px solid #e4e7ec;border-radius:10px;box-shadow:0 2px 8px #0f172a14;display:flex;gap:14px;min-height:108px;padding:20px 28px}.summary-icon{border-radius:9px;display:grid;font-size:22px;font-weight:800;height:42px;place-items:center;width:42px}.summary-icon.is-blue{background:#eff6ff;color:#1677ff}.summary-icon.is-purple{background:#f3edff;color:#575ce9}.summary-icon.is-green{background:#ecfdf3;color:#12b76a}.summary-icon.is-red{background:#fff1f0;color:#f04438}.consumption-summary-card div{display:grid;gap:2px}.consumption-summary-card span:not(.summary-icon){color:#667085;font-size:14px}.consumption-summary-card strong{color:#111;font-size:20px;line-height:1.25}.consumption-summary-card strong.is-green-text{color:#039855}.consumption-summary-card strong.is-red-text{color:#e31b0c}.consumption-filter-bar{align-items:center;display:flex;gap:16px;justify-content:space-between;margin-bottom:22px}.consumption-filters{align-items:center;display:flex;gap:10px}.consumption-filters input[type=date],.export-bill-button,.model-filter-wrap>button{background:#fff;border:1px solid #e4e7ec;border-radius:7px;box-shadow:0 1px 3px #0f172a0d;color:#111;height:36px}.consumption-filters input[type=date]{padding:0 12px;width:160px}.consumption-filters>span{color:#667085}.model-filter-wrap{position:relative}.model-filter-wrap>button{align-items:center;color:#111;display:inline-flex;font-weight:400;gap:8px;min-width:104px;padding:0 12px;transition:border-color .15s ease-out,color .15s ease-out,box-shadow .15s ease-out}.model-filter-wrap>button.is-open,.model-filter-wrap>button.is-selected{border-color:#e4e7ec;box-shadow:0 1px 3px #0f172a0d;color:#111;outline:0}.model-filter-wrap>button:focus-visible{border-color:#e4e7ec;box-shadow:0 1px 3px #0f172a0d;color:#111;outline:0}.model-filter-wrap>button:hover{border-color:#e4e7ec;box-shadow:0 1px 3px #0f172a0d;color:#111}.model-filter-count,.model-filter-label{color:#111;font-weight:400;line-height:1}.model-filter-count{display:inline;font-size:12px;height:auto;min-width:0;padding:0}.model-filter-chevron{border-bottom:1.3px solid;border-right:1.3px solid;height:6px;margin-left:auto;transform:translateY(-2px) rotate(45deg);transition:transform .15s ease-out;width:6px}.model-filter-wrap>button.is-open .model-filter-chevron{transform:translateY(2px) rotate(225deg)}.model-filter-menu{background:#fff;border:1px solid #e4e7ec;border-radius:8px;box-shadow:0 6px 18px #0f172a24;display:grid;gap:2px;left:0;max-height:320px;overflow:auto;padding:10px;position:absolute;top:calc(100% + 6px);width:220px;z-index:40}.model-filter-menu label{align-items:center;border-radius:6px;color:#111;display:flex;font-weight:400;gap:8px;min-height:34px;padding:0 6px}.model-filter-menu label:hover{background:#f8fafc}.model-filter-menu input[type=checkbox]{accent-color:#575ce9;height:14px;width:14px}.model-filter-menu input[type=checkbox]:checked+span{color:#111;font-weight:400}.export-bill-button{align-items:center;color:#fff;display:inline-flex;font-weight:700;gap:8px;padding:0 14px}.export-bill-button,.export-bill-button:hover:not(:disabled){background:#575ce9;border-color:#575ce9}.consumption-record-card{overflow:visible}.consumption-record-table td:first-child,.consumption-record-table th:first-child{width:24%}.consumption-record-table td:nth-child(2),.consumption-record-table th:nth-child(2){width:18%}.consumption-record-table td:nth-child(3),.consumption-record-table td:nth-child(4),.consumption-record-table td:nth-child(5),.consumption-record-table th:nth-child(3),.consumption-record-table th:nth-child(4),.consumption-record-table th:nth-child(5){width:10%}.consumption-conversation{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.billing-status-tag{align-items:center;border-radius:7px;display:inline-flex;font-size:12px;font-weight:700;min-height:22px;padding:0 10px}.billing-status-tag.is-success{background:#dcfae6;color:#079455}.billing-status-tag.is-running{background:#fef0c7;color:#a15c07}.billing-status-tag.is-failed{background:#fee4e2;color:#d92d20}.billing-status-tag.is-unknown{background:#f2f4f7;color:#667085}
