pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
  Theme: GitHub Dark
  Description: Dark theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Outdated base version: https://github.com/primer/github-syntax-dark
  Current colors taken from GitHub's CSS
*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}:root{color:#24262b;background:#f8f9fb;font-family:Inter,SF Pro Text,PingFang SC,Microsoft YaHei,system-ui,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--sidebar: #111214;--sidebar-soft: #1b1d20;--line: #e5e7eb;--muted: #727780;--accent: #6d4aff;--accent-soft: #f0ecff;--danger: #b42318}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0}body{overflow:hidden;overscroll-behavior:none}.srOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button,textarea,input,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed}.icon{display:block;flex:none;pointer-events:none}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.bootScreen{width:100%;height:100%;display:grid;place-content:center;justify-items:center;gap:12px;color:var(--muted);background:radial-gradient(circle at 50% 30%,#f1edff,#fff 55%)}.bootScreen p{margin:0;font-size:13px}.fatalScreen{width:100%;height:100%;display:grid;place-content:center;justify-items:center;gap:11px;padding:24px;color:#383b42;text-align:center;background:radial-gradient(circle at 50% 30%,#f1edff,#fff 58%)}.fatalScreen h1{margin:6px 0 0;font-size:22px}.fatalScreen p{margin:0;color:#777b84;font-size:13px}.fatalScreen button{margin-top:6px;padding:9px 16px;color:#fff;background:#24262b;border:0;border-radius:9px}.fatalScreen small{max-width:540px;margin-top:4px;color:#8f4842;font-size:12px;overflow-wrap:anywhere}.appShell{width:100%;height:100%;height:100dvh;display:grid;grid-template-columns:284px minmax(0,1fr);overflow:hidden;background:#fff;transition:grid-template-columns .22s ease}.appShell.isCollapsed{grid-template-columns:68px minmax(0,1fr)}.sidebar{position:relative;z-index:20;min-width:0;display:flex;flex-direction:column;gap:10px;padding:14px 12px 12px;color:#eceef2;background:linear-gradient(180deg,#151619,var(--sidebar));border-right:1px solid #25272b;overflow:hidden}.brandRow{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:0 3px}.brandButton{display:flex;align-items:center;gap:10px;min-width:0;padding:0;color:inherit;background:none;border:0}.brandMark,.welcomeOrb{flex:none;display:grid;place-items:center;width:34px;height:34px;color:#fff;background:linear-gradient(145deg,#0d0e10,#22242a);border:1px solid #3b3e45;border-radius:11px;font-weight:760;box-shadow:0 5px 18px #0005}.brandText{font-size:14px;font-weight:700;white-space:nowrap}.plainIcon{display:grid;place-items:center;padding:0;color:inherit;background:none;border:0}.mobileClose{display:none;width:36px;height:36px;font-size:24px}.newChatButton{display:flex;align-items:center;gap:10px;width:100%;min-height:45px;padding:0 12px;color:#f6f7f9;background:#222429;border:1px solid #34373d;border-radius:13px;transition:.16s ease}.newChatButton:hover{background:#2b2e33;border-color:#454950;transform:translateY(-1px)}.newChatButton>span{display:grid;place-items:center;width:21px}.newChatButton strong{font-size:13px;font-weight:620;white-space:nowrap}.newChatButton kbd{margin-left:auto;color:#aeb3bc;background:none;font-size:12px}.historySearch{display:flex;align-items:center;gap:8px;min-height:38px;padding:0 10px;color:#858a94;background:#191b1e;border:1px solid #292c30;border-radius:10px}.historySearch input{width:100%;min-width:0;color:#eee;background:transparent;border:0;outline:0;font-size:12px}.historySearch input::placeholder{color:#727781}.historyControls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.historyMode{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:3px;background:#191b1e;border:1px solid #292c30;border-radius:10px}.historyMode button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:31px;padding:0 8px;color:#969ba5;background:transparent;border:0;border-radius:7px;font-size:12px}.historyMode button span{min-width:18px;padding:1px 5px;color:#858a94;background:#25272b;border-radius:999px;font-size:11px;font-variant-numeric:tabular-nums}.historyMode button:hover{color:#e3e5e9}.historyMode button.isActive{color:#f2f3f5;background:#303238}.historyMode button.isActive span{color:#d8d0ff;background:#4a416b}.bulkModeToggle{min-width:48px;padding:0 8px;color:#a2a7b0;background:#1b1d20;border:1px solid #2c2f34;border-radius:10px;font-size:11px}.bulkModeToggle:hover,.bulkModeToggle.isActive{color:#e4deff;background:#302b47;border-color:#514873}.bulkModeToggle:disabled{cursor:default;opacity:.38}.historyTagFilters{display:flex;gap:5px;margin:-2px 0 0;padding:1px 0 3px;overflow-x:auto;scrollbar-width:none}.historyTagFilters::-webkit-scrollbar{display:none}.historyTagFilters button{display:flex;align-items:center;gap:5px;flex:none;min-height:29px;padding:0 9px;color:#9da2ac;background:#1b1d21;border:1px solid #2a2d32;border-radius:999px;font-size:11px}.historyTagFilters button:hover{color:#eceef2;border-color:#41454d}.historyTagFilters button.isActive{color:#ddd6ff;background:#302b47;border-color:#514873}.historyTagFilters button span{color:#888e98;font-size:10px;font-variant-numeric:tabular-nums}.bulkToolbar{display:grid;gap:7px;padding:8px;background:#1a1c20;border:1px solid #2c2f34;border-radius:11px}.bulkToolbar>div{display:flex;align-items:center;justify-content:space-between;gap:6px}.bulkToolbar span{color:#a8adb6;font-size:11px}.bulkToolbar span strong{color:#ded7ff;font-size:13px;font-variant-numeric:tabular-nums}.bulkToolbar button{min-height:30px;padding:0 9px;color:#c4c7cd;background:#272a2f;border:1px solid #383b42;border-radius:8px;font-size:11px}.bulkToolbar>div:last-child button{flex:1}.bulkToolbar button:hover:not(:disabled){color:#fff;background:#32353b}.bulkToolbar button.danger{color:#efaaa4;background:#352525;border-color:#573332}.bulkToolbar button:disabled{cursor:default;opacity:.38}.history{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#34373d transparent}.historyGroup{margin:0 0 14px}.historyGroup h2{margin:0;padding:8px 9px 6px;color:#969ba5;font-size:12px;font-weight:650;text-transform:uppercase;letter-spacing:.06em}.historyItem{display:flex;align-items:center;min-width:0;margin-bottom:2px;border-radius:9px;transition:background .14s}.historyItem:hover,.historyItem.isActive{background:#24262a}.historyItem.isSelected{background:#302b47;box-shadow:inset 0 0 0 1px #514873}.historySelect{display:flex;align-items:center;gap:8px;flex:1;min-width:0;min-height:49px;padding:5px 8px;color:#d4d6da;background:none;border:0;text-align:left}.historyGlyph{flex:none;color:#777c85;font-size:10px}.bulkCheck{display:grid;place-items:center;flex:none;width:17px;height:17px;color:#17181c;background:#f0ecff;border:1px solid #7867ba;border-radius:5px;font-size:11px;font-weight:800}.historyItem:not(.isSelected) .bulkCheck{color:transparent;background:#202226;border-color:#555a63}.isPinned .historyGlyph{color:#a993ff}.hasDraft .historyGlyph{color:#b8a7ff}.historyCopy{display:grid;min-width:0;gap:2px}.historyCopy strong,.historyCopy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.historyCopy strong{color:inherit;font-size:12px;font-weight:570}.historyCopy small{color:#9da2ac;font-size:12px;font-weight:400}.historyCopy small em{color:#b8a7ff;font-style:normal}.historyItem.isActive .historyCopy small{color:#969ba5}.historyMore{width:31px;height:31px;margin-right:4px;padding:0;opacity:0;color:#9da1a8;background:transparent;border:0;border-radius:8px;font-size:11px}.historyItem:hover .historyMore,.historyItem.isActive .historyMore,.historyMore:focus-visible{opacity:1}.historyMore:hover{color:#fff;background:#33363b}.emptyHistory{margin:18px 8px;color:#737780;font-size:12px;line-height:1.6}.globalSearchGroup{margin:0 0 12px;padding-bottom:9px;border-bottom:1px solid #25272b}.globalSearchGroup h2{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:8px 8px 5px;color:#b3b7bf;font-size:12px;font-weight:620}.globalSearchGroup h2 span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.globalSearchGroup h2 small{flex:none;color:#9da2ac;font-size:12px;font-weight:500}.globalSearchResult{display:grid;grid-template-columns:23px minmax(0,1fr);align-items:start;gap:7px;width:100%;padding:7px 8px;color:#d7d9de;text-align:left;background:transparent;border:0;border-radius:9px}.globalSearchResult:hover{background:#24262a}.globalSearchResult>span:first-child{display:grid;place-items:center;width:23px;height:23px;color:#b8a7ff;background:#2c2938;border-radius:7px;font-size:8px;font-weight:700}.globalSearchResult>span:last-child{display:grid;min-width:0;gap:3px}.globalSearchResult strong{display:-webkit-box;overflow:hidden;color:#d6d8dd;font-size:12px;font-weight:480;line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical}.globalSearchResult small{color:#9da2ac;font-size:12px}.moreMatches{margin:4px 8px 0 38px;color:#9da2ac;font-size:12px;line-height:1.45}.sidebarFooter{display:flex;align-items:center;gap:9px;min-width:0;padding:11px 7px 1px;border-top:1px solid #292b30}.userAvatar{display:grid;place-items:center;flex:none;width:30px;height:30px;color:#eee;background:#35383e;border-radius:50%;font-size:12px;font-weight:700}.sidebarFooter>span:last-child{display:grid;min-width:0}.sidebarFooter strong{font-size:12px}.sidebarFooter small{color:#9da2ac;font-size:12px;white-space:nowrap}.isCollapsed .sidebar{padding-inline:10px}.isCollapsed .brandText,.isCollapsed .newChatButton strong,.isCollapsed .newChatButton kbd,.isCollapsed .historySearch,.isCollapsed .historyControls,.isCollapsed .historyTagFilters,.isCollapsed .bulkToolbar,.isCollapsed .history,.isCollapsed .sidebarFooter>span:last-child{display:none}.isCollapsed .brandRow,.isCollapsed .newChatButton,.isCollapsed .sidebarFooter{justify-content:center}.isCollapsed .newChatButton{width:46px;padding:0;align-self:center}.isCollapsed .sidebarFooter{margin-top:auto;padding-inline:0}.mainPanel{position:relative;min-width:0;min-height:0;display:grid;grid-template-rows:62px minmax(0,1fr) auto;background:#fff}.topbar{position:relative;z-index:10;display:flex;align-items:center;gap:11px;padding:0 22px;background:#fffffff0;border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}.menuButton{display:none;width:36px;height:36px;color:#444850;font-size:19px}.collapseButton{width:34px;height:34px;padding:0;color:#555a63;background:#f5f6f8;border:1px solid #e1e3e7;border-radius:10px;font-size:21px}.collapseButton:hover{background:#eceef2}.modelPicker{position:relative;width:min(330px,34vw);min-width:0}.modelTrigger{display:flex;align-items:center;gap:9px;width:100%;min-width:280px;height:43px;padding:5px 10px;color:#30333a;text-align:left;background:#f7f8fa;border:1px solid #e2e4e8;border-radius:12px;box-shadow:0 1px 2px #1c1e2405;transition:background .15s,border-color .15s,box-shadow .15s}.modelTrigger:hover,.modelTrigger[aria-expanded=true]{background:#fff;border-color:#cbc4e9;box-shadow:0 5px 18px #32236d10}.modelTrigger:disabled{opacity:.68}.modelTriggerText{display:grid;flex:1;min-width:0}.modelTriggerText strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:680}.modelTriggerText small{margin-top:1px;color:#667085;font-size:12px}.statusDot{display:block;flex:none;width:7px;height:7px;background:#a6abb4;border-radius:50%;box-shadow:0 0 0 3px #a6abb419}.statusDot.available{background:#20a478;box-shadow:0 0 0 3px #20a4781b}.statusDot.unavailable{background:#d05c50;box-shadow:0 0 0 3px #d05c5018}.modelMenu{position:absolute;z-index:80;top:calc(100% + 9px);left:0;width:min(520px,calc(100vw - 30px));padding:10px;color:#30333a;background:#fffffffa;border:1px solid #dedfe5;border-radius:17px;box-shadow:0 24px 70px #20232d2b,0 3px 10px #20232d0d;backdrop-filter:blur(22px);animation:modelMenuIn .16s ease-out}@keyframes modelMenuIn{0%{opacity:0;transform:translateY(-5px) scale(.985)}}.modelMenuHeader{display:flex;align-items:center;justify-content:space-between;min-height:39px;padding:0 3px 8px}.modelMenuHeader>span{display:grid;gap:2px}.modelMenuHeader strong{font-size:12px}.modelMenuHeader small{color:#667085;font-size:12px}.modelMenuHeader button{display:grid;place-items:center;width:31px;height:31px;padding:0;color:#6d7179;background:#f2f3f5;border:1px solid #e5e6e9;border-radius:9px}.modelMenuHeader button:hover{color:var(--accent);background:var(--accent-soft);border-color:#ded5ff}.modelMenuHeader button.isSpinning .icon{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.modelSearch{display:flex;align-items:center;gap:8px;height:38px;padding:0 10px;color:#878b94;background:#f5f6f8;border:1px solid #e7e8eb;border-radius:10px}.modelSearch:focus-within{color:var(--accent);background:#fff;border-color:#cfc5f5;box-shadow:0 0 0 3px #6d4aff0b}.modelSearch input{width:100%;min-width:0;color:#30333a;background:transparent;border:0;outline:0;font-size:13px}.modelFilters{display:flex;gap:5px;margin:8px 0 1px;padding-bottom:2px;overflow-x:auto;scrollbar-width:none}.modelFilters::-webkit-scrollbar{display:none}.modelFilters button{flex:none;min-height:32px;padding:0 10px;color:#626975;background:#f4f5f7;border:1px solid #e7e8eb;border-radius:999px;font-size:12px}.modelFilters button:hover,.modelFilters button.isActive{color:#6246cf;background:#f0ecff;border-color:#ddd4ff}.modelList{display:grid;gap:2px;max-height:min(430px,56vh);margin-top:8px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.modelList>p{margin:22px 5px;color:#6f7580;text-align:center;font-size:12px}.modelRow{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;min-height:49px;background:transparent;border:1px solid transparent;border-radius:10px}.modelRow:hover,.modelRow.isSelected{background:#f4f1ff;border-color:#e8e1ff}.modelChoice{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;min-height:47px;padding:7px 5px 7px 9px;color:#373a41;text-align:left;background:transparent;border:0}.modelChoice:disabled{opacity:.5}.modelChoice>span:nth-child(2){display:grid;min-width:0;gap:2px}.modelFavorite{display:grid;place-items:center;width:30px;height:30px;padding:0;color:#a5a9b0;background:transparent;border:0;border-radius:8px;font-size:16px}.modelFavorite:hover,.modelFavorite.isFavorite{color:#785de2;background:#e9e3ff}.modelList strong,.modelList small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modelList strong{font-size:13px;font-weight:650}.modelList small{color:#747b86;font-size:12px}.modelList em{color:#656c77;font-size:12px;font-style:normal}.modelRow.isSelected em{color:#684bd3;font-weight:650}.modelMenuFooter{margin:7px 3px 0;padding-top:8px;color:#6f7580;border-top:1px solid #eceef1;font-size:12px}.topActions{display:flex;align-items:center;gap:6px;margin-left:auto}.topActions button{display:flex;align-items:center;gap:5px;height:34px;padding:0 10px;color:#565b64;background:transparent;border:1px solid transparent;border-radius:9px;font-size:12px}.topActions button:hover{color:#25282d;background:#f3f4f6;border-color:#e6e8eb}.topActions button:disabled{cursor:default;opacity:.35}.networkStatus{display:flex;align-items:center;gap:6px;margin-left:3px;padding:6px 9px;color:#3f6559;background:#f1f8f5;border-radius:999px;font-size:12px}.networkStatus i{width:6px;height:6px;background:#20a478;border-radius:50%;box-shadow:0 0 0 3px #20a4781f}.networkStatus.offline{color:#9b4d45;background:#fff1ef}.networkStatus.offline i{background:#d35c50;box-shadow:none}.conversationSearch{position:absolute;z-index:14;top:70px;right:max(18px,calc((100% - 850px)/2));display:flex;align-items:center;gap:6px;width:min(430px,calc(100% - 36px));min-height:44px;padding:6px 7px 6px 11px;color:#777c85;background:#fffffff2;border:1px solid #dddfe4;border-radius:13px;box-shadow:0 14px 38px #20232d24;backdrop-filter:blur(18px)}.conversationSearch input{flex:1;min-width:0;color:#30333a;background:transparent;border:0;outline:0;font-size:13px}.conversationSearch .searchCount{flex:none;min-width:64px;color:#6f7580;text-align:center;font-size:12px;font-variant-numeric:tabular-nums}.conversationSearch button{display:grid;place-items:center;flex:none;width:29px;height:29px;padding:0;color:#666b73;background:#f3f4f6;border:1px solid #e4e6e9;border-radius:8px;font-size:14px}.conversationSearch button:hover:not(:disabled){color:var(--accent);background:var(--accent-soft);border-color:#d9d0fa}.conversationSearch button:disabled{cursor:default;opacity:.35}.conversation{min-height:0;overflow-y:auto;overscroll-behavior:contain;background:radial-gradient(circle at 52% -25%,#f3efff 0,#fff 38%);scroll-behavior:smooth;scrollbar-gutter:stable}.conversation.isEmpty{display:grid;place-items:center}.welcome{width:min(780px,calc(100% - 40px));padding:44px 0 32px;text-align:center}.welcomeOrb{width:55px;height:55px;margin:0 auto 20px;border-radius:17px;font-size:21px;box-shadow:0 14px 35px #5c43c929}.eyebrow{margin:0 0 7px;color:#745bd7;font-size:12px;font-weight:760;letter-spacing:.18em}.welcome h1{margin:0;color:#202228;font-size:clamp(31px,4vw,43px);line-height:1.15;letter-spacing:-.045em}.welcomeText{margin:10px 0 30px;color:var(--muted);font-size:14px}.suggestions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.suggestions button{display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto;column-gap:11px;padding:15px;color:#2c2f35;text-align:left;background:#ffffffd9;border:1px solid #e7e6ec;border-radius:15px;box-shadow:0 3px 13px #24203808;transition:.17s ease}.suggestions button:hover{border-color:#cec6f4;transform:translateY(-2px);box-shadow:0 11px 27px #3b267d13}.suggestions button:disabled{cursor:not-allowed;opacity:.55;transform:none;box-shadow:none}.suggestions button>span{grid-row:1 / 3;display:grid;place-items:center;width:34px;height:34px;color:var(--accent);background:var(--accent-soft);border-radius:10px}.suggestions strong{align-self:end;font-size:12px}.suggestions small{margin-top:3px;color:#656c77;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.messageList{width:min(850px,calc(100% - 42px));margin:0 auto;padding:30px 0 70px}.message{display:grid;grid-template-columns:36px minmax(0,1fr);gap:14px;padding:18px 0;content-visibility:auto;contain-intrinsic-block-size:auto 150px}.message.isSearchMatch{background:#fffdf3;border-radius:13px;box-shadow:inset 0 0 0 1px #eee5b4}.message.isCurrentMatch{background:#fff9d9;box-shadow:inset 0 0 0 2px #d8bf4f}.message.user{display:flex;justify-content:flex-end;padding:12px 0}.assistantAvatar{display:grid;place-items:center;width:36px;height:36px;color:#fff;background:linear-gradient(145deg,#17181c,#34313f);border:1px solid #44414d;border-radius:11px;font-size:12px;font-weight:740;box-shadow:0 5px 16px #31275625}.messageContent{min-width:0}.message.user .messageContent{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;max-width:min(82%,690px)}.messageContent>header{display:flex;align-items:center;gap:8px;min-height:25px}.message.user .messageContent>header{display:none}.messageContent>header strong{color:#292c31;font-size:12px}.messageContent>header small{padding:2px 7px;color:#684bc8;background:#f0ecff;border-radius:999px;font-size:12px;font-weight:620}.messageContent>header .stageBadge{color:#397b68;background:#eaf7f1}.messageContent>header .durationBadge{color:#777c84;background:#f1f2f4;font-variant-numeric:tabular-nums}.messageTime{margin-left:auto;color:#6f7580;font-size:12px;font-weight:450;font-variant-numeric:tabular-nums;white-space:nowrap}.messageBubble{color:#292c32;overflow-wrap:anywhere;font-size:14px;line-height:1.75}.message.user .messageBubble{grid-column:1;grid-row:1;padding:10px 15px;background:#f0f1f3;border:1px solid #e7e8ea;border-radius:17px 17px 5px;line-height:1.6}.messageBubble>p{margin:0;white-space:pre-wrap}.streamingText{min-height:1.75em;white-space:pre-wrap;overflow-wrap:anywhere}.streamCursor{display:inline-block;width:7px;height:17px;margin-left:3px;vertical-align:-3px;background:var(--accent);border-radius:2px;animation:blink .85s infinite}@keyframes blink{50%{opacity:.15}}.messageActions{display:flex;gap:3px;margin-top:7px;opacity:0;transition:opacity .14s}.generatedImages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.generatedImages button{padding:0;overflow:hidden;background:#f2f3f5;border:1px solid #e1e3e7;border-radius:13px}.generatedImages img{display:block;width:100%;max-height:520px;object-fit:contain}.generatedVideos{display:grid;gap:8px;margin-top:10px}.generatedVideos video{display:block;width:100%;max-height:560px;background:#000;border:1px solid #e1e3e7;border-radius:13px}.generatedAudios{display:grid;gap:8px;margin-top:10px}.generatedAudios audio{display:block;width:min(100%,560px);min-height:48px}.message:hover .messageActions,.messageActions:focus-within{opacity:1}.messageActions button{display:grid;place-items:center;width:29px;height:29px;padding:0;color:#777c84;background:transparent;border:1px solid transparent;border-radius:8px}.messageActions button:hover{color:#34373d;background:#f1f2f4;border-color:#e7e8eb}.messageActions button.isSpeaking{color:#684bd3;background:#f0ecff;border-color:#d9d0fa}.messageActions button.isBookmarked,.messageActions button.hasNote{color:#7851d6;background:#f0ecff;border-color:#d9d0fa}.messageActions button:disabled{opacity:.38}.messageNote{max-width:680px;margin-top:9px;padding:9px 11px;color:#4d465e;background:#f7f4ff;border:1px solid #e1daf7;border-left:3px solid #8971db;border-radius:9px}.messageNote strong{display:block;margin-bottom:3px;color:#6c55bb;font-size:11px}.messageNote p{margin:0;overflow-wrap:anywhere;white-space:pre-wrap;font-size:12px;line-height:1.55}.message.user .messageNote{grid-column:1 / -1;justify-self:end;max-width:100%}.variantToolbar{display:flex;align-items:center;gap:5px;width:max-content;margin-top:8px;padding:3px;color:#6f7580;background:#f5f6f8;border:1px solid #e5e7ea;border-radius:9px;font-size:12px;font-variant-numeric:tabular-nums}.variantToolbar button{display:grid;place-items:center;width:30px;height:30px;padding:0;color:#62666e;background:#fff;border:1px solid #e1e3e7;border-radius:7px;font-size:17px;line-height:1}.variantToolbar button:hover:not(:disabled){color:var(--accent);border-color:#cfc5f4}.variantToolbar button:disabled{cursor:default;opacity:.35}.variantToolbar span{min-width:62px;text-align:center}.userActions{grid-column:2;grid-row:1;justify-content:flex-end;margin:0}.userActions .messageTime{margin:0 2px 0 0;align-self:center;opacity:0;transition:opacity .14s}.message:hover .userActions .messageTime,.userActions:focus-within .messageTime{opacity:1}.message.user .messageAttachments{grid-column:1 / -1;justify-content:flex-end}.markdownPending{white-space:pre-wrap}.markdown>:first-child{margin-top:0}.markdown>:last-child{margin-bottom:0}.markdown p,.markdown ul,.markdown ol,.markdown blockquote,.markdown table{margin:.72em 0}.markdown h1,.markdown h2,.markdown h3,.markdown h4{margin:1.25em 0 .55em;color:#202329;line-height:1.28;letter-spacing:-.02em}.markdown h1{font-size:1.55em}.markdown h2{padding-bottom:.3em;border-bottom:1px solid var(--line);font-size:1.32em}.markdown h3{font-size:1.14em}.markdown ul,.markdown ol{padding-left:1.55em}.markdown li+li{margin-top:.28em}.markdown blockquote{padding:.15em 1em;color:#656b75;background:#f7f7fa;border-left:3px solid #b9aae9;border-radius:0 8px 8px 0}.markdown a{color:#6245d5;text-decoration-thickness:1px;text-underline-offset:2px}.markdown code:not(pre code){padding:.16em .38em;color:#5d3cc4;background:#f1edfc;border-radius:5px;font:.9em ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.markdown pre{position:relative;margin:1em 0;overflow:auto;color:#e7e9ee;background:#111318;border:1px solid #292c33;border-radius:12px;box-shadow:0 8px 25px #15141b15}.markdown pre code{display:block;padding:18px;background:transparent!important;font:12px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.codeCopy{position:absolute;top:8px;right:8px;min-height:30px;padding:5px 9px;color:#d4d7dd;background:#252830ed;border:1px solid #4b505b;border-radius:7px;font-size:12px;opacity:0;transition:opacity .15s}.markdown pre:hover .codeCopy,.codeCopy:focus-visible{opacity:1}.markdown table{display:block;width:100%;overflow-x:auto;border-collapse:collapse}.markdown th,.markdown td{padding:7px 10px;border:1px solid #dddfe4;text-align:left}.markdown th{background:#f5f6f8;font-weight:650}.markdown hr{height:1px;margin:1.5em 0;background:var(--line);border:0}.markdown img{max-width:100%;border-radius:12px}.messageAttachments,.pendingAttachments{display:flex;flex-wrap:wrap;gap:8px}.messageAttachments{margin-top:9px}.pendingAttachments{width:min(820px,100%);margin:0 auto 8px}.attachmentChip{position:relative;display:flex;align-items:center;gap:8px;width:min(210px,100%);min-height:54px;padding:7px 9px;color:#444850;background:#f6f7f9;border:1px solid #e2e4e8;border-radius:11px}.attachmentImage{flex:none;width:40px;height:40px;padding:0;overflow:hidden;background:#e9eaed;border:0;border-radius:8px}.attachmentImage img{width:100%;height:100%;object-fit:cover}.fileGlyph{display:grid;place-items:center;flex:none;width:36px;height:36px;color:#6b51d4;background:#ece8fb;border-radius:8px}.attachmentMeta{display:grid;min-width:0}.attachmentMeta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.attachmentMeta small{margin-top:2px;color:#6f7580;font-size:12px}.attachmentRemove{position:absolute;top:-7px;right:-7px;display:grid;place-items:center;width:26px;height:26px;padding:0;color:#fff;background:#4a4d54;border:2px solid #fff;border-radius:50%;font-size:14px}.composerArea{position:relative;z-index:8;padding:12px 20px max(13px,env(safe-area-inset-bottom));background:linear-gradient(#fff0,#fffffff0 19%,#fff 36%)}.creativeModeBar{display:flex;gap:5px;width:min(850px,100%);margin:0 auto 8px;padding:4px;background:#f2f3f6;border:1px solid #e1e3e8;border-radius:13px}.creativeModeBar button{flex:1;min-height:34px;padding:6px 12px;color:#686d76;background:transparent;border:0;border-radius:9px;font-size:13px;font-weight:650}.creativeModeBar button:hover:not(:disabled){color:#3c3f46;background:#e8e9ed}.creativeModeBar button.isActive{color:#fff;background:#24262b;box-shadow:0 3px 9px #24262b22}.creativeSettings{display:flex;flex-wrap:wrap;align-items:end;gap:7px;width:min(850px,100%);margin:0 auto 8px;padding:9px 10px;background:#fafafb;border:1px solid #e1e3e8;border-radius:13px}.creativeSettings label{display:grid;gap:4px;min-width:96px;color:#6a6f78;font-size:11px;font-weight:620}.creativeSettings select{min-height:34px;padding:5px 28px 5px 9px;color:#33363c;background:#fff;border:1px solid #d9dbe1;border-radius:8px;font-size:13px}.audioModeSwitch{display:flex;gap:3px;align-self:end;padding:3px;background:#eceef2;border-radius:9px}.audioModeSwitch button{min-height:28px;padding:5px 9px;color:#696e76;background:transparent;border:0;border-radius:7px;font-size:12px}.audioModeSwitch button.isActive{color:#fff;background:#5d48b8}.videoInputControls{display:flex;gap:3px;align-self:end;padding:3px;background:#eceef2;border-radius:9px}.videoInputControls button{min-height:28px;padding:5px 9px;color:#696e76;background:transparent;border:0;border-radius:7px;font-size:12px;white-space:nowrap}.videoInputControls button:hover:not(:disabled){color:#4e3fa0;background:#e2deef}.videoInputControls button.isActive{color:#fff;background:#5d48b8}.videoInputControls button:disabled{cursor:default;opacity:.45}.audioUploadHint{align-self:center;color:#777c85;font-size:12px}.composer{position:relative;display:grid;grid-template-columns:38px 38px minmax(0,1fr) 38px;align-items:end;gap:7px;width:min(850px,100%);min-height:61px;margin:0 auto;padding:10px 11px;background:#fff;border:1px solid #d6d8dd;border-radius:20px;box-shadow:0 9px 31px #1f223017;transition:.16s}.composer.hasOneTool{grid-template-columns:38px minmax(0,1fr) 38px}.composer:focus-within{border-color:#b6a9ea;box-shadow:0 11px 36px #4a36841a,0 0 0 3px #6d4aff0c}.composer textarea{resize:none;width:100%;min-height:36px;max-height:190px;padding:8px 3px;color:#292b30;background:transparent;border:0;outline:0;line-height:1.5;overflow-y:auto}.composer textarea::placeholder{color:#92969d}.attachButton,.promptButton,.sendButton{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%}.attachButton,.promptButton{color:#565a62;background:#f2f3f5;font-size:20px}.attachButton:hover,.promptButton:hover{color:var(--accent);background:#e9eaed}.sendButton{color:#fff;background:#1d1f23;font-size:19px;font-weight:700;transition:.15s}.sendButton:not(:disabled):hover{background:var(--accent);transform:scale(1.04)}.sendButton:disabled{color:#aaaeb5;cursor:default;background:#eceef1}.stopButton{background:#24262b}.stopButton .icon{fill:currentColor}.charCount{position:absolute;right:58px;bottom:-20px;color:#6f7580;font-size:12px}.charCount.isNear{color:#ae5b4e}.disclaimer{margin:7px 0 0;color:#6f7580;text-align:center;font-size:12px;line-height:1.45}.disclaimer a{margin-left:5px;color:#654bc4;text-underline-offset:2px}.draftNotice{display:inline-block;margin-left:7px;padding-left:7px;color:#6e5cad;border-left:1px solid #d6d0e9}.contextNotice{display:inline-block;margin-left:7px;padding-left:7px;color:#7b6aae;border-left:1px solid #d6d0e9}.errorBanner{display:flex;align-items:center;justify-content:space-between;gap:10px;width:min(820px,100%);margin:0 auto 8px;padding:8px 10px;color:#96362f;background:#fff2f1;border:1px solid #f2c7c2;border-radius:9px;font-size:12px}.errorBanner button{display:grid;place-items:center;flex:none;width:25px;height:25px;padding:0;color:inherit;background:#fff;border:1px solid #ecc3be;border-radius:50%}.toast{position:fixed;z-index:1100;left:50%;bottom:100px;display:flex;align-items:center;gap:11px;transform:translate(-50%);padding:9px 13px;color:#fff;background:#1f2126f5;border:1px solid #ffffff2b;border-radius:10px;box-shadow:0 12px 32px #0004;backdrop-filter:blur(12px);font-size:12px;animation:toastIn .18s ease-out}.toast.hasAction{padding:7px 8px 7px 13px}.toast button{min-width:52px;height:32px;padding:0 10px;color:#e0d9ff;background:#ffffff17;border:1px solid #ffffff30;border-radius:7px;font-size:12px;font-weight:650}.toast button:hover{color:#fff;background:#ffffff20}@keyframes toastIn{0%{opacity:0;transform:translate(-50%,7px)}}.updateNotice{position:fixed;z-index:1150;right:18px;bottom:18px;display:flex;align-items:center;gap:10px;max-width:calc(100vw - 36px);padding:10px;color:#f4f5f7;background:#202228f5;border:1px solid #ffffff24;border-radius:13px;box-shadow:0 16px 45px #0005}.updateNotice>span{display:grid;gap:2px;padding-left:3px}.updateNotice strong{font-size:13px}.updateNotice small{color:#b9bdc5;font-size:12px}.updateNotice button{height:34px;padding:0 11px;color:#282a30;background:#e3dcff;border:0;border-radius:8px;font-size:12px;font-weight:650}.updateNotice .updateDismiss{width:30px;padding:0;color:#c4c7ce;background:transparent;font-size:20px}.scrollToBottom{position:absolute;z-index:12;right:max(24px,calc((100% - 850px)/2));bottom:102px;display:grid;place-items:center;width:38px;height:38px;padding:0;color:#555a63;background:#fffffff2;border:1px solid #dfe1e5;border-radius:50%;box-shadow:0 8px 24px #25283622;backdrop-filter:blur(12px);animation:scrollButtonIn .16s ease-out}.scrollToBottom:hover{color:var(--accent);border-color:#cfc5f5;transform:translateY(-1px)}@keyframes scrollButtonIn{0%{opacity:0;transform:translateY(6px)}}.dialogBackdrop{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:18px;background:#1213198f;backdrop-filter:blur(9px)}.dialog{width:min(440px,100%);padding:19px;background:#fff;border:1px solid #ffffffa6;border-radius:18px;box-shadow:0 28px 80px #08091066;animation:dialogIn .18s ease-out}@keyframes dialogIn{0%{opacity:0;transform:translateY(8px) scale(.985)}}.dialogHeader{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.dialogHeader h2{margin:0;color:#25282d;font-size:16px;letter-spacing:-.02em}.dialogHeader .plainIcon{width:32px;height:32px;color:#6e737c;background:#f3f4f6;border-radius:9px;font-size:21px}.dialogIntro{margin:0 0 16px;color:#737780;font-size:12px;line-height:1.65}.commandDialog{width:min(570px,100%);padding-bottom:13px}.commandSearch{display:flex;align-items:center;gap:9px;height:44px;padding:0 11px;color:#7b8089;background:#f5f6f8;border:1px solid #dfe1e5;border-radius:11px}.commandSearch:focus-within{color:var(--accent);background:#fff;border-color:#bfb3ec;box-shadow:0 0 0 3px #6d4aff0b}.commandSearch input{flex:1;min-width:0;color:#292c32;background:transparent;border:0;outline:0;font-size:13px}.commandList{display:grid;gap:3px;max-height:min(430px,56vh);margin-top:10px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.commandList button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:53px;padding:8px 10px;color:#34373d;text-align:left;background:transparent;border:1px solid transparent;border-radius:10px}.commandList button:hover,.commandList button.isActive{background:#f3f0ff;border-color:#e0d9fa}.commandList button:disabled{cursor:default;opacity:.42}.commandList button>span{display:grid;min-width:0;gap:3px}.commandList strong,.commandList small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.commandList strong{font-size:13px}.commandList small{color:#747982;font-size:12px}.commandList kbd{flex:none;padding:3px 6px;color:#676b73;background:#fff;border:1px solid #dfe1e5;border-radius:6px;box-shadow:0 1px #d6d8dc;font-size:10px}.emptyCommands{margin:24px 8px;color:#737780;text-align:center;font-size:12px}.commandHint{display:flex;gap:14px;margin:9px 3px 0;padding-top:9px;color:#858a93;border-top:1px solid #eceef1;font-size:10px}.outlineDialog{width:min(650px,100%)}.outlineSummary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-2px 2px 10px}.outlineSummary strong{min-width:0;overflow:hidden;color:#34373d;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.outlineSummary span{flex:none;color:#777c85;font-size:11px}.outlineSearch{display:flex;align-items:center;gap:8px;height:40px;padding:0 10px;color:#7d828b;background:#f5f6f8;border:1px solid #dfe1e5;border-radius:10px}.outlineSearch:focus-within{color:var(--accent);background:#fff;border-color:#bfb3ec;box-shadow:0 0 0 3px #6d4aff0b}.outlineSearch input{flex:1;min-width:0;color:#30333a;background:transparent;border:0;outline:0;font-size:13px}.outlineFilters{display:flex;gap:5px;margin:8px 0;overflow-x:auto;scrollbar-width:none}.outlineFilters::-webkit-scrollbar{display:none}.outlineFilters button{display:flex;align-items:center;gap:5px;flex:none;min-height:31px;padding:0 9px;color:#686d76;background:#f4f5f7;border:1px solid #e3e5e8;border-radius:999px;font-size:11px}.outlineFilters button.isActive{color:#664bc4;background:#f0ecff;border-color:#d8cff8}.outlineFilters button span{min-width:17px;padding:1px 4px;color:#777c85;background:#fff;border-radius:999px;text-align:center;font-size:10px;font-variant-numeric:tabular-nums}.outlineList{display:grid;gap:3px;max-height:min(480px,55vh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.outlineList>button{display:grid;grid-template-columns:27px minmax(0,1fr);align-items:start;gap:9px;width:100%;padding:9px;color:#34373d;text-align:left;background:transparent;border:1px solid transparent;border-radius:10px}.outlineList>button:hover{background:#f5f2ff;border-color:#e1daf8}.outlineRole{display:grid;place-items:center;width:27px;height:27px;color:#fff;background:#34313f;border-radius:8px;font-size:9px;font-weight:700}.outlineRole.user{color:#5f6570;background:#eceef1}.outlineCopy{display:grid;min-width:0;gap:4px}.outlineCopy strong{display:-webkit-box;overflow:hidden;color:inherit;font-size:12px;font-weight:570;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}.outlineCopy small{overflow:hidden;color:#7a7f88;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.emptyOutline{margin:25px 8px;color:#737780;text-align:center;font-size:12px}.bookmarkDialog{width:min(620px,100%)}.bookmarkList{display:grid;align-content:start;gap:7px;max-height:min(500px,62vh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.emptyBookmarks{margin:24px 8px;color:#6f7580;text-align:center;font-size:12px}.bookmarkItem{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:7px;padding:7px;background:#f7f7f9;border:1px solid #e5e6e9;border-radius:11px}.bookmarkItem:hover{background:#f7f5ff;border-color:#d8cff8}.bookmarkOpen{display:grid;min-width:0;gap:4px;padding:3px 5px;color:#35383e;text-align:left;background:transparent;border:0}.bookmarkOpen strong,.bookmarkOpen small,.bookmarkOpen span{overflow:hidden;text-overflow:ellipsis}.bookmarkOpen strong,.bookmarkOpen small{white-space:nowrap}.bookmarkOpen strong{font-size:13px}.bookmarkOpen small{color:#765fc8;font-size:12px}.bookmarkOpen span{display:-webkit-box;color:#646a74;font-size:12px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:3}.bookmarkRemove{display:grid;place-items:center;width:32px;height:32px;padding:0;color:#8a8e96;background:#fff;border:1px solid #dfe1e5;border-radius:8px}.bookmarkRemove:hover{color:#9e3f38;background:#fff3f2;border-color:#eccbc8}.shortcutList{margin:0}.shortcutList>div{display:flex;justify-content:space-between;padding:10px 2px;border-bottom:1px solid #eceef1}.shortcutList>div:last-child{border:0}.shortcutList dt{color:#555a62;font-size:12px}.shortcutList dd{margin:0;padding:3px 7px;color:#555a63;background:#f1f2f4;border:1px solid #e2e4e7;border-radius:6px;font-size:12px}.dataActions{display:grid;gap:8px}.dataActions button{display:grid;gap:3px;padding:13px;text-align:left;background:#f7f7f9;border:1px solid #e4e5e9;border-radius:11px}.dataActions button:hover{border-color:#cfc6f1;background:#f7f5ff}.dataActions strong{color:#35383e;font-size:12px}.dataActions small{color:#6f7580;font-size:12px}.dataSummary{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:0 0 13px}.dataSummary span{display:grid;gap:2px;padding:11px 8px;text-align:center;background:#f5f6f8;border:1px solid #e7e8eb;border-radius:10px}.dataSummary strong{color:#363940;font-size:15px}.dataSummary small{color:#6f7580;font-size:12px}.usageSummary{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:-6px 0 13px;padding-top:9px;border-top:1px solid #eceef1}.usageSummary span{display:grid;gap:2px;padding:7px 5px;text-align:center}.usageSummary strong{color:#545861;font-size:12px;font-variant-numeric:tabular-nums}.usageSummary small{color:#6f7580;font-size:12px}.serviceHealthCard{margin:-2px 0 13px;padding:11px;background:#f7f8fa;border:1px solid #e2e4e8;border-radius:11px}.serviceHealthCard header{display:flex;align-items:center;justify-content:space-between;gap:10px}.serviceHealthCard header>span{display:flex;align-items:center;gap:7px}.serviceHealthCard header i{width:8px;height:8px;background:#999da6;border-radius:50%;box-shadow:0 0 0 3px #999da619}.serviceHealthCard.ok header i{background:#28a56a;box-shadow:0 0 0 3px #28a56a1c}.serviceHealthCard.degraded header i{background:#d3922e;box-shadow:0 0 0 3px #d3922e20}.serviceHealthCard.error header i{background:#cf5b50;box-shadow:0 0 0 3px #cf5b5020}.serviceHealthCard header strong{color:#3b3e45;font-size:12px}.serviceHealthCard header button{display:grid;width:28px;height:28px;place-items:center;padding:0;color:#747982;background:transparent;border:0;border-radius:7px}.serviceHealthCard header button:hover{color:var(--accent);background:#ece9f8}.serviceHealthCard header button:disabled{opacity:.6}.serviceHealthCard header button.isSpinning .icon{animation:spin .8s linear infinite}.serviceHealthCard>p{margin:9px 0 1px;color:#747983;font-size:12px;line-height:1.5}.serviceHealthStats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:9px}.serviceHealthStats span{display:grid;min-width:0;gap:2px;text-align:center}.serviceHealthStats strong{overflow:hidden;color:#4e525a;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}.serviceHealthStats small,.serviceHealthTime{color:#7b8089;font-size:10px}.serviceHealthTime{display:block;margin-top:8px;text-align:right}.dataActions .dangerAction{color:#a23c34;background:#fff5f4;border-color:#f1d9d6}.dataActions .dangerAction strong{color:inherit}.dataActions .dangerAction:disabled{cursor:default;opacity:.5}.importPreviewDialog{width:min(520px,100%)}.importStats{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.importStats span{display:grid;gap:3px;padding:11px 6px;text-align:center;background:#f5f6f8;border:1px solid #e6e8eb;border-radius:10px}.importStats strong{color:#373a41;font-size:16px;font-variant-numeric:tabular-nums}.importStats small{color:#737881;font-size:11px}.importStats .hasWarning{background:#fff5f3;border-color:#efd3ce}.importStats .hasWarning strong{color:#a4463d}.importPreferenceSummary{display:grid;gap:3px;margin-top:10px;padding:11px 12px;color:#3e4249;background:#f7f5ff;border:1px solid #e3ddf8;border-radius:10px}.importPreferenceSummary strong{font-size:12px}.importPreferenceSummary span{color:#716a85;font-size:12px;line-height:1.5}.dialogActions{display:grid;gap:7px}.dialogActions button{height:40px;color:#393c43;background:#f5f6f8;border:1px solid #e2e4e7;border-radius:10px}.dialogActions .danger{color:var(--danger);background:#fff2f1;border-color:#f0d0cd}.renameForm input{width:100%;height:42px;padding:0 11px;color:#30333a;border:1px solid #d9dbe0;border-radius:10px;outline:0}.renameForm>div,.confirmActions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.renameForm button,.confirmActions button{min-width:74px;height:37px;color:#575b63;background:#f3f4f6;border:1px solid #e0e2e6;border-radius:9px}.renameForm button.primary{color:#fff;background:#22242a;border-color:#22242a}.tagForm{display:grid;gap:12px}.tagForm label{display:grid;gap:6px;color:#5f646d;font-size:12px}.tagForm input{width:100%;height:42px;padding:0 11px;color:#30333a;background:#fff;border:1px solid #d9dbe0;border-radius:10px;outline:0}.tagForm input:focus{border-color:#b9aceb;box-shadow:0 0 0 3px #6d4aff0b}.tagForm label small{color:#7a7f88;line-height:1.5}.tagSuggestions{display:flex;flex-wrap:wrap;gap:6px}.tagSuggestions button{display:flex;align-items:center;gap:5px;min-height:30px;padding:0 9px;color:#664fc0;background:#f3f0ff;border:1px solid #ded6fa;border-radius:999px;font-size:11px}.tagSuggestions button:hover{background:#eae4ff;border-color:#cfc3f5}.tagSuggestions button span{color:#8a7db8;font-size:10px}.tagForm>div:last-child{display:flex;justify-content:flex-end;gap:8px;margin-top:2px}.tagForm>div:last-child button{min-width:78px;height:37px;color:#575b63;background:#f3f4f6;border:1px solid #e0e2e6;border-radius:9px}.tagForm>div:last-child button.primary{color:#fff;background:#22242a;border-color:#22242a}.backupForm{display:grid;gap:11px}.backupForm label{display:grid;gap:5px;color:#656a73;font-size:12px}.backupForm input{width:100%;height:42px;padding:0 11px;color:#30333a;background:#fff;border:1px solid #d9dbe0;border-radius:10px;outline:0;font-size:14px}.backupForm input:focus{border-color:#b9aceb;box-shadow:0 0 0 3px #6d4aff0b}.backupForm>div{display:flex;justify-content:flex-end;gap:8px;margin-top:3px}.backupForm button{min-width:84px;height:38px;color:#575b63;background:#f3f4f6;border:1px solid #e0e2e6;border-radius:9px}.backupForm button.primary{color:#fff;background:#22242a;border-color:#22242a}.backupForm button:disabled{cursor:default;opacity:.55}.backupError{margin:0;padding:8px 10px;color:#96362f;background:#fff2f1;border:1px solid #f2c7c2;border-radius:9px;font-size:12px}.branchDialog{width:min(580px,100%)}.noteDialog{width:min(560px,100%)}.noteForm{display:grid;gap:8px}.noteForm textarea{width:100%;min-height:150px;padding:11px 12px;color:#30333a;background:#fff;border:1px solid #d9dbe0;border-radius:11px;outline:0;resize:vertical;font-size:13px;line-height:1.6}.noteForm textarea:focus{border-color:#b9aceb;box-shadow:0 0 0 3px #6d4aff0b}.noteForm>small{color:#6f7580;text-align:right;font-size:11px}.noteForm>div{display:flex;justify-content:flex-end;gap:8px;margin-top:3px}.noteForm button{min-width:78px;height:38px;color:#575b63;background:#f3f4f6;border:1px solid #e0e2e6;border-radius:9px}.noteForm button.primary{color:#fff;background:#22242a;border-color:#22242a}.branchForm{display:grid;gap:8px}.branchForm textarea{width:100%;min-height:150px;padding:11px 12px;color:#30333a;background:#fff;border:1px solid #d9dbe0;border-radius:11px;outline:0;resize:vertical;font-size:12px;line-height:1.6}.branchForm textarea:focus{border-color:#b9aceb;box-shadow:0 0 0 3px #6d4aff0b}.branchForm>small{color:#6f7580;text-align:right;font-size:12px}.branchForm>div{display:flex;justify-content:flex-end;gap:8px;margin-top:3px}.branchForm button{min-width:78px;height:38px;color:#575b63;background:#f3f4f6;border:1px solid #e0e2e6;border-radius:9px}.branchForm button.primary{color:#fff;background:#22242a;border-color:#22242a}.branchForm button:disabled{opacity:.45}.confirmActions button.danger{color:#fff;background:var(--danger);border-color:var(--danger)}.confirmActions button.primary{color:#fff;background:#22242a;border-color:#22242a}.promptDialog{width:min(720px,100%)}.promptLibrary{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr);gap:14px}.promptList{display:grid;align-content:start;gap:7px;max-height:min(440px,58vh);overflow-y:auto;scrollbar-width:thin}.emptyPrompts{margin:20px 4px;color:#6f7580;text-align:center;font-size:12px}.promptItem{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:8px;background:#f7f7f9;border:1px solid #e5e6e9;border-radius:11px}.promptItem.isEditing{background:#f5f2ff;border-color:#d8cff8}.promptUse{display:grid;min-width:0;gap:4px;padding:2px 3px;color:#35383e;text-align:left;background:transparent;border:0}.promptUse strong,.promptUse small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.promptUse strong{font-size:13px}.promptUse small{color:#6f7580;font-size:12px}.promptItemActions{display:flex;align-items:center;gap:3px}.promptItemActions button{min-height:32px;padding:0 8px;color:#656a73;background:#fff;border:1px solid #dfe1e5;border-radius:7px;font-size:12px}.promptItemActions button:last-child:hover{color:var(--danger)}.promptForm{align-self:start;display:grid;gap:9px;padding:12px;background:#f5f6f8;border:1px solid #e4e6e9;border-radius:12px}.promptForm>strong{color:#3b3e44;font-size:12px}.promptForm label{display:grid;gap:4px;color:#656a73;font-size:12px}.promptForm input,.promptForm textarea{width:100%;padding:9px 10px;color:#30333a;background:#fff;border:1px solid #dfe1e5;border-radius:9px;outline:0;resize:vertical;font-size:13px;line-height:1.5}.promptForm input:focus,.promptForm textarea:focus{border-color:#b9aceb;box-shadow:0 0 0 3px #6d4aff0b}.promptForm>div{display:flex;justify-content:flex-end;gap:7px}.promptForm>div button{min-width:68px;height:36px;color:#565b64;background:#fff;border:1px solid #dddfe3;border-radius:8px;font-size:12px}.promptForm>div button.primary{color:#fff;background:#25272c;border-color:#25272c}.imageViewer{position:fixed;z-index:1200;inset:0;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 40%,#333648d9,#08090df5 63%);backdrop-filter:blur(14px)}.imageCanvas{display:grid;place-items:center;width:min(1200px,95vw);height:min(850px,89vh);overflow:hidden}.imageCanvas img{max-width:92%;max-height:78vh;object-fit:contain;border-radius:10px;filter:drop-shadow(0 25px 40px #000a);transition:transform .18s}.viewerToolbar{position:fixed;left:50%;bottom:22px;display:flex;align-items:center;gap:6px;transform:translate(-50%);padding:8px;color:#e9ebef;background:#171920d9;border:1px solid #ffffff26;border-radius:15px;backdrop-filter:blur(18px);box-shadow:0 15px 42px #0008}.viewerToolbar button,.viewerToolbar span{min-width:38px;height:38px;padding:0 9px;color:inherit;background:#ffffff0f;border:1px solid #ffffff1d;border-radius:9px}.viewerToolbar span{display:grid;place-items:center;color:#d0d3da;font-size:12px}.viewerToolbar button:disabled{cursor:default;opacity:.38}.viewerToolbar .viewerClose{color:#ffc8c4;background:#cc443c2e}.mobileScrim{display:none}html[data-theme=dark]{color:#e8e9ed;background:#17181c;color-scheme:dark;--line: #303239;--muted: #9da1aa;--accent: #9b83ff;--accent-soft: #2c2740;--danger: #f07870}html[data-theme=dark] body,html[data-theme=dark] .appShell,html[data-theme=dark] .mainPanel{background:#17181c}html[data-theme=dark] .fatalScreen{color:#eceef2;background:radial-gradient(circle at 50% 30%,#29233b,#17181c 58%)}html[data-theme=dark] .fatalScreen p{color:#a4a8b1}html[data-theme=dark] .fatalScreen button{color:#17181c;background:#ded7ff}html[data-theme=dark] .topbar{background:#1a1b20eb;border-color:#303239}html[data-theme=dark] .menuButton{color:#c7c9cf}html[data-theme=dark] .collapseButton,html[data-theme=dark] .topActions button{color:#b9bdc6;background:#23252b;border-color:#34373f}html[data-theme=dark] .topActions button:hover,html[data-theme=dark] .collapseButton:hover{color:#fff;background:#2d3037;border-color:#41444d}html[data-theme=dark] .modelTrigger{color:#e6e8ec;background:#23252b;border-color:#353840}html[data-theme=dark] .modelTrigger:hover,html[data-theme=dark] .modelTrigger[aria-expanded=true]{background:#292b32;border-color:#6f61a9;box-shadow:0 7px 24px #0005}html[data-theme=dark] .modelTriggerText small{color:#969ba5}html[data-theme=dark] .modelMenu{color:#e6e8ec;background:#202228fa;border-color:#3a3d45;box-shadow:0 24px 70px #0008}html[data-theme=dark] .modelMenuHeader small,html[data-theme=dark] .modelList small,html[data-theme=dark] .modelList em,html[data-theme=dark] .modelMenuFooter{color:#969ba5}html[data-theme=dark] .modelMenuHeader button,html[data-theme=dark] .modelSearch{color:#aeb2ba;background:#292b31;border-color:#393c44}html[data-theme=dark] .modelSearch:focus-within{color:#b8a8ff;background:#25272d;border-color:#7162ad}html[data-theme=dark] .modelSearch input{color:#ebedf1}html[data-theme=dark] .modelFilters button{color:#a5a9b2;background:#292b31;border-color:#3a3d45}html[data-theme=dark] .modelFilters button:hover,html[data-theme=dark] .modelFilters button.isActive{color:#c7baff;background:#302b46;border-color:#4d4565}html[data-theme=dark] .modelChoice{color:#dfe1e6}html[data-theme=dark] .modelRow:hover,html[data-theme=dark] .modelRow.isSelected{background:#302b46;border-color:#48405f}html[data-theme=dark] .modelFavorite{color:#818690}html[data-theme=dark] .modelFavorite:hover,html[data-theme=dark] .modelFavorite.isFavorite{color:#c1b1ff;background:#41385d}html[data-theme=dark] .modelMenuFooter{border-color:#34363d}html[data-theme=dark] .networkStatus{color:#9fd3c0;background:#21342e}html[data-theme=dark] .networkStatus.offline{color:#eaa59e;background:#3b2827}html[data-theme=dark] .conversationSearch{color:#a6aab3;background:#22242af2;border-color:#3b3e46;box-shadow:0 16px 42px #0008}html[data-theme=dark] .conversationSearch input{color:#eceef2}html[data-theme=dark] .conversationSearch .searchCount{color:#999da6}html[data-theme=dark] .conversationSearch button{color:#bec1c8;background:#30323a;border-color:#42454d}html[data-theme=dark] .conversation{background:radial-gradient(circle at 52% -25%,#282339 0,#17181c 39%)}html[data-theme=dark] .welcome h1,html[data-theme=dark] .suggestions button{color:#f0f1f4}html[data-theme=dark] .suggestions button{background:#202228dc;border-color:#34363e;box-shadow:0 4px 18px #0002}html[data-theme=dark] .suggestions button:hover{border-color:#665a97;box-shadow:0 12px 30px #0005}html[data-theme=dark] .suggestions small{color:#999da6}html[data-theme=dark] .messageBubble{color:#e3e5e9}html[data-theme=dark] .message.isSearchMatch{background:#302e24;box-shadow:inset 0 0 0 1px #55503a}html[data-theme=dark] .message.isCurrentMatch{background:#3a3521;box-shadow:inset 0 0 0 2px #9d8840}html[data-theme=dark] .messageContent>header strong{color:#e9eaee}html[data-theme=dark] .messageContent>header small{color:#b9a8ff;background:#302a47}html[data-theme=dark] .messageContent>header .stageBadge{color:#9fd3c0;background:#21342e}html[data-theme=dark] .messageContent>header .durationBadge{color:#a4a8b1;background:#292b31}html[data-theme=dark] .messageTime{color:#8f949d}html[data-theme=dark] .message.user .messageBubble{background:#292b31;border-color:#373a42}html[data-theme=dark] .messageActions button{color:#9da2ab}html[data-theme=dark] .messageActions button:hover{color:#f1f2f4;background:#292c32;border-color:#393c43}html[data-theme=dark] .messageActions button.isSpeaking,html[data-theme=dark] .messageActions button.isBookmarked,html[data-theme=dark] .messageActions button.hasNote{color:#c0b2ff;background:#302b47;border-color:#5b4f86}html[data-theme=dark] .messageNote{color:#d2cce2;background:#292536;border-color:#48405f;border-left-color:#8c78d2}html[data-theme=dark] .messageNote strong{color:#bbaafa}html[data-theme=dark] .variantToolbar{color:#a2a6af;background:#25272d;border-color:#363941}html[data-theme=dark] .variantToolbar button{color:#bbbfc7;background:#30323a;border-color:#42454d}html[data-theme=dark] .markdown h1,html[data-theme=dark] .markdown h2,html[data-theme=dark] .markdown h3,html[data-theme=dark] .markdown h4{color:#f0f1f4}html[data-theme=dark] .markdown blockquote{color:#b1b5bd;background:#22242a;border-color:#7568ab}html[data-theme=dark] .markdown a{color:#af9cff}html[data-theme=dark] .markdown code:not(pre code){color:#c3b5ff;background:#2d2940}html[data-theme=dark] .markdown th,html[data-theme=dark] .markdown td{border-color:#3b3e46}html[data-theme=dark] .markdown th{background:#24262c}html[data-theme=dark] .attachmentChip{color:#d7d9de;background:#24262c;border-color:#393c43}html[data-theme=dark] .fileGlyph{color:#b8a7ff;background:#302b47}html[data-theme=dark] .attachmentMeta small{color:#999da6}html[data-theme=dark] .attachmentRemove{background:#60646d;border-color:#24262c}html[data-theme=dark] .composerArea{background:linear-gradient(#17181c00,#17181cf2 19%,#17181c 36%)}html[data-theme=dark] .creativeModeBar{background:#22242a;border-color:#393c44}html[data-theme=dark] .creativeModeBar button{color:#a6aab2}html[data-theme=dark] .creativeModeBar button:hover:not(:disabled){color:#eceef2;background:#30323a}html[data-theme=dark] .creativeModeBar button.isActive{color:#191a1e;background:#e3ddff}html[data-theme=dark] .creativeSettings{background:#202228;border-color:#393c44}html[data-theme=dark] .creativeSettings label,html[data-theme=dark] .audioUploadHint{color:#a4a8b0}html[data-theme=dark] .creativeSettings select{color:#e5e7eb;background:#2b2d34;border-color:#43464f}html[data-theme=dark] .audioModeSwitch{background:#2d3037}html[data-theme=dark] .audioModeSwitch button{color:#b3b7bf}html[data-theme=dark] .audioModeSwitch button.isActive{color:#fff;background:#6752c2}html[data-theme=dark] .videoInputControls{background:#2d3037}html[data-theme=dark] .videoInputControls button{color:#b3b7bf}html[data-theme=dark] .videoInputControls button:hover:not(:disabled){color:#e8e2ff;background:#39354a}html[data-theme=dark] .videoInputControls button.isActive{color:#fff;background:#6752c2}html[data-theme=dark] .composer{background:#22242a;border-color:#3a3d45;box-shadow:0 12px 34px #0005}html[data-theme=dark] .composer:focus-within{border-color:#7767b7;box-shadow:0 12px 36px #0006,0 0 0 3px #9b83ff16}html[data-theme=dark] .composer textarea{color:#eceef2}html[data-theme=dark] .composer textarea::placeholder{color:#8e939c}html[data-theme=dark] .attachButton,html[data-theme=dark] .promptButton{color:#c2c5cc;background:#30323a}html[data-theme=dark] .attachButton:hover,html[data-theme=dark] .promptButton:hover{background:#393c44}html[data-theme=dark] .sendButton{color:#191a1e;background:#e3ddff}html[data-theme=dark] .sendButton:disabled{color:#737780;background:#30323a}html[data-theme=dark] .stopButton{color:#fff;background:#50466f}html[data-theme=dark] .disclaimer,html[data-theme=dark] .charCount{color:#858a93}html[data-theme=dark] .contextNotice,html[data-theme=dark] .draftNotice{color:#aa9bdc;border-color:#484158}html[data-theme=dark] .scrollToBottom{color:#c4c7ce;background:#272930ed;border-color:#3d4048;box-shadow:0 8px 28px #0007}html[data-theme=dark] .dialog{background:#22242a;border-color:#3c3f47;box-shadow:0 28px 80px #000b}html[data-theme=dark] .dialogHeader h2{color:#f0f1f4}html[data-theme=dark] .dialogHeader .plainIcon{color:#b6bac2;background:#30323a}html[data-theme=dark] .dialogIntro{color:#a4a8b0}html[data-theme=dark] .commandSearch{color:#9ea3ac;background:#292b31;border-color:#41444c}html[data-theme=dark] .commandSearch:focus-within{color:#c4b6ff;background:#292b31;border-color:#6a5b98}html[data-theme=dark] .commandSearch input{color:#eceef2}html[data-theme=dark] .commandList button{color:#e2e4e8}html[data-theme=dark] .commandList button:hover,html[data-theme=dark] .commandList button.isActive{background:#302b46;border-color:#51486b}html[data-theme=dark] .commandList small{color:#a1a5ad}html[data-theme=dark] .commandList kbd{color:#c8cbd2;background:#22242a;border-color:#41444c;box-shadow:0 1px #17181c}html[data-theme=dark] .emptyCommands,html[data-theme=dark] .commandHint{color:#999da6}html[data-theme=dark] .commandHint{border-color:#373a41}html[data-theme=dark] .outlineSummary strong{color:#e2e4e8}html[data-theme=dark] .outlineSummary span{color:#9da2ab}html[data-theme=dark] .outlineSearch{color:#9ea3ac;background:#292b31;border-color:#41444c}html[data-theme=dark] .outlineSearch:focus-within{color:#c4b6ff;background:#292b31;border-color:#6a5b98}html[data-theme=dark] .outlineSearch input{color:#eceef2}html[data-theme=dark] .outlineFilters button{color:#b5b9c1;background:#292b31;border-color:#3d4048}html[data-theme=dark] .outlineFilters button.isActive{color:#c5b8fa;background:#302b47;border-color:#514873}html[data-theme=dark] .outlineFilters button span{color:#a8adb6;background:#22242a}html[data-theme=dark] .outlineList>button{color:#e1e3e7}html[data-theme=dark] .outlineList>button:hover{background:#302b46;border-color:#51486b}html[data-theme=dark] .outlineRole.user{color:#c7cad1;background:#34373e}html[data-theme=dark] .outlineCopy small,html[data-theme=dark] .emptyOutline{color:#9da2ab}html[data-theme=dark] .bookmarkItem{background:#292b31;border-color:#3a3d45}html[data-theme=dark] .bookmarkItem:hover{background:#302b46;border-color:#51486b}html[data-theme=dark] .bookmarkOpen{color:#e5e7eb}html[data-theme=dark] .bookmarkOpen small{color:#b8a7f0}html[data-theme=dark] .bookmarkOpen span,html[data-theme=dark] .emptyBookmarks{color:#a4a8b0}html[data-theme=dark] .bookmarkRemove{color:#afb3bb;background:#22242a;border-color:#41444c}html[data-theme=dark] .bookmarkRemove:hover{color:#f0a49d;background:#392625;border-color:#603431}html[data-theme=dark] .shortcutList>div{border-color:#373a41}html[data-theme=dark] .shortcutList dt{color:#c3c6cd}html[data-theme=dark] .shortcutList dd{color:#c8cbd2;background:#30323a;border-color:#40434b}html[data-theme=dark] .dataSummary span,html[data-theme=dark] .dataActions button,html[data-theme=dark] .importStats span,html[data-theme=dark] .dialogActions button{background:#292b31;border-color:#3a3d45}html[data-theme=dark] .importStats strong{color:#e8e9ed}html[data-theme=dark] .importStats small{color:#9da2ab}html[data-theme=dark] .importStats .hasWarning{background:#392625;border-color:#603431}html[data-theme=dark] .importStats .hasWarning strong{color:#f0a49d}html[data-theme=dark] .importPreferenceSummary{color:#e2e3e7;background:#302b46;border-color:#51486b}html[data-theme=dark] .importPreferenceSummary span{color:#aaa1c7}html[data-theme=dark] .dialogActions button{color:#d8dae0}html[data-theme=dark] .dataSummary strong,html[data-theme=dark] .dataActions strong{color:#e8e9ed}html[data-theme=dark] .dataSummary small,html[data-theme=dark] .dataActions small,html[data-theme=dark] .usageSummary small{color:#999da6}html[data-theme=dark] .usageSummary{border-color:#373a41}html[data-theme=dark] .usageSummary strong{color:#cfd2d8}html[data-theme=dark] .serviceHealthCard{background:#292b31;border-color:#3a3d45}html[data-theme=dark] .serviceHealthCard header strong,html[data-theme=dark] .serviceHealthStats strong{color:#e1e3e8}html[data-theme=dark] .serviceHealthCard>p,html[data-theme=dark] .serviceHealthStats small,html[data-theme=dark] .serviceHealthTime{color:#999da6}html[data-theme=dark] .serviceHealthCard header button:hover{background:#383247}html[data-theme=dark] .dataActions button:hover{background:#302c43;border-color:#5d527e}html[data-theme=dark] .dataActions .dangerAction,html[data-theme=dark] .dialogActions .danger{color:#f09a93;background:#392727;border-color:#5b3533}html[data-theme=dark] .renameForm input{color:#eceef2;background:#292b31;border-color:#41444c}html[data-theme=dark] .tagForm label,html[data-theme=dark] .tagForm label small{color:#a4a8b0}html[data-theme=dark] .tagForm input{color:#eceef2;background:#292b31;border-color:#41444c}html[data-theme=dark] .tagSuggestions button{color:#c5b8fa;background:#302b47;border-color:#514873}html[data-theme=dark] .tagSuggestions button span{color:#9e94c6}html[data-theme=dark] .backupForm label{color:#aeb2ba}html[data-theme=dark] .backupForm input{color:#eceef2;background:#292b31;border-color:#41444c}html[data-theme=dark] .backupForm button{color:#c9ccd2;background:#30323a;border-color:#42454d}html[data-theme=dark] .backupForm button.primary{color:#17181c;background:#ded7ff;border-color:#ded7ff}html[data-theme=dark] .backupError{color:#f0a49d;background:#392625;border-color:#603431}html[data-theme=dark] .branchForm textarea,html[data-theme=dark] .noteForm textarea{color:#eceef2;background:#292b31;border-color:#41444c}html[data-theme=dark] .noteForm>small{color:#999da6}html[data-theme=dark] .renameForm button,html[data-theme=dark] .tagForm>div:last-child button,html[data-theme=dark] .confirmActions button,html[data-theme=dark] .noteForm button,html[data-theme=dark] .branchForm button{color:#c9ccd2;background:#30323a;border-color:#42454d}html[data-theme=dark] .renameForm button.primary{color:#17181c;background:#ded7ff;border-color:#ded7ff}html[data-theme=dark] .tagForm>div:last-child button.primary{color:#17181c;background:#ded7ff;border-color:#ded7ff}html[data-theme=dark] .branchForm button.primary,html[data-theme=dark] .noteForm button.primary,html[data-theme=dark] .confirmActions button.primary{color:#17181c;background:#ded7ff;border-color:#ded7ff}html[data-theme=dark] .promptItem,html[data-theme=dark] .promptForm{background:#292b31;border-color:#3b3e46}html[data-theme=dark] .promptItem.isEditing{background:#302b46;border-color:#51486b}html[data-theme=dark] .promptUse{color:#e1e3e7}html[data-theme=dark] .promptUse small,html[data-theme=dark] .promptForm label{color:#9ca0a9}html[data-theme=dark] .promptItemActions button,html[data-theme=dark] .promptForm input,html[data-theme=dark] .promptForm textarea,html[data-theme=dark] .promptForm>div button{color:#d2d5db;background:#22242a;border-color:#41444c}html[data-theme=dark] .promptForm>strong{color:#eceef2}html[data-theme=dark] .promptForm>div button.primary{color:#17181c;background:#ded7ff;border-color:#ded7ff}html[data-theme=dark] .errorBanner{color:#f0a49d;background:#392625;border-color:#603431}html[data-theme=dark] .errorBanner button{background:#472d2b;border-color:#6b3b37}@media(max-width:880px){.topActions button span,.networkStatus{display:none}.modelPicker{width:min(280px,38vw)}.modelTrigger{min-width:230px}}@media(max-width:760px){.appShell,.appShell.isCollapsed{grid-template-columns:1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:min(86vw,310px);padding-top:max(14px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom));transform:translate(-103%);transition:transform .2s ease;box-shadow:14px 0 45px #0006}.sidebar.isOpen{transform:translate(0)}.brandText,.newChatButton strong,.newChatButton kbd,.historySearch,.historyControls,.historyMode,.historyTagFilters,.bulkToolbar,.history,.sidebarFooter>span:last-child{display:initial}.brandRow,.newChatButton,.sidebarFooter{justify-content:initial}.newChatButton{width:100%;padding:0 12px;align-self:auto}.newChatButton kbd{display:block;margin-left:auto}.historySearch{display:flex}.historyControls,.historyMode{display:grid}.historyTagFilters{display:flex}.bulkToolbar{display:grid}.history{display:block}.sidebarFooter{margin-top:0;padding:11px 7px 1px}.sidebarFooter>span:last-child{display:grid}.mobileClose{display:grid}.mobileScrim{position:fixed;z-index:15;inset:0;display:block;padding:0;background:#0007;border:0}.mainPanel{grid-template-rows:56px minmax(0,1fr) auto}.topbar{padding:0 9px;gap:6px}.menuButton{display:grid}.collapseButton{display:none}.modelPicker{flex:1}.modelTrigger{width:100%;min-width:0;max-width:245px;height:40px}.modelMenu{position:fixed;top:62px;right:8px;left:8px;width:auto}.historySearch input,.modelSearch input,.conversationSearch input,.commandSearch input,.outlineSearch input,.renameForm input,.tagForm input,.noteForm textarea,.branchForm textarea,.composer textarea,.promptForm input,.promptForm textarea{font-size:16px}.importStats{grid-template-columns:repeat(2,1fr)}.conversationSearch{top:63px;right:8px;left:8px;width:auto}.topActions{gap:0}.topActions button{width:34px;padding:0;justify-content:center}.welcome{width:calc(100% - 26px);padding-top:24px}.welcome h1{font-size:30px}.suggestions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.suggestions button{grid-template-columns:30px minmax(0,1fr);column-gap:9px;min-width:0;padding:12px}.suggestions button>span{width:30px;height:30px}.messageList{width:calc(100% - 24px);padding-top:16px}.message{grid-template-columns:31px minmax(0,1fr);gap:10px}.assistantAvatar{width:31px;height:31px;border-radius:9px}.message.user .messageContent{max-width:89%}.messageBubble{font-size:13px}.messageContent>header{flex-wrap:wrap;gap:5px}.messageActions,.userActions .messageTime{opacity:1}.messageActions button{width:36px;height:36px}.variantToolbar button{width:32px;height:32px}.composerArea{padding:8px 8px max(9px,env(safe-area-inset-bottom))}.creativeModeBar{margin-bottom:6px}.creativeModeBar button{min-height:36px;padding:6px}.creativeSettings{gap:6px;margin-bottom:6px;padding:7px;overflow-x:auto;flex-wrap:nowrap}.creativeSettings label{flex:0 0 auto;min-width:91px}.audioModeSwitch,.videoInputControls{flex:0 0 auto}.audioUploadHint{min-width:210px}.composer{min-height:57px;padding:8px 9px;border-radius:17px}.promptLibrary{grid-template-columns:1fr}.promptList{max-height:33vh}.disclaimer{margin-top:5px}.attachmentChip{width:180px}.viewerToolbar{max-width:calc(100vw - 12px);overflow-x:auto;bottom:10px}.viewerToolbar button,.viewerToolbar span{min-width:36px;height:36px}.scrollToBottom{right:14px;bottom:91px}}@media(max-width:420px){.topActions button[aria-label=快捷键],.topActions .shareConversation,.topActions .exportConversation{display:none}.conversationSearch{gap:4px}.conversationSearch .searchCount{min-width:48px}.updateNotice{right:10px;bottom:10px;left:10px;max-width:none}.serviceHealthStats{grid-template-columns:repeat(2,1fr);row-gap:9px}}@media(max-width:360px){.topActions button[aria-label=聊天数据]{display:none}}@media(hover:none){.historyMore,.codeCopy{opacity:1}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
