:root{color-scheme:light;--bg-app: #ffffff;--bg-sidebar: #f3f4f6;--bg-surface: #ffffff;--bg-muted: #f7f5fb;--bg-hover: #f1ebfc;--bg-active: #eae0fc;--border: #e6e6e6;--border-strong: #c4b6d9;--text: #212121;--text-secondary: #364153;--text-muted: #626071;--text-faint: #716a7b;--accent: #873eff;--accent-rgb: 135, 62, 255;--accent-hover: #6f2ee0;--accent-soft: #f8f4ff;--on-accent: #ffffff;--link: #6f2ee0;--success: #2f8557;--warning-bg: #fff8e9;--warning-text: #7d5a1b;--warning-border: #ead7a9;--error-bg: #fff0f4;--error-text: #a13553;--error-border: #ecc6d2;--shadow-sm: 0 2px 8px #1a102b08;--shadow-popover: 0 10px 32px #1a102b18;--shadow-drawer: 0 0 36px #1a102b18;--overlay: #1a102b40;--focus: #873eff}:root[data-theme=dark]{color-scheme:dark;--bg-app: #1a102b;--bg-sidebar: #160d24;--bg-surface: #211535;--bg-muted: #291c3e;--bg-hover: #342149;--bg-active: #3b2457;--border: #3a2b4d;--border-strong: #655077;--text: #f5f0fb;--text-secondary: #d4c9df;--text-muted: #b6a8c7;--text-faint: #ab9cbd;--accent: #b58aff;--accent-rgb: 181, 138, 255;--accent-hover: #c8a7ff;--accent-soft: #2c1b43;--on-accent: #1a102b;--link: #c5a2ff;--success: #7cd6a2;--warning-bg: #33281e;--warning-text: #ebce94;--warning-border: #66502e;--error-bg: #3c2035;--error-text: #f2b6cd;--error-border: #75425d;--shadow-sm: 0 2px 8px #09041035;--shadow-popover: 0 12px 36px #09041070;--shadow-drawer: 0 0 36px #09041070;--overlay: #09041090;--focus: #c8a7ff}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text);background:var(--bg-app);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: var(--text);--muted: var(--text-muted);--green: var(--accent);--sage: var(--bg-muted)}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;min-width:0}body{margin:0;overflow:hidden;overscroll-behavior-y:none}button,input,textarea,select{font:inherit}button{color:inherit;cursor:pointer;border:0}button,input,textarea,select{-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button{transition:background .15s,color .15s,border-color .15s}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}button svg{flex-shrink:0}.app-logo{display:inline-grid;place-items:center;width:32px;height:32px;flex-shrink:0;line-height:0;vertical-align:middle}.app-logo img{grid-area:1 / 1;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}select option{color:var(--text);background:var(--bg-surface)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border-radius:8px;background:transparent;color:var(--text-muted);flex-shrink:0}.icon-button:hover:not(:disabled){background:var(--bg-hover);color:var(--text)}.icon-button:disabled{opacity:.4}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{position:fixed;top:var(--app-offset-top, 0px);left:0;right:0;display:flex;height:100vh;height:var(--app-height, 100dvh);min-height:0;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) 0 env(safe-area-inset-left,0px);overflow:hidden}.sidebar{display:none;flex:0 0 240px;width:240px;flex-direction:column;padding:18px 12px 0;background:var(--bg-sidebar);border-right:1px solid var(--border);min-height:0}.sidebar.is-open{display:flex}.brand{display:flex;align-items:center;gap:8px;min-height:34px;margin:0 6px 22px;color:var(--text);font-size:16px;font-weight:600;letter-spacing:-.4px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px}.brand-mark .app-logo{width:34px;height:34px}.brand-light{font-weight:400}.workspace-navigation{display:grid;grid-template-columns:1fr;gap:4px;margin-bottom:14px;padding:4px;border:1px solid var(--border);border-radius:10px;background:var(--bg-muted)}.workspace-navigation button{display:flex;align-items:center;justify-content:flex-start;gap:9px;min-height:44px;padding:10px 12px;border-radius:7px;background:transparent;color:var(--text-muted);font-size:13px}.workspace-navigation button[aria-current=page]{background:var(--bg-surface);color:var(--accent);box-shadow:var(--shadow-sm)}.workspace-navigation button:hover{background:var(--bg-hover)}.brand>.icon-button{margin-left:auto}.new-chat-button{display:flex;align-items:center;gap:10px;width:100%;margin-bottom:13px;padding:11px 12px;border:1px solid var(--accent);border-radius:9px;background:var(--accent);font-size:13px;font-weight:500;text-align:left;color:var(--on-accent)}.new-chat-button:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.new-chat-button:disabled{opacity:.5}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;margin:18px 10px 10px;color:var(--text-muted);font-size:12px;font-weight:500}.sidebar-line{display:none}.conversation-search{display:flex;align-items:center;gap:8px;margin:0 3px;padding:0 8px;color:var(--text-muted);border:1px solid transparent;border-radius:7px}.conversation-search:focus-within{background:var(--bg-surface);border-color:var(--focus)}.conversation-search input{width:100%;min-width:0;padding:8px 0;border:0;background:transparent;color:var(--text);font-size:12px;outline:none}.conversation-search input::placeholder{color:var(--text-muted)}.conversation-list{flex:1;min-height:0;overflow-y:auto;padding:0 0 16px;scrollbar-width:thin}.conversation-row{display:flex;align-items:center;min-width:0;margin-bottom:3px;border-radius:7px}.conversation-row:hover{background:var(--bg-hover)}.conversation-row.active{background:var(--bg-active)}.conversation-link{display:flex;align-items:center;flex:1;gap:9px;min-width:0;width:0;padding:11px 10px;background:transparent;color:var(--text-secondary);text-align:left;font-size:13px}.conversation-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-link svg{color:var(--text-faint)}.conversation-row.active .conversation-link{color:var(--link)}.conversation-link:disabled{opacity:.5}.conversation-delete{width:28px;height:28px;margin-right:3px;opacity:0}.conversation-row:hover .conversation-delete,.conversation-row:focus-within .conversation-delete{opacity:1}.sidebar-empty{display:flex;align-items:center;justify-content:center;gap:8px;padding:22px 12px;color:var(--text-muted);font-size:12px;line-height:1.6;text-align:center}.sidebar-empty p{margin:0}.sidebar-bottom{flex-shrink:0}.local-status{display:flex;align-items:center;gap:9px;padding:17px 7px 20px;border-top:1px solid var(--border)}.local-status>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.local-status strong{color:var(--text-secondary);font-size:11px;font-weight:500}.local-status div>span{color:var(--text-muted);font-size:11px}.local-status .icon-button{width:28px;height:28px}.status-dot{display:inline-block;flex-shrink:0;width:6px;height:6px;border-radius:50%;background:var(--text-faint)}.status-dot.online{background:var(--success)}.main-panel{position:relative;display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;background:var(--bg-app)}.workspace-page{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}.workspace-page[hidden]{display:none}.main-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:16px;height:64px;padding:0 24px}.header-title{display:flex;align-items:center;gap:13px;min-width:0}.header-conversation{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:500;color:var(--text-secondary)}.header-actions{display:flex;align-items:center;flex-shrink:0;gap:14px}.theme-control{display:inline-flex;align-items:center;gap:6px;min-width:0;color:var(--text-muted)}.theme-control>svg{flex-shrink:0}.theme-picker{min-width:0;max-width:100px;min-height:34px;padding:6px 9px;border:1px solid var(--border);border-radius:8px;background:var(--bg-surface);color:var(--text-secondary);font-size:12px;cursor:pointer}.theme-picker:hover{border-color:var(--border-strong);background:var(--bg-hover)}.local-badge{display:inline-flex;align-items:center;gap:6px;color:var(--text-muted);font-size:11px}.library-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:7px 10px;border-radius:8px;background:transparent;color:var(--text-secondary);font-size:12px}.library-toggle:hover{background:var(--bg-hover);color:var(--text)}.library-toggle.selected{background:var(--accent-soft);color:var(--accent)}.menu-toggle{display:inline-flex}.mobile-close{display:none}.chat-view{display:flex;flex-direction:column;flex:1;min-height:0}.chat-view-empty{justify-content:center;padding-bottom:clamp(20px,10vh,100px);overflow-y:auto}.conversation-scroll{position:relative;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}.chat-view-empty .conversation-scroll{flex:0 0 auto;overflow:visible}.welcome{display:flex;flex-direction:column;align-items:center;padding:20px 24px 29px;text-align:center}.welcome-mark{display:flex;align-items:center;justify-content:center;width:54px;height:54px;margin-bottom:20px;color:var(--accent)}.welcome-mark .app-logo{width:64px;height:64px}.welcome h1{margin:0;font-size:clamp(25px,2.5vw,31px);line-height:1.3;letter-spacing:-.8px;font-weight:500}.composer-region{position:relative;flex-shrink:0;width:100%;max-width:808px;margin:0 auto;padding:12px 24px 18px}.chat-view-empty .composer-region{padding-top:0;padding-bottom:0}.composer{padding:17px 14px 11px;border:1px solid var(--border);border-radius:12px;background:var(--bg-surface);box-shadow:none;transition:border-color .15s}.composer:focus-within{border-color:var(--focus);box-shadow:none}.composer textarea{display:block;width:100%;min-height:50px;max-height:180px;resize:none;margin:0 0 10px;padding:0 3px;border:0;outline:none;background:transparent;color:var(--text);font-size:15px;line-height:1.65}.composer textarea::placeholder{color:var(--text-faint)}.composer textarea:focus-visible{outline:none}.source-link{color:var(--link);text-decoration:none;text-underline-offset:3px}.source-link:hover{text-decoration:underline}.source-external{margin-left:5px;vertical-align:-1px}.context-toggle{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:5px 7px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--text-faint);font-size:11px}.context-toggle.enabled{background:var(--accent-soft);color:var(--accent)}.context-toggle:hover:not(:disabled){background:var(--bg-hover);color:var(--text)}.context-toggle.enabled:hover:not(:disabled){background:var(--accent-soft);color:var(--accent-hover)}.context-toggle:disabled{opacity:.6}.send-button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border-radius:50%;background:var(--accent);color:var(--on-accent);flex-shrink:0}.send-button:hover:not(:disabled){background:var(--accent-hover)}.send-button:disabled{background:var(--bg-muted);color:var(--text-faint)}.composer-caption{min-height:26px;padding:9px 8px 0;color:var(--text-faint);font-size:11px;line-height:1.5;text-align:center}.starter-prompts{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:center;gap:8px;width:100%;max-width:808px;margin:4px auto 0;padding:14px 24px 22px}.starter-prompt{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 11px;border:1px solid var(--border);border-radius:8px;background:var(--bg-surface);color:var(--text-muted);font-size:12px}.starter-prompt:hover{border-color:var(--border-strong);background:var(--bg-hover);color:var(--text)}.scroll-bottom{position:absolute;left:50%;top:-35px;transform:translate(-50%);display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid var(--border);border-radius:50%;background:var(--bg-surface);color:var(--text-secondary);box-shadow:var(--shadow-sm);z-index:2}.messages{width:100%;max-width:808px;margin:0 auto;padding:28px 28px 12px}.message{display:flex;min-width:0;margin-bottom:26px}.message-body{min-width:0;width:100%}.message-user{justify-content:flex-end}.message-user .message-body{width:fit-content;max-width:85%}.message-user .message-content{padding:11px 17px;border-radius:19px;background:var(--bg-muted)}.message-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-height:27px;margin-top:6px;opacity:0;transition:opacity .15s}.message:hover .message-actions,.message:focus-within .message-actions{opacity:1}.message-user .message-actions{justify-content:flex-end}.message-copy{width:28px;height:28px;border-radius:6px;color:var(--text-faint)}.message-action-feedback{color:var(--text-muted);font-size:11px;line-height:1.5}.markdown{color:var(--text);font-size:15px;line-height:1.85;overflow-wrap:anywhere}.markdown>:first-child{margin-top:0}.markdown>:last-child{margin-bottom:0}.markdown p{margin:0 0 14px}.markdown ul,.markdown ol{padding-left:24px}.markdown li{margin:5px 0}.markdown h1,.markdown h2,.markdown h3{font-size:22px;font-weight:600;line-height:1.4;margin:24px 0 12px;letter-spacing:-.3px}.markdown h2{font-size:20px}.markdown h3{font-size:17px}.markdown strong{color:var(--text);font-weight:600}.markdown a{color:var(--link);text-underline-offset:3px}.markdown blockquote{margin:17px 0;padding-left:16px;border-left:3px solid var(--border);color:var(--text-muted)}.markdown code{padding:2px 5px;border-radius:4px;background:var(--bg-muted);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.86em}.markdown pre{overflow-x:auto;max-width:100%;padding:17px;border:1px solid var(--border);border-radius:10px;background:var(--bg-muted);line-height:1.7}.markdown pre code{padding:0;background:transparent}.markdown hr{margin:24px 0;border:0;border-top:1px solid var(--border)}.markdown img{max-width:100%;border-radius:8px}.markdown-table-scroll{width:100%;min-width:0;max-width:100%;margin:16px 0;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid var(--border);border-radius:10px;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}.markdown-table-scroll:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.markdown table{width:100%;margin:0;border-collapse:separate;border-spacing:0;table-layout:auto;font-size:.9em;line-height:1.65}.markdown th,.markdown td{min-width:6rem;max-width:26rem;padding:10px 12px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:top;text-align:left;white-space:normal;overflow-wrap:anywhere;word-break:normal}.markdown th{background:var(--bg-muted);color:var(--text);font-weight:600}.markdown td{color:var(--text-secondary)}.markdown tr>:last-child{border-right:0}.markdown tbody tr:last-child>td{border-bottom:0}.sources{margin-top:14px}.sources>summary{display:inline-flex;align-items:center;gap:6px;padding:5px 0;border-radius:5px;color:var(--text-muted);font-size:12px;cursor:pointer;list-style:none}.sources>summary:hover{color:var(--text)}.sources>summary::-webkit-details-marker{display:none}.sources[open]>summary>svg:last-child{transform:rotate(180deg)}.source-list{display:flex;flex-direction:column;gap:8px;margin-top:8px}.source-card{padding:13px;border:1px solid var(--border);border-radius:9px;background:var(--bg-muted)}.source-heading{display:flex;align-items:center;gap:7px;font-size:12px}.source-heading strong{overflow:hidden;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.source-number{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:20px;height:20px;border-radius:5px;background:var(--accent-soft);color:var(--accent);font-size:10px}.source-kind{flex-shrink:0;margin-left:auto;color:var(--text-muted);font-size:10px}.source-card p{margin:9px 0 0;color:var(--text-muted);font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.message-note{margin:9px 0 0;color:var(--warning-text);font-size:12px;line-height:1.6}.thinking{display:flex;align-items:center;gap:4px;padding:6px 0;color:var(--text-muted)}.thinking>span:not(.thinking-label){width:5px;height:5px;border-radius:50%;background:var(--text-faint);animation:pulse 1.5s ease-in-out infinite}.thinking>span:nth-child(2){animation-delay:.15s}.thinking>span:nth-child(3){animation-delay:.3s}.thinking-label{margin-left:7px;font-size:12px}@keyframes pulse{0%,70%,to{opacity:.35}35%{opacity:1}}.conversation-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;gap:9px;color:var(--text-muted);font-size:13px}.alert{display:flex;align-items:center;flex-shrink:0;gap:9px;padding:11px 24px;font-size:12px;line-height:1.6;border-bottom:1px solid var(--warning-border)}.alert>svg{flex-shrink:0}.alert>span{flex:1}.alert>button:not(.icon-button){padding:5px;background:transparent;color:inherit;font-size:12px;text-decoration:underline;text-underline-offset:2px}.alert-error{background:var(--error-bg);color:var(--error-text);border-color:var(--error-border)}.alert-notice{background:var(--warning-bg);color:var(--warning-text);border-color:var(--warning-border)}.alert .icon-button{height:26px;width:26px;color:inherit}.knowledge-panel{position:fixed;top:var(--app-offset-top, 0px);right:0;z-index:30;display:none;flex-direction:column;width:340px;max-width:calc(100vw - 24px);height:var(--app-height, 100dvh);min-height:0;padding-top:env(safe-area-inset-top,0px);padding-right:env(safe-area-inset-right,0px);padding-bottom:env(safe-area-inset-bottom,0px);border-left:1px solid var(--border);background:var(--bg-surface);box-shadow:var(--shadow-drawer)}.knowledge-panel.is-open{display:flex}.knowledge-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:10px;height:64px;padding:0 21px;border-bottom:1px solid var(--border)}.knowledge-header>div{display:flex;align-items:center;gap:9px;color:var(--text-secondary)}.knowledge-header h2{margin:0;color:var(--text);font-size:14px;font-weight:500}.knowledge-panel .mobile-close{display:inline-flex;margin-left:auto}.document-count{display:flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:6px;background:var(--bg-muted);color:var(--text-muted);font-size:11px}.knowledge-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;padding:22px 20px;scrollbar-width:thin}.knowledge-intro{margin:0 0 20px;color:var(--text-muted);font-size:13px;line-height:1.75}.desktop-break{display:none}.upload-zone{display:flex;flex-direction:column;align-items:center;width:100%;padding:23px 12px 19px;border:1px dashed var(--border-strong);border-radius:11px;background:var(--bg-muted);text-align:center}.upload-zone:hover:not(:disabled),.upload-zone.dragging{border-color:var(--accent);background:var(--accent-soft)}.upload-zone:disabled{opacity:.65}.upload-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;margin-bottom:12px;color:var(--text-muted)}.upload-zone strong{margin-bottom:7px;color:var(--text-secondary);font-size:13px;font-weight:500}.upload-zone>span:not(.upload-icon){max-width:100%;color:var(--text-muted);font-size:12px;line-height:1.7;overflow-wrap:anywhere}.upload-browse{text-decoration:underline;text-underline-offset:2px}.upload-zone small{margin-top:10px;color:var(--text-faint);font-size:11px}.library-section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:28px 0 13px;color:var(--text-muted);font-size:10px;font-weight:500;letter-spacing:.7px}.library-section-heading>span:last-child:not(:first-child){letter-spacing:0;font-weight:400}.document-list{display:flex;flex-direction:column;gap:8px}.document-row{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border:1px solid var(--border);border-radius:9px;background:var(--bg-surface)}.file-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:29px;height:34px;border-radius:5px;background:var(--bg-muted);color:var(--text-muted)}.document-info{display:flex;flex-direction:column;flex:1;min-width:0;gap:6px}.document-info strong{overflow:hidden;color:var(--text-secondary);font-size:12px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.document-info>span{display:flex;align-items:center;gap:5px;color:var(--text-muted);font-size:10px}.document-delete{width:26px;height:28px;opacity:0}.document-row:hover .document-delete,.document-row:focus-within .document-delete{opacity:1}.empty-library{padding:30px 0 20px;text-align:center}.empty-library-art{display:flex;align-items:center;justify-content:center;height:44px;margin-bottom:14px;color:var(--text-faint)}.empty-library-art>span{display:none}.empty-library h3{margin:0 0 8px;color:var(--text-secondary);font-size:12px;font-weight:500}.empty-library p{margin:0;color:var(--text-faint);font-size:12px;line-height:1.8}.indexing-notice{display:flex;gap:8px;margin-top:20px;padding:12px;border:1px solid var(--warning-border);border-radius:8px;background:var(--warning-bg);color:var(--warning-text)}.indexing-notice>svg{flex-shrink:0;margin-top:1px}.indexing-notice strong{display:block;font-size:12px;font-weight:500;line-height:1.6}.indexing-notice p{margin:6px 0 0;color:var(--warning-text);font-size:12px;line-height:1.7}.knowledge-bottom{flex-shrink:0;padding:17px 20px 20px;border-top:1px solid var(--border)}.connection-details{padding:0 11px;border:1px solid var(--border);border-radius:8px;background:var(--bg-muted)}.connection-details summary{display:flex;align-items:center;gap:7px;padding:11px 0;color:var(--text-secondary);font-size:12px;cursor:pointer;list-style:none}.connection-details summary::-webkit-details-marker{display:none}.connection-details summary>.status-dot{margin-left:auto}.connection-details[open] summary>svg{transform:rotate(180deg)}.connection-details dl{margin:0;padding-top:5px;border-top:1px solid var(--border)}.connection-details dl>div{display:flex;align-items:center;justify-content:space-between;padding:7px 0;font-size:12px}.connection-details dt{color:var(--text-muted)}.connection-details dd{margin:0;color:var(--text-secondary)}.text-button{display:flex;align-items:center;gap:6px;padding:11px 0 12px;background:transparent;color:var(--text-muted);font-size:12px}.text-button:hover{color:var(--accent)}.mobile-scrim{position:fixed;top:var(--app-offset-top, 0px);left:0;right:0;height:var(--app-height, 100dvh);z-index:25;display:none;background:var(--overlay)}.knowledge-open>.mobile-scrim{display:block}@media(max-width:760px){.sidebar{position:fixed;top:var(--app-offset-top, 0px);left:0;z-index:30;width:min(300px,calc(100vw - 40px));height:var(--app-height, 100dvh);padding-top:max(18px,env(safe-area-inset-top,0px));padding-left:max(12px,env(safe-area-inset-left,0px));box-shadow:var(--shadow-drawer)}.navigation-open>.mobile-scrim{display:block}.sidebar .mobile-close{display:inline-flex}.sidebar-bottom .local-status{padding-bottom:max(20px,env(safe-area-inset-bottom,0px))}.brand{margin-bottom:19px}.main-header{height:58px;padding:0 12px;gap:8px}.header-title{gap:7px}.header-conversation{font-size:13px}.header-actions{gap:5px}.header-actions .local-badge{display:none}.library-toggle{padding:7px;font-size:12px}.welcome{padding-bottom:24px}.welcome-mark{margin-bottom:15px}.chat-view-empty{padding-bottom:max(20px,9vh)}.composer-region{padding:10px 16px max(14px,env(safe-area-inset-bottom))}.composer{padding:14px 11px 10px;border-radius:12px}.composer textarea{min-height:48px;font-size:16px}.conversation-search input{font-size:16px}.composer-caption{font-size:10px}.starter-prompts{gap:7px;padding:13px 18px 22px}.starter-prompt{padding:8px 9px;font-size:11px}.messages{padding:24px 20px 8px}.message{margin-bottom:22px}.message-user .message-body{max-width:90%}.message-actions,.conversation-delete,.document-delete{opacity:1}.markdown{font-size:15px}.alert{padding:10px 16px}}@media(max-width:420px){.theme-control>svg{display:none}.theme-picker{max-width:102px;padding-left:8px;padding-right:8px}.header-actions{gap:4px}.library-toggle{width:44px;min-width:44px;padding:0}.library-toggle>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.composer-region{padding-left:12px;padding-right:12px}.context-toggle{padding:5px 6px;font-size:11px}.starter-prompts{max-width:340px}.starter-prompt{font-size:11px}.welcome h1{font-size:26px}.welcome-mark,.welcome-mark .app-logo{width:48px;height:48px}}@media(pointer:coarse),(max-width:760px){.theme-picker{min-height:44px;font-size:16px}.icon-button,.send-button,.scroll-bottom{width:44px;height:44px;min-width:44px;min-height:44px}.new-chat-button,.conversation-link,.starter-prompt,.library-toggle,.context-toggle,.text-button{min-height:44px}.conversation-search input{min-height:44px;font-size:16px}.context-toggle{font-size:12px}.sources>summary,.connection-details summary{min-height:44px}.conversation-delete,.document-delete,.message-actions{opacity:1}.conversation-row{gap:2px}.document-row{gap:7px;padding-left:8px;padding-right:6px}.alert .icon-button,.local-status .icon-button{width:44px;height:44px}}:root[data-keyboard-open=true] .chat-view-empty{justify-content:flex-end;padding-bottom:0}:root[data-keyboard-open=true] .chat-view-empty .welcome,:root[data-keyboard-open=true] .starter-prompts{display:none}:root[data-keyboard-open=true] .composer textarea{min-height:40px;max-height:min(180px,calc(var(--app-height, 100dvh) * .24))}:root[data-keyboard-open=true] .composer-caption{display:none}:root[data-short-viewport=true] .main-panel{overflow-y:auto;overscroll-behavior-y:contain}:root[data-short-viewport=true] .main-header{height:48px}:root[data-short-viewport=true] .sidebar,:root[data-short-viewport=true] .knowledge-panel{overflow-y:auto;overscroll-behavior-y:contain}:root[data-short-viewport=true] .conversation-list,:root[data-short-viewport=true] .knowledge-content{flex:1 0 auto;overflow-y:visible}:root[data-short-viewport=true] .knowledge-header{position:sticky;top:0;z-index:1;background:var(--bg-surface)}:root[data-short-viewport=true] .chat-view-empty{justify-content:flex-start;padding-bottom:0}:root[data-short-viewport=true] .welcome{padding-top:10px;padding-bottom:14px}:root[data-short-viewport=true] .welcome-mark,:root[data-short-viewport=true] .starter-prompts{display:none}@media(max-width:760px){:root[data-keyboard-open=true] .composer-region{padding-top:6px;padding-bottom:max(8px,env(safe-area-inset-bottom,0px))}:root[data-keyboard-open=true] .composer{padding-top:10px;padding-bottom:7px}:root[data-keyboard-open=true] .composer textarea{margin-bottom:4px}}@media(max-height:560px){.chat-view-empty{justify-content:flex-start;padding-bottom:12px}.welcome{padding-top:15px;padding-bottom:16px}.welcome-mark{margin-bottom:10px;width:36px;height:36px}.welcome-mark .app-logo{width:36px;height:36px}.starter-prompts{padding-top:8px;padding-bottom:12px}.sidebar,.knowledge-panel{overflow-y:auto;overscroll-behavior-y:contain}.conversation-list,.knowledge-content{flex:1 0 auto;overflow-y:visible}.knowledge-header{position:sticky;top:0;z-index:1;background:var(--bg-surface)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.module-surface{--module-gutter: 20px;--module-control-height: 38px;--module-radius: 8px;display:flex;flex-direction:column;flex:1;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;color:var(--text);background:var(--bg-app)}.module-surface[hidden]{display:none}.module-surface .module-heading{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:12px;margin:0;padding:10px var(--module-gutter);border-bottom:1px solid var(--border)}.module-heading-main{display:flex;align-items:center;gap:10px;min-width:0}.module-heading-main>svg{flex-shrink:0;color:var(--accent)}.module-surface .module-heading h1{margin:0;min-width:0;font-size:18px;line-height:1.35;font-weight:600;letter-spacing:-.4px}.module-surface .module-heading p{margin:4px 0 0;color:var(--text-muted);font-size:12px;line-height:1.6}.module-surface .module-tabs{display:flex;align-items:stretch;flex-shrink:0;gap:4px;min-width:0;margin:0;padding:0 var(--module-gutter);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent}.module-surface .module-tabs>button{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 13px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--text-muted);font:inherit;font-size:12px;line-height:1.4;white-space:nowrap;box-shadow:none}.module-surface .module-tabs>button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent);background:transparent;box-shadow:none}.module-surface .module-tabs>button:hover:not(:disabled){color:var(--text);background:var(--bg-hover)}.module-body{flex:1;min-height:0;min-width:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:var(--module-gutter)}@media(max-width:650px){.module-surface{--module-gutter: 13px;--module-control-height: 44px}.module-surface .module-heading{gap:8px;padding-block:9px}.module-surface .module-heading h1{font-size:16px}.module-surface .module-tabs{gap:0;padding-inline:10px}.module-surface .module-tabs>button{min-height:44px;padding-inline:10px}}@media(pointer:coarse){.module-surface{--module-control-height: 44px}}@media(forced-colors:active){.module-surface .module-tabs>button[aria-selected=true]{border-bottom-color:Highlight}}.demo-root{--demo-radius: 10px;font-size:14px}.demo-root button,.demo-dialog button{touch-action:manipulation}.demo-root p,.demo-dialog p{line-height:1.7}.demo-sidebar.sidebar{display:flex;flex-basis:230px;width:230px;padding-top:20px}.demo-sidebar .brand{margin-bottom:6px}.demo-sidebar .brand .app-logo{width:31px;height:31px}.demo-sidebar-caption{margin:0 7px 25px;color:var(--text-faint);font-size:11px}.demo-sidebar .workspace-navigation{background:transparent;border:0;padding:0;gap:3px}.demo-sidebar .workspace-navigation button{min-height:43px;padding-inline:12px;color:var(--text-muted)}.demo-sidebar .workspace-navigation button[aria-current=page]{color:var(--text);background:var(--bg-surface);box-shadow:var(--shadow-sm)}.demo-nav-close,.demo-menu-toggle{display:none}.demo-sidebar-meeting{display:flex;align-items:center;gap:10px;margin-top:12px;padding:13px 10px;width:100%;border:1px solid var(--border);border-radius:var(--demo-radius);background:transparent;color:var(--text-secondary);text-align:left}.demo-sidebar-meeting>svg{flex-shrink:0;color:var(--accent)}.demo-sidebar-meeting>svg:last-child{margin-left:auto}.demo-sidebar-meeting span{display:flex;flex-direction:column;gap:5px}.demo-sidebar-meeting strong{font-size:11px;font-weight:600}.demo-sidebar-meeting small{font-size:10px;color:var(--text-muted)}.demo-sidebar-meeting:hover{background:var(--bg-hover)}.demo-sidebar-bottom{margin-top:auto;padding:20px 5px 18px}.demo-sidebar-privacy{display:flex;gap:9px;align-items:center;padding:16px 4px;color:var(--text-muted);border-top:1px solid var(--border)}.demo-sidebar-privacy>svg{color:var(--success);flex-shrink:0}.demo-sidebar-privacy span{display:flex;flex-direction:column;gap:5px;font-size:11px}.demo-sidebar-privacy strong{color:var(--text-faint);font-size:10px;font-weight:400}.demo-website-link{display:flex;align-items:center;gap:7px;color:var(--text-muted);padding:11px 5px 0;font-size:12px;text-decoration:none}.demo-website-link:hover{color:var(--link)}.demo-root .demo-header{height:57px;padding:0 22px;gap:10px;border-bottom:1px solid var(--border)}.demo-header .header-title{gap:10px}.demo-header .header-conversation{font-size:13px}.demo-header-badge{border:1px solid var(--border);border-radius:5px;padding:3px 6px;color:var(--text-faint);font-size:10px}.demo-header .theme-picker{min-height:32px;background:transparent}.demo-header .theme-chevron{display:none}.demo-notice{display:flex;align-items:center;gap:8px;min-height:38px;flex-shrink:0;padding:7px 22px;background:var(--accent-soft);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:11px}.demo-notice>svg{flex-shrink:0;color:var(--accent)}.demo-notice p{margin:0;line-height:1.4}.demo-notice button{display:inline-flex;align-items:center;gap:6px;margin-left:auto;padding:3px 0 3px 10px;background:transparent;color:var(--text-muted);font-size:11px;white-space:nowrap}.demo-view{display:flex;flex:1;min-width:0;min-height:0}.demo-root .demo-body{padding:28px}.demo-body>*{max-width:1200px;margin-left:auto;margin-right:auto}.demo-root .module-heading{min-height:62px}.demo-root .module-heading h1{font-size:18px}.demo-root .demo-tabs button.selected{color:var(--accent);border-bottom-color:var(--accent)}.demo-sample-label{display:inline-flex;align-items:center;gap:6px;color:var(--text-faint);font-size:10px;white-space:nowrap;font-weight:400}.demo-sample-label>span{width:5px;height:5px;border:1px solid currentColor;border-radius:50%}.demo-section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.demo-section-title h2{margin:7px 0 8px;font-size:clamp(22px,2.1vw,29px);font-weight:600;line-height:1.25;letter-spacing:-.8px}.demo-section-title p{color:var(--text-muted);margin:0;font-size:13px}.demo-eyebrow{font-size:11px;color:var(--accent);font-weight:500}.demo-card{border:1px solid var(--border);border-radius:var(--demo-radius);padding:24px;background:var(--bg-surface);min-width:0}.demo-card h3{margin:0 0 10px;font-size:17px;font-weight:600;letter-spacing:-.25px;line-height:1.4}.demo-card h4{font-size:13px;font-weight:600;margin:18px 0 8px;line-height:1.5}.demo-card p{margin:0 0 16px;color:var(--text-muted);font-size:13px}.demo-card ul{padding-left:18px;color:var(--text-muted);font-size:13px;line-height:1.8}.demo-card-heading{display:flex;align-items:flex-start;gap:14px;justify-content:space-between;margin-bottom:20px}.demo-card-heading>div{min-width:0}.demo-card-heading h3{margin-bottom:4px}.demo-card-heading p{margin-bottom:0}.demo-card-heading>.demo-sample-label{padding-top:4px}.demo-secondary{color:var(--text-faint);font-size:11px;line-height:1.6}.demo-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:10px 13px;border:1px solid var(--border-strong);border-radius:7px;background:var(--bg-surface);color:var(--text-secondary);font-size:12px;font-weight:500;line-height:1.35;text-align:center}.demo-button:hover{background:var(--bg-hover);border-color:var(--accent)}.demo-button.primary{color:var(--on-accent);border-color:var(--accent);background:var(--accent)}.demo-button.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.demo-button.subtle{padding-inline:0;border-color:transparent;background:transparent}.demo-button.subtle:hover{color:var(--link)}.demo-button.selected{color:var(--accent);background:var(--accent-soft);border-color:var(--accent)}.demo-button svg{flex-shrink:0}.demo-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:22px;margin-top:16px;border-top:1px solid var(--border)}.demo-stack{display:grid;gap:20px}.demo-grid{display:grid;gap:16px}.demo-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px}.demo-accent{color:var(--accent);margin-bottom:14px}.demo-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:310px;padding:35px 20px;text-align:center;border:1px dashed var(--border);border-radius:var(--demo-radius)}.demo-empty>svg{color:var(--text-faint)}.demo-empty h2{font-size:20px;line-height:1.4;letter-spacing:-.5px;margin:0}.demo-empty p{max-width:390px;font-size:13px;margin:0 0 8px;color:var(--text-muted)}.demo-meeting-steps{display:flex;gap:7px;margin-bottom:22px;border-bottom:1px solid var(--border)}.demo-meeting-steps button{display:flex;align-items:center;gap:8px;min-height:47px;margin-bottom:-1px;padding:0 15px 12px 1px;border-bottom:2px solid transparent;background:transparent;color:var(--text-faint);font-size:12px;text-align:left}.demo-meeting-steps button span{display:grid;place-items:center;flex-shrink:0;width:22px;height:22px;border-radius:50%;border:1px solid var(--border);font-size:10px}.demo-meeting-steps button.active{color:var(--accent);border-bottom-color:var(--accent)}.demo-meeting-steps button.active span{background:var(--accent-soft);border-color:var(--accent)}.demo-meeting-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);align-items:start;gap:20px}.demo-transcript{display:grid;gap:20px}.demo-transcript>div{display:flex;align-items:flex-start;gap:12px}.demo-avatar{display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;flex-shrink:0;border-radius:50%;color:var(--text-muted);background:var(--bg-muted);font-size:11px}.demo-transcript strong{display:inline-block;margin:1px 0 3px;font-size:12px;font-weight:600}.demo-transcript p{margin:0;font-size:13px;line-height:1.8}.demo-next-card>svg{color:var(--accent);margin-bottom:15px}.demo-next-card h3{line-height:1.5}.demo-next-card .demo-secondary{font-size:11px}.demo-next-card .demo-button{width:100%}.demo-notes-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:12px 0 20px}.demo-notes-grid h4{margin-top:6px}.demo-mindmap{display:flex;flex-direction:column;align-items:center;padding:14px 0 6px}.demo-map-root{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px 35px;border:1px solid var(--accent);border-radius:10px;background:var(--accent-soft);text-align:center}.demo-map-root>svg{color:var(--accent)}.demo-map-root strong{font-size:15px}.demo-map-root span{color:var(--text-muted);font-size:11px}.demo-map-branches{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;width:100%;padding-top:40px}.demo-map-branches:before{content:"";position:absolute;top:20px;left:16.66%;right:16.66%;height:1px;background:var(--border-strong)}.demo-map-root:after{content:"";display:block;position:absolute}.demo-map-node{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:19px 10px;border:1px solid var(--border);background:var(--bg-app);border-radius:8px;text-align:center}.demo-map-node:before{content:"";position:absolute;bottom:100%;left:50%;height:20px;width:1px;background:var(--border-strong)}.demo-map-node:nth-child(2):before{height:40px}.demo-map-node strong{font-size:13px}.demo-map-node span{color:var(--text-muted);font-size:11px}.demo-map-node small{color:var(--text-faint);font-size:10px}.demo-action-list>div{display:flex;gap:15px;padding:22px 0;border-top:1px solid var(--border)}.demo-action-list>div:first-child{border-top:0;padding-top:3px}.demo-task-number{display:inline-grid;place-items:center;flex-shrink:0;width:27px;height:27px;border:1px solid var(--border);border-radius:7px;font-size:11px;color:var(--text-faint)}.demo-action-list h4{margin:2px 0 7px;font-size:14px}.demo-action-list p{max-width:750px;margin-bottom:12px}.demo-tag{display:inline-flex;align-items:center;min-height:23px;padding:4px 7px;color:var(--text-muted);background:var(--bg-muted);border-radius:5px;font-size:10px;white-space:nowrap}.demo-due{margin-left:12px;font-size:11px;color:var(--text-faint)}.demo-project-progress{display:flex;flex-direction:column;gap:7px;min-width:120px;align-items:flex-end}.demo-project-progress strong{color:var(--accent);font-size:19px}.demo-project-progress progress{width:120px;height:5px;accent-color:var(--accent)}.demo-project-progress small{color:var(--text-faint);font-size:10px}.demo-task-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px;margin-bottom:20px}.demo-segmented{display:inline-flex;padding:3px;border:1px solid var(--border);border-radius:8px}.demo-segmented button{display:inline-flex;align-items:center;gap:8px;min-height:35px;padding:8px 12px;border-radius:5px;background:transparent;font-size:12px;color:var(--text-muted)}.demo-segmented button[aria-pressed=true]{background:var(--bg-muted);color:var(--text)}.demo-segmented button span{font-size:10px;color:var(--text-faint)}.demo-task-group{padding:0 20px}.demo-group-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 0}.demo-group-heading label{display:inline-flex;gap:11px;align-items:center;font-size:13px;font-weight:600}.demo-root input[type=checkbox]{width:17px;height:17px;margin:0;accent-color:var(--accent);flex-shrink:0;cursor:pointer}.demo-task-row{display:flex;justify-content:space-between;gap:20px;padding:21px 0 21px 20px;border-top:1px solid var(--border)}.demo-task-row label{display:flex;align-items:flex-start;gap:11px;cursor:pointer}.demo-task-row input{margin-top:2px!important}.demo-task-row label>span{display:flex;flex-direction:column;gap:7px}.demo-task-row strong{font-size:12px;font-weight:500}.demo-task-row small{max-width:620px;color:var(--text-faint);font-size:11px;line-height:1.7}.demo-task-row.done strong{color:var(--text-faint);text-decoration:line-through}.demo-task-meta{display:flex;align-items:flex-start;gap:12px;flex-shrink:0;padding-top:1px}.demo-task-meta>span:last-child{color:var(--text-faint);font-size:10px;padding-top:6px}.demo-chat{display:flex;flex:1;min-width:0;min-height:0;flex-direction:column}.demo-chat-content{width:100%;flex:1;min-height:0;padding:clamp(24px,8vh,80px) 25px 30px;overflow-y:auto}.demo-chat-content>*{width:100%;max-width:690px;margin-left:auto;margin-right:auto}.demo-chat-welcome{display:flex;flex-direction:column;align-items:center;text-align:center;margin-bottom:32px}.demo-chat-welcome .app-logo{width:55px;height:55px;margin-bottom:23px}.demo-chat-welcome h1{font-size:clamp(26px,3vw,35px);font-weight:500;letter-spacing:-1px;margin:10px 0}.demo-chat-welcome p{color:var(--text-muted);font-size:13px;margin:0}.demo-feature-prompt{display:flex;align-items:center;gap:16px;padding:23px;background:var(--bg-surface);border:1px solid var(--border-strong);border-radius:12px;text-align:left}.demo-feature-prompt:hover{background:var(--accent-soft);border-color:var(--accent)}.demo-prompt-icon{display:inline-grid;place-items:center;flex-shrink:0;width:46px;height:46px;border-radius:10px;background:var(--accent-soft);color:var(--accent)}.demo-feature-prompt>span:nth-child(2){display:flex;flex-direction:column;gap:7px}.demo-feature-prompt strong{font-size:16px;font-weight:600;letter-spacing:-.25px}.demo-feature-prompt small{color:var(--text-muted);font-size:12px;line-height:1.6}.demo-feature-prompt>svg{margin-left:auto;flex-shrink:0;color:var(--accent)}.demo-chat-prompts{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:14px}.demo-chat-prompts button{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:20px;border:1px solid var(--border);border-radius:10px;background:var(--bg-surface);text-align:left}.demo-chat-prompts button:hover{background:var(--bg-hover);border-color:var(--border-strong)}.demo-chat-prompts button>svg:first-child{color:var(--text-muted);margin-bottom:2px}.demo-chat-prompts button>svg:last-child{position:absolute;top:20px;right:18px;color:var(--text-faint)}.demo-chat-prompts strong{font-size:13px;font-weight:500}.demo-chat-prompts small{color:var(--text-faint);font-size:11px;line-height:1.6}.demo-chat-footnote{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:23px;color:var(--text-faint);font-size:10px;line-height:1.7;text-align:center}.demo-chat-footnote>svg{flex-shrink:0}.demo-composer-note{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 25px;padding:18px 15px calc(18px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--border);color:var(--text-faint)}.demo-composer-note svg{flex-shrink:0}.demo-composer-note div{display:flex;flex-direction:column;gap:5px}.demo-composer-note strong{font-size:11px;font-weight:400}.demo-composer-note span{font-size:10px}.demo-chat-content>.demo-button.subtle{display:flex;width:fit-content;margin-left:max(0px,calc((100% - 690px)/2));margin-bottom:20px}.demo-user-bubble{width:fit-content;margin-bottom:45px;padding:15px 20px;background:var(--bg-muted);border-radius:18px;font-size:14px}.demo-prepared-reply h2{font-size:22px;letter-spacing:-.5px;line-height:1.4;margin:17px 0}.demo-prepared-reply p,.demo-prepared-reply ul{color:var(--text-secondary);line-height:1.9;font-size:14px}.demo-prepared-reply li{margin-bottom:8px}.demo-source{display:flex;align-items:center;gap:7px;color:var(--text-faint);font-size:11px;margin:22px 0}.demo-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-bottom:24px}.demo-week button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:15px 5px;border:1px solid var(--border);border-radius:8px;background:var(--bg-surface)}.demo-week button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent)}.demo-week button span{color:var(--text-faint);font-size:10px}.demo-week button strong{font-size:12px;font-weight:500}.demo-exercise{display:flex;gap:14px;align-items:flex-start;padding:23px 0;border-top:1px solid var(--border)}.demo-exercise>div{flex:1;min-width:0}.demo-exercise h4{margin:2px 0 7px;font-size:14px}.demo-exercise p{font-size:12px;margin-bottom:9px}.demo-inline-message{color:var(--accent)!important;padding:12px 0 0;margin:0!important;border-top:1px solid var(--border)}.demo-meal-icon{display:block;margin:23px 0 15px;color:var(--accent)}.demo-metric{display:flex;flex-direction:column;gap:16px}.demo-metric>span:first-child{font-size:12px;color:var(--text-muted)}.demo-metric>strong{font-size:32px;letter-spacing:-.8px;font-weight:500}.demo-metric strong small{font-size:12px;margin-left:8px;color:var(--text-faint);font-weight:400}.demo-metric>span:last-child{font-size:10px;color:var(--text-faint)}.demo-line-chart{display:block;width:100%;max-height:250px;overflow:visible;margin-top:25px;color:var(--accent)}.demo-chart-grid{stroke:var(--border);stroke-width:1}.demo-line-chart text{fill:var(--text-faint);font-size:12px}.demo-history-row{display:flex;align-items:center;gap:15px;padding:20px 0;border-top:1px solid var(--border)}.demo-history-row:first-child{border-top:0;padding-top:0}.demo-history-row:last-child{padding-bottom:0}.demo-history-row>svg{color:var(--success);flex-shrink:0}.demo-history-row div{display:flex;flex:1;flex-direction:column;gap:7px}.demo-history-row strong{font-weight:500;font-size:13px}.demo-history-row div span{color:var(--text-faint);font-size:11px}.demo-email-list{padding:0}.demo-email-list>button{display:flex;gap:14px;width:100%;min-width:0;align-items:flex-start;padding:23px;background:transparent;border-bottom:1px solid var(--border);text-align:left}.demo-email-list>button:last-child{border-bottom:0}.demo-email-list>button:hover{background:var(--bg-hover)}.demo-email-list>button>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:7px}.demo-email-list strong{font-size:11px;font-weight:400;color:var(--text-faint)}.demo-email-list b{font-size:13px;font-weight:500}.demo-email-list small{color:var(--text-muted);font-size:12px;line-height:1.6}.demo-email-time{display:flex;align-items:center;gap:12px;color:var(--text-faint);font-size:10px;white-space:nowrap}.demo-mail-from{color:var(--text-faint);font-size:12px;margin:24px 0 16px}.demo-agenda-row{display:flex;gap:25px;padding:25px 0;border-top:1px solid var(--border)}.demo-agenda-row:first-child{border-top:0;padding-top:0}.demo-agenda-row:last-child{padding-bottom:0}.demo-agenda-row time{color:var(--accent);font-size:12px;padding-top:3px}.demo-agenda-row h3{font-size:14px}.demo-agenda-row p{margin:0}.demo-breadcrumb{display:flex;align-items:center;gap:9px;padding-bottom:18px;border-bottom:1px solid var(--border);color:var(--text-faint);font-size:12px}.demo-breadcrumb button{padding:4px 0;background:transparent;color:var(--link);font-size:12px}.demo-file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:15px;margin-top:25px}.demo-file{display:flex;min-height:155px;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:15px;border-radius:9px;background:transparent;text-align:center}.demo-file:hover{background:var(--bg-hover)}.demo-file>svg{color:var(--accent)}.demo-file strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.demo-file small{font-size:10px;color:var(--text-faint)}.demo-file-preview{margin:23px 0 0;white-space:pre-wrap;font:inherit;font-size:13px;line-height:1.9;overflow-wrap:anywhere}.demo-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px;align-items:start}.demo-storyboard{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:16 / 10;padding:45px 25px;border:1px solid var(--border);border-radius:9px;text-align:center;background:var(--bg-muted);color:var(--text)}.demo-storyboard.look-warm{background:#f6e8d5;color:#584127}.demo-storyboard.look-mono{background:#252629;color:#f4f4f4}.demo-storyboard .app-logo{width:48px;height:48px;margin-bottom:25px}.demo-storyboard.look-mono .app-logo{filter:grayscale(1)}.demo-storyboard h3{font-size:clamp(20px,2.4vw,30px);font-weight:500;letter-spacing:-.9px;margin:0 0 12px}.demo-storyboard p{max-width:300px;margin:0;font-size:12px;line-height:1.7;opacity:.8}.demo-storyboard-label{position:absolute;top:14px;left:15px;font-size:9px;opacity:.65}.demo-storyboard-end{position:absolute;bottom:15px;font-size:10px;letter-spacing:.4px;opacity:.65}.demo-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:15px}.demo-timeline button{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:15px;border:1px solid var(--border);border-radius:7px;background:var(--bg-surface);text-align:left}.demo-timeline button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent)}.demo-timeline button span{font-size:9px;color:var(--text-faint)}.demo-timeline button strong{font-size:12px;font-weight:500}.demo-timeline button small{font-size:10px;color:var(--text-faint)}.demo-look-list{display:grid;gap:8px;margin:20px 0}.demo-look-list button{justify-content:flex-start}.demo-look-list button[aria-pressed=true]{border-color:var(--accent)}.demo-look-list button>svg{margin-left:auto}.demo-look-swatch{width:18px;height:18px;border-radius:4px;border:1px solid var(--border-strong);background:var(--bg-muted)}.demo-look-swatch.swatch-warm{background:#f6e8d5}.demo-look-swatch.swatch-mono{background:#252629}.demo-appearance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.demo-appearance-grid button{display:flex;position:relative;flex-direction:column;align-items:flex-start;gap:17px;min-height:100px;padding:18px;border:1px solid var(--border);border-radius:8px;background:var(--bg-app)}.demo-appearance-grid button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.demo-appearance-grid button>svg:first-child{color:var(--text-muted)}.demo-appearance-grid button>svg:last-child:not(:first-child){position:absolute;right:15px;top:15px;color:var(--accent)}.demo-appearance-grid strong{font-size:12px;font-weight:500}.demo-settings-facts{display:grid;gap:18px;margin-top:20px}.demo-settings-facts>div{display:flex;gap:13px;align-items:flex-start}.demo-settings-facts svg{flex-shrink:0;color:var(--text-faint);margin-top:2px}.demo-settings-facts p{margin:0}.demo-dialog{max-width:min(580px,calc(100vw - 32px));width:580px;max-height:min(700px,calc(100dvh - 40px));margin:auto;padding:0;border:1px solid var(--border-strong);border-radius:13px;background:var(--bg-surface);color:var(--text);box-shadow:var(--shadow-popover)}.demo-dialog::backdrop{background:var(--overlay);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.demo-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:1px solid var(--border)}.demo-dialog-heading h2{font-size:17px;line-height:1.5;letter-spacing:-.3px;margin:0}.demo-dialog-body{padding:24px;overflow-wrap:anywhere}.demo-dialog-body>p{font-size:13px}.demo-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:25px}.demo-root .mobile-scrim{position:fixed;inset:0;display:block;z-index:20;background:var(--overlay)}@media(min-width:1600px){.demo-root .demo-body{padding:34px}.demo-chat-content{padding-top:11vh}}@media(max-width:1050px){.demo-meeting-grid{grid-template-columns:1fr}.demo-next-card{display:grid;grid-template-columns:1fr auto;column-gap:20px}.demo-next-card>svg,.demo-next-card h3,.demo-next-card p{grid-column:1}.demo-next-card .demo-button{grid-column:2;grid-row:1 / 4;align-self:center}.demo-next-card p:last-of-type{grid-column:1 / -1;margin-bottom:0}.demo-editor-grid{grid-template-columns:1fr}.demo-editor-grid>aside{display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.demo-editor-grid>aside h3,.demo-editor-grid>aside p{grid-column:1}.demo-editor-grid>aside .demo-look-list{grid-column:2;grid-row:1 / 4;margin:0}.demo-task-row{flex-direction:column;gap:12px}.demo-task-meta{margin-left:28px}}@media(max-width:850px){.demo-sidebar.sidebar{display:none;position:fixed;top:0;bottom:0;left:0;width:min(290px,85vw);padding-top:calc(20px + env(safe-area-inset-top,0px));z-index:25;box-shadow:var(--shadow-drawer)}.demo-sidebar.sidebar.is-open{display:flex}.demo-nav-close,.demo-menu-toggle{display:inline-flex}.demo-sidebar .demo-nav-close{margin-left:auto}.demo-sidebar .workspace-navigation button{min-height:46px}.demo-root .demo-header{padding-inline:15px}.demo-root .demo-body{padding:22px}.demo-chat-content{padding-top:45px}.demo-card{padding:21px}}@media(max-width:600px){.demo-root .demo-header{height:53px;padding-inline:10px}.demo-header .header-title{gap:8px}.demo-notice{padding-inline:13px;font-size:10px;min-height:37px}.demo-notice p>span{display:none}.demo-notice button{padding:6px}.demo-notice button span{display:none}.demo-root .demo-body{padding:21px 15px calc(24px + env(safe-area-inset-bottom,0px))}.demo-root .module-heading{min-height:54px;padding-inline:15px}.demo-root .module-heading h1{font-size:16px}.demo-root .demo-tabs{padding-inline:8px}.demo-root .demo-tabs>button{min-height:45px;padding-inline:10px}.demo-section-title{gap:12px;align-items:flex-start;margin-bottom:22px}.demo-section-title h2{font-size:24px;letter-spacing:-.6px}.demo-section-title p{font-size:12px}.demo-eyebrow{font-size:10px}.demo-card{padding:18px}.demo-card h3{font-size:16px}.demo-card-heading{flex-wrap:wrap;row-gap:10px;margin-bottom:18px}.demo-card p{font-size:12px}.demo-card-footer{flex-wrap:wrap;padding-top:19px;margin-top:10px}.demo-button{min-height:43px;padding:11px 13px}.demo-stack{gap:15px}.demo-grid.three{grid-template-columns:1fr}.demo-meeting-steps{gap:9px}.demo-meeting-steps button{flex:1;align-items:flex-start;flex-direction:column;gap:7px;padding-right:0;font-size:10px;line-height:1.5}.demo-meeting-steps button span{width:22px;height:22px}.demo-transcript>div{gap:10px}.demo-transcript p{font-size:12px}.demo-transcript{gap:20px}.demo-avatar{width:27px;height:27px;font-size:10px}.demo-next-card{display:block}.demo-next-card p:last-of-type{margin-bottom:18px}.demo-notes-grid{grid-template-columns:1fr;gap:10px}.demo-notes-grid ul{margin-bottom:0}.demo-map-root{padding:16px 23px}.demo-map-branches{grid-template-columns:1fr;gap:15px;padding-top:25px}.demo-map-branches:before{left:50%;right:auto;width:1px;height:25px;top:0}.demo-map-node:before{height:15px}.demo-map-node:first-child:before{height:25px}.demo-map-node:nth-child(2):before{height:15px}.demo-map-node{gap:6px;padding:15px}.demo-action-list>div{gap:12px}.demo-action-list h4{font-size:13px}.demo-task-number{width:24px;height:24px}.demo-project-progress{min-width:78px}.demo-project-progress progress{width:78px}.demo-project-progress small{font-size:9px;text-align:right}.demo-task-toolbar{gap:10px}.demo-task-toolbar>.demo-secondary{width:100%}.demo-task-group{padding:0 15px}.demo-group-heading{gap:10px;padding-block:18px}.demo-group-heading label{font-size:12px;gap:9px}.demo-task-row{padding-left:0}.demo-task-row strong{font-size:12px;line-height:1.5}.demo-root input[type=checkbox]{width:19px;height:19px}.demo-task-row small{font-size:11px}.demo-task-meta{margin-left:30px}.demo-empty{min-height:290px;padding:25px 15px}.demo-empty h2{font-size:18px}.demo-chat-content{padding:30px 17px 20px}.demo-chat-welcome{margin-bottom:24px}.demo-chat-welcome .app-logo{width:47px;height:47px;margin-bottom:20px}.demo-chat-welcome h1{font-size:27px}.demo-chat-welcome p{font-size:12px;max-width:250px;line-height:1.8}.demo-feature-prompt{gap:11px;padding:18px 15px}.demo-prompt-icon{width:37px;height:37px}.demo-feature-prompt strong{font-size:14px;line-height:1.5}.demo-feature-prompt small{font-size:11px}.demo-feature-prompt>svg{width:16px}.demo-chat-prompts{gap:10px}.demo-chat-prompts button{padding:15px 12px;gap:10px}.demo-chat-prompts strong{font-size:12px;line-height:1.5}.demo-chat-prompts small{font-size:10px}.demo-chat-prompts button>svg:last-child{top:17px;right:12px;width:13px}.demo-chat-footnote{font-size:9px;margin-top:18px}.demo-composer-note{margin-inline:16px;padding-inline:0;padding-top:15px;padding-bottom:calc(15px + env(safe-area-inset-bottom,0px))}.demo-composer-note strong{font-size:10px}.demo-composer-note span{font-size:9px}.demo-user-bubble{font-size:13px;margin-top:10px;margin-bottom:35px}.demo-prepared-reply h2{font-size:21px}.demo-prepared-reply p,.demo-prepared-reply ul{font-size:13px}.demo-week{gap:5px}.demo-week button{padding:13px 2px;gap:9px}.demo-week button strong,.demo-week button span{font-size:9px}.demo-exercise{flex-wrap:wrap;gap:11px;padding-block:20px}.demo-exercise .demo-button{margin-left:35px}.demo-metric{gap:10px}.demo-metric>strong{font-size:29px}.demo-chart-card{padding-inline:25px}.demo-email-list{padding:0}.demo-email-list>button{position:relative;gap:11px;padding:20px 15px}.demo-email-list b{max-width:215px;font-size:12px}.demo-email-list small{font-size:11px}.demo-email-time{font-size:0;padding-top:21px;gap:0}.demo-email-time svg{width:14px}.demo-file-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.demo-file{padding-inline:9px;gap:13px}.demo-file strong{font-size:11px}.demo-editor-grid>aside{display:block}.demo-editor-grid>aside .demo-look-list{margin:20px 0}.demo-storyboard{padding:50px 18px}.demo-storyboard .app-logo{width:34px;height:34px;margin-bottom:17px}.demo-storyboard h3{font-size:20px}.demo-storyboard p{font-size:10px}.demo-timeline{gap:6px}.demo-timeline button{padding:13px 10px}.demo-timeline button strong{font-size:11px}.demo-appearance-grid{gap:8px}.demo-appearance-grid button{padding:15px;min-height:95px}.demo-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 30px)}.demo-dialog-heading{padding:15px 17px}.demo-dialog-heading h2{font-size:16px}.demo-dialog-body{padding:21px}.demo-dialog .icon-button{width:40px;height:40px}}@media(prefers-reduced-motion:reduce){.demo-root *,.demo-dialog *{transition:none!important;animation:none!important}}
