:root{color-scheme:light;--bg:#ffffff;--bg-top:#ffffff;--bg-accent:rgba(0,0,0,0.03);--surface:rgba(255,255,255,0.96);--surface-strong:#ffffff;--surface-muted:#f7f7f8;--surface-soft:#f3f4f6;--border:#e5e7eb;--border-strong:#d1d5db;--line-subtle:rgba(17,24,39,0.08);--text:#111827;--text-muted:#6b7280;--primary:#111827;--primary-strong:#000000;--primary-soft:#f3f4f6;--primary-soft-strong:#eceef1;--button-primary-bg:#e5e7eb;--button-primary-border:#d1d5db;--button-primary-text:#111827;--danger:#dc2626;--danger-soft:#fef2f2;--code-bg:#011627;--code-toolbar-bg:#0b2239;--code-border:#1d3b53;--code-text:#d6deeb;--code-muted:#8aa0b5;--inline-code-bg:#0b2239;--inline-code-text:#d6deeb;--shadow:0 10px 30px rgba(15,23,42,0.06);--radius-lg:18px;--radius-md:14px;--radius-sm:10px}[data-theme=dark]{color-scheme:dark;--bg:#212121;--bg-top:#212121;--bg-accent:rgba(255,255,255,0.035);--surface:rgba(33,33,33,0.96);--surface-strong:#2a2a2a;--surface-muted:#171717;--surface-soft:#303030;--border:#3a3a3a;--border-strong:#4a4a4a;--line-subtle:rgba(255,255,255,0.08);--text:#f5f5f5;--text-muted:#a3a3a3;--primary:#f5f5f5;--primary-strong:#ffffff;--primary-soft:#303030;--primary-soft-strong:#353535;--button-primary-bg:#353535;--button-primary-border:#4a4a4a;--button-primary-text:#f5f5f5;--danger:#f87171;--danger-soft:rgba(127,29,29,0.36);--code-bg:#011627;--code-toolbar-bg:#0b2239;--code-border:#1d3b53;--code-text:#d6deeb;--code-muted:#8aa0b5;--inline-code-bg:#0b2239;--inline-code-text:#d6deeb;--shadow:none}*{box-sizing:border-box}body,html{margin:0;padding:0;font-family:Inter,Arial,sans-serif;font-size:14px;background:radial-gradient(circle at top left,var(--bg-accent),transparent 22%),var(--bg);color:var(--text);transition:background .2s ease,color .2s ease}body,main{min-height:100vh;min-height:100dvh;padding:env(safe-area-inset-top,0) env(safe-area-inset-right,0) env(safe-area-inset-bottom,0) env(safe-area-inset-left,0)}button,input,textarea{font:inherit}button{cursor:pointer}input,textarea{color:var(--text)}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,textarea:-webkit-autofill{-webkit-text-fill-color:var(--text);-webkit-box-shadow:0 0 0 1000px var(--surface-strong) inset;-webkit-transition:background-color 9999s ease-out 0s;transition:background-color 9999s ease-out 0s}[data-theme=dark] input:-webkit-autofill,[data-theme=dark] input:-webkit-autofill:focus,[data-theme=dark] input:-webkit-autofill:hover,[data-theme=dark] textarea:-webkit-autofill{-webkit-box-shadow:inset 0 0 0 1000px #171717}button:focus-visible,input:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid rgba(17,24,39,.18);outline-offset:2px}.appShell{min-height:100vh;display:flex;gap:0;padding:0;background:var(--bg)}.sidebar{width:344px;flex:0 0 344px;min-width:344px;height:100vh;position:relative;background:var(--surface-muted);border-right:1px solid var(--border);transition:width .18s ease,flex-basis .18s ease,min-width .18s ease}.sidebar.collapsed{width:68px;flex-basis:68px;min-width:68px}.sidebarInner{position:-webkit-sticky;position:sticky;top:0;height:100vh;max-height:100vh;overflow-y:auto;overflow-x:visible;padding:10px 8px 16px}.sidebarSection{margin-bottom:0;padding:12px 6px;border-bottom:1px solid var(--line-subtle)}.surfaceCard,.wikiMainView,.wikiTreePanel{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:var(--shadow)}.heroSection,.surfaceCard{padding:18px}.projectChatReadOnlyNotice{margin:12px auto 0;max-width:48rem;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-soft);padding:14px 16px}.projectChatReadOnlyNotice p{margin:6px 0 0}.heroSection{background:var(--surface-strong);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow)}.titleRow{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.titleRow>.iconButton{flex:0 0 auto}.titleBlock{display:flex;flex-direction:column;gap:6px}.compactTitleBlock{gap:2px}.pageIntro,.sectionHint{max-width:64ch;margin:0}.settingsPopover{padding:16px;display:flex;flex-direction:column;gap:12px}.themeOptionRow{display:inline-flex;gap:8px}.compactSettingsForm{margin-top:0}.modeShell{align-items:center;justify-content:center;padding:32px 20px}.modeChooser{width:min(980px,100%);padding:28px;display:flex;flex-direction:column;gap:20px}.modeChooserHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.modeCardGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.modeCard{width:100%;text-align:left;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-strong);padding:22px;display:flex;align-items:flex-start;gap:16px;transition:transform .15s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.modeCard:hover{transform:translateY(-1px);background:var(--surface-soft);box-shadow:0 14px 26px rgba(31,41,55,.08)}.modeCard.featured,.modeCard:hover{border-color:var(--border-strong)}.modeCardIcon{width:52px;height:52px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;background:var(--surface-soft);font-size:26px;flex:0 0 52px}.modeCardCopy{display:flex;flex-direction:column;gap:10px;min-width:0}.modeCardDescription{margin:0}.modeCardKicker{font-size:12px;font-weight:700;color:var(--text-muted);letter-spacing:.02em}.headerActions,.modeCardMeta{display:flex;flex-wrap:wrap;gap:8px}.transcriptWorkflowArea{padding:20px}.transcriptWorkflowShell{width:100%;padding:28px;display:flex;flex-direction:column;gap:20px}.transcriptWorkflowSurface{min-height:calc(100vh - 40px)}.transcriptWorkflowHeader{align-items:flex-start}.transcriptWorkflowProcessingState,.transcriptWorkflowUploadState{max-width:760px;margin:12px auto 0;align-items:center;text-align:center}.transcriptUploadStateCopy{max-width:56ch}.transcriptProcessingMeta{justify-content:center}.transcriptUploadDropzone{width:100%;padding:36px 24px;border:2px dashed var(--border);border-radius:18px;background:var(--surface-soft);display:flex;flex-direction:column;align-items:center;gap:14px;transition:border-color .18s ease,background .18s ease,transform .18s ease}.transcriptUploadDropzone.active{border-color:var(--primary);background:var(--surface-muted);transform:translateY(-1px)}.transcriptUploadDropzoneTitle{margin:0;font-size:20px;font-weight:700}.transcriptWorkflowGrid{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);grid-gap:18px;gap:18px;align-items:start}.transcriptWorkflowSidebar{display:flex;flex-direction:column;gap:16px}.transcriptSidebarPanel,.transcriptWorkflowPanel{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-strong);padding:20px;display:flex;flex-direction:column;gap:14px}.transcriptWorkflowHint{margin:0}.transcriptWorkflowMeta{display:flex;flex-wrap:wrap;gap:8px}.transcriptWorkflowActionRow{justify-content:flex-start}.transcriptWorkflowNotice{padding:14px 16px;border-radius:14px;border:1px solid var(--border);background:var(--surface-soft)}.transcriptWorkflowNotice--error{border-color:rgba(220,38,38,.22);background:var(--danger-soft);color:var(--danger)}.transcriptSpeakerList{display:flex;flex-direction:column;gap:12px}.transcriptSessionStatusLine{color:var(--text-muted)}.transcriptWorkflowWarnings{margin:0;padding-left:18px;color:var(--text-muted)}.transcriptWorkflowEditor{min-height:100%}.transcriptEditorHeader{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.transcriptCheckboxRow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-column-gap:12px;column-gap:12px;grid-row-gap:8px;row-gap:8px;width:100%}.transcriptCheckboxRow>span{min-width:0}.transcriptToggleInput{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:42px;height:24px;border-radius:999px;background:var(--surface-muted);border:1px solid var(--border-strong);position:relative;justify-self:end;margin:0;cursor:pointer;transition:background .15s ease,border-color .15s ease}.transcriptToggleInput:after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:999px;background:var(--surface-strong);box-shadow:0 1px 2px rgba(0,0,0,.16);transition:transform .15s ease}.transcriptToggleInput:checked{background:var(--primary);border-color:var(--primary)}.transcriptToggleInput:checked:after{transform:translateX(18px)}.transcriptWorkflowTextarea{width:100%;min-height:640px;resize:vertical;line-height:1.5}.transcriptWorkflowMarkdown{width:100%;text-align:left;border:1px solid var(--border);border-radius:16px;background:var(--surface-soft);padding:18px;color:var(--text)}.transcriptWorkflowMarkdown:hover{border-color:var(--border-strong);background:var(--surface-muted)}.transcriptWorkflowMarkdown :is(h1,h2,h3,p,ul,ol,li,blockquote){margin-top:0}.transcriptWorkflowMarkdown ol:last-child,.transcriptWorkflowMarkdown p:last-child,.transcriptWorkflowMarkdown ul:last-child{margin-bottom:0}.transcriptWorkflowProgressCard{border:1px dashed var(--border);border-radius:16px;background:var(--surface-soft);padding:20px}.transcriptWorkflowProgressCard--standalone{width:min(560px,100%);text-align:left}.transcriptProgressList{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.transcriptProgressItem{display:flex;align-items:center;gap:12px;color:var(--text-muted)}.transcriptProgressItem--complete{color:var(--text)}.transcriptProgressItem--working{color:var(--text);font-weight:600}.transcriptProgressIcon{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid;font-size:12px;flex:0 0 20px}.transcriptProgressItem--working .transcriptProgressIcon{animation:transcriptProgressSpin .9s linear infinite}@keyframes transcriptProgressSpin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.transcriptWorkflowEmptyState{min-height:320px;display:flex;align-items:center;justify-content:center;text-align:center;border:1px dashed var(--border);border-radius:14px;padding:24px;background:var(--surface-soft)}.transcriptSpeakerDivider{height:1px;background:var(--line-subtle);margin:2px 0 4px}.transcriptSpeakerRow{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:10px;gap:10px;align-items:end}.transcriptSpeakerField{flex-direction:row;align-items:center;gap:12px}.transcriptSpeakerFieldLabel{min-width:82px;font-weight:600}.transcriptSpeakerFieldInput{flex:1 1 auto}.transcriptSpeakerMergeButton{white-space:nowrap}.transcriptMergeModal{width:min(460px,calc(100vw - 32px));height:auto;max-height:min(320px,calc(100vh - 32px));overflow:visible}.transcriptWorkflowDownload{display:inline-flex;align-items:center;gap:8px;text-decoration:none;width:-moz-fit-content;width:fit-content}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--primary);margin-bottom:6px}h1,h2,h3{margin:0;line-height:1.15}h1{font-size:32px}h2{font-size:24px}h3{font-size:18px}.chatArea{flex:1 1;min-width:0;min-height:0;display:flex;flex-direction:column;gap:10px;padding:12px 16px 16px}.chatAreaForChat{gap:0;padding-top:8px}.mainHeader{padding:10px 0 8px;display:flex;align-items:center;justify-content:space-between;gap:16px}.mainHeaderCopy{display:flex;flex-direction:column;gap:2px;min-width:0}.mainHeaderCopy h1{max-width:28ch;word-break:break-word;text-wrap:balance;font-size:22px;font-weight:600}.sectionHeaderBlock{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.compactHeader{align-items:center;margin-bottom:0}.compactHeader .titleBlock{flex:1 1}.projectSectionHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.sidebarSummaryLine{margin:0}.compactMetaRow{margin-top:8px}.projectCreateRow{display:flex;gap:10px;margin:14px 0 16px}.projectCreateMainCard{padding:24px;display:flex;flex-direction:column;gap:20px;max-width:760px}.projectCreateMainHeader h2{margin:6px 0 8px}.projectCreateMainHeader p{margin:0}.projectCreateMainForm{display:flex;flex-direction:column;gap:16px}.projectCreateTextarea{min-height:132px}.projectCreateMainActions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.projectCreateMainActionGroup{display:flex;justify-content:flex-end;gap:10px}.disclosurePanel{margin-top:16px;padding-top:16px;border-top:1px solid var(--line-subtle)}.textInput{flex:1 1;min-width:0;border:1px solid var(--border);border-radius:12px;background:var(--surface-strong);padding:12px 14px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}[data-theme=dark] .textInput{background:#171717;border-color:#4a4a4a;color:#f5f5f5}.textInput::placeholder{color:var(--text-muted)}.iconButton:hover,.projectButton:hover,.textInput:hover,.toggleButton:hover,.treeFileButton:hover,.treeFolderLabel:hover,.uploadCard:hover{border-color:var(--border-strong)}.textInput:focus{border-color:var(--text);box-shadow:0 0 0 3px rgba(17,24,39,.08)}.filterInput{margin:12px 0 16px}.dangerButton,.iconButton,.primaryButton,.secondaryButton,.toggleButton{border-radius:12px;padding:11px 14px;border:1px solid transparent;transition:transform .15s ease,box-shadow .15s ease,background .15s ease,border-color .15s ease}.primaryButton{background:var(--button-primary-bg);border-color:var(--button-primary-border);color:var(--button-primary-text);box-shadow:none}.dangerButton:hover,.iconButton:hover,.primaryButton:hover,.projectButton:hover,.secondaryButton:hover,.toggleButton:hover{transform:translateY(-1px)}.toggleButton{width:auto;min-width:88px;text-align:center;background:transparent;border:1px solid transparent;color:var(--text-muted)}.iconActions{display:inline-flex;gap:8px}.sidebarTopbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:4px;padding-bottom:12px}.sidebarTopbarStacked{flex-direction:column;align-items:stretch}.sidebarTopbarStacked .sidebarIdentity,.sidebarTopbarStacked .sidebarTopbarActions{width:100%}.sidebarIdentity{display:flex;flex-direction:column;gap:2px;min-width:0}.sidebarIdentity strong{font-size:14px;font-weight:600}.sidebarTopbarActions{display:flex;align-items:center;gap:6px}.sidebarTopbarActionsClustered{width:100%;justify-content:flex-start}.sidebar.collapsed .sidebarTopbarActionsClustered{flex-direction:column;align-items:center;justify-content:flex-start}.sidebar.collapsed .sidebarCollapseToggle{order:-1}.sidebarUtilityButton{padding:8px 10px;min-width:0}.workspaceHeader{border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.workspaceHeaderMeta{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspaceHeaderControls{display:flex;align-items:center;gap:8px}.projectOverviewMainView{display:flex;flex-direction:column;gap:16px;padding:16px}.projectOverviewHero,.projectOverviewSection{display:flex;flex-direction:column;gap:12px}.projectOverviewHero .workspaceHeader{margin-bottom:0}.projectOverviewHero h2,.projectOverviewHero p,.projectOverviewRowCopy span,.projectOverviewRowCopy strong,.projectOverviewSection p,.projectOverviewSectionHeader h3{margin:0}.projectOverviewGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;align-items:start}.projectOverviewSectionHeader{display:flex;flex-direction:column;gap:4px}.projectOverviewList{display:flex;flex-direction:column;gap:12px}.projectOverviewNarrative{font-size:14px;line-height:1.6;color:var(--text)}.projectOverviewSectionActions{display:flex;align-items:center;gap:8px}.projectOverviewSectionActions .secondaryButton{display:inline-flex;align-items:center;gap:8px}.projectOverviewRow{width:100%;display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-strong);color:var(--text);text-align:left}.projectOverviewRow:hover,.projectOverviewRowIcon{background:var(--primary-soft)}.projectOverviewRowIcon{flex:0 0 auto;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;color:var(--text-muted)}.projectOverviewRowCopy{min-width:0;flex:1 1;display:flex;flex-direction:column;gap:6px}.projectWorkflowNotice{margin-bottom:16px;padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-soft);display:flex;flex-direction:column;gap:10px}.projectWorkflowNotice--active,.projectWorkflowNotice--processing{border-color:rgba(37,99,235,.2);background:rgba(37,99,235,.06)}.projectWorkflowNotice--warning{border-color:rgba(220,38,38,.18);background:var(--danger-soft)}.projectWorkflowNotice--ready{border-color:rgba(5,150,105,.2);background:rgba(5,150,105,.08)}.projectWorkflowNoticeHeader{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}.projectWorkflowNoticeEyebrow{margin:0 0 4px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.projectWorkflowNoticeTitle{margin:0;font-size:16px}.projectWorkflowNoticeActions,.projectWorkflowNoticeMeta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.projectWorkflowNoticeDescription{margin:0;white-space:pre-wrap}.commandAwareInputShell{width:min(100%,960px);margin:0 auto}.commandAwareCopilotInput>div{position:relative}.commandAwareCopilotInput.hasSelectedSlashCommand>div{padding-top:56px}.selectedSlashCommandBar{position:absolute;top:0;left:0;right:0;z-index:31;display:flex;align-items:center;gap:8px;flex-wrap:wrap;width:100%;padding:0 12px}.selectedSlashCommandLabel{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.selectedSlashCommandChip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:rgba(37,99,235,.12);border:1px solid rgba(37,99,235,.2);color:var(--text);font-size:13px;font-weight:600}.selectedSlashCommandClear{position:relative;z-index:32;border:0;background:transparent;color:var(--text-muted);font-size:18px;line-height:1;padding:4px 6px;border-radius:999px;cursor:pointer}.selectedSlashCommandClear:hover{background:var(--surface-soft);color:var(--text)}.visuallyHiddenInput{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.compactSegmentedControl{padding:3px;border-radius:12px}.headerActionTray{padding:10px 12px;display:flex;flex-direction:column;gap:10px}.headerActionButtons{display:flex;flex-wrap:wrap;gap:8px}.activeActionButton{background:var(--surface-soft);border-color:var(--border-strong)}.fileActionButton{position:relative;display:inline-flex;align-items:center;justify-content:center}.fileActionButton input{position:absolute;inset:0;opacity:0;cursor:pointer}.compactDisclosurePanel{margin-top:0;padding-top:10px}.iconButton{width:40px;height:40px;padding:0;border-color:var(--border);font-size:18px}.copilotDirectAddButton,.iconButton{display:inline-flex;align-items:center;justify-content:center;background:transparent;color:var(--text-muted);line-height:1}.copilotDirectAddButton{width:36px;height:36px;border-radius:999px;border:0;font-size:22px}.copilotDirectAddButton:hover{background:var(--surface-soft);color:var(--text)}.chatAssistantMessage,.chatReasoningMessage{margin-top:8px}.chatAssistantMessageWrap{display:flex;flex-direction:column;gap:8px}.chatCodeToggleRow{margin-left:14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.chatCodeToggleButton{padding:8px 12px;border-radius:999px;border:1px solid var(--border);background:var(--surface-soft);color:var(--text);font-size:13px;font-weight:600;transition:background .18s ease,border-color .18s ease,color .18s ease}.chatCodeToggleButton.active{background:var(--surface-strong);border-color:var(--border-strong)}.chatCodeToggleMeta{font-size:12px;color:var(--text-muted)}.chatCodeStatusPill{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;color:var(--text);font-size:13px;font-weight:600}.chatCodeStatusPill,.chatSourceReferences{border:1px solid var(--border);background:var(--surface-soft)}.chatSourceReferences{margin-left:14px;padding:10px 12px;border-radius:14px}.chatSourceReferencesLabel{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--text-muted)}.chatSourceReferenceGroup+.chatSourceReferenceGroup{margin-top:10px}.chatSourceReferenceList{display:flex;flex-wrap:wrap;gap:8px}.chatSourceReferencePill{display:inline-flex;align-items:flex-start;max-width:min(100%,420px);padding:5px 10px;border-radius:14px;border:1px solid var(--border);background:var(--surface-strong);font-size:12px;line-height:1.3;color:var(--text);white-space:normal;overflow-wrap:anywhere}.copilotKitCodeBlock{border:1px solid var(--code-border);background:var(--code-bg);overflow:hidden}.copilotKitCodeBlockToolbar{background:var(--code-toolbar-bg);color:var(--code-muted)}.copilotKitCodeBlockToolbarButton{color:var(--code-muted)}.copilotKitCodeBlockToolbarButton:hover{background:rgba(255,255,255,.08);color:var(--code-text)}.copilotKitCodeBlock :is(pre,code,[class*=language-]){white-space:pre!important;overflow-wrap:normal;word-break:normal}.copilotKitCodeBlock code[class*=language-],.copilotKitCodeBlock pre[class*=language-]{color:var(--code-text)!important;background:transparent!important}.copilotKitInlineCode{background:var(--inline-code-bg);color:var(--inline-code-text);border-color:var(--border-strong)}.chatPanel .copilotKitMarkdown a.copilotKitMarkdownElement{color:#2563eb}[data-theme=dark] .chatPanel .copilotKitMarkdown a.copilotKitMarkdownElement{color:#93c5fd}.chatPanel [data-copilotkit] .space-y-4>blockquote,.chatPanel [data-copilotkit] .space-y-4>p{white-space:pre-wrap}.chatPanel
	[data-copilotkit]
	:is([data-streamdown=heading-1],[data-streamdown=heading-2],[data-streamdown=heading-3],[data-streamdown=heading-4],[data-streamdown=heading-5],[data-streamdown=heading-6]){margin-top:1.25rem!important;margin-bottom:.5rem!important;line-height:1.25}.chatPanel
	[data-copilotkit]
	:is([data-streamdown=heading-1],[data-streamdown=heading-2],[data-streamdown=heading-3],[data-streamdown=heading-4],[data-streamdown=heading-5],[data-streamdown=heading-6]):first-child{margin-top:0!important}.chatPanel [data-copilotkit] [data-streamdown=ordered-list],.chatPanel [data-copilotkit] [data-streamdown=unordered-list]{margin:.5rem 0!important;padding-left:1.25rem!important}.chatPanel [data-copilotkit] [data-streamdown=list-item]{margin:0!important;padding-top:.125rem;padding-bottom:.125rem}.chatPanel [data-copilotkit] [data-streamdown=list-item]>div,.chatPanel [data-copilotkit] [data-streamdown=list-item]>p{white-space:normal!important}.chatPanel
	[data-copilotkit]
	[data-streamdown=list-item]>:is([data-streamdown=heading-1],[data-streamdown=heading-2],[data-streamdown=heading-3],[data-streamdown=heading-4],[data-streamdown=heading-5],[data-streamdown=heading-6]){margin-top:.75rem!important}.chatPanel [data-copilotkit] [data-streamdown=inline-code]{background:var(--inline-code-bg)!important;color:var(--inline-code-text)!important;border:1px solid var(--border-strong)}.chatPanel [data-copilotkit] [data-streamdown=code-block]{background:var(--code-bg)!important;border:1px solid var(--code-border)!important}.chatPanel [data-copilotkit] [data-streamdown=code-block-header]{background:var(--code-toolbar-bg)!important;color:var(--code-muted)!important}.chatPanel [data-copilotkit] [data-streamdown=code-block-body]{margin:0!important;padding:14px 16px!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:pre!important}.chatPanel [data-copilotkit] [data-streamdown=code-block-body]>code{display:block;white-space:pre!important}.chatPanel [data-copilotkit] [data-streamdown=code-block-body]>code>span{display:block!important}.chatPanel
	[data-copilotkit]
	[data-streamdown=code-block-body]>code>span>span{white-space:pre!important}.chatPanel [data-copilotkit] [data-streamdown=code-block-copy-button],.chatPanel [data-copilotkit] [data-streamdown=code-block-download-button]{color:var(--code-muted)!important}.chatPanel
	[data-copilotkit]
	[data-streamdown=code-block-download-button]:hover,.chatPanel [data-copilotkit] [data-streamdown=code-block-copy-button]:hover{background:rgba(255,255,255,.08)!important;color:var(--code-text)!important}.toolCallCard{margin-top:10px;border:1px solid var(--border);border-radius:14px;background:var(--surface-soft);padding:12px 14px}.toolCallCard--compact{padding:10px 12px}.toolCallCard--quiet{padding:8px 10px;background:transparent;border-style:dashed}.toolCallCard--workflow{background:color-mix(in srgb,var(--surface-soft) 88%,var(--primary-soft))}.toolCallCard--complete{background:var(--surface-strong)}.toolCallCard--workflow.toolCallCard--complete{background:color-mix(in srgb,var(--surface-strong) 82%,var(--primary-soft))}.toolCallHeader{display:flex;justify-content:space-between}.toolCallHeader,.toolCallTitleGroup{align-items:center;gap:10px;flex-wrap:wrap}.toolCallTitleGroup{display:inline-flex;min-width:0}.toolCallMeta{font-size:12px;font-weight:600;color:var(--text-muted);white-space:nowrap}.toolCallStatus{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;background:var(--surface-muted);border:1px solid var(--border);color:var(--text-muted)}.toolCallStatus--executing,.toolCallStatus--inProgress{color:var(--text)}.toolCallStatus--complete{color:#166534;border-color:rgba(22,101,52,.2);background:rgba(34,197,94,.12)}[data-theme=dark] .toolCallStatus--complete{color:#86efac;border-color:rgba(134,239,172,.22);background:rgba(34,197,94,.16)}.toolCallHint,.toolCallSummary{margin:8px 0 0;color:var(--text-muted);font-size:13px;line-height:1.45}.toolCallCard--quiet .toolCallHint{margin-top:4px}.toolCallRawDetails{margin-top:8px}.toolCallRawDetails>summary{cursor:pointer;color:var(--text-muted);font-size:12px;font-weight:600}.toolCallRawSection{margin-top:10px}.toolCallRawLabel{margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--text-muted)}.toolCallRawBlock{margin:0;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:12px;line-height:1.45;white-space:pre-wrap;word-break:break-word;max-height:220px;overflow:auto}.toolCallChecklist{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}.toolCallChecklistItem{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.45;color:var(--text-muted)}.toolCallChecklistItem--done{color:var(--text)}.toolCallChecklistItem--current{color:var(--text);font-weight:600}.toolCallChecklistMarker{flex:0 0 auto;width:14px;text-align:center;font-weight:700;color:var(--text-muted)}.toolCallChecklistItem--done .toolCallChecklistMarker{color:#166534}[data-theme=dark] .toolCallChecklistItem--done .toolCallChecklistMarker{color:#86efac}.toolCallChecklistItem--current .toolCallChecklistMarker{color:#ca8a04}[data-theme=dark] .toolCallChecklistItem--current .toolCallChecklistMarker{color:#facc15}.toolCallDetails{margin-top:10px}.toolCallDetails summary{cursor:pointer;color:var(--text);font-size:13px;font-weight:600}.toolCallDetails pre{margin:8px 0 0;padding:10px 12px;white-space:pre-wrap;word-break:break-word;border-radius:10px;background:var(--surface-strong);border:1px solid var(--border);color:var(--text);font-size:12px;line-height:1.45}.imageToolCallCard{display:flex;flex-direction:column;gap:10px}.imageToolCallGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:12px;gap:12px}.imageToolCallFigure{margin:0;display:flex;flex-direction:column;gap:8px}.imageToolCallPreview{width:100%;height:auto;border-radius:12px;border:1px solid var(--border);background:var(--surface-muted)}.imageToolCallCaption{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--text-muted);flex-wrap:wrap}.imageToolCallFilename{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 160px}.imageToolCallDownload{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:var(--primary-strong);color:var(--bg);font-weight:700;text-decoration:none;border:1px solid var(--border-strong);box-shadow:0 1px 2px rgba(0,0,0,.12);transition:background .12s ease,color .12s ease,border-color .12s ease,transform .12s ease}.imageToolCallDownload:hover{text-decoration:none;transform:translateY(-1px);opacity:.96}.imageToolCallDownload:focus-visible{outline:2px solid var(--primary-strong);outline-offset:2px}[data-theme=dark] .imageToolCallDownload{background:#f5f5f5;color:#111827;border-color:#d1d5db;box-shadow:none}.imageToolCallError{color:#b91c1c}[data-theme=dark] .imageToolCallError{color:#fca5a5}.reportToolCallCard,.reportToolCallFiles{display:flex;flex-direction:column;gap:10px}.reportToolCallFileRow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface-soft);flex-wrap:wrap}.reportToolCallMeta{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 220px}.reportToolCallMeta strong{font-size:13px;color:var(--text);word-break:break-word}.reportToolCallMeta span{font-size:12px;color:var(--text-muted)}.reportToolCallActions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.reportToolCallActionButton,.reportToolCallActionLink{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;text-decoration:none;font-weight:600}.reportToolCallSuccess{color:#166534}[data-theme=dark] .reportToolCallSuccess{color:#86efac}.chatReasoningMessage{border:1px solid var(--border);border-radius:14px;background:var(--surface-soft);padding:8px 12px;overflow-anchor:none}.chatReasoningMessage--latest{border-color:var(--border-strong);background:var(--surface-muted)}.chatReasoningMessage--historical{opacity:.9}.chatReasoningMessage--streaming{box-shadow:0 0 0 1px color-mix(in srgb,var(--primary-strong) 18%,transparent)}.chatReasoningMessageHeader{width:100%;padding:0;border:0;background:transparent;color:inherit;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer}.chatReasoningMessageHeader:disabled{cursor:default}.chatReasoningMessageHeaderText{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.chatReasoningMessageLabel{font-size:13px;font-weight:600;color:var(--text)}.chatReasoningMessageTone{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;border:1px solid var(--border);background:var(--surface-strong);font-size:11px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--text-muted)}.chatReasoningMessageChevron{flex:0 0 auto;font-size:12px;color:var(--text-muted)}.chatReasoningMessageContent{margin-top:10px;padding-top:10px;border-top:1px solid var(--border);color:var(--text-muted);scrollbar-gutter:stable}.chatReasoningMessage--streaming .chatReasoningMessageContent,.chatReasoningMessageContent--streaming{height:140px;max-height:140px;overflow:hidden;scrollbar-gutter:stable;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chatReasoningStreamingText{white-space:pre-wrap;word-break:break-word;line-height:1.5}@keyframes chatReasoningPulse{0%,to{opacity:.35}50%{opacity:1}}.chatReasoningStreamingCaret{display:inline-flex;align-items:center;justify-content:center;margin-left:6px;font-size:9px;line-height:1;color:var(--text-muted);animation:chatReasoningPulse 1.1s ease-in-out infinite}.chatReasoningMessageContent .copilotKitMarkdown,.chatReasoningMessageContent [data-streamdown]{color:var(--text-muted)}.iconButton.active{background:var(--surface-soft)}.iconButton.active,.toggleButton.active{border-color:var(--border-strong);color:var(--text)}.toggleButton.active{background:var(--surface-strong);box-shadow:none}.segmentedControl{display:inline-flex;padding:4px;border-radius:14px;background:var(--surface-muted);border:1px solid var(--border);align-self:flex-start}.secondaryButton{background:var(--surface-strong);border-color:var(--border);color:var(--text)}.dangerButton{border-color:rgba(220,38,38,.2);background:var(--danger-soft);color:var(--danger)}.dangerButton:disabled{cursor:wait;opacity:.7}.projectButton,.projectList{display:flex;flex-direction:column;gap:6px}.projectButton{width:100%;text-align:left;border:1px solid var(--border);border-radius:12px;padding:12px;background:var(--surface-strong);transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .15s ease}.projectButton.active{border-color:var(--text);background:var(--primary-soft);box-shadow:none}.projectButtonHeader,.wikiMetaHeader{display:flex;align-items:center;justify-content:space-between;gap:10px}.projectDescription{line-height:1.4}.projectButtonHeader strong{flex:1 1;min-width:0;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatHeaderStatusGroup{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}.chatRunIndicator{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;line-height:1;white-space:nowrap}.chatRunIndicator--processing{color:var(--text-muted)}.chatRunIndicator--ready{color:#047857}.chatRunIndicator--failed{color:#b45309}.chatRunSpinner{width:10px;height:10px;border-radius:999px;border:1.5px solid;border-right:1.5px solid transparent;animation:chatRunSpin .85s linear infinite}.backgroundRunBanner{display:flex;flex-direction:column;gap:8px;padding:12px 14px;margin-bottom:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface-soft)}@keyframes chatRunSpin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes projectFilePreviewShimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.metaPill,.statusBadge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:700}.statusBadge{color:var(--primary-strong);background:var(--primary-soft)}.metaPill,.statusBadge.subtle{color:var(--text-muted);background:var(--surface-soft)}.actionRow,.metaRow{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.small{color:var(--text-muted)}.errorText,.small{font-size:13px;line-height:1.5}.errorText{color:var(--danger)}.successText{color:var(--text);font-size:13px;line-height:1.5}.emptyStateText{margin:0;border:1px dashed var(--border-strong);border-radius:14px;padding:14px;color:var(--text-muted);background:var(--surface-muted)}.emptyPanel{text-align:left}.mainEmptyState{padding:28px}.statsRow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px;margin-top:14px}.statsRow.compact{display:flex;flex-wrap:wrap;gap:8px;margin-top:0}.statCard{border:1px solid var(--border);border-radius:14px;background:var(--surface-soft);padding:12px;display:flex;flex-direction:column;gap:4px}.statCard strong{font-size:20px}.uploadCard{display:flex;flex-direction:column;gap:6px;border:1px dashed var(--border-strong);border-radius:14px;padding:14px;background:var(--surface-soft);margin-top:12px;transition:border-color .18s ease,background .18s ease,transform .15s ease}.uploadCard input{display:block;margin-top:8px}.authShell{align-items:center;justify-content:center}.authCard{width:min(520px,100%);padding:28px}.authForm,.settingsForm{display:flex;flex-direction:column;gap:12px;margin-top:16px}.authProviderForm{gap:14px}.authProviderButton{width:100%;display:flex;align-items:center;gap:16px;padding:16px 18px;border:1px solid var(--border);border-radius:16px;background:var(--surface-strong);color:var(--text);text-align:left;transition:transform .15s ease,border-color .15s ease,background .15s ease}.authProviderButton:hover{transform:translateY(-1px);border-color:var(--border-strong);background:var(--surface-soft)}.authProviderButton:disabled{cursor:not-allowed;opacity:.7;transform:none}.authProviderCopy{display:flex;flex-direction:column;gap:4px}.authProviderCopy strong{font-size:15px;font-weight:600}.authProviderCopy span:last-child{font-size:13px;color:var(--text-muted);line-height:1.45}.microsoftMark{width:20px;height:20px;display:grid;grid-template-columns:repeat(2,1fr);grid-gap:2px;gap:2px;flex:0 0 auto}.microsoftMark span:first-child{background:#f25022}.microsoftMark span:nth-child(2){background:#7fba00}.microsoftMark span:nth-child(3){background:#00a4ef}.microsoftMark span:nth-child(4){background:#ffb900}.authIdentityPanel{border:1px solid var(--border);border-radius:16px;padding:16px;background:var(--surface-soft)}.authModeToggle{margin-top:16px}.fieldLabel{display:flex;flex-direction:column;gap:8px;color:var(--text);font-size:14px;font-weight:600}.settingsTextarea{min-height:110px;resize:vertical}.settingsPanel{padding:24px;display:flex;flex-direction:column;gap:24px}.settingsSection+.settingsSection{padding-top:24px;border-top:1px solid var(--line-subtle)}.settingsHeaderRow{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.dangerZone{border-color:rgba(220,38,38,.16)}.dangerActionCard{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid rgba(220,38,38,.14);border-radius:16px;padding:16px;background:rgba(255,241,242,.55)}.chatPanel{height:calc(100vh - 84px);overflow:hidden;padding:8px;display:flex;flex-direction:column;gap:12px}.chatPanelHeader{flex:0 0 auto;padding:12px 14px;border:1px solid var(--line-subtle);border-radius:14px;background:var(--surface)}.chatPanelTitle{font-size:20px}.chatPanelBody{min-height:0;flex:1 1 auto;overflow:hidden}.chatPanelWorkspace{height:100%;min-height:0;display:flex;align-items:stretch}.chatConversationPane{flex:1 1 auto;min-width:0;min-height:0;overflow:hidden}.chatRestoreLoadingState{height:100%;display:flex;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:left;border:1px solid var(--line-subtle);border-radius:16px;background:var(--surface)}.chatRestoreLoadingState strong{display:block;margin-bottom:4px}.chatPanelBody [data-copilotkit],.chatPanelBody [data-radix-scroll-area-root],.chatPanelBody [data-radix-scroll-area-viewport],.chatPanelBody [data-testid=copilot-chat]{min-height:0;height:100%}.chatConversationPane,.chatPanelBody [data-testid=copilot-message-list],.chatPanelBody [data-testid=copilot-scroll-content]{overflow-anchor:none;scroll-behavior:auto!important}.chatPanelBody [data-testid=copilot-scroll-content]{padding-top:4px!important}.chatPanelBody
	[data-testid=copilot-attachment-queue]>div:has([class*=animate-spin],.copilotKitAttachmentQueueSpinner){min-height:48px;background:var(--surface-soft)}.chatPanelBody
	[data-testid=copilot-attachment-queue]>div:has([class*=animate-spin],.copilotKitAttachmentQueueSpinner)>div:first-child{background:transparent!important}.chatPanelBody textarea{max-height:240px;resize:none}.chatInputTaskSection{display:flex;flex-direction:column;gap:12px}.chatCodeSidebar{flex:0 0;max-width:0;min-width:0;min-height:0;margin-left:0;opacity:0;overflow:hidden;transform:translateX(18px);pointer-events:none;transition:flex-basis .28s ease,max-width .28s ease,margin-left .28s ease,opacity .22s ease,transform .28s ease}.chatCodeSidebar.isOpen{flex-basis:min(36vw,520px);max-width:min(36vw,520px);margin-left:12px;opacity:1;transform:translateX(0);pointer-events:auto}.chatCodeSidebarPanel{height:100%;max-height:100%;min-height:0;border:1px solid var(--line-subtle);border-radius:16px;background:var(--surface);display:flex;flex-direction:column;overflow:hidden}.chatCodeSidebarHeader{padding:14px 16px;border-bottom:1px solid var(--line-subtle);display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.chatCodeSidebarEyebrow{margin:0;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.chatCodeSidebarTitle{display:block;margin-top:4px;font-size:14px;line-height:1.4;color:var(--text)}.chatCodeSidebarClose{padding:8px 12px;border-radius:999px;border:1px solid var(--border);background:var(--surface-soft);color:var(--text);font-size:13px;font-weight:600;flex:0 0 auto}.chatCodeSidebarBody{flex:1 1 auto;min-height:0;overflow:auto;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--code-text) 45%,transparent) color-mix(in srgb,var(--code-bg) 70%,black 30%);overscroll-behavior:contain;padding:14px;display:flex;flex-direction:column;align-items:stretch;gap:14px}.chatCodeBlockPre::-webkit-scrollbar,.chatCodeSidebarBody::-webkit-scrollbar{width:12px;height:12px}.chatCodeBlockPre::-webkit-scrollbar-track,.chatCodeSidebarBody::-webkit-scrollbar-track{background:color-mix(in srgb,var(--code-bg) 82%,black 18%)}.chatCodeBlockPre::-webkit-scrollbar-thumb,.chatCodeSidebarBody::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--code-text) 42%,transparent);border-radius:999px;border:2px solid color-mix(in srgb,var(--code-bg) 82%,black 18%)}.chatCodeBlockPre::-webkit-scrollbar-thumb:hover,.chatCodeSidebarBody::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb,var(--code-text) 62%,transparent)}.chatCodeBlockCard{border:1px solid var(--code-border);border-radius:14px;background:var(--code-bg);overflow:hidden;display:flex;flex:0 0 auto;flex-direction:column;min-height:0}.chatCodeBlockHeader{padding:10px 12px;background:var(--code-toolbar-bg);color:var(--code-muted);justify-content:space-between}.chatCodeBlockHeader,.chatCodeBlockMeta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.chatCodeBlockMeta{min-width:0}.chatCodeBlockTitle{font-size:13px;color:var(--code-text)}.chatCodeBlockLanguage{font-size:11px;text-transform:uppercase;letter-spacing:.08em}.chatCodeBlockActions{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:auto}.chatCodeBlockActionButton{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;border:1px solid var(--code-border);background:rgba(255,255,255,.04);color:var(--code-text);font-size:12px;font-weight:600}.chatCodeBlockPre{margin:0;padding:14px;min-height:9rem;max-height:min(68vh,42rem);overflow:auto;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--code-text) 45%,transparent) color-mix(in srgb,var(--code-bg) 70%,black 30%);color:var(--code-text);font-size:12.5px;line-height:1.55}.chatCodeBlockPre code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.chatToolActivityList{width:100%;display:flex;flex-direction:column;gap:8px;margin-top:10px}.chatToolStatusLine{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:13px;line-height:1.45;color:var(--text-muted)}.chatToolStatusLineMarker{flex:0 0 auto;width:16px;text-align:center;font-weight:700}.chatToolStatusLine--working .chatToolStatusLineMarker{color:#ca8a04}.chatToolStatusLine--complete .chatToolStatusLineMarker{color:#166534}.chatToolStatusLine--error .chatToolStatusLineMarker{color:#b91c1c}[data-theme=dark] .chatToolStatusLine--complete .chatToolStatusLineMarker{color:#86efac}[data-theme=dark] .chatToolStatusLine--error .chatToolStatusLineMarker{color:#fca5a5}.chatToolStatusLineText{min-width:0}.chatPdfPreviewCard{overflow:hidden}.chatGeneratedFileCard,.chatPdfPreviewCard{margin-top:10px;border:1px solid var(--line-subtle);border-radius:16px;background:var(--surface)}.chatGeneratedFileCard{padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.chatGeneratedFileMeta{display:flex;align-items:flex-start;gap:12px;min-width:0;flex:1 1 240px}.chatGeneratedFileIcon{width:32px;height:32px;border-radius:10px;border:1px solid var(--line-subtle);background:var(--surface-soft);display:inline-flex;align-items:center;justify-content:center;color:var(--text-muted);flex:0 0 auto}.chatGeneratedFileText{min-width:0}.chatGeneratedFileEyebrow{margin:0;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.chatGeneratedFileTitle{display:block;margin-top:4px;font-size:14px;line-height:1.4;color:var(--text);word-break:break-word}.chatGeneratedFileSubtitle{margin:6px 0 0;font-size:12px;line-height:1.4;color:var(--text-muted);word-break:break-word}.chatGeneratedFileDownload{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;border:1px solid var(--border);background:var(--surface-soft);color:var(--text);text-decoration:none;font-size:13px;font-weight:600;flex:0 0 auto}.chatPdfPreviewHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px}.chatPdfModalEyebrow,.chatPdfPreviewEyebrow{margin:0;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.chatPdfModalTitle,.chatPdfPreviewTitle{display:block;margin-top:4px;font-size:14px;line-height:1.4;color:var(--text)}.chatPdfPreviewSubtitle{margin:6px 0 0;font-size:12px;line-height:1.4;color:var(--text-muted)}.chatPdfPreviewOpenButton{flex:0 0 auto;padding:8px 12px;border-radius:999px;border:1px solid var(--border);background:var(--surface-soft);color:var(--text);font-size:13px;font-weight:600}.chatPdfPreviewFrameWrap{height:220px;border-top:1px solid var(--line-subtle);background:var(--surface-soft);overflow:hidden}.chatPdfPreviewFrame{display:block;width:100%;height:100%;border:0;background:white}.chatPdfModalBackdrop{position:fixed;inset:0;z-index:80;background:rgba(15,23,42,.55);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:24px}.chatPdfModal{width:min(1080px,100%);height:min(88vh,900px);background:var(--surface);border:1px solid var(--line-subtle);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 18px 50px rgba(0,0,0,.22)}.chatPdfModalHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line-subtle)}.chatPdfModalActions{display:flex;align-items:center;gap:8px}.chatPdfModalIconButton{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;border:1px solid var(--border);background:var(--surface-soft);color:var(--text);text-decoration:none;font-size:20px;line-height:1}.chatPdfModalFrame{flex:1 1 auto;width:100%;border:0;background:white}.chatPdfFallback{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px;text-align:center;color:var(--text-muted)}.chatPdfFallback a{color:var(--text);font-weight:600}.chatPdfFallback--modal{min-height:360px}.chatTodoSection{width:min(100%,48rem);align-self:center;border:1px solid var(--line-subtle);border-radius:16px;background:var(--surface);padding:12px 14px}.chatTodoSectionHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.chatTodoSection.isCollapsed .chatTodoSectionHeader{margin-bottom:0}.chatTodoSectionEyebrow{margin:0;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.chatTodoSectionSummary{margin:4px 0 0;font-size:13px;color:var(--text-muted)}.chatTodoSectionHeaderActions{display:flex;align-items:center;gap:10px;flex:0 0 auto}.chatTodoSectionSyncing{flex:0 0 auto;font-size:12px;font-weight:600;color:var(--text-muted)}.chatTodoSectionToggle{padding:0;border:0;background:transparent;font-size:12px;font-weight:700;color:var(--text-muted)}.chatTodoList{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;max-height:220px;overflow:auto}.chatTodoListItem{border:1px solid var(--line-subtle);border-radius:12px;padding:10px 12px;background:var(--surface-soft)}.chatTodoListItem--in_progress{border-color:color-mix(in srgb,var(--primary) 35%,var(--line-subtle));background:color-mix(in srgb,var(--surface-soft) 82%,var(--primary-soft))}.chatTodoListItem--completed{opacity:.92}.chatTodoListItemHeader,.chatTodoListMeta,.chatTodoListTitleRow{display:flex;gap:8px}.chatTodoListItemHeader{align-items:flex-start;justify-content:space-between}.chatTodoListTitleRow{align-items:center;min-width:0}.chatTodoListId{flex:0 0 auto;font-size:12px;font-weight:700;color:var(--text-muted)}.chatTodoListTitle{min-width:0;font-size:14px;line-height:1.35}.chatTodoStatusPill{flex:0 0 auto;display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;border:1px solid var(--border);background:var(--surface-muted);color:var(--text-muted)}.chatTodoStatusPill--in_progress{color:#854d0e;border-color:rgba(202,138,4,.2);background:rgba(250,204,21,.14)}.chatTodoStatusPill--completed{color:#166534;border-color:rgba(22,101,52,.2);background:rgba(34,197,94,.12)}[data-theme=dark] .chatTodoStatusPill--completed{color:#86efac;border-color:rgba(134,239,172,.22);background:rgba(34,197,94,.16)}[data-theme=dark] .chatTodoStatusPill--in_progress{color:#fde68a;border-color:rgba(250,204,21,.22);background:rgba(250,204,21,.16)}.chatTodoListDescription{margin:8px 0 0;font-size:13px;line-height:1.45;color:var(--text-muted)}.chatTodoListMeta{flex-wrap:wrap;margin-top:8px;font-size:12px;line-height:1.4;color:var(--text-muted)}.chatTodoWorkflowTitle{margin:0;font-size:14px;line-height:1.4;color:var(--text)}.chatTodoWorkflowChecklist{margin-top:10px;max-height:220px;overflow:auto}.chatAreaForChat .chatPanel{height:calc(100vh - 32px)}.wikiWorkspace{height:calc(100vh - 84px);display:flex;gap:12px;min-height:0}.wikiTreePanel{width:320px;flex:0 0 320px;display:flex;flex-direction:column;min-height:0;overflow:hidden}.wikiTreePanel.collapsed{width:160px;flex-basis:160px}.wikiTreeHeader{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 16px 14px;border-bottom:1px solid var(--line-subtle)}.wikiTreeBody{overflow:auto;padding:12px}.treeFolderLabel{cursor:pointer;padding:8px 10px;border-radius:10px;font-weight:600;color:var(--text);display:flex;align-items:center;gap:8px;min-width:0;list-style:none;transition:background .15s ease,border-color .15s ease}.treeFolderLabel::marker{content:""}.treeFolderLabel::-webkit-details-marker{display:none}.treeFolderLabel:before{content:"›";width:12px;flex:0 0 12px;display:inline-flex;align-items:center;justify-content:center;color:var(--text-muted);font-size:15px;line-height:1;transform-origin:center;transition:transform .15s ease,color .15s ease}details[open]>.treeFolderLabel:before{transform:rotate(90deg)}.treeFolderSummaryRow{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0}.treeFolderSummaryLabel{min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeFolderSummaryActions{display:inline-flex;align-items:center;gap:4px}.treeRenameInput{width:min(240px,100%);font:inherit;padding:4px 8px}.treeFileButton{width:100%;text-align:left;border:1px solid transparent;border-radius:10px;padding:9px 12px;background:transparent;margin:2px 0;color:var(--text-muted);display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden;transition:background .15s ease,color .15s ease,border-color .15s ease}.treeItemLabel{min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeFileButton.active,.treeFileButton:hover,.treeFolderLabel:hover{background:var(--primary-soft);color:var(--text)}.projectFilesMainView{height:calc(100vh - 84px);display:flex;flex-direction:column;min-height:0;overflow:hidden}.projectFilesWorkspace{display:grid;grid-template-columns:minmax(280px,.95fr) minmax(360px,1.25fr);grid-gap:16px;gap:16px;min-height:0;height:0;flex:1 1 auto;align-items:stretch;overflow:hidden}.projectFilesPreviewPane,.projectFilesTreePane{min-width:0;min-height:0;height:100%;max-height:100%}.projectFilesTreePane{overflow:auto;overscroll-behavior:contain;padding-right:4px;border-radius:12px;transition:background .15s ease,outline-color .15s ease}.projectFilesTreePane--rootDropTarget{background:var(--surface-soft);outline:1px dashed var(--primary);outline-offset:-1px}.projectFilesPreviewPane{border-left:1px solid var(--line-subtle);padding-left:16px;min-height:0;overflow:auto;overscroll-behavior:contain}.projectFilePreviewPanel{display:flex;flex-direction:column;gap:12px;min-height:100%}.projectFilePreviewHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.projectFilePreviewHeader h3{margin:0}.projectFilePreviewPath{margin:4px 0 0;color:var(--text-muted);overflow-wrap:anywhere}.projectFilePreviewMeta{display:flex;flex-wrap:wrap;gap:8px}.projectFilePreviewHint{margin:0;color:var(--text-muted)}.projectFilePreviewBody{min-height:0}.projectFilePreviewFrame,.projectFilePreviewNotice,.projectFilePreviewPre,.projectFilePreviewText,.projectFileRichPreview{min-height:48vh}.projectFilePreviewPre{margin:0;padding:16px;background:var(--code-bg);color:var(--code-text);border:1px solid var(--code-border);border-radius:12px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.projectFilePreviewFrame,.projectFilePreviewImage,.projectFilePreviewMedia{width:100%;border:1px solid var(--line-subtle);border-radius:12px;background:color-mix(in srgb,var(--panel) 88%,black 12%)}.projectFilePreviewImage{max-height:72vh;object-fit:contain}.projectFilePreviewMedia{min-height:48vh}.projectFilePreviewFrame{min-height:clamp(720px,88vh,1200px)}.projectFilePreviewSkeleton,.projectFileRichPreview{display:flex;flex-direction:column;gap:12px}.projectFilePreviewSkeletonBar,.projectFilePreviewSkeletonLine,.projectFilePreviewSkeletonTableCell{background:linear-gradient(90deg,color-mix(in srgb,var(--panel) 82%,white 18%) 0,color-mix(in srgb,var(--panel) 70%,white 30%) 50%,color-mix(in srgb,var(--panel) 82%,white 18%) 100%);background-size:200% 100%;animation:projectFilePreviewShimmer 1.4s ease-in-out infinite}.projectFilePreviewSkeletonBar{height:14px;border-radius:999px;width:min(320px,100%)}.projectFilePreviewSkeletonBar--short,.projectFilePreviewSkeletonLine--short{width:min(180px,60%)}.projectFilePreviewSkeletonSurface{min-height:48vh;border:1px solid var(--line-subtle);border-radius:12px;padding:16px;background:color-mix(in srgb,var(--panel) 94%,black 6%);display:flex;flex-direction:column;gap:12px;overflow:hidden}.projectFilePreviewSkeletonLine{height:12px;border-radius:999px;width:100%}.projectFilePreviewSkeletonTable{display:grid;grid-gap:8px;gap:8px;margin-top:8px}.projectFilePreviewSkeletonTableRow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px;gap:8px}.projectFilePreviewSkeletonTableCell{height:36px;border-radius:10px}.projectFilePreviewDocxSurface,.projectFileSpreadsheetSurface{min-height:48vh;border:1px solid var(--line-subtle);border-radius:12px;background:color-mix(in srgb,var(--panel) 94%,black 6%);overflow:auto}.projectFilePreviewDocxSurface{padding:24px;display:flex;justify-content:center}.projectFilePreviewDocxSurface .docx-wrapper,.projectFilePreviewDocxSurface .project-docx-preview,.projectFilePreviewDocxSurface .project-docx-preview-wrapper{background:transparent}.projectFilePreviewDocxSurface .docx-wrapper,.projectFilePreviewDocxSurface .project-docx-preview-wrapper{width:100%;padding:0}.projectFilePreviewDocxSurface .docx,.projectFilePreviewDocxSurface .project-docx-preview{margin-inline:auto;box-shadow:0 20px 50px rgba(15,23,42,.18)}.projectFileSpreadsheetViewer{display:flex;flex-direction:column;gap:12px}.projectFileSpreadsheetTabs{display:flex;gap:8px;flex-wrap:wrap}.projectFileSpreadsheetTab{padding:8px 12px;border-radius:999px;border:1px solid var(--line-subtle);background:var(--panel);color:var(--text-main);cursor:pointer;transition:background .12s ease,border-color .12s ease,color .12s ease,transform .12s ease}.projectFileSpreadsheetTab:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--accent) 40%,var(--line-subtle) 60%)}.projectFileSpreadsheetTab.is-active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-strong)}.projectFileSpreadsheetMeta{display:flex;gap:8px;flex-wrap:wrap;color:var(--text-muted)}.projectFileSpreadsheetMetaPill{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;border:1px solid var(--line-subtle);background:color-mix(in srgb,var(--panel) 92%,white 8%)}.projectFileSpreadsheetSurface{padding:12px}.projectFileSpreadsheetSurface table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;background:var(--panel)}.projectFileSpreadsheetSurface td,.projectFileSpreadsheetSurface th{border-right:1px solid var(--line-subtle);border-bottom:1px solid var(--line-subtle);padding:8px 10px;text-align:left;vertical-align:top;max-width:320px;overflow-wrap:anywhere}.projectFileSpreadsheetSurface tr>:first-child{border-left:1px solid var(--line-subtle)}.projectFileSpreadsheetSurface tr:first-child>*{border-top:1px solid var(--line-subtle)}.projectFileSpreadsheetSurface tbody tr:nth-child(2n) td{background:color-mix(in srgb,var(--panel) 95%,black 5%)}.projectFileSpreadsheetSurface th{position:-webkit-sticky;position:sticky;top:0;background:color-mix(in srgb,var(--panel) 92%,black 8%);z-index:2}.projectFileSpreadsheetSurface td:first-child,.projectFileSpreadsheetSurface th:first-child{position:-webkit-sticky;position:sticky;left:0;background:color-mix(in srgb,var(--panel) 96%,black 4%);z-index:1}.projectFileSpreadsheetSurface th:first-child{z-index:3}.projectFilePreviewEmpty{min-height:48vh}.wikiMainView{flex:1 1;display:flex;flex-direction:column;min-height:0;min-width:0;padding:18px 20px}.wikiEditorSurface{gap:12px}.wikiMainToolbar{margin-bottom:12px}.wikiEditorToolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.wikiEditorTitle{margin:0}.wikiEditorMetaRow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:4px}.wikiEditorMetaRow .projectFilePreviewPath{margin:0}.wikiEditorActions{display:flex;gap:8px;flex-wrap:wrap}.wikiEditorTextarea{flex:1 1 auto;min-height:60vh;width:100%;resize:vertical;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.wikiRenderedMarkdown{flex:1 1 auto;min-height:0}.wikiMainMeta{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.sharedDraftPanel{margin-bottom:14px;padding:16px}.sharedDraftTextarea{min-height:180px}.markdownBody{overflow:auto;padding-right:8px;line-height:1.7}.markdownBody h1,.markdownBody h2,.markdownBody h3,.markdownBody h4{line-height:1.25;margin-top:1.2em}.markdownBody pre{background:var(--code-bg);color:var(--code-text);border:1px solid var(--code-border);padding:12px;border-radius:10px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.markdownBody code{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.markdownBody :not(pre)>code{background:var(--inline-code-bg);color:var(--inline-code-text);border:1px solid var(--border-strong);border-radius:8px;padding:.12rem .38rem}.markdownBody pre code{color:inherit;white-space:inherit}.markdownBody table{border-collapse:collapse;width:100%}.markdownBody td,.markdownBody th{border:1px solid var(--border);padding:8px;text-align:left;vertical-align:top}@media (max-width:1200px){.appShell{flex-direction:column}.sidebar{width:100%;flex-basis:auto;min-width:0;border-right:0;border-bottom:1px solid var(--border)}.sidebarResizeHandle{display:none}.sidebarInner{position:static;max-height:none;overflow:visible}.chatArea{padding:16px}.chatPanel,.wikiWorkspace{height:auto;min-height:70vh}.chatPanelWorkspace{flex-direction:column}.chatCodeSidebar,.chatCodeSidebar.isOpen{flex-basis:auto;max-width:100%;margin-left:0;margin-top:12px;transform:none}.projectFilesMainView{height:auto;min-height:70vh}.projectFilesWorkspace,.projectOverviewGrid{grid-template-columns:1fr}.projectFilesPreviewPane{border-left:0;border-top:1px solid var(--line-subtle);padding-left:0;padding-top:16px}.mobileMenuButton{display:none}}@media (max-width:840px){.appShell{flex-direction:row;gap:0}.sidebar{position:fixed;top:0;left:0;bottom:0;height:100%;z-index:1000;border-right:1px solid var(--border);border-bottom:0;transition:transform .25s ease;overflow:visible}.sidebar,.sidebar.collapsed{width:300px!important;min-width:300px!important;flex-basis:300px!important;transform:translateX(-100%)}.sidebar.mobileOpen{transform:translateX(0)}.sidebarInner{position:static;height:100%;max-height:100%;overflow-y:auto;overflow-x:hidden}.sidebarCollapseToggle,.sidebarResizeHandle{display:none}.mobileDrawerBackdrop{display:block;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:999;opacity:0;pointer-events:none;transition:opacity .25s ease}.mobileDrawerBackdrop.visible{opacity:1;pointer-events:auto}.mobileMenuButton{display:inline-flex}.chatArea{padding:12px 12px env(safe-area-inset-bottom,12px);width:100%}.chatPanel,.wikiWorkspace{height:calc(100dvh - 60px);min-height:0;border-radius:12px}.chatPanelWorkspace{flex-direction:column;height:100%}.chatCodeSidebar{display:none}.chatCodeSidebar.isOpen{display:flex;position:fixed;inset:0;z-index:900;max-width:100%;margin:0;border-radius:0;transform:none;flex-basis:auto}.heroSection,.mainHeader,.surfaceCard,.wikiMainView{padding:14px}.mainHeader{flex-direction:column}.modeCard,.modeChooser,.transcriptWorkflowPanel,.transcriptWorkflowShell{padding:14px}.dangerActionCard,.modeCardGrid,.modeChooserHeader,.projectCreateMainActions,.projectCreateRow,.projectSectionHeader,.sectionHeaderBlock,.titleRow,.transcriptEditorHeader,.transcriptWorkflowActionRow,.transcriptWorkflowGrid,.transcriptWorkflowMeta,.wikiTreeHeader{flex-direction:column;align-items:stretch}.headerActions{justify-content:flex-start}.modeCardGrid,.themePickerList,.transcriptWorkflowGrid{grid-template-columns:1fr}.transcriptWorkflowTextarea{min-height:300px}.projectCreateRow{gap:8px}.statsRow{grid-template-columns:1fr}.wikiWorkspace{flex-direction:column}.wikiTreePanel,.wikiTreePanel.collapsed{width:100%;flex-basis:auto}.projectFilesMainView{height:auto;min-height:60vh}.projectFilesWorkspace,.projectOverviewGrid{grid-template-columns:1fr}.projectFilesPreviewPane{border-left:0;border-top:1px solid var(--line-subtle);padding-left:0;padding-top:12px}.iconButton,.projectButton,.sidebarChatRow button{min-height:44px;min-width:44px}}@media (max-width:640px){.chatArea{padding:6px 6px env(safe-area-inset-bottom,6px)}.chatPanel,.wikiWorkspace{height:calc(100dvh - 52px);border-radius:10px}.heroSection,.surfaceCard,.wikiMainView{padding:12px;border-radius:12px}.modeCard,.modeChooser{padding:12px}.chatPanelHeader{padding:8px 10px}.sidebar.mobileOpen{width:85vw!important;min-width:85vw!important;max-width:320px}.commandAwareInputShell{max-width:100%;padding:0 4px}}.mobileMenuButton{display:none;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;min-height:40px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);cursor:pointer;flex-shrink:0}.mobileMenuButton:active{background:var(--surface-soft)}.mobileDrawerBackdrop{display:none}.sidebar .heroSection,.sidebar .surfaceCard{border:0;border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;padding:0}.sidebar .emptyPanel{padding:0}.settingsShell{justify-content:center;padding:32px 20px}.settingsScreen{width:min(760px,100%);padding:28px;display:flex;flex-direction:column;gap:24px}.settingsScreenHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.themePickerList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.settingsOptionButton{border:1px solid var(--border);background:var(--surface-strong);color:var(--text);border-radius:14px;padding:16px;display:flex;align-items:center;gap:14px;text-align:left}.settingsOptionButton.active{border-color:var(--border-strong);background:var(--surface-soft)}.settingsOptionIcon{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:var(--surface-muted)}.settingsOptionCopy{display:flex;flex-direction:column;gap:4px}.sidebar .projectList{gap:2px;margin-top:8px}.sidebar .projectButton{border:0;border-radius:10px;padding:10px 12px;background:transparent;box-shadow:none}.sidebar .projectButton.active{background:var(--surface-soft);border-color:transparent}.sidebar .projectDescription,.sidebar .sectionHint,.sidebar .statusBadge{display:none}.sidebar .metaPill,.sidebar .statCard{display:inline-flex}.sidebar .actionRow,.sidebar .metaRow,.sidebar .statsRow,.sidebar .uploadCard{margin-top:8px}.sidebar .dangerButton,.sidebar .primaryButton,.sidebar .secondaryButton:not(.sidebarUtilityButton),.sidebar .toggleButton{padding:9px 12px}.projectTree{gap:10px}.projectScopeGroup,.projectTree{display:flex;flex-direction:column}.projectScopeGroup{gap:4px}.scopeGroupLabel{margin:6px 0 2px;color:var(--text-muted);font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.treeGroup{display:flex;flex-direction:column;gap:2px;min-width:0}.treeProjectRow{display:flex;align-items:center;gap:4px;min-width:0}.sidebarChatRow,.treeChatRow{position:relative;display:flex;align-items:flex-start;gap:6px}.sidebarChatRow .projectButton,.treeChatRow .treeChatButton{flex:1 1;min-width:0}.chatRowMenuAnchor{position:relative;align-self:center;flex:0 0 auto;z-index:2}.chatRowMenuButton{width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;align-self:center;flex:0 0 28px;opacity:0;pointer-events:none;transition:opacity .15s ease,background .15s ease,color .15s ease}.chatRowMenuButton.visible,.sidebarChatRow:hover .chatRowMenuButton,.treeChatRow:hover .chatRowMenuButton{opacity:1;pointer-events:auto}.chatRowMenuButton.active,.chatRowMenuButton:hover{background:var(--surface-soft);color:var(--text)}.chatContextMenu{position:absolute;right:0;bottom:calc(100% + 4px);min-width:132px;padding:6px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow);display:flex;flex-direction:column;gap:2px;z-index:20}.chatContextMenu--below{top:calc(100% + 4px);bottom:auto}.chatContextMenuItem{border:0;background:transparent;color:var(--text);text-align:left;border-radius:8px;padding:8px 10px}.chatContextMenuItem:hover{background:var(--surface-soft)}.chatContextMenuItem.danger{color:#b91c1c}.treeChatButton,.treeProjectButton{width:100%;border:0;background:transparent;color:var(--text);text-align:left;border-radius:10px}.treeProjectButton{display:flex;align-items:center;gap:8px;padding:9px 10px;font-weight:600;min-width:0;overflow:hidden}.treeProjectButton .statusBadge{margin-left:auto;flex:0 0 auto}.treeChatButton.active,.treeProjectButton.active{background:transparent}.treeProjectButton.active{color:var(--text)}.treeChevron{width:12px;color:var(--text-muted);flex:0 0 12px;display:inline-flex;align-items:center;justify-content:center;font-size:15px;line-height:1;transform-origin:center;transition:transform .15s ease,color .15s ease}.treeChevron.open{transform:rotate(90deg)}.treeLabel{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeChildren{margin-left:16px;padding-left:8px;border-left:1px solid var(--line-subtle);display:flex;flex-direction:column;gap:2px;min-width:0}.treeInlineAction{width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;transition:background .15s ease,color .15s ease,opacity .15s ease}.treeInlineAction:focus-visible,.treeInlineAction:hover{background:var(--surface-soft);color:var(--text)}.treeInlineAction:disabled{opacity:.45;cursor:not-allowed}.treeFileButton--dragging{opacity:.6}.treeFolderLabel--dropTarget{background:var(--primary-soft);color:var(--text);outline:1px dashed var(--primary)}.fileMetadataEditor{margin-bottom:12px;padding:16px;display:flex;flex-direction:column;gap:14px}.fileMetadataEditorHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.fileMetadataEditorHeader p{margin:4px 0 0}.fileMetadataEditorGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:12px;gap:12px}.fileMetadataEditorActions{display:flex;justify-content:flex-end}.fileManagerField{flex:1 1 320px}.fileManagerInlineRow{display:flex;gap:8px;align-items:center}.fileManagerInlineRow>input{flex:1 1 auto;min-width:0}.labelCatalog{display:flex;flex-wrap:wrap;gap:8px}.labelCatalog--stacked{flex-direction:column;align-items:stretch}.labelManagerRow{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.labelManagerActions{display:inline-flex;align-items:center;gap:4px}.labelSwatch,.labelSwatchButton{display:inline-flex;align-items:center;justify-content:center;min-height:32px;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:700}.labelSwatchButton{border:2px solid transparent;cursor:pointer}.labelSwatchButton--selected{border-color:rgba(255,255,255,.8);box-shadow:inset 0 0 0 1px rgba(15,23,42,.18)}.treeComposerRow{display:flex;gap:8px;padding:6px 0 8px}.treeComposerInput{min-width:0}.projectScopeToggle{flex:0 0 auto}.treeChatButton{padding:8px 10px;color:var(--text-muted);justify-content:space-between}.treeChatButton,.treeChatButtonContent{display:flex;align-items:center;gap:8px}.treeChatButtonContent{min-width:0;flex:1 1}.chatCreatorBadge{width:24px;height:24px;border-radius:999px;overflow:hidden;flex:0 0 24px;display:inline-flex;align-items:center;justify-content:center;background:var(--surface-soft);color:var(--text-muted);font-size:11px;font-weight:700;line-height:1;border:1px solid var(--border)}.chatCreatorBadge img{width:100%;height:100%;object-fit:cover;display:block}.treeChatButtonLabel{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeChatButton.active{color:var(--text);font-weight:600}.projectFileGlyph{flex:0 0 auto;stroke-width:1.85}.projectFileGlyph--image{color:#2563eb}.projectFileGlyph--audio{color:#7c3aed}.projectFileGlyph--video{color:#db2777}.projectFileGlyph--pdf{color:#dc2626}.projectFileGlyph--slides{color:#ea580c}.projectFileGlyph--sheet{color:#16a34a}.projectFileGlyph--code,.projectFileGlyph--wiki{color:#0284c7}.projectFileGlyph--archive{color:#a16207}.projectFileGlyph--generic,.projectFileGlyph--text{color:var(--text-muted)}.sidebarResizeHandle{position:absolute;top:0;right:-4px;bottom:0;width:8px;cursor:col-resize;z-index:20}.sidebarResizeHandle:after{content:"";position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);width:2px;background:transparent;transition:background .15s ease}.sidebarResizeHandle:hover:after{background:var(--border-strong)}.sidebarCollapseBar{min-height:48px}.treeEmptyText{margin:8px 0 0;color:var(--text-muted);font-size:13px;line-height:1.5}.treeLoadingState{display:inline-flex;align-items:center;gap:8px}.treeLoadingSpinner{width:14px;height:14px;border-radius:999px;border:2px solid color-mix(in srgb,var(--text-muted) 28%,transparent);border-top-color:var(--text-muted);animation:transcriptProgressSpin .9s linear infinite;flex:0 0 14px}.chatSourceReferencePill--muted{opacity:.72;font-style:italic}.ingestProgressPanel{margin-top:10px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface-strong)}.ingestProgressHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.progressBar{width:100%;height:8px;border-radius:999px;background:var(--surface-soft);overflow:hidden}.progressBar>span{display:block;height:100%;background:var(--text);border-radius:inherit;transition:width .25s ease}.ingestProgressCopy{margin:8px 0 0}.chatPanel.surfaceCard,.wikiMainView.surfaceCard{border-radius:16px}[data-theme=dark] .chatPanel,[data-theme=dark] .chatPanel [data-copilotkit],[data-theme=dark] .chatPanel [data-testid=copilot-chat-input],[data-theme=dark] .chatPanel.surfaceCard{background:#212121}