@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.06d3mdzz5bre_.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.11.cyxs5p-0z~.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.16t1db8_9y2o~.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_a71539c9-module__T19VSG__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_a71539c9-module__T19VSG__variable{--font-geist-sans:"Geist", "Geist Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.0q3udbd2bu5yp.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.0gw~uztddq1df.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.0.q-h669a_dqa.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_8d43a2aa-module__8Li5zG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_8d43a2aa-module__8Li5zG__variable{--font-geist-mono:"Geist Mono", "Geist Mono Fallback"}
*{box-sizing:border-box;margin:0;padding:0}html,body{height:100%}body{background:#f5f5f5;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.appShell{height:100dvh;min-height:100dvh;display:flex}.sidebar{color:#fff;background:#1a1a2e;flex-direction:column;flex-shrink:0;width:300px;min-width:300px;display:flex}.sidebarHeader{border-bottom:1px solid #ffffff1a;padding:20px 16px 12px;position:relative}.sidebarHeader h2{font-size:15px;font-weight:600}.sidebarHeader p{opacity:.5;margin-top:3px;font-size:11px}.newBtn{color:#fff;cursor:pointer;text-align:left;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;width:calc(100% - 32px);margin:12px 16px;padding:9px 12px;font-size:13px}.newBtn:hover{background:#fff3}.history{flex:1;padding:8px;overflow-y:auto}.historyLabel{opacity:.4;text-transform:uppercase;letter-spacing:.5px;padding:8px 8px 4px;font-size:10px}.historyItem{width:100%;color:inherit;text-align:left;cursor:pointer;opacity:.7;white-space:normal;text-overflow:ellipsis;background:0 0;border:0;border-radius:6px;align-items:center;gap:6px;padding:8px 10px;font-size:12px;display:flex;overflow:hidden}.historyItem:hover{opacity:1;background:#ffffff1a}.historyItem.active{opacity:1;background:#ffffff26}.historyTitleBtn{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;min-width:0}.historyTitleBtn span{white-space:normal;word-break:break-word;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.historyPreview{opacity:.55;white-space:normal;word-break:break-word;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;margin-top:2px;font-size:10px;display:-webkit-box;overflow:hidden}.historyActions{gap:4px;display:flex}.historyActionBtn{color:#fff;cursor:pointer;background:#ffffff14;border:1px solid #fff3;border-radius:5px;justify-content:center;align-items:center;width:24px;height:24px;padding:0;display:inline-flex}.historyActionBtn:hover{background:#ffffff2e}.historyActionBtn svg{fill:currentColor;width:13px;height:13px}.historyActionBtn.danger{color:#fecaca;border-color:#f8717159}.modalOverlay{z-index:50;background:#0f172a73;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modalCard{background:#fff;border-radius:14px;width:min(420px,100%);padding:16px;box-shadow:0 18px 44px #0f172a3d}.modalCard h4{color:#111827;margin-bottom:8px;font-size:16px}.modalCard p{color:#374151;margin-bottom:14px;font-size:13px}.modalInput{border:1px solid #d1d5db;border-radius:10px;outline:none;width:100%;padding:9px 11px;font-size:14px}.modalInput:focus{border-color:#6366f1}.modalActions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.modalBtn{cursor:pointer;border:0;border-radius:9px;padding:8px 12px;font-size:13px}.modalBtn.secondary{color:#111827;background:#e5e7eb}.modalBtn.primary{color:#fff;background:#4f46e5}.modalBtn.danger{color:#fff;background:#dc2626}.modalBtn:disabled{opacity:.6;cursor:not-allowed}.userBar{border-top:1px solid #ffffff1a;align-items:center;gap:8px;padding:12px 16px;display:flex}.userInfo{flex:1;min-width:0}.authActionBtn{color:#fff;cursor:pointer;white-space:nowrap;background:#ffffff1a;border:1px solid #ffffff4d;border-radius:8px;flex-shrink:0;margin-left:auto;padding:6px 10px;font-size:11px;transition:background .2s,border-color .2s}.authActionBtn:hover{background:#fff3}.authActionBtn.signOut{background:#f8717124;border-color:#f8717173}.authActionBtn.signOut:hover{background:#f871713d}.authActionBtn:disabled{cursor:not-allowed;opacity:.7}.avatar{background:#4f46e5;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:12px;font-weight:600;display:flex}.userInfo .name{white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:500;overflow:hidden}.userInfo .email{opacity:.5;white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.main{flex-direction:column;flex:1;min-width:0;display:flex}.chatMainColumn{flex-direction:column;flex:1;min-height:0;display:flex}.chatMainColumn .messages{flex:1;min-height:0}.authBar{color:#166534;background:#f0fdf4;border-bottom:1px solid #bbf7d0;align-items:center;gap:6px;padding:8px 20px;font-size:12px;display:flex}.authError{color:#b91c1c;margin-left:10px;font-weight:500}.authDot{background:#16a34a;border-radius:50%;flex-shrink:0;width:6px;height:6px}.mobileSidebarToggle,.mobileSidebarClose{display:none}.chatHeader{background:#fff;border-bottom:1px solid #e5e7eb;align-items:center;gap:10px;padding:14px 20px;display:flex}.assetPanel{background:#fff;border-top:1px solid #e5e7eb;flex-direction:column;gap:6px;padding:8px 20px 10px;display:flex}.assetPanelHeader{color:#475569;justify-content:space-between;align-items:center;font-size:12px;display:flex}.assetClearBtn{color:#475569;cursor:pointer;background:0 0;border:0;font-size:12px;text-decoration:underline}.assetChips{flex-wrap:wrap;gap:6px;display:flex}.assetChip{color:#1e293b;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:999px;align-items:center;gap:8px;max-width:min(360px,100%);padding:4px 10px 4px 6px;font-size:12px;display:inline-flex}.assetChip.selected{color:#fff;background:#4f46e5;border-color:#4f46e5}.assetChipPreview{background:#0f172a1f;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex;overflow:hidden}.assetChipPreviewImage{background-position:50%;background-repeat:no-repeat;background-size:cover;width:100%;height:100%;display:inline-block}.assetChipPreviewFile{letter-spacing:.04em;font-size:10px;font-weight:700}.assetChipLabel{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.chatHeader h3{color:#111;font-size:14px;font-weight:600}.modelBadge{color:#5b21b6;background:#ede9fe;border-radius:99px;padding:2px 8px;font-size:11px}.messages{background:#f9fafb;flex-direction:column;flex:1;gap:16px;padding:clamp(14px,3vw,20px);display:flex;overflow-y:auto}.messagesEmpty{justify-content:center;align-items:center;gap:22px;padding-top:30px;padding-bottom:10px}.messagesEmpty .msg{justify-content:center}.messagesEmpty .msgAv{display:none}.messagesEmpty .messageBody{align-items:center}.messagesEmpty .bubble{text-align:center;width:100%;max-width:560px;padding:14px 18px;font-size:18px}.messagesEmpty .messageTimestamp{text-align:center}.chatMainColumnEmpty{background:#f9fafb;justify-content:center;align-items:center;gap:clamp(28px,5vh,48px);padding:clamp(16px,5vh,40px) clamp(14px,3vw,20px);overflow-y:auto}.chatMainColumnEmpty .messages{flex:none;width:100%;max-width:720px;overflow:visible}.chatMainColumnEmpty .messagesEmpty{padding-top:0;padding-bottom:8px}.chatMainColumnEmpty .inputArea.emptyInputArea{background:0 0;border-top:0;width:100%;max-width:720px;padding-top:0;padding-bottom:clamp(12px,3vh,24px)}.chatMainColumnEmpty .assetPanel{flex-shrink:0;width:100%;max-width:720px}.conversationLoadingPane{color:#64748b;background:#f9fafb;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:14px;min-height:200px;font-size:14px;display:flex}.conversationLoadingPane p{margin:0}.conversationLoadingPaneMessages{box-sizing:border-box;flex:0 auto;width:100%;min-height:140px;padding:32px 16px}.conversationLoadingSpinner{border:3px solid #e2e8f0;border-top-color:#4f46e5;border-radius:50%;width:28px;height:28px;animation:.85s linear infinite spin}.messagesEmpty .welcomeHeroMsg{justify-content:center}.messageBody.welcomeHeroBody{align-items:center;max-width:min(560px,100%)}.welcomeHero{text-align:center;color:#111827;letter-spacing:-.02em;width:100%;padding:0 8px;font-size:clamp(1.25rem,2.8vw,1.65rem);font-weight:500;line-height:1.35}.welcomeHero .markdownBody p{font-size:inherit;font-weight:inherit;color:inherit;margin:0}.welcomeHero .markdownBody>:first-child{margin-top:0}.welcomeHero .markdownBody>:last-child{margin-bottom:0}.msg{align-items:flex-start;gap:10px;display:flex}.msg.user{flex-direction:row-reverse}.messageBody{flex-direction:column;align-items:flex-start;max-width:70%;display:flex}.msg.user .messageBody{align-items:flex-end}.msgAv{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;font-size:11px;font-weight:600;display:flex}.msg.bot .msgAv{color:#5b21b6;background:#ede9fe}.msg.user .msgAv{color:#1d4ed8;background:#dbeafe}.bubble{overflow-wrap:anywhere;word-break:break-word;border-radius:12px;max-width:100%;padding:10px 14px;font-size:14px;line-height:1.6}.msg.bot .bubble{color:#111;background:#fff;border:1px solid #e5e7eb;border-bottom-left-radius:3px}.msg.user .bubble{color:#fff;background:#4f46e5;border-bottom-right-radius:3px}.messageTimestamp{color:#64748b;opacity:.8;margin-top:6px;font-size:10px}.msg.user .messageTimestamp{text-align:right}.markdownBody{white-space:normal}.markdownBody>:first-child{margin-top:0}.markdownBody>:last-child{margin-bottom:0}.markdownBody p,.markdownBody ul,.markdownBody ol,.markdownBody pre,.markdownBody blockquote,.markdownBody table{margin:.5rem 0}.markdownBody h1,.markdownBody h2,.markdownBody h3,.markdownBody h4{margin:.65rem 0 .45rem;line-height:1.35}.markdownBody h1{font-size:1.1rem}.markdownBody h2{font-size:1.02rem}.markdownBody h3,.markdownBody h4{font-size:.95rem}.markdownBody ul,.markdownBody ol{padding-left:1.2rem}.markdownBody li+li{margin-top:.2rem}.markdownBody code{background:#0f172a14;border-radius:6px;padding:.1em .35em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.86em}.markdownBody pre{background:#0f172a14;border-radius:8px;padding:.65rem .75rem;overflow-x:auto}.markdownBody pre code{background:0 0;padding:0}.markdownBody a{color:inherit;text-underline-offset:2px;text-decoration:underline}.markdownBody blockquote{border-left:3px solid #6366f173;padding-left:.7rem}.markdownBody table{border-collapse:collapse;width:100%}.markdownBody th,.markdownBody td{text-align:left;border:1px solid #94a3b859;padding:.35rem .5rem}.typing{align-items:center;gap:4px;padding:12px 14px;display:flex}.dot{background:#9ca3af;border-radius:50%;width:7px;height:7px;animation:1.2s infinite bounce}.dot:nth-child(2){animation-delay:.2s}.dot:nth-child(3){animation-delay:.4s}@keyframes bounce{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-6px)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.inputArea{background:#fff;border-top:none;flex-flow:column;align-items:stretch;gap:12px;padding:16px 20px;display:flex}.inputArea.emptyInputArea{background:#fff;border-top:none;justify-content:center;align-items:center;padding-top:20px;padding-bottom:28px}.composerShell{justify-content:center;width:100%;display:flex}.composerShellEmpty{max-width:min(720px,100%)}.composerPill{background:#fff;border:0;border-radius:22px;align-items:center;gap:10px;width:100%;min-height:60px;padding:8px 10px 8px 14px;transition:box-shadow .2s;display:flex;box-shadow:0 0 0 1px #0f172a0e,0 1px 2px #0f172a0e,0 6px 16px #0f172a13,0 12px 28px #0f172a0e}.composerPillEmpty{align-items:center;min-height:52px;padding-top:6px;padding-bottom:6px}.composerPill:focus-within{box-shadow:0 0 0 1px #0f172a0f,0 1px 3px #0f172a11,0 8px 22px #0f172a14,0 0 0 3px #4f46e52b,0 0 22px #4f46e514}.composerPill:focus-within .composerPillAttach{color:#4338ca;background:#6366f124}.composerPill:focus-within .composerSendOrb:not(:disabled){background:#4338ca}.composerPillAttach{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:50%;flex-shrink:0;justify-content:center;align-self:center;align-items:center;width:44px;height:44px;transition:color .15s,background .15s;display:inline-flex}.composerPillAttach svg{fill:currentColor;width:22px;height:22px}.composerPillAttach:hover:not(:disabled){color:#0f172a;background:#94a3b833}.composerPillAttach:disabled{opacity:.45;cursor:not-allowed}.composerPillCenter{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.composerPillEmpty .composerPillCenter{justify-content:center}.composerUploadPreview{background:#e2e8f0;border:1px solid #94a3b873;border-radius:14px;flex-shrink:0;width:74px;height:74px;position:relative;overflow:hidden}.composerUploadPreviewDocMode{background:#f8fafc;border-color:#94a3b859;border-radius:14px;width:min(360px,100%);height:auto;min-height:66px}.composerPillCenter .composerUploadPreview{margin-left:2px}.composerUploadPreviewDoc{border-radius:inherit;color:#0f172a;text-align:left;background:0 0;border:0;align-items:center;gap:10px;width:100%;min-height:66px;padding:10px 44px 10px 10px;display:flex}.composerUploadPreviewDocIcon{color:#fff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.composerUploadPreviewDocIconPdf{background:#ff4a46}.composerUploadPreviewDocIconFile{background:#3b82f6}.composerUploadPreviewDocIcon svg{fill:currentColor;width:19px;height:19px}.composerUploadPreviewDocBody{flex-direction:column;gap:1px;min-width:0;display:flex}.composerUploadPreviewDocName{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;line-height:1.3;overflow:hidden}.composerUploadPreviewDocType{color:#64748b;letter-spacing:.02em;font-size:12px;font-weight:500}.composerUploadPreviewImage{background-position:50%;background-repeat:no-repeat;background-size:cover;width:100%;height:100%;display:inline-block}.composerUploadPreviewClick{cursor:pointer;border:0;padding:0}.composerUploadPreviewFile{color:#334155;letter-spacing:.06em;background:#f8fafc;justify-content:center;align-items:center;width:100%;height:100%;font-size:11px;font-weight:700;display:inline-flex}.composerUploadPreviewLoading .composerUploadPreviewImage,.composerUploadPreviewLoading .composerUploadPreviewFile{filter:blur(4px)brightness(.75);transform:scale(1.03)}.composerUploadPreviewOverlay{background:#0f172a47;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.composerUploadPreviewClose{color:#fff;cursor:pointer;z-index:2;background:#0f172a99;border:0;border-radius:999px;justify-content:center;align-items:center;width:22px;height:22px;font-size:15px;line-height:1;display:inline-flex;position:absolute;top:8px;right:8px}.composerPillInput{color:#0f172a;resize:none;box-sizing:border-box;background:0 0;border:0;outline:none;flex:0 auto;min-width:0;height:auto;min-height:42px;max-height:220px;padding:8px 4px;font-family:inherit;font-size:15px;line-height:1.45;overflow-y:auto}.composerPillEmpty .composerPillInput{min-height:42px;max-height:140px;padding-top:6px;padding-bottom:6px}.composerPillInput::placeholder{color:#64748b}.composerPillTrail{flex-shrink:0;align-self:center;align-items:center;gap:6px;display:flex}.composerPillEmpty .composerPillTrail{align-items:center}.composerPillEmpty .composerPillAttach,.composerPillEmpty .composerPillTrail{align-self:center}.composerPillHasAttachment{align-items:flex-end}.composerPillHasAttachment .composerPillAttach,.composerPillHasAttachment .composerPillTrail{align-self:flex-end}.composerPillMultiline{align-items:flex-end}.composerPillMultiline .composerPillAttach,.composerPillMultiline .composerPillTrail{align-self:flex-end}.composerStatusDot{background:#cbd5e1;border-radius:50%;flex-shrink:0;width:8px;height:8px}.composerStatusDot.ready{background:#0d9488;box-shadow:0 0 0 3px #0d948838}.composerSendOrb{color:#fff;cursor:pointer;background:#4f46e5;border:0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;transition:transform .15s,background .15s,opacity .15s;display:inline-flex}.composerSendOrb svg{color:#fff;fill:#fff;width:22px;height:22px}.composerSendOrb:hover:not(:disabled){background:#4338ca;transform:scale(1.03)}.composerSendOrb:disabled{opacity:.45;cursor:not-allowed;background:#c7d2fe;transform:none}.uploadingNotice{background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;align-items:center;gap:8px;width:100%;padding:8px 10px;display:flex}.uploadingNoticeWithPreview{align-items:stretch;gap:10px}.uploadingSpinner{border:2px solid #cbd5e1;border-top-color:#4f46e5;border-radius:50%;flex-shrink:0;width:12px;height:12px;animation:.8s linear infinite spin}.uploadingText{color:#334155;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:12px;overflow:hidden}.uploadImagePreview{background:#e2e8f0;border:1px solid #94a3b86b;border-radius:10px;flex-shrink:0;width:72px;height:72px;position:relative;overflow:hidden}.uploadImagePreviewPhoto{background-position:50%;background-repeat:no-repeat;background-size:cover;width:100%;height:100%;display:inline-block}.uploadImagePreviewLoading .uploadImagePreviewPhoto{filter:blur(4px)brightness(.78);transform:scale(1.04)}.uploadImagePreviewOverlay{color:#fff;text-shadow:0 1px 2px #0f172a73;background:#0f172a40;flex-direction:column;justify-content:center;align-items:center;gap:6px;font-size:10px;font-weight:600;display:flex;position:absolute;inset:0}.uploadCancelBtn{color:#475569;cursor:pointer;background:0 0;border:0;font-size:12px;text-decoration:underline}.attachmentInput{display:none}.attachBtnLabel{font-size:16px;line-height:1}.messageAttachments{flex-direction:column;align-items:flex-start;gap:6px;margin:0 0 6px;display:flex}.msg.user .messageAttachments{align-items:flex-end}.messageAttachmentPreview{color:#1e293b;cursor:pointer;text-align:left;background:#f8fafc;border:1px solid #94a3b866;border-radius:13px;align-items:center;gap:9px;max-width:100%;padding:8px 10px;display:inline-flex;box-shadow:0 1px 2px #0f172a0f}.messageAttachmentPreviewImage,.messageAttachmentPreviewDoc{width:min(280px,100%)}.messageAttachmentPreviewThumb{background-color:#e2e8f0;background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:10px;flex-shrink:0;width:44px;height:44px;display:inline-block}.messageAttachmentPreviewDocIcon{color:#fff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.messageAttachmentPreviewDocIconPdf{background:#ff4a46}.messageAttachmentPreviewDocIconFile{background:#3b82f6}.messageAttachmentPreviewDocIcon svg{fill:currentColor;width:18px;height:18px}.messageAttachmentPreviewBody{flex-direction:column;flex:1;align-items:flex-start;gap:1px;min-width:0;display:flex}.messageAttachmentPreviewName{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:13px;font-weight:600;overflow:hidden}.messageAttachmentPreviewMeta{color:#64748b;font-size:11px;font-weight:500}.msg.user .messageAttachmentPreview{color:#1e1b4b;background:#eef2ff;border-color:#c7d2fed9;box-shadow:inset 0 1px #ffffffb3,0 1px 3px #0f172a1f}.msg.user .messageAttachmentPreviewName{color:#0f172a}.msg.user .messageAttachmentPreviewMeta{color:#475569}.attachmentPreviewModal{color:#0f172a;background:#fff;border-radius:16px;width:min(960px,96vw);max-height:92vh;padding:14px 14px 12px;position:relative;box-shadow:0 24px 64px #0f172a38}.attachmentPreviewOverlay{background:#0f172a73}.attachmentPreviewCloseBtn{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #94a3b873;border-radius:999px;justify-content:center;align-items:center;width:28px;height:28px;font-size:19px;line-height:1;display:inline-flex;position:absolute;top:10px;right:10px}.attachmentPreviewTitle{color:#334155;white-space:nowrap;text-overflow:ellipsis;margin:0 34px 10px 2px;font-size:13px;font-weight:600;overflow:hidden}.attachmentPreviewImageWrap{background:#f8fafc;border-radius:12px;justify-content:center;align-items:center;width:100%;height:min(72vh,680px);display:flex;overflow:hidden}.attachmentPreviewImage{object-fit:contain;width:100%;height:100%}.attachmentPreviewFrameWrap{background:#f8fafc;border:1px solid #94a3b859;border-radius:12px;justify-content:center;align-items:center;width:100%;height:min(68vh,640px);display:flex;overflow:auto}.attachmentPreviewFrame{background:#fff;border:0;width:min(100%,980px);height:100%;display:block}.attachmentPreviewWordWrap{background:#fff;border:1px solid #94a3b859;border-radius:12px;width:100%;height:min(68vh,640px);position:relative;overflow:auto}.attachmentPreviewWordLoading{z-index:2;color:#475569;background:#f8fafcf2;border:1px solid #94a3b859;border-radius:999px;align-items:center;gap:8px;padding:4px 10px;font-size:12px;display:inline-flex;position:absolute;top:10px;right:12px}.attachmentPreviewWordContent{color:#0f172a;min-height:100%;padding:16px 18px;font-size:14px;line-height:1.6}.attachmentPreviewWordContent p,.attachmentPreviewWordContent ul,.attachmentPreviewWordContent ol,.attachmentPreviewWordContent table{margin:0 0 .6rem}.attachmentPreviewWordContent h1,.attachmentPreviewWordContent h2,.attachmentPreviewWordContent h3{margin:.7rem 0 .45rem;line-height:1.35}.attachmentPreviewWordContent table{border-collapse:collapse}.attachmentPreviewWordContent td,.attachmentPreviewWordContent th{border:1px solid #94a3b873;padding:6px 8px}.attachmentPreviewLoadingWrap{color:#334155;background:#f8fafc;border:1px solid #94a3b859;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:min(68vh,640px);font-size:13px;font-weight:500;display:flex}.attachmentPreviewError{color:#9f1239;background:#fff1f2;border:1px solid #ef444433;border-radius:12px;align-items:center;width:100%;min-height:84px;padding:12px 14px;font-size:13px;line-height:1.4;display:flex}.attachmentPreviewOpenLink{align-items:center;text-decoration:none;display:inline-flex}.attachmentPreviewActions{margin-top:10px}@media (max-width:1024px){.sidebar{width:220px;min-width:220px}.bubble,.messageBody{max-width:82%}}@media (max-width:768px){.appShell{flex-direction:column;height:100dvh;min-height:100dvh}.sidebar{z-index:30;width:min(85vw,320px);min-width:0;height:100dvh;max-height:100dvh;transition:transform .2s;position:fixed;top:0;left:0;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.main{min-height:100dvh}.messages{padding:14px}.bubble{max-width:100%;font-size:13px}.messageBody{max-width:100%}.inputArea{padding:12px 14px}.chatHeader,.authBar,.assetPanel{padding-left:14px;padding-right:14px}.mobileSidebarToggle{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;margin-right:4px;padding:0;display:inline-flex}.mobileSidebarToggle svg{fill:currentColor;width:16px;height:16px}.userBar{gap:6px;padding:10px 12px}.authActionBtn{padding:5px 8px;font-size:10px}.mobileSidebarClose{color:#fff;background:#ffffff1a;border:1px solid #ffffff40;border-radius:6px;justify-content:center;align-items:center;width:22px;height:22px;font-size:12px;display:inline-flex;position:absolute;top:10px;right:10px}}
