@keyframes sd-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes sd-blurIn{0%{opacity:0;filter:blur(4px)}to{opacity:1;filter:blur(0)}}@keyframes sd-slideUp{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}[data-sd-animate]{animation:var(--sd-animation, sd-fadeIn) var(--sd-duration, .15s) var(--sd-easing, ease) var(--sd-delay, 0ms) both}:root{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans SC,Microsoft YaHei,Arial,sans-serif;color:#111;background:#fff;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;-webkit-font-smoothing:antialiased}button,textarea,input{font:inherit}button{color:inherit}.app-shell{min-height:100dvh;display:grid;grid-template-columns:var(--sidebar-width,252px) minmax(0,1fr);background:#fff;transition:grid-template-columns .22s ease}.app-shell.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}.sidebar{width:var(--sidebar-width,252px);height:100dvh;position:sticky;top:0;display:flex;flex-direction:column;background:#fafafa;border-right:1px solid #e6e6e6;z-index:30;transition:width .22s ease,transform .22s ease,opacity .16s ease,border-color .16s ease}.app-shell.sidebar-collapsed .sidebar{transform:translate(-100%);opacity:0;pointer-events:none;border-color:transparent}.sidebar-resize-handle{width:12px;position:absolute;right:-6px;top:0;bottom:0;z-index:34;display:grid;place-items:center;background:transparent;cursor:col-resize;touch-action:none;outline:none}.sidebar-resize-handle span{width:2px;height:44px;border-radius:2px;background:#b8b8b8;opacity:0;transform:scaleY(.72);transition:opacity .14s ease,transform .14s ease,background-color .14s ease}.sidebar-resize-handle:hover span,.sidebar-resize-handle:focus-visible span,body.sidebar-resizing .sidebar-resize-handle span{opacity:1;transform:scaleY(1)}.sidebar-resize-handle:focus-visible span,body.sidebar-resizing .sidebar-resize-handle span{background:#777}body.sidebar-resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}body.sidebar-resizing .app-shell,body.sidebar-resizing .sidebar{transition:none}.sidebar-head{height:64px;padding:0 14px 0 18px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:9px;font-size:22px;font-weight:750;letter-spacing:.02em}.brand>span{min-width:0;white-space:nowrap}.sidebar-controls{display:flex;align-items:center;gap:2px}.icon-button{width:40px;height:40px;display:inline-grid;place-items:center;border:0;border-radius:10px;background:transparent;cursor:pointer}.icon-button:hover{background:#ededed}.close-button{display:none}.sidebar-collapse-button{display:inline-grid}.sidebar-expand-button{display:none}.app-shell.sidebar-collapsed .sidebar-expand-button{display:inline-grid}.new-task-button{height:42px;margin:6px 10px 10px;padding:0 12px;display:flex;align-items:center;gap:10px;border:0;border-radius:10px;background:transparent;font-size:14px;font-weight:550;cursor:pointer}.new-task-button:hover{background:#ececec}.sidebar-scroll{min-height:0;flex:1;overflow-y:auto;padding-bottom:18px;scrollbar-width:thin;scrollbar-color:#c8c8c8 transparent}.side-section{padding:14px 10px 0}.section-heading{height:34px;margin:0 4px 5px 10px;display:flex;align-items:center;justify-content:space-between}.section-heading h2{margin:0;color:#838383;font-size:12px;font-weight:600}.section-add{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#626262;cursor:pointer;opacity:0}.section-heading:hover .section-add,.section-heading:focus-within .section-add{opacity:1}.section-add:hover{background:#e9e9e9;color:#111}.project-list,.conversation-list{display:grid;gap:2px}.project-row{height:38px;padding:0 3px 0 0;display:grid;grid-template-columns:minmax(0,1fr) 84px;align-items:center;border-radius:9px}.project-row:hover{background:#f0f0f0}.project-row.selected{background:#eaeaea}.row-select{min-width:0;height:38px;padding:0 9px;display:grid;grid-template-columns:19px minmax(0,1fr);align-items:center;gap:7px;border:0;background:transparent;font-size:14px;text-align:left;cursor:pointer}.row-select span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.row-actions{display:flex;align-items:center;justify-content:flex-end;opacity:0}.project-row:hover .row-actions,.row-actions:focus-within{opacity:1}.row-actions button{width:26px;height:26px;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:#707070;cursor:pointer}.row-actions button:hover{background:#ddd;color:#111}.project-conversations{margin:2px 0 4px 22px;display:grid;gap:1px}.project-conversations button{width:100%;height:32px;padding:0 9px;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;border:0;border-radius:8px;background:transparent;font-size:13px;text-align:left;cursor:pointer}.project-conversations button:hover{background:#eaeaea}.project-conversations button.selected{background:transparent;font-weight:600}.project-conversations span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.conversation-list button{width:100%;height:38px;padding:0 9px;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;border:0;border-radius:9px;background:transparent;font-size:14px;text-align:left;cursor:pointer}.conversation-list button:hover{background:#f0f0f0}.conversation-list button.selected{background:transparent;font-weight:600}.conversation-list span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.conversations{padding-top:18px}.account-button{min-height:66px;padding:0 16px;display:grid;grid-template-columns:32px 1fr;gap:9px;align-items:center;border-top:1px solid #e6e6e6;background:#fafafa;text-align:left}.avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#1b9f61;color:#fff;font-size:13px;font-weight:650}.account-button strong,.account-button small{display:block}.account-button strong{font-size:14px;font-weight:550}.account-button small{margin-top:2px;color:#888;font-size:12px}.login-button{min-height:66px;padding:0 16px;display:flex;align-items:center;gap:9px;border:0;border-top:1px solid #e6e6e6;background:#fafafa;font-size:14px;font-weight:550;cursor:pointer}.login-button:hover{background:#f1f1f1}.workspace-area{min-width:0;height:100dvh;display:grid;grid-template-columns:minmax(0,1fr) 0%;overflow:hidden;transition:grid-template-columns .36s cubic-bezier(.4,0,.2,1)}.workspace-area.with-preview{grid-template-columns:minmax(520px,1fr) 46%}.chat-shell{min-width:0;height:100dvh;display:grid;grid-template-rows:70px minmax(0,1fr) auto;background:#fff}.chat-header{padding:0 24px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #e7e7e7}.chat-header h1{margin:0;font-size:14px;line-height:19px;font-weight:600}.chat-header p{margin:2px 0 0;color:#8a8a8a;font-size:12px}.preview-expand{width:34px;height:34px;margin-left:auto;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#555;opacity:1;visibility:visible;cursor:pointer;transition:opacity .14s ease .36s,visibility 0s linear .36s,background-color .14s ease}.preview-expand.preview-expand-hidden{opacity:0;visibility:hidden;pointer-events:none;transition-delay:0s}.preview-expand:hover{background:#efefef}.menu-button{display:none}.message-stream{width:min(760px,calc(100% - 40px));min-height:0;margin:0 auto;padding:68px 0 36px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d0d0d0 transparent}.message{margin-bottom:32px;position:relative;display:flex;align-items:flex-start;gap:12px}.message p{margin:0;font-size:16px;line-height:1.75}.message.user{justify-content:flex-end}.message-content{min-width:0;position:relative;padding-bottom:24px}.message.user .message-content{max-width:78%}.message.user p{padding:10px 15px;border-radius:18px;background:#f1f1f1}.message.assistant p{max-width:680px;padding-top:2px}.message p a{color:#1673d2;text-decoration:underline;text-decoration-color:#1673d259;text-underline-offset:3px}.message p a:hover{text-decoration-color:currentColor}.message-meta{position:absolute;right:0;bottom:0;display:flex;align-items:center;gap:6px;color:#8e8e8e;font-size:11px;opacity:0;pointer-events:none;transition:opacity .14s ease}.message-meta.inline{position:static;flex:0 0 auto}.message:hover .message-meta,.message:focus-within .message-meta{opacity:1;pointer-events:auto}.message-meta button{width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:#777;cursor:pointer}.message-meta button:hover{background:#ededed;color:#111}.copy-feedback-button{transition:background-color .14s ease,color .14s ease}.copy-feedback-button.copied{color:#171717}.message-files{margin:0 0 9px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.message-files button{min-width:0;height:36px;max-width:260px;padding:0 13px;display:flex;align-items:center;gap:7px;border:1px solid #dedede;border-radius:18px;background:#fff;color:#262626;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.message-files button:hover{border-color:#cfcfcf;background:#f7f7f7}.message-files button:focus-visible{outline:2px solid #858585;outline-offset:2px}.message-files button:disabled{color:#777;cursor:default}.message-files .message-image-attachment{width:100px;height:100px;padding:0;overflow:hidden;border-radius:13px;background:#f3f3f3}.message-files .message-image-attachment img{width:100%;height:100%;display:block;object-fit:cover}.message-files .message-file-pill>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.message.user.file-only .message-content{padding-bottom:0}.file-edit-summary{margin:18px 0 12px;display:grid;gap:8px}.file-edit-card{width:100%;min-height:66px;padding:10px 15px;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;border:1px solid #e3e3e3;border-radius:13px;background:#fff;text-align:left;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.file-edit-card:hover{border-color:#d7d7d7;background:#fafafa}.file-edit-card:focus-visible{outline:2px solid #777;outline-offset:2px}.file-edit-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:#f2f2f2;color:#666}.file-edit-copy{min-width:0;display:grid;gap:4px}.file-edit-copy strong{overflow:hidden;font-size:14px;font-weight:560;white-space:nowrap;text-overflow:ellipsis}.file-edit-copy small{display:flex;align-items:center;gap:4px;font:12px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace}.file-edit-additions{color:#149447}.file-edit-deletions{color:#d64545}.message-stream.empty{display:grid;place-items:center}.empty-state{margin-top:-80px;text-align:center}.empty-state h2{margin:18px 0 7px;font-size:24px;font-weight:600}.empty-state p{margin:0;color:#777;font-size:14px}.composer-area{width:min(920px,calc(100% - 40px));margin:0 auto 28px;position:relative}.chat-composer{width:100%;min-height:124px;padding:10px 11px 9px;position:relative;z-index:2;display:flex;flex-direction:column;gap:4px;border:1px solid #dedede;border-radius:25px;background:#fff;box-shadow:0 8px 28px #00000012}.composer-toolbar{width:100%;min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:8px}.composer-toolbar-start{min-width:0;display:flex;align-items:center;gap:4px;transform:translateY(12px)}.composer-toolbar-end{display:flex;align-items:center;gap:5px;transform:translateY(12px)}.add-button{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#333;cursor:pointer}.add-button:hover,.add-button.active{background:#ededed}.composer-input{width:100%;min-width:0;display:flex;flex-direction:column;justify-content:center}.rich-composer-input{width:100%;min-height:44px;max-height:164px;padding:10px 8px;overflow-y:auto;border:0;outline:0;background:transparent;color:#111;font-size:15px;line-height:24px;white-space:pre-wrap;overflow-wrap:anywhere}.rich-composer-input:empty:before{content:attr(data-placeholder);color:#989898;pointer-events:none}.attachment-strip{max-width:100%;padding:0 0 6px;display:flex;gap:9px;overflow-x:auto;scrollbar-width:thin}.attachment-card{width:96px;height:76px;flex:0 0 96px;position:relative;overflow:hidden;border:1px solid #e2e2e2;border-radius:12px;background:#f3f3f3}.attachment-card img{width:100%;height:100%;display:block;object-fit:cover}.file-preview{width:100%;height:48px;display:grid;place-items:center;color:#777}.attachment-name{position:absolute;left:7px;right:7px;bottom:5px;overflow:hidden;color:#666;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.attachment-open{width:100%;height:100%;padding:0;border:0;background:transparent;cursor:pointer}.attachment-open:disabled{cursor:default}.attachment-remove{width:22px;height:22px;position:absolute;top:5px;right:5px;display:grid;place-items:center;border:0;border-radius:50%;background:#1c1c1c;color:#fff;cursor:pointer}.inline-skill-token{display:inline;padding:2px 5px;border-radius:5px;background:#edf5ff;color:#1673d2;font-weight:600;white-space:nowrap;cursor:pointer}.inline-skill-token:hover{background:#dfeeff}.model-status{width:26px;height:32px;padding:0;position:relative;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#a9a9a9;cursor:help}.model-status:hover,.model-status:focus{color:#777;outline:none}.context-popover{width:212px;padding:9px 13px 8px;position:absolute;left:50%;bottom:calc(100% + 8px);z-index:30;display:grid;justify-items:center;gap:2px;border:1px solid #e1e1e1;border-radius:13px;background:#fff;color:#262626;font-size:13px;line-height:1.35;font-weight:400;white-space:nowrap;box-shadow:0 6px 18px #0000000d;opacity:0;transform:translate(-50%,4px);pointer-events:none;transition:opacity .12s ease,transform .12s ease}.context-popover>span:first-child{color:#8b8b8b}.context-popover strong{color:#929292;font-size:13px;font-weight:400}.context-popover>span:last-child{font-size:13px}.model-status:hover .context-popover,.model-status:focus .context-popover{opacity:1;transform:translate(-50%)}.model-button{width:132px;min-width:132px;height:34px;padding:0 8px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:5px;border:0;border-radius:17px;background:#f2f2f2;color:#303030;font-size:13px;cursor:pointer;transition:width .21s cubic-bezier(.2,.75,.25,1),min-width .21s cubic-bezier(.2,.75,.25,1),background-color .14s ease}.model-button:hover{background:#ebebeb}.model-button.active{width:280px;min-width:280px;background:#eee}.model-button:focus{outline:none}.model-button:focus-visible{box-shadow:0 0 0 1px #d3d3d3}.send-button{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border:0;border-radius:50%;background:#111;color:#fff;cursor:pointer}.send-button:disabled{background:#d2d2d2;cursor:default}.send-button:not(:disabled):hover{background:#2c2c2c}.stop-button svg{width:13px;height:13px}.send-button.stop-button{background:#eee;color:#555}.send-button.stop-button:not(:disabled):hover{background:#e2e2e2;color:#111}.queued-input-stack{position:absolute;left:16px;right:16px;bottom:calc(100% - 10px);z-index:1;display:flex;flex-direction:column;gap:6px}.queued-input-card{min-height:50px;padding:8px 12px 12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e5e5e5;border-radius:22px 22px 0 0;background:#fffffffa;color:#242424;box-shadow:0 -4px 18px #00000009}.queued-input-main{min-width:0;flex:1;display:flex;align-items:center;gap:8px}.queued-input-main>svg{flex:0 0 auto;color:#888}.queued-input-main>span{overflow:hidden;font-size:14px;line-height:24px;white-space:nowrap;text-overflow:ellipsis}.queued-input-main textarea{width:100%;min-height:34px;max-height:112px;padding:5px 7px;resize:vertical;border:1px solid #d7d7d7;border-radius:8px;outline:none;background:#fff;font-size:14px;line-height:22px}.queued-input-main textarea:focus{border-color:#999;box-shadow:0 0 0 2px #0000000d}.queued-input-actions{flex:0 0 auto;display:flex;align-items:center;gap:3px}.queued-input-actions>button,.queued-input-actions>.queue-menu-wrap>button{height:30px;padding:0 8px;display:inline-flex;align-items:center;gap:4px;border:0;border-radius:8px;background:transparent;color:#858585;font-size:13px;cursor:pointer}.queued-input-actions>button:hover,.queued-input-actions>.queue-menu-wrap>button:hover{background:#f0f0f0;color:#333}.queued-input-actions button:disabled{opacity:.45;cursor:default}.queued-input-actions .queue-save{background:#1d1d1f;color:#fff}.queued-input-actions .queue-save:hover{background:#333;color:#fff}.queue-icon-button{width:30px;padding:0!important;justify-content:center}.queue-menu-wrap{position:relative;display:inline-flex}.queue-menu{width:184px;padding:6px;position:absolute;right:0;bottom:calc(100% + 7px);z-index:60;display:grid;border:1px solid #dedede;border-radius:13px;background:#fff;box-shadow:0 12px 32px #00000021}.queue-menu>button{height:36px;padding:0 9px;display:flex;align-items:center;gap:9px;border:0;border-radius:8px;background:transparent;font-size:13px;text-align:left;cursor:pointer}.queue-menu>button:hover{background:#f1f1f1}.hidden-file-input{display:none}.add-menu{width:min(540px,calc(100vw - 48px));max-height:min(520px,calc(100dvh - 180px));padding:10px;position:absolute;left:0;bottom:calc(100% + 10px);z-index:20;overflow-y:auto;border:1px solid #dfdfdf;border-radius:18px;background:#fff;box-shadow:0 16px 44px #00000024;scrollbar-width:thin}.composer-area>.composer-add-menu{width:100%;max-height:min(400px,calc(100dvh - 230px));left:0;bottom:calc(100% + 10px)}.skill-command-menu{padding:8px}.skill-command-heading{min-height:34px;padding:3px 10px 7px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#777;font-size:13px}.skill-command-heading small{overflow:hidden;color:#aaa;white-space:nowrap;text-overflow:ellipsis}.model-menu-wrap{position:absolute;right:56px;bottom:56px;z-index:22}.model-menu{width:280px;padding:8px;position:relative;border:1px solid #dedede;border-radius:15px;background:#fff;box-shadow:0 14px 38px #00000024}.model-menu button{width:100%;height:37px;padding:0 7px;display:flex;align-items:center;justify-content:space-between;border:0;border-radius:8px;background:transparent;cursor:pointer}.model-menu button:hover,.model-menu button.selected{background:#f2f2f2}.model-menu button>span:last-child{display:flex;align-items:center;gap:10px;color:#8a8a8a}.model-submenu{width:226px;padding:8px;position:absolute;right:calc(100% + 8px);top:0;border:1px solid #dedede;border-radius:15px;background:#fff;box-shadow:0 14px 38px #00000024}.submenu-title{padding:7px 9px 6px;color:#8a8a8a;font-size:13px}.model-submenu button{width:100%;min-height:36px;padding:6px 9px;display:flex;align-items:center;justify-content:space-between;border:0;border-radius:8px;background:transparent;text-align:left;cursor:pointer}.model-submenu button:hover{background:#f2f2f2}.model-submenu button>span{min-width:0;display:grid;gap:2px}.model-submenu strong{font-size:14px;font-weight:500}.model-submenu small{color:#999;font-size:12px;white-space:nowrap}.menu-label{padding:5px 10px 7px;color:#8a8a8a;font-size:13px}.skills-label{margin-top:8px;padding-top:10px;border-top:1px solid #ededed}.add-menu-row{width:100%;min-height:42px;padding:7px 10px;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;border:0;border-radius:10px;background:transparent;text-align:left;cursor:pointer}.add-menu-row:hover,.add-menu-row.featured{background:#f1f1f1}.add-menu-row>span:last-child{min-width:0;display:flex;align-items:baseline;gap:9px}.add-menu-row strong{font-size:14px;font-weight:500;white-space:nowrap}.add-menu-row small{overflow:hidden;color:#a0a0a0;font-size:13px;white-space:nowrap;text-overflow:ellipsis}.skill-icon{width:20px;height:20px;display:grid;place-items:center;border-radius:5px;color:#fff}.skill-icon.blue{background:#4f86ef}.skill-icon.red{background:#ff747b}.skill-icon.green{background:#56a76a}.skill-icon.orange{background:#e5a644}.skill-icon.multicolor{background:#8b77ed}.skill-icon.sky{background:#55aee8}.preview-panel{min-width:0;height:100dvh;display:grid;grid-template-rows:66px minmax(0,1fr);overflow:hidden;border-left:1px solid transparent;background:#fff;opacity:0;transform:translate(100%);pointer-events:none;transition:transform .36s cubic-bezier(.4,0,.2,1),opacity .26s ease,border-color .26s ease}.workspace-area.with-preview .preview-panel{border-left-color:#e2e2e2;opacity:1;transform:translate(0);pointer-events:auto}.preview-tabs{min-width:0;padding:10px 12px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #e7e7e7}.preview-tab-list{min-width:0;flex:1;display:flex;align-items:center;gap:5px;overflow-x:auto;scrollbar-width:thin}.preview-tab{height:40px;min-width:126px;max-width:220px;flex:0 1 180px;display:flex;align-items:center;border-radius:10px;background:transparent;color:#777}.preview-tab.selected{background:#f1f1f1;color:#111}.preview-tab-select{min-width:0;height:100%;padding:0 4px 0 10px;flex:1;display:flex;align-items:center;gap:7px;border:0;border-radius:10px 0 0 10px;background:transparent;color:inherit;cursor:pointer}.preview-tab-select span{min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}.preview-tab-close,.preview-collapse{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:inherit;cursor:pointer}.preview-tab:hover{background:#f5f5f5;color:#333}.preview-tab.selected:hover{background:#ececec;color:#111}.preview-tab-close:hover,.preview-collapse:hover{background:#dedede}.preview-collapse{margin-left:auto;color:#555}.preview-scroll{min-height:0;overflow-y:auto}.markdown-body{width:min(720px,calc(100% - 56px));margin:0 auto;padding:42px 0 80px}.markdown-body h1{margin:0 0 24px;font-size:30px;line-height:1.25}.markdown-body h2{margin:32px 0 14px;padding-bottom:10px;border-bottom:1px solid #e3e3e3;font-size:22px}.markdown-body h3{margin:24px 0 10px;font-size:18px}.markdown-body p{margin:0;color:#444;font-size:16px;line-height:1.75}.markdown-list-item{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:start}.markdown-list-item>span{padding-top:4px;color:#555}.markdown-space{height:12px}.modal-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:20px;background:#00000029}.project-modal{width:min(650px,calc(100vw - 40px));padding:26px;border:1px solid #d9d9d9;border-radius:26px;background:#fff;box-shadow:0 18px 56px #00000024}.modal-header{display:flex;align-items:center;justify-content:space-between}.modal-header h2{margin:0;font-size:25px;font-weight:650;letter-spacing:-.4px}.modal-header button{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;cursor:pointer}.modal-header button:hover{background:#f0f0f0}.project-name-field{height:51px;margin-top:18px;padding:0 15px;display:flex;align-items:center;gap:14px;border:1.5px solid #3290ff;border-radius:14px}.project-name-field input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:16px}.project-name-field input::placeholder{color:#9b9b9b}.source-label{margin:18px 0 10px;font-size:15px;font-weight:600}.folder-dropzone{width:100%;height:122px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:1px solid #e2e2e2;border-radius:13px;background:#fff;color:#222;cursor:pointer}.folder-dropzone:hover{background:#fafafa;border-color:#cdcdcd}.folder-dropzone svg{color:#858585}.folder-dropzone.has-folder{background:#f7f7f7}.modal-actions{margin-top:25px;display:flex;justify-content:flex-end;gap:14px}.modal-actions button{height:42px;padding:0 20px;border:0;border-radius:12px;cursor:pointer}.cancel-button{background:transparent;color:#8a8a8a}.cancel-button:hover{background:#f1f1f1}.create-button{background:#171717;color:#fff;font-weight:550}.create-button:disabled{background:#bcbcbc;cursor:default}.toast{position:fixed;left:50%;bottom:28px;z-index:100;transform:translate(-50%);padding:12px 17px;border-radius:12px;background:#171717;color:#fff;font-size:14px;box-shadow:0 10px 30px #0000002e}.scrim{display:none}@media(max-width:1100px){.workspace-area,.workspace-area.with-preview{position:relative;display:block}.preview-panel{width:100%;position:absolute;inset:0;z-index:12;transform:translate(100%)}.workspace-area.with-preview .preview-panel{transform:translate(0)}}@media(max-width:820px){.app-shell,.app-shell.sidebar-collapsed{display:block}.sidebar{width:252px;position:fixed;left:0;top:0;transform:translate(-102%);transition:transform .17s ease-out;box-shadow:12px 0 28px #0000001a}.sidebar-resize-handle{display:none}.app-shell.sidebar-collapsed .sidebar{transform:translate(-102%);opacity:1}.sidebar.sidebar-open{transform:translate(0)}.close-button,.menu-button{display:inline-grid}.sidebar-collapse-button,.sidebar-collapse-control,.sidebar-expand-button,.app-shell.sidebar-collapsed .sidebar-expand-button{display:none}.scrim{display:block;position:fixed;inset:0;z-index:20;border:0;background:#0003}.chat-header{padding:0 14px}.message-stream{width:min(700px,calc(100% - 32px));padding-top:46px}.composer-area{width:calc(100% - 28px);margin-bottom:14px}.add-menu{left:0}.model-menu-wrap{right:51px}.model-status{display:none}.model-button{width:118px;min-width:118px;padding:0 7px;font-size:13px}.model-button.active{width:min(280px,calc(100vw - 116px));min-width:min(280px,calc(100vw - 116px))}}@media(max-width:620px){.model-menu-wrap{left:auto;right:42px}.model-submenu{right:0;top:auto;bottom:calc(100% + 6px)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:.01ms!important}}.brand{height:64px;padding:0 4px 0 18px;position:relative;justify-content:space-between}.brand .sidebar-controls{margin-left:auto}.brand button,.account-row button{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;cursor:pointer}.brand button:hover,.account-row button:hover{background:#ececec}.brand .mobile-close{display:none;visibility:hidden}.new-task{height:42px;margin:6px 10px 10px;padding:0 12px;display:flex;align-items:center;gap:10px;border:0;border-radius:10px;background:transparent;font-size:14px;font-weight:550;cursor:pointer}.new-task:hover{background:#ececec}.section-heading>span{color:#838383;font-size:12px;font-weight:600}.sidebar-project{width:calc(100% - 20px);height:38px;margin:0 10px;padding:0 9px;display:grid;grid-template-columns:19px minmax(0,1fr);align-items:center;gap:7px;border:0;border-radius:9px;background:transparent;text-align:left;cursor:pointer}.sidebar-project:hover,.sidebar-project.selected{background:#eaeaea}.sidebar-project span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.account-menu-anchor{position:relative;z-index:35;border-top:1px solid #e6e6e6}.account-row{width:100%;min-height:54px;padding:5px 16px;display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:center;border:0;background:#fafafa;text-align:left;cursor:pointer}.account-row .avatar{width:36px;height:36px;font-size:13px}.account-row:hover,.account-row[aria-expanded=true]{background:#f0f0f0}.account-row strong,.account-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-row strong{font-size:14px;font-weight:550}.account-row small{margin-top:1px;color:#888;font-size:10px}.account-menu-card{position:absolute;left:8px;right:8px;bottom:calc(100% + 8px);padding:8px;overflow:hidden;border:1px solid #e2e2e2;border-radius:14px;background:#fff;box-shadow:0 10px 28px #0000001c;animation:account-menu-in .16s cubic-bezier(.16,1,.3,1) both}@keyframes account-menu-in{0%{opacity:0;transform:translateY(7px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.account-menu-identity{min-width:0;padding:3px 5px 8px;display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;border-bottom:1px solid #ededed}.account-menu-avatar{width:36px;height:36px;font-size:13px}.account-menu-identity strong,.account-menu-identity small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.account-menu-identity strong{font-size:14px;font-weight:600}.account-menu-identity small{margin-top:1px;color:#888;font-size:10px}.account-logout-button{width:100%;height:36px;margin-top:5px;padding:0 8px;display:flex;align-items:center;gap:9px;border:0;border-radius:9px;background:transparent;color:#333;font-size:12px;text-align:left;cursor:pointer}.account-logout-button svg{width:17px;height:17px}.account-logout-button:hover,.account-logout-button:focus-visible{background:#f1f1f1;color:#111;outline:none}.chat-shell{grid-template-rows:auto 70px minmax(0,1fr) auto}.local-warning{min-height:30px;padding:6px 14px;display:flex;justify-content:center;align-items:center;gap:6px;border-bottom:1px solid #ead9b7;background:#fff9ed;color:#75551e;font-size:12px}.runner-label{margin-left:auto;display:inline-flex;align-items:center;gap:5px;color:#777;font-size:12px}.rendered-markdown h1{margin:0 0 17px;font-size:25px}.rendered-markdown h2{margin:24px 0 12px;font-size:20px}.rendered-markdown h3{margin:19px 0 9px;font-size:17px}.rendered-markdown p{white-space:pre-wrap;overflow-wrap:anywhere}.rendered-markdown>p+p{margin-top:14px}.rendered-markdown strong{font-weight:700}.rendered-markdown ul,.rendered-markdown ol{margin:12px 0;padding-left:26px}.rendered-markdown li{margin:5px 0;font-size:16px;line-height:1.65}.rendered-markdown li>p{display:inline}.rendered-markdown blockquote{margin:14px 0;padding:2px 0 2px 14px;border-left:3px solid #d2d2d2;color:#555}.rendered-markdown .inline-code{padding:2px 5px;border-radius:5px;background:#f0f0f0;font:.9em/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}.markdown-code-block{margin:16px 0;overflow:hidden;border:1px solid #e0e0e0;border-radius:13px;background:#f6f6f6}.markdown-code-header{min-height:38px;padding:0 8px 0 13px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e1e1e1;color:#666;font-size:12px}.markdown-code-header button{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:#555;cursor:pointer}.markdown-code-header button:hover,.markdown-code-header button:focus-visible{background:#e7e7e7;color:#111;outline:none}.markdown-code-block pre{margin:0;padding:15px 16px;overflow:auto;color:#202020;font:13px/1.65 ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;tab-size:2}.markdown-code-block code{font:inherit;white-space:pre}.rendered-markdown table{width:100%;margin:16px 0;border-collapse:collapse;font-size:14px}.rendered-markdown th,.rendered-markdown td{padding:8px 10px;border:1px solid #dedede;text-align:left}.rendered-markdown th{background:#f4f4f4;font-weight:650}.agent-activity-timeline{margin:0 0 16px;display:grid;gap:12px}.agent-activity-timeline:empty{display:none}.thinking-disclosure{margin:0;color:#222}.thinking-toggle{width:fit-content;min-height:24px;padding:0;display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#858585;font:inherit;font-size:14px;line-height:24px;cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .22s ease}.thinking-toggle:hover,.thinking-toggle:focus-visible{color:#555;outline:none}.thinking-toggle>svg{transition:transform .72s cubic-bezier(.22,1,.36,1)}.thinking-disclosure.open .thinking-toggle>svg{transform:rotate(90deg)}.thinking-collapse{display:grid;grid-template-rows:0fr;opacity:0;transform:translateY(-5px);transition:grid-template-rows .82s cubic-bezier(.22,1,.36,1),opacity .62s ease,transform .82s cubic-bezier(.22,1,.36,1)}.thinking-disclosure.open .thinking-collapse{grid-template-rows:1fr;opacity:1;transform:translateY(0)}.thinking-collapse-inner{min-height:0;overflow:hidden}.thinking-content{margin-top:10px;color:#222}.thinking-content .rendered-markdown{font-size:15px;line-height:1.75}.thinking-content .rendered-markdown>:first-child{margin-top:0}.thinking-content .rendered-markdown>:last-child{margin-bottom:0}.thinking-disclosure canvas,.agent-activity-row canvas,.processing-retry-status canvas{width:20px;height:20px;flex:0 0 20px}.agent-activity-row{width:fit-content;min-height:24px;display:inline-flex;align-items:center;gap:7px;color:#858585;font-size:14px;line-height:24px}.agent-activity-row>svg{flex:0 0 auto;color:#858585}.agent-activity-row.running{color:#686868}.agent-activity-row.error,.agent-activity-row.error>svg{color:#a04444}.shimmering-status-text{display:inline-block;color:#686868;background:linear-gradient(100deg,#777 0% 36%,#222 50%,#777 64% 100%);background-size:230% 100%;background-position:190% 0;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:status-text-shimmer 1.9s linear infinite;will-change:background-position}@keyframes status-text-shimmer{to{background-position:-40% 0}}.agent-response-segment{color:#111}.agent-response-segment .rendered-markdown>:first-child{margin-top:0}.agent-response-segment .rendered-markdown>:last-child{margin-bottom:0}.streaming-response>:first-child,.streaming-response>:first-child>:first-child{margin-top:0}.streaming-response>:last-child,.streaming-response>:last-child>:last-child{margin-bottom:0}.streaming-response p+p{margin-top:14px}.streaming-response [data-streamdown=inline-code]{padding:2px 5px;border-radius:5px;background:#f0f0f0;font:.9em/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}.streaming-response [data-streamdown=code-block]{width:100%;margin:16px 0;padding:0;overflow:hidden;border:1px solid #e0e0e0;border-radius:13px;background:#f6f6f6}.streaming-response [data-streamdown=code-block-header]{min-height:38px;padding:0 8px 0 13px;display:flex;align-items:center;color:#666;font-size:12px}.streaming-response [data-streamdown=code-block-header] span{margin-left:0;font-family:inherit}.streaming-response [data-streamdown=code-block-header]+div{height:38px;margin-top:-38px;padding-right:8px;position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;pointer-events:none}.streaming-response [data-streamdown=code-block-actions]{margin-left:auto;display:flex;align-items:center;border:0;background:transparent;pointer-events:auto}.streaming-response [data-streamdown=code-block-actions] button{width:30px;height:30px;padding:0;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:#555;cursor:pointer}.streaming-response [data-streamdown=code-block-actions] button:hover,.streaming-response [data-streamdown=code-block-actions] button:focus-visible{background:#e7e7e7;color:#111;outline:none}.streaming-response [data-streamdown=code-block-actions] button:disabled{cursor:default;opacity:.45}.streaming-response [data-streamdown=code-block-body]{overflow-x:auto;border:0;border-top:1px solid #e1e1e1;border-radius:0;background:#f6f6f6}.streaming-response [data-streamdown=code-block-body] pre{margin:0;padding:15px 16px;overflow:auto;background:transparent;color:#202020;font:13px/1.65 ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;tab-size:2}.streaming-response [data-streamdown=code-block-body] code{font:inherit;white-space:pre}.streaming-response [data-streamdown=table-wrapper]{width:100%;margin:16px 0;overflow-x:auto}.streaming-response [data-streamdown=table]{margin:0}@media(prefers-reduced-motion:reduce){.thinking-toggle>svg,.thinking-collapse{transition-duration:1ms}.streaming-response [data-sd-animate]{animation:none!important}.shimmering-status-text{color:#686868;background:none;-webkit-text-fill-color:currentColor;animation:none}}@media(forced-colors:active){.shimmering-status-text{color:GrayText;background:none;-webkit-text-fill-color:currentColor;animation:none}}.tool-card pre,.patch-card pre{max-height:260px;margin:0;padding:11px 13px;overflow:auto;border-top:1px solid #e8e8e8;color:#555;font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.tool-card,.patch-card{max-width:680px;margin:-15px 0 26px 39px;overflow:hidden;border:1px solid #e3e3e3;border-radius:14px;background:#fafafa}.tool-card.error{border-color:#efcaca}.tool-card>div,.patch-card>div{min-height:40px;padding:8px 12px;display:flex;align-items:center;gap:7px;font-size:13px}.tool-card>div span{margin-left:auto;color:#888}.tool-card>button,.patch-card>div button{margin:0 9px 9px;padding:6px 9px;display:inline-flex;align-items:center;gap:5px;border:0;border-radius:8px;background:#ececec;cursor:pointer}.patch-card>div button{margin:0 0 0 auto}.run-notice{margin:0 0 22px 39px;display:flex;align-items:center;gap:7px;color:#777;font-size:12px}.run-notice.error{color:#9b3131}.cancelled-message{color:#111;font-size:16px;line-height:1.75}.cancelled-message.with-content{margin-top:14px}.message-files span,.message-skills span{padding:5px 8px;display:inline-flex;align-items:center;gap:5px;border:1px solid #dedede;border-radius:8px;background:#fff;color:#666;font-size:12px}.message-skills{margin-top:7px;display:flex;justify-content:flex-end;gap:5px}.message-skills span{border-color:#dce8f6;background:#f2f7fd;color:#35658f}.chat-composer textarea{width:100%;min-height:50px;max-height:220px;padding:10px 8px;resize:none;overflow-y:hidden;border:0;outline:0;background:transparent;font-size:15px;line-height:24px}.chat-composer textarea::-webkit-scrollbar{width:8px}.chat-composer textarea::-webkit-scrollbar-track{background:transparent}.chat-composer textarea::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#c9c9c9;background-clip:padding-box}.chat-composer textarea::-webkit-scrollbar-thumb:hover{background:#a9a9a9;background-clip:padding-box}.selected-skills{padding:0 3px 4px;display:flex;flex-wrap:wrap;gap:6px}.selected-skills button{padding:5px 8px;display:inline-flex;align-items:center;gap:5px;border:0;border-radius:8px;background:#edf5ff;color:#28679d;font-size:12px;cursor:pointer}.toolbar-relative,.model-control{position:relative}.add-menu{bottom:calc(100% + 8px)}.add-menu-row{grid-template-columns:24px minmax(0,1fr) auto}.add-menu-row.selected{background:#edf4fb}.menu-empty{padding:6px 10px;color:#888;font-size:13px}.model-control .model-button{width:auto;min-width:148px;max-width:260px}.model-popover{width:280px;max-height:390px;padding:8px;position:absolute;right:0;bottom:calc(100% + 9px);z-index:24;overflow-y:auto;border:1px solid #dedede;border-radius:15px;background:#fff;box-shadow:0 14px 38px #00000024}.model-popover>button{width:100%;min-height:36px;padding:7px 9px;display:flex;align-items:center;justify-content:space-between;border:0;border-radius:8px;background:transparent;text-align:left;cursor:pointer}.model-popover>button:hover,.model-popover>button.selected{background:#f1f1f1}.model-popover svg{width:15px}.composer-warning{margin:0 12px 8px;padding:8px 11px;display:flex;align-items:flex-start;gap:7px;border:1px solid #ead9b7;border-radius:10px;background:#fff9ed;color:#75551e;font-size:12px;line-height:1.45}.toast{display:flex;align-items:center;gap:12px}.toast button{display:grid;place-items:center;border:0;background:transparent;color:#fff;cursor:pointer}.error-toast{max-width:min(520px,calc(100vw - 30px));background:#2c2222}.app-shell.with-preview .workspace-area{grid-template-columns:minmax(520px,1fr) 46%;transition-duration:.22s}.app-shell.with-preview .preview-panel{border-left-color:#e2e2e2;opacity:1;transform:translate(0);pointer-events:auto;transition-duration:.22s,.16s,.16s}.project-modal-label{margin-top:20px;display:grid;gap:8px;color:#555;font-size:13px;font-weight:600}.project-modal-label input{height:51px;padding:0 15px;border:1.5px solid #aaa;border-radius:14px;outline:0;font-size:16px;font-weight:400}.project-modal-label input:focus{border-color:#222;box-shadow:0 0 0 3px #0000000f}.modal-hint{margin:10px 0 0;color:#777;font-size:13px}.auth-page{min-height:100dvh;padding:28px 16px;display:grid;place-items:center;background:#fafafa}.auth-card{width:min(420px,calc(100vw - 32px));padding:30px;border:1px solid #e2e2e2;border-radius:24px;background:#fff;box-shadow:0 14px 44px #0000000f}.auth-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#171717;color:#fff}.auth-card h1{margin:20px 0 7px;font-size:27px}.auth-lead{margin:0 0 23px;color:#64707d;font-size:14px}.auth-card label{margin-top:15px;display:grid;gap:7px;color:#444;font-size:13px;font-weight:600}.auth-card input{width:100%;height:48px;padding:0 13px;border:1px solid #d7d7d7;border-radius:14px;outline:0;font-weight:400}.auth-card input:focus{border-color:#333;box-shadow:0 0 0 3px #0000000f}.password-field{position:relative}.password-field button{position:absolute;right:7px;top:7px;height:34px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:#666;font-size:12px;cursor:pointer}.password-field button:hover{background:#eee}.auth-submit{width:100%;height:48px;margin-top:22px;display:grid;place-items:center;border:0;border-radius:14px;background:#171717;color:#fff;font-weight:600;cursor:pointer}.auth-submit:disabled{background:#aaa}.auth-switch{margin:18px 0 0;color:#64707d;text-align:center;font-size:13px}.auth-switch a{color:#111;font-weight:600}.form-error{margin-top:13px;padding:10px 12px;border:1px solid #f0cece;border-radius:10px;background:#fff7f7;color:#9b3131;font-size:13px}.app-loading{min-height:100dvh;display:flex;align-items:center;justify-content:center;gap:9px;color:#666;font-size:14px}.spin{animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{to{opacity:.25}}@media(max-width:820px){.app-shell{display:grid;grid-template-columns:0 minmax(0,1fr)}.workspace-area{grid-column:2}.sidebar{display:flex;position:fixed;transform:translate(-102%)}.sidebar.mobile-open{display:flex;transform:translate(0)}.app-shell.sidebar-collapsed .sidebar.mobile-open{transform:translate(0);opacity:1;pointer-events:auto}.brand .mobile-close{display:grid;visibility:visible}.sidebar-collapse-control{display:none}.model-status{display:grid}.app-shell.with-preview .workspace-area{display:block}.app-shell.with-preview .preview-panel{transform:translate(0)}.tool-card,.patch-card,.run-notice{margin-left:0}}@media(max-width:520px){.auth-card{padding:22px;box-shadow:none}.runner-label{display:none}.message-stream{width:calc(100% - 26px)}.composer-area{width:calc(100% - 20px)}.model-control .model-button{min-width:116px;max-width:180px}.context-popover{left:auto;right:-50px;transform:translateY(4px)}.model-status:hover .context-popover,.model-status:focus .context-popover{transform:translate(0)}}.chat-shell{grid-template-rows:70px minmax(0,1fr) auto}.sidebar-project-row{width:calc(100% - 20px);height:38px;margin:0 10px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border-radius:9px}.sidebar-project-row:hover{background:#eaeaea}.sidebar-project-row.selected{background:transparent}.sidebar-project-row.selected .sidebar-project{font-weight:400}.sidebar-project-row .sidebar-project{width:100%;margin:0;background:transparent}.sidebar-project-row .sidebar-project:hover,.sidebar-project-row .sidebar-project.selected{background:transparent}.sidebar-row-actions{display:flex;align-items:center;opacity:0;transition:opacity .14s ease}.sidebar-project-row:hover .sidebar-row-actions,.sidebar-project-row:focus-within .sidebar-row-actions{opacity:1}.sidebar-rename-button,.conversation-rename-button{width:27px;height:27px;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:#777;cursor:pointer}.sidebar-rename-button:hover,.conversation-rename-button:hover{background:#d9d9d9;color:#111}.project-download-button{width:27px;height:27px;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:#777;cursor:pointer}.project-download-button:hover{background:#d9d9d9;color:#111}.project-new-conversation{width:27px;height:27px;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;color:#777;cursor:pointer;opacity:0;transition:opacity .14s ease,background-color .14s ease,color .14s ease}.sidebar-row-actions .project-new-conversation,.sidebar-project-row:hover .project-new-conversation,.sidebar-project-row:focus-within .project-new-conversation{opacity:1}.project-new-conversation:hover{background:#d9d9d9;color:#111}.project-conversations-collapse{display:grid;grid-template-rows:0fr;overflow:hidden;opacity:0;transform:translateY(-5px);transition:grid-template-rows .56s cubic-bezier(.22,.72,.2,1),opacity .42s ease,transform .56s cubic-bezier(.22,.72,.2,1)}.project-conversations-collapse.expanded{grid-template-rows:1fr;opacity:1;transform:translateY(0)}.project-conversations{min-height:0;margin-left:22px;overflow:hidden}.conversation-overflow-collapse{display:grid;grid-template-rows:0fr;overflow:hidden;opacity:0;transform:translateY(-5px);transition:grid-template-rows .56s cubic-bezier(.22,.72,.2,1),opacity .42s ease,transform .56s cubic-bezier(.22,.72,.2,1)}.conversation-overflow-collapse.expanded{grid-template-rows:1fr;opacity:1;transform:translateY(0)}.conversation-overflow-list{min-height:0;overflow:hidden;display:grid;gap:1px}.conversation-row{width:calc(100% - 6px);min-height:32px;display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;border-radius:8px}.conversation-row:hover{background:#eaeaea}.conversation-row.selected{background:#e8e8e8}.conversation-select{width:100%;height:32px;min-width:0;padding:0 9px;display:grid;align-items:center;border:0;background:transparent;font-size:13px;font-weight:400;text-align:left;cursor:pointer}.conversation-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-rename-button{opacity:0;transition:opacity .14s ease,background-color .14s ease}.conversation-row:hover .conversation-rename-button,.conversation-row:focus-within .conversation-rename-button{opacity:1}.conversation-running-indicator{width:28px;height:28px;display:grid;place-items:center;color:#777}.conversation-running-indicator svg{animation:spin .85s linear infinite}.project-conversations .conversation-overflow-toggle{width:auto;height:28px;margin:2px 0 0 8px;padding:0 7px;display:inline-flex;align-items:center;justify-content:flex-start;gap:3px;border-radius:7px;color:#929292;font-size:12px}.project-conversations .conversation-overflow-toggle:hover{background:#ededed;color:#666}.conversation-overflow-toggle svg{flex:0 0 auto;transition:transform .16s ease}.conversation-overflow-toggle svg.expanded{transform:rotate(180deg)}.rename-dialog-backdrop{z-index:120;background:#00000029;animation:rename-backdrop-in .18s ease-out}.rename-dialog{width:min(526px,calc(100vw - 32px));padding:27px 25px 25px;border:1px solid #dedede;border-radius:28px;background:#fff;box-shadow:0 18px 50px #00000024;animation:rename-dialog-in .2s cubic-bezier(.2,.8,.2,1)}.rename-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.rename-dialog-header h2{margin:0;color:#202124;font-size:24px;line-height:1.2;font-weight:700;letter-spacing:-.35px}.rename-dialog-header p{margin:7px 0 0;color:#929292;font-size:16px;line-height:1.4}.rename-dialog-header>button{width:32px;height:32px;margin:-5px -5px 0 0;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;color:#555;cursor:pointer}.rename-dialog-header>button:hover{background:#f1f1f1;color:#171717}.rename-dialog-field{margin-top:17px;display:block}.rename-dialog-field input{width:100%;height:49px;padding:0 14px;border:1px solid #e1e1e1;border-radius:14px;outline:0;background:#fff;color:#222;font:inherit;font-size:16px;box-shadow:inset 0 1px 2px #00000005}.rename-dialog-field input:focus{border-color:#8d8d8d;box-shadow:0 0 0 3px #0000000e}.rename-dialog-error{margin-top:10px;color:#b42318;font-size:13px}.rename-dialog-actions{margin-top:16px;display:flex;justify-content:flex-end;gap:12px}.rename-dialog-actions button{min-width:76px;height:40px;padding:0 18px;border:1px solid transparent;border-radius:12px;font:inherit;font-size:16px;cursor:pointer}.rename-dialog-actions button:disabled{opacity:.5;cursor:default}.rename-cancel{border-color:#e3e3e3!important;background:#fff;color:#333}.rename-cancel:not(:disabled):hover{background:#f6f6f6}.rename-save{background:#191a1d;color:#fff;font-weight:600}.rename-save:not(:disabled):hover{background:#050505}@keyframes rename-backdrop-in{0%{opacity:0}}@keyframes rename-dialog-in{0%{opacity:0;transform:translateY(8px) scale(.98)}}.logout-confirm-backdrop{z-index:122;animation:rename-backdrop-in .18s ease-out}.logout-confirm-dialog{width:min(440px,calc(100vw - 32px));padding:28px;border:1px solid #dedede;border-radius:26px;background:#fff;text-align:center;box-shadow:0 18px 50px #00000024;animation:rename-dialog-in .2s cubic-bezier(.2,.8,.2,1)}.logout-confirm-icon{width:52px;height:52px;margin:0 auto 17px;display:grid;place-items:center;border-radius:15px;background:#f3f3f3;color:#252525}.logout-confirm-dialog h2{margin:0;color:#1d1d1f;font-size:23px;line-height:1.25}.logout-confirm-dialog>p{margin:10px auto 0;max-width:330px;color:#777;font-size:14px;line-height:1.65}.logout-confirm-error{margin-top:16px;padding:10px 12px;border:1px solid #efc6c2;border-radius:11px;background:#fff5f4;color:#b42318;font-size:13px;text-align:left}.logout-confirm-actions{margin-top:24px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.logout-confirm-actions button{height:46px;border:0;border-radius:13px;font:inherit;font-size:15px;font-weight:600;cursor:pointer;transition:background-color .16s ease,color .16s ease}.logout-confirm-actions button:first-child{background:#f1f1f1;color:#333}.logout-confirm-actions button:first-child:not(:disabled):hover{background:#e8e8e8}.logout-confirm-actions button:last-child{background:#191a1d;color:#fff}.logout-confirm-actions button:last-child:not(:disabled):hover{background:#050505}.logout-confirm-actions button:disabled{opacity:.55;cursor:default}.attachment-card:not(.attachment-image) .attachment-open:not(:disabled):hover,.attachment-card:not(.attachment-image) .attachment-open:not(:disabled):focus-visible{background:#ececec;outline:none}.user-bubble{max-width:100%;padding:10px 15px;display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 7px;border-radius:18px;background:#f1f1f1;font-size:16px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.message.user p{padding:0;background:transparent}.sent-skill-token{padding:1px 6px;border-radius:6px;background:#dfeeff;color:#1767ad;font-size:13px;font-weight:600;white-space:nowrap}.assistant-message-footer{min-height:24px;margin-top:13px;display:flex;align-items:center;gap:10px}.assistant-message-footer:empty{display:none}.message.assistant .message-content{padding-bottom:0}.response-meta{display:flex;align-items:center;gap:3px;color:#858585;font-size:12px}.response-meta svg:first-child{color:#3f9a67}.processing-status{min-height:37px;margin:-6px 0 25px;padding:0 2px 10px;display:flex;align-items:center;gap:3px;border-bottom:1px solid #ededed;color:#858585;font-size:12px}.processing-retry-status{margin-left:7px;display:inline-flex;align-items:center;gap:5px;color:#858585;white-space:nowrap}.output-file-link{margin:0 2px;padding:0 1px;display:inline-flex;align-items:baseline;gap:4px;border:0;border-radius:3px;background:transparent;color:#2477c9;font-size:inherit;font-weight:600;line-height:inherit;vertical-align:baseline;cursor:pointer}.output-file-link svg{flex:0 0 auto;transform:translateY(2px)}.output-file-link:hover{background:#2477c914;color:#135fa9}.output-file-link:focus-visible{outline:2px solid #1767ad;outline-offset:2px}.composer-input-line{min-height:52px;padding:6px 7px;display:flex;flex-wrap:wrap;align-items:center;align-content:center;gap:5px;cursor:text}.chat-composer .composer-input-line textarea{width:auto;min-width:180px;min-height:38px;max-height:220px;height:38px;padding:7px 1px;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#c9c9c9 transparent;flex:1 1 220px}.composer-skill-token{height:28px;padding:0 4px 0 8px;display:inline-flex;align-items:center;gap:5px;border:1px solid #d5e6f8;border-radius:8px;background:#edf5ff;color:#1767ad;font-size:12px;font-weight:600;white-space:nowrap;cursor:default}.composer-skill-token>button{width:21px;height:21px;padding:0;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:#5e86aa;cursor:pointer}.composer-skill-token>button:hover{background:#d8e9f9;color:#174e7d}.settings-scrim{position:fixed;inset:0;z-index:59;border:0;background:#00000024;cursor:default}.settings-drawer{width:min(390px,calc(100vw - 24px));height:100dvh;position:fixed;top:0;right:0;z-index:60;display:grid;grid-template-rows:64px minmax(0,1fr);border-left:1px solid #dedede;background:#fff;box-shadow:-14px 0 46px #0000001f;animation:drawer-in .18s ease-out}.settings-drawer>header{padding:0 16px 0 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7e7e7}.settings-drawer>header>span{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:650}.settings-drawer>header button{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;cursor:pointer}.settings-drawer>header button:hover{background:#eee}.settings-scroll{min-height:0;padding:14px;overflow-y:auto}.settings-scroll section+section{margin-top:20px;padding-top:18px;border-top:1px solid #ededed}.settings-scroll h2{margin:0 6px 8px;color:#777;font-size:12px;font-weight:600;letter-spacing:.03em}.settings-scroll section>button{width:100%;min-height:52px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;border-radius:11px;background:transparent;text-align:left;cursor:pointer}.settings-scroll section>button:hover,.settings-scroll section>button.selected{background:#f1f1f1}.settings-scroll section>button>span{min-width:0;display:grid;gap:2px}.settings-scroll strong{font-size:14px;font-weight:550}.settings-scroll small{overflow:hidden;color:#999;font-size:12px;text-overflow:ellipsis;white-space:nowrap}@keyframes drawer-in{0%{transform:translate(100%)}}@media(max-width:820px){.project-new-conversation,.sidebar-row-actions,.conversation-rename-button{opacity:1}}.message-stream{width:100%;padding:56px max(24px,calc((100% - 960px)/2)) 36px}.message.assistant .message-content{width:100%;flex:1}.message.assistant p,.thinking-disclosure{max-width:none}.message.user .message-content{max-width:min(78%,760px)}.context-indicator{width:28px;height:34px;padding:0;position:relative;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;color:#777;cursor:help}.context-indicator:hover,.context-indicator:focus-visible{background:#f2f2f2;outline:none}.context-indicator>svg{width:18px;height:18px;overflow:visible;transform:rotate(-90deg)}.context-indicator circle{fill:none;stroke-width:2.5}.context-track{stroke:#dadada}.context-value{stroke:#777;stroke-linecap:round;transition:stroke-dashoffset .22s ease}.context-indicator .context-popover{left:50%}.context-indicator:hover .context-popover,.context-indicator:focus-visible .context-popover{opacity:1;transform:translate(-50%)}.model-control{position:relative}.delivery-mode{height:34px;position:relative;display:flex;align-items:center;border-radius:17px;background:#f1f1f1;color:#444}.delivery-mode:hover,.delivery-mode:focus-within{background:#eaeaea}.delivery-mode select{height:34px;max-width:112px;padding:0 24px 0 11px;border:0;outline:0;appearance:none;background:transparent;color:inherit;font:12px/1 inherit;cursor:pointer}.delivery-mode>svg{position:absolute;right:8px;pointer-events:none}.sr-only{width:1px;height:1px;position:absolute;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}.model-control .model-button,.model-control .model-button.active{width:max-content;min-width:0;max-width:180px;height:36px;padding:0 9px 0 13px;justify-content:space-between;gap:7px;background:transparent;color:#292929}.model-control .model-button:hover{background:#eaeaea}.model-control .model-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-popover{width:224px;position:absolute;right:0;bottom:calc(100% + 10px);z-index:45}.settings-main-menu,.settings-submenu{padding:8px;border:1px solid #dedede;border-radius:15px;background:#fff;box-shadow:0 14px 38px #00000021}.settings-main-menu>button{width:100%;height:39px;padding:0 8px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;border-radius:8px;background:transparent;cursor:pointer}.settings-main-menu>button:hover,.settings-main-menu>button.active{background:#f0f0f0}.settings-main-menu>button>span:last-child{min-width:0;display:flex;align-items:center;gap:8px;color:#858585;white-space:nowrap}.settings-submenu{width:196px;max-height:360px;position:absolute;right:calc(100% + 8px);top:0;overflow-y:auto}.settings-submenu-title{padding:6px 8px 7px;color:#8d8d8d;font-size:13px}.settings-submenu>button{width:100%;min-height:38px;padding:6px 8px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;border-radius:8px;background:transparent;text-align:left;cursor:pointer}.settings-submenu>button:hover,.settings-submenu>button.selected{background:#f1f1f1}.settings-main-menu>button:focus-visible,.settings-submenu>button:focus-visible{outline:1px solid #c9c9c9;outline-offset:-1px}.settings-submenu>button>span{min-width:0;display:grid;gap:1px}.settings-submenu strong{font-size:14px;font-weight:500}.settings-submenu small{color:#999;font-size:11px;white-space:nowrap}.download-confirm-backdrop{background:#1111112e;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.download-confirm-card{width:min(420px,calc(100vw - 32px));padding:26px;border:1px solid #dedede;border-radius:24px;background:#fff;box-shadow:0 22px 64px #00000029;text-align:center;animation:confirm-card-in .17s cubic-bezier(.2,.75,.25,1)}.download-confirm-icon{width:44px;height:44px;margin:0 auto 16px;display:grid;place-items:center;border-radius:14px;background:#f1f1f1;color:#222}.download-confirm-card h2{margin:0;font-size:20px;font-weight:650}.download-confirm-card p{margin:10px auto 0;max-width:330px;color:#696969;font-size:13px;line-height:1.65}.download-confirm-card .form-error{margin-top:12px;text-align:left}.download-confirm-actions{margin-top:22px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.download-confirm-actions button{height:42px;border:0;border-radius:12px;background:#f1f1f1;cursor:pointer;transition:background-color .15s ease,color .15s ease}.download-confirm-actions button:hover{background:#e7e7e7}.download-confirm-actions button.confirm{background:#171717;color:#fff;font-weight:600}.download-confirm-actions button.confirm:hover{background:#303030}.download-confirm-actions button:disabled{opacity:.55;cursor:default}.download-confirm-actions button:focus-visible{outline:2px solid #555;outline-offset:2px}@keyframes confirm-card-in{0%{opacity:0;transform:translateY(8px) scale(.98)}}.preview-empty-title{height:40px;display:inline-flex;align-items:center;gap:8px;color:#555;font-size:14px;font-weight:600}.scroll-to-bottom{width:40px;height:40px;position:absolute;left:50%;bottom:calc(100% + 12px);z-index:8;display:grid;place-items:center;border:1px solid #dedede;border-radius:50%;background:#fff;color:#222;box-shadow:0 5px 18px #0000001a;cursor:pointer;transform:translate(-50%);transition:background-color .15s ease,box-shadow .15s ease}.scroll-to-bottom:hover{background:#f3f3f3;box-shadow:0 7px 22px #00000021}.scroll-to-bottom:focus-visible{outline:2px solid #777;outline-offset:2px}@media(max-width:820px){.message-stream{width:100%;padding:42px 16px 30px}.message.user .message-content{max-width:86%}.context-indicator{display:grid}}@media(prefers-reduced-motion:reduce){.download-confirm-card{animation:none}.scroll-to-bottom{transition:none}.conversation-running-indicator svg{animation:none}.project-conversations-collapse,.conversation-overflow-collapse{transition:none}}@media(max-width:620px){.model-control .model-button,.model-control .model-button.active{width:max-content;min-width:0;max-width:150px}.settings-popover{width:min(224px,calc(100vw - 28px))}.settings-submenu{width:100%;right:0;top:auto;bottom:calc(100% + 8px)}.context-indicator .context-popover{left:auto;right:-46px;transform:translateY(4px)}.context-indicator:hover .context-popover,.context-indicator:focus-visible .context-popover{transform:translate(0)}}.app-shell.files-open .workspace-area{grid-template-columns:minmax(520px,1fr) 350px}.app-shell.preview-open .workspace-area{grid-template-columns:minmax(520px,1fr) 46%}.right-panel-toggle{width:32px;height:32px;margin-left:auto;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#747474;cursor:pointer;transition:background-color .14s ease,color .14s ease}.right-panel-toggle:hover,.right-panel-toggle.active,.right-panel-toggle:focus-visible{background:#efefef;color:#222;outline:none}.right-panel-toggle:focus-visible{box-shadow:0 0 0 1px #d2d2d2}.right-panel-toggle:disabled{opacity:.35;cursor:default;background:transparent}.model-control .model-button,.model-control .model-button.active{height:34px;padding:0 8px 0 12px;gap:6px;border-radius:18px;font-size:12px;line-height:1}.settings-popover{width:214px;bottom:calc(100% + 8px)}.settings-main-menu,.settings-submenu{padding:7px;border-radius:13px;box-shadow:0 10px 30px #0000001c}.settings-main-menu>button{height:34px;padding:0 7px;gap:10px;border-radius:7px;font-size:13px}.settings-main-menu>button>span:last-child{gap:6px;font-size:12px}.settings-submenu{width:188px;max-height:330px;left:calc(100% + 7px);right:auto}.settings-submenu-title{padding:5px 7px 6px;font-size:12px}.settings-submenu>button{min-height:34px;padding:5px 7px;border-radius:7px;font-size:13px}.settings-submenu strong{font-size:13px}.settings-submenu small{font-size:10px}.attachment-card{background:#f7f7f7}.attachment-card .file-preview{color:#737373}.attachment-image .file-preview{height:100%}.attachment-image .file-preview img{width:100%;height:100%;object-fit:cover}.attachment-image .attachment-open{cursor:zoom-in}.attachment-image .attachment-open:hover .file-preview:after,.attachment-image .attachment-open:focus-visible .file-preview:after{content:"放大";position:absolute;inset:0;display:grid;place-items:center;background:#00000047;color:#fff;font-size:11px;font-weight:600}.attachment-image .attachment-open:focus-visible{outline:2px solid #7aa7d3;outline-offset:-2px}.attachment-image .attachment-name{display:none}.attachment-word .file-preview{color:#2f6fca}.attachment-excel .file-preview{color:#217346}.attachment-pdf .file-preview{color:#c83e3e}.attachment-archive .file-preview{color:#8b6d2d}.project-files-panel{grid-template-rows:60px minmax(0,1fr)}.project-files-header{min-width:0;padding:0 12px 0 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e8e8e8}.project-files-header>div{min-width:0;display:flex;align-items:center;gap:9px}.project-files-header>div>span{min-width:0;display:grid;gap:1px}.project-files-header strong{font-size:13px;font-weight:600}.project-files-header small{overflow:hidden;color:#8b8b8b;font-size:11px;font-weight:400;white-space:nowrap;text-overflow:ellipsis}.project-files-header>button{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#666;cursor:pointer}.project-files-header>button:hover,.project-files-header>button:focus-visible{background:#eee;color:#111;outline:none}.project-files-body{min-height:0;padding:12px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#cecece transparent}.project-files-upload{width:100%;min-height:58px;padding:9px 10px;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;border:1px dashed #d8d8d8;border-radius:11px;background:#fafafa;text-align:left;cursor:pointer;transition:background-color .14s ease,border-color .14s ease}.project-files-upload:hover,.project-files-upload:focus-visible{border-color:#bcbcbc;background:#f3f3f3;outline:none}.project-files-upload>svg{justify-self:center;color:#666}.project-files-upload>span{min-width:0;display:grid;gap:2px}.project-files-upload strong{font-size:12px;font-weight:600}.project-files-upload small{overflow:hidden;color:#898989;font-size:10px;line-height:1.35;white-space:nowrap;text-overflow:ellipsis}.project-file-list{margin-top:12px;display:grid;gap:4px}.project-file-row{width:100%;min-height:54px;padding:6px;display:grid;grid-template-columns:42px minmax(0,1fr) 22px;align-items:center;gap:8px;border:1px solid transparent;border-radius:10px;background:transparent;text-align:left;cursor:pointer;transition:background-color .14s ease,border-color .14s ease}.project-file-row:hover,.project-file-row:focus-visible{background:#f3f3f3;outline:none}.project-file-row.selected{border-color:#d8e5f2;background:#f2f7fc}.project-file-visual{width:42px;height:42px;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:#ececec;color:#666}.project-file-visual img{width:100%;height:100%;display:block;object-fit:cover}.project-file-copy{min-width:0;display:grid;gap:3px}.project-file-copy strong{overflow:hidden;font-size:12px;font-weight:550;white-space:nowrap;text-overflow:ellipsis}.project-file-copy small{overflow:hidden;color:#8b8b8b;font-size:10px;white-space:nowrap;text-overflow:ellipsis}.project-file-check{width:18px;height:18px;display:grid;place-items:center;border-radius:50%;color:#2d75b9}.project-files-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#999;text-align:center}.project-files-empty strong{color:#555;font-size:13px;font-weight:550}.project-files-empty span{max-width:220px;font-size:11px;line-height:1.5}@media(max-width:820px){.app-shell.files-open .workspace-area,.app-shell.preview-open .workspace-area{display:block}.project-files-panel{width:min(350px,100%);left:auto;box-shadow:-12px 0 34px #0000001a}}@media(max-width:620px){.settings-popover{width:min(214px,calc(100vw - 28px))}.settings-submenu{width:100%;left:0;right:auto;top:auto;bottom:calc(100% + 7px)}.project-files-panel{width:100%}}@media(prefers-reduced-motion:reduce){.workspace-area,.preview-panel,.preview-expand,.right-panel-toggle,.project-file-row,.project-files-upload{transition:none}}.model-control{--model-picker-width: 214px}.model-control .model-button.active{width:var(--model-picker-width);min-width:var(--model-picker-width)}.model-control .settings-popover,.model-control .settings-submenu{width:var(--model-picker-width)}.app-shell.preview-open .workspace-area{grid-template-columns:minmax(520px,1fr) minmax(320px,var(--preview-width,480px));transition-duration:.22s}.preview-panel{width:var(--preview-width,480px);position:relative;justify-self:end}.preview-resize-handle{width:12px;position:absolute;left:-6px;top:0;bottom:0;z-index:24;display:grid;place-items:center;border:0;background:transparent;cursor:col-resize;touch-action:none;outline:none}.preview-resize-handle span{width:2px;height:44px;border-radius:2px;background:#b8b8b8;opacity:0;transform:scaleY(.72);transition:opacity .14s ease,transform .14s ease,background-color .14s ease}.preview-resize-handle:hover span,.preview-resize-handle:focus-visible span,body.preview-resizing .preview-resize-handle span{opacity:1;transform:scaleY(1)}.preview-resize-handle:focus-visible span,body.preview-resizing .preview-resize-handle span{background:#777}body.preview-resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}body.preview-resizing .workspace-area{transition:none}@media(max-width:1100px){.preview-panel{width:100%}.preview-resize-handle{display:none}}.file-content-panel.empty-content{grid-template-rows:66px minmax(0,1fr)}.file-preview-empty{min-height:0;padding:34px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#969696;text-align:center}.file-preview-empty strong{color:#4c4c4c;font-size:14px;font-weight:600}.file-preview-empty span{max-width:300px;font-size:12px;line-height:1.65}.sent-skill-token{display:inline-flex;align-items:center;gap:4px}.message-files button>span{padding:0;border:0;background:transparent;color:inherit;font-size:12px}.file-preview-loading{min-height:240px;display:flex;align-items:center;justify-content:center;gap:9px;color:#777;font-size:13px}.plain-text-preview{width:min(820px,calc(100% - 48px));margin:0 auto;padding:34px 0 80px;color:#222;font:13px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.image-file-preview{min-height:0;padding:24px;overflow:auto;display:flex;align-items:flex-start;justify-content:center;background:#fff}.image-file-preview img{max-width:100%;height:auto;display:block;border-radius:4px}.pdf-file-preview{width:100%;height:100%;border:0;background:#f5f5f5}.word-file-preview{width:min(760px,calc(100% - 56px));min-height:calc(100% - 64px);margin:32px auto;padding:52px 58px 72px;border:1px solid #e7e7e7;background:#fff;color:#242424;box-shadow:0 4px 20px #0000000a;font-size:15px;line-height:1.75}.word-file-preview img{max-width:100%;height:auto}.word-file-preview table{width:100%;border-collapse:collapse}.word-file-preview td,.word-file-preview th{padding:7px 9px;border:1px solid #ddd}.excel-preview{min-height:0;display:grid;grid-template-rows:42px minmax(0,1fr);overflow:hidden}.sheet-tabs{padding:5px 10px;display:flex;align-items:center;gap:3px;overflow-x:auto;border-bottom:1px solid #e9e9e9;background:#fafafa}.sheet-tabs button{height:30px;padding:0 11px;border:0;border-radius:7px;background:transparent;color:#666;font-size:12px;white-space:nowrap;cursor:pointer}.sheet-tabs button:hover,.sheet-tabs button.selected{background:#e9e9e9;color:#111}.sheet-scroll{min-height:0;overflow:auto}.sheet-scroll table{min-width:100%;border-collapse:separate;border-spacing:0;font-size:12px}.sheet-scroll th,.sheet-scroll td{min-width:88px;max-width:320px;padding:7px 9px;overflow:hidden;border-right:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;background:#fff;white-space:nowrap;text-overflow:ellipsis;text-align:left}.sheet-scroll th{position:sticky;top:0;z-index:1;background:#f6f6f6;font-weight:600}.sheet-scroll tr>th:first-child{min-width:44px;width:44px;position:sticky;left:0;z-index:2;color:#888;text-align:center}.preview-limit-note{padding:12px;color:#888;font-size:12px;text-align:center}.composer-drop-overlay{position:absolute;inset:0;z-index:8;display:flex;align-items:center;justify-content:center;gap:8px;border:2px dashed #8aaed0;border-radius:24px;background:#f4f9fff5;color:#245f93;font-size:13px;font-weight:600;pointer-events:none}.composer-area.dragging .chat-composer{border-color:#8aaed0}@media(max-width:720px){.word-file-preview{width:calc(100% - 24px);margin:12px auto;padding:28px 22px 48px}}@media(max-width:620px){.model-control{--model-picker-width: min(214px, calc(100vw - 28px) )}}.animated-auth-page{width:100%;min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);overflow:hidden;background:#fff}.animated-auth-visual{min-width:0;min-height:100dvh;padding:38px 46px 30px;position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;background:linear-gradient(135deg,#d4d0dc,#c8c4d0,#bbb7c5)}.animated-auth-visual:before,.animated-auth-visual:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.animated-auth-visual:before{width:350px;height:350px;left:8%;bottom:12%;background:#f4f1f92e;filter:blur(90px)}.animated-auth-visual:after{width:270px;height:270px;top:18%;right:10%;background:#9589ae38;filter:blur(80px)}.animated-auth-brand{position:relative;z-index:3;display:flex;align-items:center;gap:10px;color:#fff}.animated-auth-brand strong{font-size:20px;line-height:1;font-weight:750;letter-spacing:.08em}.animated-auth-brand-mark{width:29px;height:29px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.25);border-radius:8px;background:#ffffff24;box-shadow:inset 0 1px #ffffff2e;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.animated-auth-characters{--auth-character-scale: 1;width:550px;height:420px;position:absolute;left:50%;top:50%;z-index:2;display:flex;align-items:flex-end;justify-content:center;transform:translate(-50%,-50%) scale(var(--auth-character-scale));transform-origin:center}.auth-characters-scene{width:550px;height:400px;position:relative;flex:0 0 550px;overflow:hidden}.auth-character-eyes{position:absolute;display:flex}.animated-auth-form-panel{min-height:100dvh;padding:34px;display:flex;align-items:center;justify-content:center;background:#fff;overflow-y:auto}.animated-auth-form{width:min(400px,100%);opacity:1;transform:translateY(0) scale(1);filter:blur(0);transform-origin:center}.animated-auth-form.mode-out{opacity:0;transform:translateY(12px) scale(.985);filter:blur(3px);transition:opacity .18s ease,transform .18s cubic-bezier(.4,0,1,1),filter .18s ease;pointer-events:none}.animated-auth-form.mode-in{animation:animated-auth-form-in .34s cubic-bezier(.16,1,.3,1) both}@keyframes animated-auth-form-in{0%{opacity:0;transform:translateY(-12px) scale(.985);filter:blur(3px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}.animated-auth-sparkle{margin-bottom:22px;display:flex;justify-content:center;color:#1a1a2e}.animated-auth-header{margin-bottom:32px;text-align:center}.animated-auth-header h1{margin:0 0 7px;color:#1a1a2e;font-size:29px;line-height:1.2;font-weight:720;letter-spacing:-.5px}.animated-auth-header p{margin:0;color:#8b8b93;font-size:14px}.animated-auth-field{margin-bottom:19px;display:grid;gap:7px;color:#33333b;font-size:13px;font-weight:550}.animated-auth-field>input,.animated-auth-password>input{width:100%;height:47px;padding:0 40px 0 0;border:0;border-bottom:1.5px solid #dedee3;border-radius:0;outline:0;background:transparent;color:#1a1a2e;font-size:15px;font-weight:400;transition:border-color .25s ease,box-shadow .25s ease}.animated-auth-field>input{padding-right:0}.animated-auth-field input:focus{border-bottom-color:#5b21b6;box-shadow:0 1px #5b21b6}.animated-auth-field input::placeholder{color:#c1c1c7}.animated-auth-field input[type=password]:not(:placeholder-shown){letter-spacing:2px}.animated-auth-password{position:relative;display:block}.animated-auth-password button{width:34px;height:34px;padding:0;position:absolute;right:-5px;top:6px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#686870;cursor:pointer}.animated-auth-password button:hover,.animated-auth-password button:focus-visible{background:#f0eef4;color:#29252f;outline:none}.animated-auth-error{margin:-2px 0 15px;padding:10px 12px;border:1px solid rgba(190,50,50,.17);border-radius:10px;background:#cd343411;color:#b22d2d;font-size:13px;line-height:1.45}.animated-auth-submit{width:100%;height:50px;margin-top:3px;padding:0;position:relative;overflow:hidden;border:1.5px solid #1a1a2e;border-radius:25px;background:#1a1a2e;color:#fff;font-size:15px;font-weight:650;cursor:pointer}.animated-auth-button-label,.animated-auth-button-hover{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;transition:transform .3s ease,opacity .3s ease}.animated-auth-button-hover{border-radius:25px;background:#5b21b6;opacity:0}.animated-auth-arrow{transform:rotate(90deg)}.animated-auth-submit:not(:disabled):hover .animated-auth-button-label{opacity:0;transform:translate(36px)}.animated-auth-submit:not(:disabled):hover .animated-auth-button-hover{opacity:1}.animated-auth-submit:disabled{border-color:#9997a0;background:#9997a0;cursor:wait}.animated-auth-submit:disabled .animated-auth-button-hover{display:none}.animated-auth-switch{margin:28px 0 0;color:#898991;text-align:center;font-size:13px}.animated-auth-switch button{padding:2px 0;border:0;background:transparent;color:#1a1a2e;font-weight:650;cursor:pointer}.animated-auth-switch button:hover{text-decoration:underline;text-underline-offset:3px}.animated-auth-switch button:disabled{cursor:default}@media(max-width:1080px){.animated-auth-visual{padding-inline:30px}.animated-auth-characters{--auth-character-scale: .88}}@media(max-width:900px){.animated-auth-page{grid-template-columns:1fr}.animated-auth-visual{display:none}.animated-auth-form-panel{padding:28px 22px}}@media(max-height:720px)and (min-width:901px){.animated-auth-form-panel{align-items:flex-start;padding-block:22px}.animated-auth-sparkle{margin-bottom:10px}.animated-auth-header{margin-bottom:20px}.animated-auth-field{margin-bottom:12px}.animated-auth-switch{margin-top:17px}.animated-auth-characters{--auth-character-scale: .78}}@media(prefers-reduced-motion:reduce){.animated-auth-submit *,.auth-characters-scene *,.animated-auth-form{transition-duration:.01ms!important;animation-duration:.01ms!important}}.image-lightbox{position:fixed;inset:0;z-index:120;padding:24px;display:grid;place-items:center;background:#0000004d;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.image-lightbox-card{max-width:94vw;max-height:92dvh;position:relative;display:grid;place-items:center}.image-lightbox-card>img{max-width:94vw;max-height:92dvh;width:auto;height:auto;display:block;object-fit:contain;border-radius:8px;box-shadow:0 20px 70px #00000042}.image-lightbox-card>button{width:38px;height:38px;position:absolute;top:10px;right:10px;border:0;border-radius:10px;display:grid;place-items:center;color:#fff;background:#191919b8;box-shadow:0 2px 12px #00000038;cursor:pointer}.image-lightbox-card>button:hover,.image-lightbox-card>button:focus-visible{background:#191919e0;outline:2px solid rgba(255,255,255,.9);outline-offset:2px}@media(max-width:620px){.image-lightbox{padding:10px}.image-lightbox-card>img{max-width:calc(100vw - 20px);max-height:88dvh}}
