:root{color-scheme:light;--bg: #efe4d2;--surface: rgba(255, 251, 244, .92);--surface-strong: #fffaf2;--surface-muted: rgba(255, 247, 236, .76);--text: #221913;--muted: #6d5c4f;--line: rgba(71, 50, 31, .14);--primary: #8a4b24;--primary-strong: #6b3818;--danger: #962f2f;--info: #2c5d8f;--shadow: 0 24px 60px rgba(88, 60, 25, .14);font-family:Iowan Old Style,Palatino Linotype,Georgia,serif;line-height:1.5;font-weight:400;color:var(--text);background:radial-gradient(circle at top left,rgba(180,132,73,.18),transparent 30%),radial-gradient(circle at 85% 10%,rgba(55,106,81,.12),transparent 20%),linear-gradient(180deg,var(--bg) 0%,#e8dbc6 100%);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}#root{min-height:100vh}button,input,select,textarea{font:inherit}code{font-family:Consolas,SFMono-Regular,Courier New,monospace;font-size:.88em}.app-shell{max-width:1480px;margin:0 auto;padding:28px 20px 56px}.site-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:20px}.brand-block{max-width:760px}.header-meta{display:flex;flex-direction:column;align-items:flex-end;gap:12px;min-width:min(420px,100%)}.eyebrow,.panel-label{margin:0 0 8px;color:var(--primary);font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.2rem,5vw,4rem);line-height:.96;margin-bottom:.75rem}h2{font-size:1.7rem}h3{font-size:1.05rem}.lede,.summary-detail,.slice-card p,.summary-card p,.note-card,.feature-list,.portal-hero p:last-child,.banner{color:var(--muted)}.panel,.summary-card,.session-chip,.app-nav,.slice-card,.note-card{background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.panel,.summary-card,.slice-card,.note-card{padding:22px}.summary-grid,.portal-grid,.notes-list{display:grid;gap:16px}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.portal-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.notes-list{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-main,.portal-layout{display:grid;gap:18px}.auth-layout{display:grid;gap:18px;grid-template-columns:minmax(0,1.25fr) minmax(320px,.95fr);align-items:stretch}.auth-intro,.auth-panel{display:grid;gap:16px}.auth-panel{align-content:start}.auth-copy{max-width:62ch}.session-form,.feature-stack{display:grid;gap:14px}.feature-card{background:#fffaf2eb}.google-auth-panel{display:grid;gap:12px;padding:16px 18px;border:1px dashed rgba(138,75,36,.24);border-radius:20px;background:#fff8eec7}.google-signin-button{justify-self:start}.session-status{margin:0}.auth-fallback-note{margin:0;color:var(--muted)}.auth-fallback-note a{color:#5b2d11}.session-chip{padding:12px 18px;color:#5b2d11;font-weight:700}.app-nav{display:flex;gap:10px;flex-wrap:wrap;padding:10px}.app-nav-link,.button{border-radius:999px;border:1px solid rgba(138,75,36,.18);background:#fffbf4e6;color:#5b2d11;cursor:pointer;transition:transform .14s ease,background .14s ease,border-color .14s ease}.app-nav-link{padding:12px 16px}.app-nav-link.active{background:linear-gradient(135deg,#8a4b24,#6b3818);border-color:transparent;color:#fff7ef}.button{padding:10px 16px}.button:hover,.app-nav-link:hover{transform:translateY(-1px);border-color:#8a4b244d}.button.button-danger{color:var(--danger)}.button:disabled{cursor:default;opacity:.55;transform:none}.action-row{display:flex;flex-wrap:wrap;gap:10px}.compact-actions{justify-content:flex-end}.feature-list{margin:1rem 0 0;padding-left:1rem}.feature-list li+li{margin-top:.45rem}.banner{border-radius:18px;padding:14px 16px}.error-banner{background:#962f2f1a;border:1px solid rgba(150,47,47,.2);color:var(--danger)}.info-banner{background:#2c5d8f14;border:1px solid rgba(44,93,143,.16);color:var(--info)}.notes-panel .panel-header{margin-bottom:14px}@media(max-width:1080px){.summary-grid,.portal-grid,.notes-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:860px){.site-header{flex-direction:column}.header-meta{align-items:stretch;min-width:0;width:100%}.compact-actions{justify-content:flex-start}.summary-grid,.portal-grid,.notes-list{grid-template-columns:1fr}}.field{display:grid;gap:10px}.field span{color:var(--primary);font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.field input,.field select,.field textarea{width:100%;border:1px solid rgba(138,75,36,.18);border-radius:16px;background:#fffbf4f0;color:var(--text);padding:14px 16px}.workspace-toolbar{display:grid;gap:16px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;align-items:end}.toolbar-actions{justify-content:flex-end}.documents-layout{display:grid;gap:18px;grid-template-columns:minmax(300px,.9fr) minmax(0,1.5fr)}.rail-panel,.editor-panel,.document-meta-card,.document-frontmatter-preview,.document-content-preview,.markdown-preview,.empty-state{background:var(--surface);border:1px solid var(--line);border-radius:24px}.rail-panel,.editor-panel{min-height:0}.panel-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.compact-header{margin-bottom:14px}.empty-state{padding:18px;color:var(--muted)}.detail-empty-state{min-height:240px;display:grid;place-items:center;text-align:center}.document-list{display:grid;gap:12px}.document-folder-group{display:grid;gap:10px}.document-folder-header{display:flex;justify-content:space-between;gap:12px;align-items:center;color:var(--muted);font-size:.85rem;font-weight:700}.document-folder-header.root-folder{padding-left:0}.document-folder-name{color:#5b2d11}.document-folder-count{min-width:2rem;text-align:right}.document-list-item{display:grid;gap:6px;width:calc(100% - 1px);text-align:left;padding:14px 16px}.document-list-item.selected-row{background:linear-gradient(135deg,#8a4b2429,#6b381814);border-color:#8a4b2447}.document-list-title,.document-list-subtitle,.document-list-meta{display:block}.document-list-title{font-weight:700}.document-list-subtitle,.document-list-meta{color:var(--muted)}.document-list-meta{display:flex;flex-wrap:wrap;gap:10px;font-size:.85rem}.document-detail-stack{display:grid;gap:18px}.document-editor-grid{display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}.document-meta-card{padding:16px 18px}.document-frontmatter-preview,.document-content-preview,.markdown-preview{margin:0;padding:18px;overflow-x:auto}.document-frontmatter-preview,.document-content-preview{white-space:pre-wrap}.markdown-preview>:first-child{margin-top:0}.markdown-preview>:last-child{margin-bottom:0}.document-save-status{color:var(--muted)}.rendered-section{display:grid;gap:12px}@media(max-width:1080px){.workspace-toolbar,.documents-layout,.document-editor-grid{grid-template-columns:1fr}.toolbar-actions{justify-content:flex-start}}.button.button-primary{background:linear-gradient(135deg,#8a4b24,#6b3818);border-color:transparent;color:#fff7ef}.hidden-input{display:none}.document-frontmatter-editor,.document-content-editor{width:100%;border:1px solid rgba(138,75,36,.18);border-radius:20px;background:#fffbf4f0;color:var(--text);padding:16px 18px;resize:vertical}.document-editor-shell{display:grid;gap:12px}.document-editor-shell.is-disabled{opacity:.72}.editor-toolbar{display:flex;flex-wrap:wrap;gap:10px}.editor-toolbar-button{padding:8px 12px;font-size:.95rem}.editor-toolbar-button.active{background:linear-gradient(135deg,#8a4b24,#6b3818);border-color:transparent;color:#fff7ef}.editor-link-picker{display:grid;gap:10px;padding:14px 16px;border:1px solid rgba(138,75,36,.18);border-radius:20px;background:#fff8eeeb}.editor-link-picker-row{display:grid;gap:10px;grid-template-columns:minmax(0,1fr) auto auto auto}.editor-link-input{width:100%;border:1px solid rgba(138,75,36,.18);border-radius:16px;background:#fffbf4f5;color:var(--text);padding:12px 16px}.editor-link-suggestion-list{display:grid;gap:10px}.editor-link-suggestion{display:grid;gap:2px;width:100%;text-align:left;padding:12px 16px;border:1px solid rgba(138,75,36,.14);border-radius:16px;background:#fffbf4f0;color:var(--text)}.editor-link-suggestion:hover{border-color:#8a4b244d;transform:translateY(-1px)}.editor-link-suggestion-title{font-weight:700}.editor-link-suggestion-meta,.editor-link-picker-note{color:var(--muted)}@media(max-width:860px){.editor-link-picker-row{grid-template-columns:1fr}}.document-editor-surface{border:1px solid rgba(138,75,36,.18);border-radius:20px;background:#fffbf4f0}.tiptap-editor{min-height:360px;padding:16px 18px;outline:none;white-space:pre-wrap}.tiptap-editor h1,.tiptap-editor h2,.tiptap-editor h3,.tiptap-editor p{margin-top:0}.tiptap-editor h1{font-size:2rem;line-height:1.08;margin-bottom:.75rem}.tiptap-editor h2{font-size:1.55rem;line-height:1.15;margin-bottom:.6rem}.tiptap-editor h3{font-size:1.2rem;line-height:1.22;margin-bottom:.5rem}.tiptap-editor p.is-editor-empty:first-child:before{content:attr(data-placeholder);color:var(--muted);float:left;height:0;pointer-events:none}.tiptap-editor>:first-child{margin-top:0}.tiptap-editor>:last-child{margin-bottom:0}.tiptap-editor pre{overflow-x:auto;padding:14px 16px;border-radius:16px;background:#47321f14}.tiptap-editor blockquote{margin:0;padding-left:14px;border-left:3px solid rgba(138,75,36,.3);color:var(--muted)}.tiptap-editor ul{padding-left:1.25rem}.editor-shell-note{margin-bottom:0}.status-info{color:var(--info)}.status-warn{color:#8a5a12}.status-error{color:var(--danger)}.version-section,.version-list{display:grid;gap:12px}.version-card,.version-card-body{background:var(--surface);border:1px solid var(--line);border-radius:20px}.version-card{overflow:hidden}.version-card.selected-row{border-color:#8a4b2447;box-shadow:0 18px 42px #583c191a}.version-list-item{display:grid;gap:6px;width:100%;text-align:left;padding:16px 18px;border:0;border-radius:0;background:transparent}.version-list-title{font-weight:700}.version-list-meta{display:flex;flex-wrap:wrap;gap:10px;color:var(--muted);font-size:.85rem}.version-card-body{border-top:1px solid rgba(71,50,31,.12);border-left:0;border-right:0;border-bottom:0;border-radius:0;padding:18px}.version-preview{min-height:220px}.account-layout{display:grid;gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}.facts-list{margin:0;display:grid;gap:12px}.fact-row{display:flex;justify-content:space-between;gap:16px;padding-bottom:10px;border-bottom:1px solid rgba(71,50,31,.1)}.fact-row dt{color:var(--muted)}.fact-row dd{margin:0;text-align:right}.create-token-form,.scope-fieldset,.token-record-list{display:grid;gap:14px}.scope-fieldset{padding:16px 18px;border:1px solid rgba(71,50,31,.12);border-radius:18px;background:#fffbf4c7}.scope-option{display:flex;gap:10px;align-items:flex-start}.created-token-panel,.token-record-card{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:18px}.token-record-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.token-record-meta{display:flex;flex-wrap:wrap;gap:10px;color:var(--muted);font-size:.88rem}.status-chip{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:.82rem;font-weight:700}.status-chip-active{background:#376a5124;color:#2f6b51}.status-chip-expired{background:#8a5a1224;color:#8a5a12}.status-chip-revoked{background:#962f2f24;color:var(--danger)}.provider-card-list{display:grid;gap:18px}.provider-card{display:grid;gap:16px;padding:18px;border:1px solid var(--line);border-radius:24px;background:var(--surface)}.provider-card-meta{display:flex;flex-wrap:wrap;gap:10px;color:var(--muted);font-size:.88rem}.provider-card-meta a{color:var(--primary)}.provider-form-grid{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.provider-auth-note{margin:0}@media(max-width:1080px){.provider-form-grid{grid-template-columns:1fr}}@media(max-width:1080px){.account-layout{grid-template-columns:1fr}}.tools-layout,.query-form,.tool-query-result,.indexing-run-list{display:grid;gap:18px}.tools-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-wide{grid-column:1 / -1}.query-form{grid-template-columns:repeat(2,minmax(0,1fr))}.field-wide{grid-column:1 / -1}.result-card,.tool-document-panel{background:var(--surface);border:1px solid var(--line);border-radius:24px}.result-card{padding:18px}.result-card-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.result-card-meta,.result-summary,.tool-fetch-note,.tool-document-meta{color:var(--muted)}.tool-document-panel{margin-top:14px;padding:16px 18px}.tool-document-preview{margin-top:12px}@media(max-width:1080px){.tools-layout,.query-form{grid-template-columns:1fr}}.chat-layout{display:grid;grid-template-columns:280px 1fr;gap:24px;min-height:0;height:100%}.chat-sidebar{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px;display:flex;flex-direction:column;min-height:0;overflow:hidden}.chat-sidebar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--line)}.chat-sidebar-header h3{margin:0;font-size:1rem}.chat-sidebar-loading,.chat-sidebar-empty{color:var(--muted);font-size:.95rem;padding:12px 0}.chat-conversation-list{list-style:none;padding:0;margin:0;overflow-y:auto;flex:1}.chat-conversation-list li{display:flex;align-items:center;gap:10px;border-radius:8px;margin-bottom:4px}.chat-conversation-list li:hover,.chat-conversation-list li.active{background:#8a4b2414}.chat-conversation-list li.active{background:#8a4b2424}.chat-conversation-item{flex:1;display:flex;flex-direction:column;gap:4px;padding:10px 12px;text-align:left;background:none;border:none;cursor:pointer;color:inherit;font:inherit}.chat-conversation-edit-form{flex:1;display:flex;flex-direction:column;gap:8px;padding:10px 12px}.chat-conversation-title{font-weight:600;font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-conversation-title-input{width:100%;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised);color:inherit;font:inherit;padding:8px 10px}.chat-conversation-title-input:focus{outline:2px solid rgba(138,75,36,.22);outline-offset:1px}.chat-conversation-date{font-size:.75rem;color:var(--muted)}.chat-conversation-edit-actions{display:flex;gap:6px}.chat-conversation-action,.chat-conversation-archive{background:none;border:1px solid transparent;color:var(--muted);font-size:.8rem;cursor:pointer;padding:6px 8px;opacity:0;transition:opacity .12s ease;border-radius:8px;align-self:center}.chat-conversation-edit-form .chat-conversation-action{opacity:1}.chat-conversation-action:hover,.chat-conversation-action:focus-visible{opacity:1;color:var(--text);border-color:var(--line)}.chat-conversation-archive{font-size:1.1rem}.chat-conversation-list li:hover .chat-conversation-action,.chat-conversation-list li:hover .chat-conversation-archive{opacity:1}.chat-conversation-archive:hover{color:var(--danger)}.chat-main{display:flex;flex-direction:column;min-height:0;background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden}.chat-messages{flex:1;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:16px}.chat-messages-loading,.chat-messages-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;flex:1;color:var(--muted)}.chat-messages-empty h2{margin:0 0 8px;color:var(--text)}.chat-messages-empty p{margin:0}.chat-message{max-width:85%;padding:14px 18px;border-radius:16px;background:#8a4b2414}.chat-message-user{align-self:flex-end;background:linear-gradient(135deg,#8a4b242e,#6b38181a);border:1px solid rgba(138,75,36,.18)}.chat-message-assistant{align-self:flex-start;background:var(--bg);border:1px solid var(--line)}.chat-message-header{display:flex;gap:10px;align-items:center;margin-bottom:8px;font-size:.8rem}.chat-message-role{font-weight:700;color:var(--primary)}.chat-message-provider{background:#8a4b241f;color:var(--primary);padding:2px 8px;border-radius:999px;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.02em}.chat-message-time{color:var(--muted);margin-left:auto}.chat-message-content{white-space:pre-wrap;word-break:break-word;line-height:1.6}.chat-cursor{display:inline-block;width:8px;height:1em;background:var(--primary);margin-left:2px;animation:chat-blink 1s step-end infinite}@keyframes chat-blink{0%,to{opacity:1}50%{opacity:0}}.chat-error{display:flex;align-items:center;gap:12px;padding:12px 18px;background:rgba(var(--danger-rgb, 200, 50, 50),.1);color:var(--danger);border-top:1px solid var(--line)}.chat-error button{background:none;border:none;color:inherit;font-size:1.2rem;cursor:pointer;margin-left:auto}.chat-provider-warning{padding:12px 18px;border-top:1px solid var(--line);background:#8a4b2414;color:var(--muted);font-size:.95rem}.chat-activity-indicator{display:flex;align-items:flex-start;gap:12px;padding:12px 18px;background:#8a4b2414;color:var(--muted);font-size:.85rem;border-top:1px solid var(--line)}.chat-activity-dot{width:8px;height:8px;margin-top:6px;background:var(--primary);border-radius:50%;animation:chat-pulse 1.2s ease-in-out infinite}.chat-activity-copy{display:flex;flex-direction:column;gap:10px;min-width:0}.chat-activity-current{color:var(--text);font-weight:600}.chat-activity-trail{display:flex;flex-wrap:wrap;gap:6px}.chat-activity-step{padding:4px 8px;border-radius:999px;background:#8a4b2414;border:1px solid rgba(138,75,36,.12)}.chat-activity-step.active{color:var(--primary);background:#8a4b2424;border-color:#8a4b2433}@keyframes chat-pulse{0%,to{opacity:.4;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}.chat-input-container{padding:16px 18px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:10px}.chat-input-container textarea{width:100%;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--text);font:inherit;resize:none;min-height:72px;max-height:200px;box-sizing:border-box}.chat-input-container textarea:focus{outline:none;border-color:var(--primary)}.chat-input-container textarea:disabled{opacity:.6}.chat-input-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-input-actions{display:flex;gap:10px;flex-shrink:0}@media(max-width:768px){.chat-layout{grid-template-columns:1fr}.chat-sidebar{max-height:200px}.chat-message{max-width:95%}}.chat-input-options{display:flex;align-items:center;gap:12px;font-size:.8rem}.chat-input-field{display:flex;align-items:center;gap:6px;color:var(--muted-text-color, #888);font-size:.8rem}.chat-input-field span{font-weight:600;text-transform:uppercase;letter-spacing:.04em;font-size:.7rem;white-space:nowrap}.chat-input-field select{padding:3px 6px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--text);font:inherit;font-size:.8rem;max-width:160px}.chat-input-field select:disabled{opacity:.5}.chat-context-preview{font-size:.8rem;color:var(--muted-text-color, #888);flex:1}.chat-context-preview details summary{cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none}.chat-context-preview details summary::-webkit-details-marker{display:none}.chat-context-preview-details{margin-top:6px;padding:8px 10px;background:var(--surface, rgba(0,0,0,.03));border-radius:8px;display:flex;flex-direction:column;gap:2px;font-size:.78rem}.chat-context-preview-digest{margin-top:4px;white-space:pre-wrap;font-size:.75rem;opacity:.8}.chat-toggle{display:flex;align-items:center;gap:6px;cursor:pointer}.chat-toggle input[type=checkbox]{width:14px;height:14px;cursor:pointer}.chat-toggle-label{color:var(--text);-webkit-user-select:none;user-select:none;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;font-size:.7rem}.chat-trace-id{color:var(--muted-text-color, #888);font-family:monospace;font-size:.75rem}.chat-tool-calls{margin:8px 0;display:flex;flex-direction:column;gap:10px}.chat-tool-call{background:#f8efe2;border:1px solid rgba(71,50,31,.18);border-radius:16px;overflow:hidden;color:var(--text);box-shadow:inset 0 1px #ffffffc7,0 8px 18px #583c1914}.chat-tool-call[open]{background:#fffcf7fa}.chat-tool-call-success{border-color:#2f6b5138}.chat-tool-call-running{border-color:#2c5d8f38}.chat-tool-call-error{border-color:#962f2f38}.chat-tool-call summary{display:flex;align-items:center;gap:10px;padding:12px 16px;cursor:pointer;font-size:.95rem;color:var(--text);list-style:none}.chat-tool-call summary:hover{background:#8a4b2414}.chat-tool-call summary::-webkit-details-marker{display:none}.chat-tool-status{font-size:1rem}.chat-tool-status-running{animation:pulse 1s infinite}.chat-tool-status-success{color:#2f6b51}.chat-tool-status-error{color:var(--danger)}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.chat-tool-name{font-weight:600;font-family:monospace;color:#5b2d11}.chat-tool-duration{color:var(--muted);font-size:.82rem;margin-left:auto}.chat-tool-args,.chat-tool-result{display:grid;gap:6px;padding:14px 16px;border-top:1px solid rgba(71,50,31,.14);font-size:.88rem;color:var(--text)}.chat-tool-args strong,.chat-tool-result strong,.chat-tool-error strong{color:var(--primary);font-size:.82rem;letter-spacing:.08em;text-transform:uppercase}.chat-tool-args pre,.chat-tool-result pre{margin:0;padding:14px 16px;background:#fffdf9f5;border:1px solid rgba(71,50,31,.14);border-radius:12px;overflow-x:auto;white-space:pre-wrap;word-break:break-word;font-size:.82rem;line-height:1.65;color:var(--text);max-height:320px;overflow-y:auto}.chat-tool-error{display:grid;gap:6px;padding:14px 16px;border-top:1px solid rgba(150,47,47,.14);background:#962f2f0f;color:var(--danger);font-size:.88rem}.chat-thinking{margin:6px 0 8px;background:#47321f0a;border:1px solid rgba(71,50,31,.14);border-radius:12px;font-size:.88rem;overflow:hidden}.chat-thinking-summary{display:flex;align-items:center;gap:6px;padding:8px 14px;cursor:pointer;color:var(--muted);font-size:.82rem;letter-spacing:.04em;list-style:none;-webkit-user-select:none;user-select:none}.chat-thinking-summary::-webkit-details-marker{display:none}.chat-thinking-summary:before{content:"▶";font-size:.65rem;transition:transform .15s ease}.chat-thinking[open] .chat-thinking-summary:before{transform:rotate(90deg)}.chat-thinking-summary:hover{color:var(--text);background:#47321f0f}.chat-thinking-content{padding:10px 14px 14px;border-top:1px solid rgba(71,50,31,.1);color:var(--muted);white-space:pre-wrap;word-break:break-word;line-height:1.65;font-size:.85rem;max-height:400px;overflow-y:auto}.chat-telemetry{margin-top:8px;padding:12px 16px;background:#f8efe2;border:1px solid rgba(71,50,31,.18);border-radius:16px;font-size:.88rem;color:var(--text)}.chat-telemetry summary{cursor:pointer;color:var(--muted)}.chat-telemetry summary:hover{color:var(--text)}.chat-telemetry-details{margin-top:8px;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:4px;color:var(--muted)}
