:root{color-scheme:dark;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#0f172a;color:#e6edf3}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}.app{position:relative;min-height:100%;display:flex;flex-direction:column;align-items:center;padding:3rem 1rem 1.5rem;gap:2rem;overflow:hidden}.app:before{content:"";position:absolute;top:-20%;right:-20%;bottom:-20%;left:-20%;background:radial-gradient(ellipse at 25% 15%,rgba(125,211,252,.1),transparent 55%),radial-gradient(ellipse at 80% 80%,rgba(196,181,253,.1),transparent 55%);pointer-events:none;z-index:0}.app>*{position:relative;z-index:1}.hero{text-align:center;max-width:36rem;display:flex;flex-direction:column;align-items:center;gap:.6rem}.hero-mark{display:inline-flex;padding:.65rem;border-radius:16px;background:#7dd3fc0f;border:1px solid rgba(125,211,252,.18);box-shadow:0 1px #ffffff0a inset,0 8px 24px #0006;margin-bottom:.2rem}.hero-title{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:clamp(2rem,6vw,3.25rem);margin:0;letter-spacing:-.025em;background:linear-gradient(120deg,#7dd3fc,#c4b5fd);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:700}.tagline{font-size:1rem;color:#94a3b8;margin:0;line-height:1.55;max-width:30rem}.site-footer{margin-top:auto;display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem;font-size:.78rem;color:#94a3b8;padding-top:1rem}.site-footer-brand{display:inline-flex;align-items:center;gap:.4rem;color:#94a3b8}.site-footer-dot{width:.4rem;height:.4rem;border-radius:50%;background:linear-gradient(120deg,#7dd3fc,#c4b5fd);display:inline-block}.site-footer-link{color:inherit;text-decoration:none;border-bottom:1px solid transparent;transition:border-color .12s ease,color .12s ease}.site-footer-link:hover{color:#e6edf3;border-bottom-color:#64748b}.site-footer-sep{color:#334155}.site-footer-meta{font-family:ui-monospace,SF Mono,Menlo,monospace;color:#64748b}.card{width:100%;max-width:38rem;background:linear-gradient(180deg,rgba(255,255,255,.015),transparent),#111827;border:1px solid #1f2937;border-radius:14px;padding:1.75rem;box-shadow:0 1px #ffffff08 inset,0 20px 60px -30px #000000bf}.card h2{margin:0 0 .5rem;font-size:1.5rem}.card h3{margin:0 0 .5rem;font-size:1.1rem;color:#cbd5e1}.card hr{border:none;border-top:1px solid #1f2937;margin:1.5rem 0}.hint{color:#94a3b8;font-size:.95rem;line-height:1.5;margin:0 0 1.25rem}.footnote{color:#94a3b8;font-size:.85rem;line-height:1.5;margin:.75rem 0}.form-footnote{margin-top:.25rem;padding-top:1rem;border-top:1px solid #1f2937;display:flex;flex-direction:column;gap:.55rem;font-size:.85rem;line-height:1.4}.form-footnote-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem;color:#94a3b8}.form-footnote-prompt{color:#94a3b8}label{display:block;font-size:.9rem;color:#cbd5e1;margin-bottom:1rem}input[type=password],input[type=text],input[type=email]{display:block;width:100%;margin-top:.35rem;padding:.65rem .8rem;background:#0f172a;border:1px solid #1f2937;border-radius:8px;color:#e6edf3;font-size:1rem;font-family:inherit}input:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf826}label.recoveryInput input{font-family:ui-monospace,SF Mono,Menlo,monospace;letter-spacing:.05em}button{font:inherit;padding:.65rem 1.1rem;background:#38bdf8;color:#0f172a;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:background-color .15s ease,transform .06s ease,box-shadow .15s ease}button:hover:not(:disabled){background:#7dd3fc}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible{outline:2px solid #38bdf8;outline-offset:2px}button:disabled{opacity:.5;cursor:not-allowed}.card>button,.card>.modal-actions button:not(.ghost),.modal-actions button:not(.ghost),.empty-chat-actions button:not(.ghost){box-shadow:0 1px #ffffff26 inset,0 1px 2px #0003}.card>button:hover:not(:disabled),.modal-actions button:not(.ghost):hover:not(:disabled),.empty-chat-actions button:not(.ghost):hover:not(:disabled){box-shadow:0 1px #fff3 inset,0 4px 14px #38bdf847}button.working{background:#1e40af;color:#bfdbfe;position:relative;padding-left:2.2rem}button.working:before{content:"";position:absolute;left:.9rem;top:50%;width:.85rem;height:.85rem;margin-top:-.45rem;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}button.success{background:#14532d;color:#86efac}button.ghost{background:transparent;border:1px solid #334155;color:#cbd5e1}button.ghost:hover:not(:disabled){background:#111827;border-color:#64748b}.row{display:flex;gap:.75rem;flex-wrap:wrap;margin:.75rem 0}.msg{margin:.75rem 0 0;font-size:.9rem;padding:.6rem .8rem;border-radius:8px;background:#111827;border:1px solid #1f2937}.msg.ok{color:#86efac;border-color:#14532d;background:#052e16}.msg.fail{color:#fca5a5;border-color:#7f1d1d;background:#2a0a0a}.recovery{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:1.15rem;letter-spacing:.05em;text-align:center;background:#0f172a;border:1px dashed #38bdf8;border-radius:10px;padding:1rem;margin:0 0 1rem;color:#7dd3fc;-webkit-user-select:all;user-select:all;word-break:break-all}pre.json{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.78rem;background:#0f172a;border:1px solid #1f2937;border-radius:8px;padding:.85rem;overflow:auto;max-height:22rem;color:#cbd5e1}details{margin-bottom:1.25rem}details summary{cursor:pointer;color:#94a3b8;font-size:.9rem;margin-bottom:.5rem}details[open] summary{color:#cbd5e1}code{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.85em;background:#1e293b;padding:.12em .45em;border-radius:5px;border:1px solid #334155;color:#f1f5f9}button.linklike{background:transparent;border:none;color:#7dd3fc;padding:0;font-size:inherit;font-weight:500;cursor:pointer;text-decoration:underline;text-underline-offset:2px}button.linklike:hover:not(:disabled){background:transparent;color:#bae6fd}button.linklike:disabled{opacity:.5;cursor:not-allowed}label.checkbox{display:flex;align-items:center;gap:.6rem;font-size:.9rem;color:#cbd5e1;margin-bottom:1rem}label.checkbox input[type=checkbox]{width:auto;margin:0}ol.howitworks{color:#94a3b8;font-size:.9rem;line-height:1.6;padding-left:1.25rem;margin:.5rem 0 0}ol.howitworks li{margin-bottom:.5rem}ul.varlist{list-style:none;padding:0;margin:0 0 1rem}ul.varlist li{margin-bottom:.4rem}ul.varlist code{font-size:.85rem}pre.cmd{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.8rem;background:#0f172a;border:1px solid #1f2937;border-radius:6px;padding:.5rem .75rem;overflow-x:auto;color:#cbd5e1;margin:.4rem 0;white-space:pre}.workspace{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;grid-template-rows:48px 1fr;background:#0f172a;color:#e6edf3}.workspace-header{display:flex;align-items:center;justify-content:space-between;padding:0 1rem;border-bottom:1px solid #1f2937;background:#0a0f1d}.workspace-brand{display:inline-flex;align-items:center;gap:.45rem}.workspace-brand-mark{flex-shrink:0}.workspace-brand-text{font-family:ui-monospace,SF Mono,Menlo,monospace;font-weight:700;letter-spacing:-.01em;background:linear-gradient(120deg,#7dd3fc,#c4b5fd);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:.95rem}.workspace-status{display:flex;align-items:center;gap:.85rem;font-size:.85rem;color:#94a3b8}.workspace-user{font-family:ui-monospace,monospace;font-size:.8rem;color:#cbd5e1}button.ghost.small{padding:.35rem .7rem;font-size:.85rem}.save-indicator{font-size:.8rem;padding:.15rem .5rem;border-radius:4px;font-family:ui-monospace,monospace}.save-indicator.saving{color:#94a3b8}.save-indicator.saved{color:#86efac}.save-indicator.error{color:#fca5a5}button.sync-indicator{background:transparent;border:none;border-radius:4px;font-weight:400;cursor:pointer;transition:background .12s ease}button.sync-indicator:hover:not(:disabled){background:#7dd3fc14}button.sync-indicator:disabled{cursor:default;opacity:1}.sync-indicator{display:inline-flex;align-items:center;gap:.4rem;font-size:.8rem;padding:.15rem .5rem;font-family:ui-monospace,monospace;color:#94a3b8}.sync-dot{width:.55rem;height:.55rem;border-radius:50%;background:#64748b;flex-shrink:0}.sync-indicator.synced{color:#86efac}.sync-indicator.synced .sync-dot{background:#22c55e;box-shadow:0 0 6px #22c55e80}.sync-indicator.syncing{color:#93c5fd}.sync-indicator.syncing .sync-dot{background:#3b82f6;animation:pulse 1.1s ease-in-out infinite}.sync-indicator.offline{color:#fbbf24}.sync-indicator.offline .sync-dot{background:#f59e0b;box-shadow:0 0 6px #f59e0b80}@keyframes pulse{0%,to{opacity:1}50%{opacity:.3}}.workspace-body{display:grid;grid-template-columns:240px 4px 1fr 4px 320px;grid-template-rows:minmax(0,1fr);min-height:0;position:relative}.workspace-sidebar{display:flex;min-height:0;min-width:0;overflow:hidden}.workspace-sidebar>.filetree,.workspace-sidebar>.chatpanel{flex:1;min-width:0;min-height:0}.workspace-resizer{background:transparent;cursor:col-resize;position:relative;-webkit-user-select:none;user-select:none;touch-action:none}.workspace-resizer:before{content:"";position:absolute;top:0;right:-3px;bottom:0;left:-3px}.workspace-resizer:hover{background:#1f2937}.workspace-resizer.active{background:#38bdf8}.workspace-body.resizing{cursor:col-resize}.workspace-brand-row{display:flex;align-items:center;gap:.6rem}.workspace-mobile .workspace-body{grid-template-columns:1fr!important}.workspace-mobile .workspace-sidebar{display:block;position:absolute;top:0;bottom:0;width:min(85vw,320px);z-index:30;background:#0a0f1d;border-right:1px solid #1f2937;transform:translate(-100%);transition:transform .2s ease;overflow:hidden}.workspace-mobile .workspace-sidebar-left{left:0}.workspace-mobile .workspace-sidebar-right{left:auto;right:0;width:min(85vw,360px);border-right:none;border-left:1px solid #1f2937;transform:translate(100%)}.workspace-mobile .workspace-sidebar.open{transform:translate(0);box-shadow:0 0 30px #00000080}.workspace-mobile .workspace-sidebar>.filetree,.workspace-mobile .workspace-sidebar>.chatpanel{height:100%}.workspace-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:25;animation:backdrop-fade .2s ease}@keyframes backdrop-fade{0%{opacity:0}to{opacity:1}}.workspace-mobile .editor-panes{grid-template-columns:1fr;grid-template-rows:1fr 1fr}.workspace-mobile .workspace-editor-pane{border-right:none;border-bottom:1px solid #1f2937}.filetree{display:flex;flex-direction:column;border-right:1px solid #1f2937;background:#0a0f1d;min-height:0}.filetree-header{display:flex;align-items:center;justify-content:space-between;padding:.6rem .85rem;font-size:.85rem;color:#94a3b8;border-bottom:1px solid #1f2937;text-transform:uppercase;letter-spacing:.05em}.filetree-header-actions{display:flex;align-items:center;gap:.4rem}.filetree-action{background:transparent;color:#cbd5e1;border:1px solid #1f2937;border-radius:4px;padding:0;font-size:1rem;line-height:1;width:1.5rem;height:1.5rem;display:grid;place-items:center;font-weight:600;cursor:pointer}.filetree-action:hover{background:#111827}.filetree-action:disabled{opacity:.35;cursor:not-allowed;background:transparent!important}.filetree-search{position:relative;padding:.4rem .75rem .5rem;border-bottom:1px solid #1f2937}.filetree-search-input{width:100%;padding:.4rem 1.75rem .4rem .55rem;background:#0a0f1d;border:1px solid #1f2937;border-radius:6px;color:#e6edf3;font-size:.85rem;font-family:inherit}.filetree-search-input::placeholder{color:#64748b}.filetree-search-input:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 2px #38bdf826}.filetree-search-input::-webkit-search-cancel-button{display:none}.filetree-search-clear{position:absolute;right:.9rem;top:50%;transform:translateY(-50%);background:transparent;border:none;color:#94a3b8;cursor:pointer;font-size:1rem;line-height:1;padding:.1rem .3rem;border-radius:4px}.filetree-search-clear:hover{background:#1f2937;color:#e6edf3}.filetree-row.search-match{background:#7dd3fc0f;border-left:2px solid #7dd3fc}.filetree-row.search-match:hover{background:#7dd3fc1f}.filetree-list{list-style:none;padding:.35rem 0;margin:0;flex:1;overflow-y:auto}.filetree-li{list-style:none}.filetree-sublist{list-style:none;padding:0;margin:0}.filetree-empty{padding:.5rem .85rem;color:#94a3b8;font-size:.85rem}.filetree-row{display:flex;align-items:center;gap:.5rem;padding:.35rem .5rem .35rem 0;font-size:.9rem;color:#cbd5e1;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative}.filetree-row:hover{background:#111827}.filetree-row.active{background:#1e293b;color:#e6edf3}.filetree-leading{display:inline-flex;align-items:center;gap:.3rem;flex-shrink:0}.filetree-chevron{color:#64748b;font-size:.75rem;width:.85rem;display:inline-block;text-align:center;line-height:1}.filetree-icon{color:#94a3b8;width:14px;height:14px;display:inline-flex;align-items:center;justify-content:center}.filetree-row.active .filetree-icon{color:#cbd5e1}.filetree-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filetree-row-actions{display:flex;align-items:center;opacity:0;transition:opacity .15s ease;position:relative}.filetree-row:hover .filetree-row-actions,.filetree-row.active .filetree-row-actions{opacity:1}.filetree-menu-toggle{background:transparent;border:none;color:#94a3b8;font-size:1.2rem;line-height:1;padding:0 .35rem;cursor:pointer;border-radius:4px;font-weight:600}.filetree-menu-toggle:hover{background:#1f2937;color:#e6edf3}.filetree-create{position:relative}.dropdown{position:absolute;top:100%;margin-top:4px;min-width:11rem;background:#0a0f1d;border:1px solid #334155;border-radius:6px;box-shadow:0 4px 16px #00000080;z-index:10;padding:.25rem 0;display:flex;flex-direction:column}.dropdown.right{right:0}.dropdown button{background:transparent;color:#cbd5e1;border:none;border-radius:0;text-align:left;padding:.4rem .75rem;font-size:.85rem;font-weight:400;cursor:pointer;white-space:nowrap}.dropdown button:hover:not(:disabled){background:#1e293b;color:#e6edf3}.dropdown button.danger{color:#fca5a5}.dropdown button.danger:hover:not(:disabled){background:#2a0a0a;color:#fecaca}.dropdown hr{border:none;border-top:1px solid #1f2937;margin:.25rem 0}.filetree-row.drop-target{background:#1e3a5f!important;box-shadow:inset 2px 0 #38bdf8}.filetree-row.is-dragging{opacity:.35}.filetree-rootzone{margin:.5rem .6rem .85rem;padding:.6rem .85rem;border:1px dashed #1f2937;border-radius:6px;color:#64748b;font-size:.8rem;text-align:center;transition:all .15s ease;list-style:none}.filetree-rootzone.drop-target{border-color:#38bdf8;color:#7dd3fc;background:#38bdf814}.filetree-drag-ghost{display:inline-flex;align-items:center;gap:.5rem;padding:.35rem .85rem;background:#1e293b;border:1px solid #38bdf8;border-radius:6px;color:#e6edf3;font-size:.9rem;font-family:inherit;pointer-events:none;box-shadow:0 6px 20px #00000080}.filetree-rename{flex:1;width:100%;background:#0f172a;border:1px solid #38bdf8;color:#e6edf3;font-family:inherit;font-size:.9rem;padding:.15rem .4rem;border-radius:4px;outline:none;margin:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#020617a6;display:grid;place-items:center;z-index:100;animation:fade-in .15s ease}.modal{background:#111827;border:1px solid #334155;border-radius:12px;padding:1.5rem 1.5rem 1.25rem;width:min(28rem,92vw);box-shadow:0 20px 60px #0009;animation:scale-in .15s ease}.modal h3{margin:0 0 .5rem;font-size:1.1rem;color:#e6edf3}.modal p{margin:0 0 1.25rem;color:#cbd5e1;line-height:1.5}.modal-actions{display:flex;justify-content:flex-end;gap:.6rem}.feedback-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#020617a6;display:grid;place-items:center;z-index:100;animation:fade-in .15s ease;padding:1rem}.feedback-modal{background:#111827;border:1px solid #334155;border-radius:12px;width:min(36rem,100%);max-height:calc(100vh - 2rem);overflow-y:auto;box-shadow:0 20px 60px #0009;animation:scale-in .15s ease;padding:1.25rem 1.5rem}.feedback-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.85rem}.feedback-modal-header h2{margin:0;font-size:1.05rem;font-weight:600;color:#e6edf3}.feedback-modal-close{background:transparent;border:none;color:#94a3b8;font-size:1.4rem;line-height:1;cursor:pointer;padding:.1rem .4rem;border-radius:4px}.feedback-modal-close:hover:not(:disabled){background:#1f2937;color:#e6edf3}.feedback-modal-intro{margin:0 0 1rem;color:#94a3b8;font-size:.88rem;line-height:1.5}.feedback-modal-field{margin-bottom:.85rem}.feedback-modal-label{display:block;font-size:.78rem;font-weight:500;color:#cbd5e1;margin-bottom:.35rem}.feedback-modal-select,.feedback-modal-textarea{width:100%;box-sizing:border-box;background:#0f172a;border:1px solid #1f2937;border-radius:8px;padding:.55rem .7rem;color:#e6edf3;font-family:inherit;font-size:.9rem;line-height:1.45}.feedback-modal-textarea{resize:vertical;min-height:5.5rem}.feedback-modal-select:focus,.feedback-modal-textarea:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf826}.feedback-modal-counter{margin-top:.3rem;font-size:.7rem;color:#64748b;text-align:right;font-variant-numeric:tabular-nums}.feedback-modal-privacy{margin:.4rem 0 .85rem;padding:.55rem .7rem;background:#38bdf80f;border:1px solid rgba(56,189,248,.22);border-radius:8px;color:#cbd5e1;font-size:.78rem;line-height:1.5}.feedback-modal-privacy strong{color:#e6edf3}.feedback-modal-error{margin:0 0 .5rem}.feedback-modal-actions{display:flex;justify-content:flex-end;gap:.6rem}button.danger-action{background:#b91c1c;color:#fee2e2}button.danger-action:hover:not(:disabled){background:#dc2626;color:#fff}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes scale-in{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.workspace-editor{display:flex;flex-direction:column;min-height:0;min-width:0}.editor-panes{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr);flex:1;min-height:0;min-width:0}.editor-toolbar{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.25rem .5rem .25rem .35rem;border-bottom:1px solid #1f2937;background:#0a0f1d;flex-shrink:0;min-width:0}.editor-toolbar>.md-toolbar{flex:1;min-width:0;padding:0;border-bottom:none;background:transparent}.editor-close{background:transparent;border:none;color:#94a3b8;font-size:1.4rem;line-height:1;width:1.75rem;height:1.75rem;border-radius:4px;cursor:pointer;display:grid;place-items:center;font-weight:400;padding:0}.editor-close:hover{background:#1f2937;color:#e6edf3}.editor-pane-toggles{display:inline-flex;align-items:stretch;margin:0 .25rem 0 .4rem;padding:2px;background:#0a0f1d;border:1px solid #1f2937;border-radius:7px;flex-shrink:0}.editor-pane-toggle{background:transparent;border:none;color:#94a3b8;cursor:pointer;width:1.85rem;height:1.6rem;border-radius:4px;display:inline-grid;place-items:center;padding:0;font-family:inherit;transition:background .12s ease,color .12s ease}.editor-pane-toggle+.editor-pane-toggle{margin-left:1px;box-shadow:-1px 0 #1f2937}.editor-pane-toggle:hover:not(:disabled):not(.active){background:#1f2937;color:#cbd5e1}.editor-pane-toggle.active{color:#e6edf3;background:#1f2937;box-shadow:none}.editor-pane-toggle.active+.editor-pane-toggle{box-shadow:none}.editor-pane-toggle:disabled{opacity:.4;cursor:not-allowed}.editor-save-button{display:inline-flex;align-items:center;gap:.4rem;background:#38bdf814;color:#7dd3fc;border:1px solid rgba(56,189,248,.25);border-radius:6px;font-family:inherit;font-size:.78rem;font-weight:500;padding:.35rem .7rem;cursor:pointer;margin-left:auto;flex-shrink:0;transition:background .12s ease,color .12s ease,border-color .12s ease}.editor-save-button:hover:not(:disabled){background:#38bdf82e;border-color:#38bdf880;color:#bae6fd}.editor-save-button:disabled{cursor:default}.editor-save-button.save-saving{color:#94a3b8;border-color:#334155;background:#94a3b80f}.save-spinner{display:inline-block;width:.95em;height:.95em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:save-spinner-rotate .75s linear infinite;vertical-align:-.15em}@keyframes save-spinner-rotate{to{transform:rotate(360deg)}}.editor-save-button.save-saved{color:#86efac;border-color:#22c55e59;background:#22c55e14}.editor-save-button.save-saved:hover{background:#22c55e26;border-color:#22c55e80;color:#bbf7d0}.editor-save-button.save-error{color:#fca5a5;border-color:#ef444466;background:#ef444414}.editor-save-button.save-error:hover{background:#ef44442e;border-color:#ef44448c;color:#fecaca}.editor-pane-divider{background:transparent;cursor:col-resize;position:relative;-webkit-user-select:none;user-select:none;touch-action:none}.editor-pane-divider:before{content:"";position:absolute;top:0;right:-3px;bottom:0;left:-3px}.editor-pane-divider:hover{background:#1f2937}.editor-pane-divider.active{background:#38bdf8}.editor-panes.resizing{cursor:col-resize}.workspace-editor-pane{display:flex;flex-direction:column;border-right:1px solid #1f2937;overflow:hidden;min-width:0;min-height:0}.workspace-editor-body{flex:1;min-height:0;overflow:hidden}.md-toolbar{display:flex;align-items:center;gap:.15rem;padding:.3rem .5rem;border-bottom:1px solid #1f2937;background:#0a0f1d;flex-shrink:0;flex-wrap:wrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.md-toolbar-group{display:flex;gap:.1rem}.md-toolbar-divider{width:1px;height:1.25rem;background:#1f2937;margin:0 .25rem;align-self:center}.md-toolbar-btn{background:transparent;border:1px solid transparent;color:#cbd5e1;cursor:pointer;font-size:.85rem;font-family:inherit;padding:.25rem .5rem;min-width:1.85rem;height:1.85rem;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;line-height:1;gap:.15rem}.md-toolbar-btn:hover{background:#1f2937;color:#e6edf3}.md-toolbar-btn:active{background:#111827}.md-toolbar-caret{font-size:.6rem;color:#94a3b8}.md-toolbar-dropdown{position:relative}.md-toolbar-menu{position:absolute;top:calc(100% + 4px);left:0;z-index:20;background:#0f172a;border:1px solid #1f2937;border-radius:8px;box-shadow:0 8px 20px #00000073;padding:.25rem;display:flex;flex-direction:column;min-width:9rem}.md-toolbar-menuitem{background:transparent;border:none;color:#e6edf3;text-align:left;cursor:pointer;padding:.4rem .6rem;border-radius:5px;font-size:.85rem;font-family:inherit}.md-toolbar-menuitem:hover:not(:disabled){background:#1f2937}.md-toolbar-menuitem:disabled{color:#64748b;cursor:not-allowed}.md-toolbar-menu-wide{min-width:12rem}.md-toolbar-btn-ai{padding:.25rem .6rem;font-weight:500;color:#7dd3fc;border-color:#38bdf840;background:#38bdf80f}.md-toolbar-btn-ai:hover:not(:disabled){background:#38bdf824;border-color:#38bdf873;color:#bae6fd}.md-toolbar-btn-ai.is-busy{border-color:#38bdf899;border-style:dashed;animation:md-toolbar-ai-pulse 1.4s ease-in-out infinite}@keyframes md-toolbar-ai-pulse{0%,to{opacity:1}50%{opacity:.55}}.workspace-preview-pane{overflow-y:auto;min-width:0;min-height:0;padding:1.25rem 1.5rem}.workspace-empty{grid-column:1 / -1;display:grid;place-items:center;padding:2rem}.workspace-empty-chat{padding:1.5rem}.empty-chat-inner{width:min(36rem,100%);display:flex;flex-direction:column;gap:1rem}.empty-chat-heading{font-size:1.5rem;font-weight:600;color:#f1f5f9;margin:0;letter-spacing:-.01em;text-align:center}.empty-chat-hint{font-size:.95rem;color:#94a3b8;margin:0 0 .25rem;line-height:1.5;text-align:center}.empty-chat-input-wrap{position:relative}.empty-chat-input{width:100%;box-sizing:border-box;background:#0f172a;border:1px solid #1f2937;border-radius:10px;padding:.85rem 1rem 3rem;color:#e6edf3;font-size:.95rem;font-family:inherit;resize:vertical;min-height:5.5rem;line-height:1.45;text-align:left}.empty-chat-input:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf826}.empty-chat-actions{position:absolute;bottom:.6rem;right:.6rem;display:flex;align-items:center;gap:.4rem}.empty-chat-send{font-size:.85rem;padding:.4rem 1.1rem}.empty-chat-prompts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin-top:.25rem}.empty-chat-prompt{background:#0f172a99;border:1px solid #1f2937;border-radius:8px;padding:.65rem .85rem;color:#cbd5e1;font-family:inherit;font-size:.85rem;line-height:1.35;text-align:left;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.empty-chat-prompt:hover{background:#38bdf814;border-color:#38bdf859;color:#e6edf3}.empty-chat-prompt:focus-visible{outline:none;border-color:#38bdf8;box-shadow:0 0 0 2px #38bdf840}@media(max-width:480px){.empty-chat-prompts{grid-template-columns:1fr}}.workspace-editor-body>*{height:100%;min-height:0}.workspace-editor-body .cm-editor{height:100%}.title-input{display:block;width:100%;background:transparent;border:none;border-bottom:1px solid #1f2937;padding:1rem 1.25rem;color:#e6edf3;font-size:1.35rem;font-weight:600;font-family:inherit;letter-spacing:-.01em}.title-input:focus{outline:none;border-bottom-color:#38bdf8;box-shadow:none}.title-input::placeholder{color:#64748b}.preview-title{margin:0 0 1rem;font-size:1.5rem;font-weight:600;color:#e6edf3;border-bottom:1px solid #1f2937;padding-bottom:.5rem}.chatpanel{display:flex;flex-direction:column;border-left:1px solid #1f2937;background:#0a0f1d;min-height:0}.chatpanel-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.55rem .7rem;font-size:.85rem;color:#94a3b8;border-bottom:1px solid #1f2937;text-transform:uppercase;letter-spacing:.05em}.chatpanel-body{padding:1rem .85rem;flex:1;overflow-y:auto}.chatpanel-body .hint{font-size:.9rem}.chatpanel-body .footnote{margin-top:.5rem}.chatpanel-empty{text-align:left}.chatpanel-empty h3{font-size:1rem;color:#cbd5e1;margin:0 0 .75rem}.chatpanel-empty button{margin-top:.5rem;font-size:.85rem}.chatpanel-messages{display:flex;flex-direction:column;gap:.85rem}.chatpanel-intro{color:#94a3b8;font-size:.85rem;line-height:1.5;margin:0 0 .5rem}.chatpanel-intro code{font-size:.8em}.chatpanel-offline-notice{margin:.75rem 0;padding:.65rem .75rem;border-radius:8px;background:#f59e0b14;border:1px solid rgba(245,158,11,.25);display:flex;flex-direction:column;gap:.5rem}.chatpanel-offline-notice .hint{margin:0;color:#fbbf24;font-size:.82rem}.chatpanel-offline-notice button{align-self:flex-start}.chat-bubble{display:flex;flex-direction:column;gap:.25rem}.chat-bubble-role{font-size:.7rem;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}.chat-bubble-content{font-size:.9rem;line-height:1.5;color:#e6edf3;background:#111827;border:1px solid #1f2937;border-radius:8px;padding:.6rem .8rem;word-wrap:break-word}.chat-bubble-user .chat-bubble-content{background:#1e293b;border-color:#334155;white-space:pre-wrap}.chat-bubble-user .chat-bubble-role{color:#7dd3fc}.chat-bubble-assistant .chat-bubble-role{color:#c4b5fd}.chat-cursor{display:inline-block;width:.5em;height:1em;background:#7dd3fc;margin-left:2px;vertical-align:text-bottom;animation:blink 1s steps(2) infinite}@keyframes blink{50%{opacity:0}}.redaction-chip{margin-top:.1rem}.redaction-chip-summary{display:inline-flex;align-items:center;gap:.4rem;padding:.2rem .6rem;background:#7dd3fc14;border:1px solid rgba(125,211,252,.22);border-radius:999px;font-size:.72rem;color:#7dd3fc;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none;transition:background .12s ease,border-color .12s ease}.redaction-chip-summary::-webkit-details-marker{display:none}.redaction-chip-summary:hover{background:#7dd3fc24;border-color:#7dd3fc66}.redaction-chip-icon{font-size:.85em;line-height:1}.redaction-chip-label{font-weight:500}.redaction-chip-expand{font-size:.6rem;transition:transform .15s ease;color:#7dd3fca6}.redaction-chip[open] .redaction-chip-expand{transform:rotate(180deg)}.redaction-chip-body{margin-top:.5rem;padding:.65rem .75rem;background:#7dd3fc0a;border:1px solid rgba(125,211,252,.18);border-radius:8px;display:flex;flex-direction:column;gap:.65rem;font-size:.78rem}.redaction-chip-section-label{font-size:.65rem;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;margin-bottom:.3rem}.redaction-chip-redacted{background:#161b22;border:1px solid #334155;border-radius:6px;padding:.5rem .65rem;margin:0;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.78rem;color:#cbd5e1;white-space:pre-wrap;word-break:break-word;overflow-x:auto;max-height:14rem;overflow-y:auto}.redaction-chip-rules{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.2rem}.redaction-chip-rules li{display:flex;align-items:baseline;gap:.5rem;color:#cbd5e1}.redaction-chip-rule-name{flex:1}.redaction-chip-rule-count{color:#7dd3fc;font-variant-numeric:tabular-nums;font-size:.82em}.chat-md{font-size:.9rem;line-height:1.5;color:#e6edf3;white-space:normal}.chat-md>*:first-child{margin-top:0}.chat-md>*:last-child{margin-bottom:0}.chat-note-link{color:#7dd3fc;text-decoration:none;border-bottom:1px dashed rgba(125,211,252,.45);cursor:pointer}.chat-note-link:hover{color:#bae6fd;border-bottom-color:#7dd3fcbf}.chat-md p{margin:.4rem 0}.chat-md h1,.chat-md h2,.chat-md h3,.chat-md h4{margin:.6rem 0 .3rem;line-height:1.3;color:#f8fafc}.chat-md h1{font-size:1.05rem}.chat-md h2{font-size:1rem}.chat-md h3{font-size:.95rem;color:#cbd5e1}.chat-md h4{font-size:.9rem;color:#cbd5e1}.chat-md strong{color:#f8fafc}.chat-md a{color:#7dd3fc}.chat-md ul,.chat-md ol{padding-left:1.2rem;margin:.3rem 0}.chat-md li{margin:.15rem 0}.chat-md blockquote{border-left:3px solid #334155;margin:.5rem 0;padding:.1rem .7rem;color:#cbd5e1}.chat-md code{background:#1e293b;border:1px solid #334155;border-radius:4px;padding:.1em .35em;font-size:.85em;color:#f1f5f9;font-family:ui-monospace,SF Mono,Menlo,monospace}.chat-md pre{background:#161b22;border:1px solid #334155;border-radius:6px;padding:.6rem .75rem;overflow-x:auto;margin:.5rem 0}.chat-md .code-block{margin:.5rem 0}.chat-md .code-block pre{margin:0}.code-block{position:relative}button.code-block-copy{position:absolute;top:.5rem;right:.5rem;background:#1e293b;border:1px solid #334155;border-radius:6px;color:#94a3b8;font-size:.72rem;font-weight:500;font-family:inherit;padding:.25rem .55rem;cursor:pointer;opacity:0;transition:opacity .12s ease,color .12s ease,background .12s ease,border-color .12s ease}.code-block:hover>button.code-block-copy,.code-block:focus-within>button.code-block-copy,button.code-block-copy:focus-visible{opacity:1}button.code-block-copy:hover:not(:disabled){color:#e6edf3;background:#334155}button.code-block-copy.copied{color:#86efac;background:#22c55e1f;border-color:#22c55e73;opacity:1}button.code-block-copy.failed{color:#fca5a5;background:#ef44441f;border-color:#ef444473;opacity:1}.mermaid-diagram{margin:.75rem 0;padding:.75rem 1rem;background:#0a0f1d;border:1px solid #1f2937;border-radius:8px;overflow-x:auto;display:flex;justify-content:center}.mermaid-diagram svg{max-width:100%;height:auto}.mermaid-loading{margin:.75rem 0;padding:1rem 1.25rem;background:#0a0f1d;border:1px dashed #1f2937;border-radius:8px;color:#64748b;font-size:.85rem;text-align:center;font-style:italic}.mermaid-error{margin:.75rem 0;padding:.75rem 1rem;background:#f59e0b0f;border:1px solid rgba(245,158,11,.3);border-radius:8px}.mermaid-error-label{display:flex;align-items:center;gap:.4rem;color:#fbbf24;font-size:.82rem;margin-bottom:.5rem}.mermaid-error-label>span:first-child{display:inline-flex;align-items:center;justify-content:center;width:1rem;height:1rem;background:#f59e0b40;border-radius:999px;font-weight:700;font-size:.7rem}.mermaid-error-source{margin:0;padding:.5rem .65rem;background:#0f172a;border:1px solid #1f2937;border-radius:6px;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.78rem;color:#cbd5e1;white-space:pre-wrap;overflow-x:auto}.chat-md pre code{background:transparent;border:none;padding:0;font-size:.8rem;color:inherit}.chat-md table{border-collapse:collapse;margin:.5rem 0;font-size:.85rem}.chat-md th,.chat-md td{border:1px solid #1f2937;padding:.3rem .5rem}.chat-md th{background:#111827;text-align:left}.chat-md hr{border:none;border-top:1px solid #1f2937;margin:.75rem 0}.chat-md img{max-width:100%;border-radius:4px}.tool-block{display:block;margin:.5rem 0;border-radius:6px;border:1px solid #1f2937;background:#0a0f1d;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.78rem;overflow:hidden}.tool-block-summary{display:flex;align-items:center;gap:.5rem;width:100%;background:transparent;border:none;text-align:left;padding:.4rem .6rem;cursor:pointer;color:#cbd5e1;font-family:inherit;font-size:inherit}.tool-block-summary:hover{background:#111827}.tool-block-icon{display:inline-grid;place-items:center;width:1rem;height:1rem;border-radius:50%;font-size:.7rem;font-weight:700;flex-shrink:0}.tool-block-running .tool-block-icon{background:#1e40af;color:#bfdbfe;animation:spin .9s linear infinite}.tool-block-ok .tool-block-icon{background:#14532d;color:#86efac}.tool-block-error .tool-block-icon{background:#7f1d1d;color:#fca5a5}.tool-block-name{color:#e6edf3;font-weight:600}.tool-block-args{color:#94a3b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.tool-block-detail{border-top:1px solid #1f2937;padding:.5rem .6rem;background:#050912}.tool-block-section+.tool-block-section{margin-top:.5rem}.tool-block-label{font-size:.7rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.2rem}.tool-block-detail pre{margin:0;font-size:.75rem;color:#cbd5e1;white-space:pre-wrap;word-break:break-word}.chatpanel-input{display:flex;flex-direction:column;gap:.5rem;padding:.6rem .85rem .85rem;border-top:1px solid #1f2937;background:#0a0f1d}.chatpanel-input textarea{width:100%;background:#0f172a;border:1px solid #1f2937;border-radius:6px;color:#e6edf3;font-family:inherit;font-size:.9rem;line-height:1.4;padding:.5rem .6rem;resize:vertical;min-height:2.5rem;max-height:8rem}.chatpanel-input textarea:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 2px #38bdf826}.chatpanel-actions{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.chatpanel-actions-left{display:flex;align-items:center;gap:.4rem}.chatpanel-actions button{font-size:.85rem;padding:.4rem .85rem}.chatpanel-model-badge{position:relative;display:inline-flex;align-items:center;justify-content:center;width:1.65rem;height:1.65rem;border-radius:999px;background:#c4b5fd1a;border:1px solid rgba(196,181,253,.3);color:#c4b5fd;cursor:help;outline:none;transition:background .12s ease,border-color .12s ease}.chatpanel-model-badge:hover,.chatpanel-model-badge:focus-visible{background:#c4b5fd2e;border-color:#c4b5fd73}.chatpanel-model-icon{font-size:.85rem;line-height:1}.chatpanel-actions button.chatpanel-redaction-pill{display:inline-flex;align-items:center;gap:.3rem;padding:.25rem .55rem;font-size:.72rem;font-weight:500;background:#7dd3fc14;border:1px solid rgba(125,211,252,.25);border-radius:999px;color:#7dd3fc;cursor:pointer;white-space:nowrap;transition:background .12s ease,border-color .12s ease}.chatpanel-actions button.chatpanel-redaction-pill:hover{background:#7dd3fc24;border-color:#7dd3fc66}.chatpanel-actions button.chatpanel-redaction-pill.off{background:#f59e0b14;border-color:#f59e0b4d;color:#fbbf24}.chatpanel-actions button.chatpanel-redaction-pill.off:hover{background:#f59e0b24;border-color:#f59e0b73}.chatpanel-redaction-icon{font-size:.85em;line-height:1}button.voice-button{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .55rem;background:#0f172aa6;border:1px solid #1f2937;border-radius:8px;color:#cbd5e1;cursor:pointer;font-size:.78rem;font-variant-numeric:tabular-nums;transition:background .12s ease,border-color .12s ease,color .12s ease}button.voice-button:hover:not(:disabled){background:#1e293bd9;border-color:#334155;color:#e2e8f0}button.voice-button:focus-visible{outline:2px solid rgba(56,189,248,.6);outline-offset:2px}button.voice-button.recording,button.voice-button.recording:hover:not(:disabled){background:#ef44442e;border-color:#ef44448c;color:#fecaca;animation:voice-button-pulse 1.6s ease-in-out infinite}@keyframes voice-button-pulse{0%,to{box-shadow:0 0 #ef444459}50%{box-shadow:0 0 0 6px #ef444400}}.voice-button-elapsed{font-size:.72rem;font-weight:500;letter-spacing:.02em}.voice-button-spinner{display:inline-block;width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:save-spinner-rotate .75s linear infinite}button.voice-button.transcribing{color:#c4b5fd;border-color:#c4b5fd66}button.voice-button.denied,button.voice-button.error,button.voice-button.denied:hover:not(:disabled),button.voice-button.error:hover:not(:disabled){background:#f59e0b1a;border-color:#f59e0b66;color:#fbbf24}button.voice-button:disabled{opacity:.45;cursor:not-allowed}button.chatpanel-redaction-callout{display:flex;align-items:center;gap:.75rem;width:100%;text-align:left;padding:.75rem .9rem;background:#7dd3fc0f;border:1px solid rgba(125,211,252,.2);border-radius:10px;color:#cbd5e1;cursor:pointer;transition:background .12s ease,border-color .12s ease;margin:.25rem 0 .5rem;font-size:.85rem;line-height:1.45;font-weight:400}button.chatpanel-redaction-callout:hover:not(:disabled){background:#7dd3fc1f;border-color:#7dd3fc66}.chatpanel-redaction-callout-icon{flex-shrink:0}.chatpanel-redaction-callout-text{flex:1;min-width:0}.chatpanel-redaction-callout-text strong{color:#f1f5f9;font-weight:600}.chatpanel-redaction-callout-cta{font-size:.78rem;color:#7dd3fc;font-weight:500;white-space:nowrap;flex-shrink:0}.app-tooltip-portal{position:fixed;display:flex;flex-direction:column;gap:.35rem;background:#1e293b;border:1px solid #334155;border-radius:8px;padding:.6rem .75rem;white-space:nowrap;font-size:.75rem;font-weight:400;color:#cbd5e1;box-shadow:0 8px 24px #0006;z-index:9999;pointer-events:none}.app-tooltip-portal.wrap{white-space:normal}.app-tooltip-portal-arrow{position:absolute;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;transform:translate(-50%)}.app-tooltip-portal-arrow:after{content:"";position:absolute;left:-6px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent}.app-tooltip-portal-arrow.down{top:100%;border-top:6px solid #334155}.app-tooltip-portal-arrow.down:after{top:-7px;border-top:6px solid #1e293b}.app-tooltip-portal-arrow.up{bottom:100%;border-bottom:6px solid #334155}.app-tooltip-portal-arrow.up:after{bottom:-7px;border-bottom:6px solid #1e293b}.app-tooltip-row{display:flex;align-items:baseline;gap:.65rem}.app-tooltip-label{color:#94a3b8;font-size:.66rem;font-weight:500;text-transform:uppercase;letter-spacing:.06em;min-width:3.75rem}.app-tooltip-mono{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.78rem;color:#f1f5f9;background:transparent;border:none;padding:0}.app-tooltip-cost{color:#7dd3fc;font-variant-numeric:tabular-nums;font-weight:500}.app-tooltip-cta{margin-top:.2rem;padding-top:.4rem;border-top:1px solid #334155;color:#7dd3fc;font-size:.7rem;text-align:right}.sync-indicator:focus-visible{outline:none}.chat-bubble-cost{margin-top:.4rem;padding-top:.4rem;border-top:1px dashed #1f2937;font-family:ui-monospace,monospace;font-size:.7rem;color:#94a3b8;display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;font-variant-numeric:tabular-nums}.chat-bubble-cost-price{color:#7dd3fc;font-weight:600}.chat-bubble-cost-sep{color:#334155}.chat-bubble-cost-model{color:#94a3b8}.settings-row{display:flex;gap:.75rem;margin-bottom:1rem}.settings-half{flex:1;margin-bottom:0}select{display:block;width:100%;margin-top:.35rem;padding:.6rem 2rem .6rem .7rem;background-color:#0f172a;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%2394a3b8' d='M2.5 4.5h7L6 8.25z'/></svg>");background-repeat:no-repeat;background-position:right .7rem center;border:1px solid #1f2937;border-radius:8px;color:#e6edf3;font-size:.95rem;font-family:inherit;cursor:pointer;-moz-appearance:none;appearance:none;-webkit-appearance:none}select:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf826}select:disabled{opacity:.5;cursor:not-allowed}select option{background:#1e293b;color:#e6edf3}button.ghost.small.icon{padding:.35rem .55rem;font-size:1rem;line-height:1}.preview{color:#e6edf3;line-height:1.65;font-size:.95rem;max-width:50rem}.preview h1,.preview h2,.preview h3{margin:1.5rem 0 .5rem;line-height:1.25}.preview h1{font-size:1.75rem;border-bottom:1px solid #1f2937;padding-bottom:.3rem}.preview h2{font-size:1.35rem}.preview h3{font-size:1.1rem;color:#cbd5e1}.preview p{margin:.6rem 0}.preview a{color:#7dd3fc}.preview strong{color:#f8fafc}.preview em{color:#cbd5e1}.preview blockquote{border-left:3px solid #334155;margin:.75rem 0;padding:.1rem .9rem;color:#cbd5e1}.preview ul,.preview ol{padding-left:1.5rem;margin:.5rem 0}.preview li{margin:.2rem 0}.preview code{background:#1e293b;border:1px solid #334155;border-radius:5px;padding:.12em .4em;font-size:.88em;color:#f1f5f9;font-family:ui-monospace,SF Mono,Menlo,monospace}.preview pre{background:#161b22;border:1px solid #334155;border-radius:8px;padding:.85rem 1rem;overflow-x:auto;margin:.75rem 0}.preview .code-block{margin:.75rem 0}.preview .code-block pre{margin:0}.preview pre code{background:transparent;border:none;padding:0;font-size:.85rem;color:inherit}.preview table{border-collapse:collapse;margin:.75rem 0;font-size:.9rem}.preview th,.preview td{border:1px solid #1f2937;padding:.4rem .7rem}.preview th{background:#111827;text-align:left}.preview hr{border:none;border-top:1px solid #1f2937;margin:1.25rem 0}.settings-view{min-height:0;display:grid;grid-template-columns:14rem 1fr;background:#0f172a}.settings-rail{display:flex;flex-direction:column;gap:.4rem;padding:1.25rem .85rem;border-right:1px solid #1f2937;min-width:0;overflow-y:auto}.settings-rail-back{align-self:flex-start;background:transparent;border:none;color:#94a3b8;font-size:.82rem;font-weight:500;padding:.35rem .45rem;border-radius:6px;cursor:pointer;transition:color .12s ease,background .12s ease}.settings-rail-back:hover:not(:disabled){color:#e6edf3;background:#1e293b}.settings-rail-heading{margin:.6rem 0 .3rem;padding:0 .5rem;font-size:.7rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.1em}.settings-rail-nav{display:flex;flex-direction:column;gap:.15rem}.settings-rail-tab{text-align:left;background:transparent;border:none;color:#cbd5e1;padding:.5rem .75rem;font-size:.9rem;font-weight:500;cursor:pointer;border-radius:6px;transition:background .12s ease,color .12s ease}.settings-rail-tab:hover:not(.active){background:#1e293b;color:#f1f5f9}.settings-rail-tab.active{background:#38bdf81f;color:#7dd3fc}.settings-content{display:flex;flex-direction:column;min-height:0;min-width:0}.settings-content-body{flex:1;min-height:0;overflow-y:auto;padding:1.5rem 2rem}.settings-content-body>.tab-panel{max-width:44rem}.settings-content-body>.tab-panel.tab-panel-wide{max-width:64rem}.tab-panel{display:flex;flex-direction:column;gap:.5rem}.settings-tab-actions{display:flex;flex-direction:column;gap:.6rem;margin-top:1.5rem;padding-top:1rem;border-top:1px solid #1f2937}.settings-tab-actions-error{margin:0}.settings-tab-actions-buttons{display:flex;justify-content:flex-end;gap:.6rem}@media(max-width:720px){.settings-view{grid-template-columns:1fr;grid-template-rows:auto 1fr}.settings-rail{flex-direction:row;overflow-x:auto;overflow-y:visible;padding:.65rem .85rem;border-right:none;border-bottom:1px solid #1f2937;gap:.25rem;align-items:center}.settings-rail-back{flex-shrink:0;margin-right:.5rem}.settings-rail-heading{display:none}.settings-rail-nav{flex-direction:row;gap:.25rem;flex:1;flex-wrap:nowrap}.settings-rail-tab{flex-shrink:0;padding:.4rem .7rem;font-size:.85rem}.settings-content-body{padding:1rem}}.settings-section-title{font-size:.85rem;font-weight:600;color:#cbd5e1;text-transform:uppercase;letter-spacing:.05em;margin:1rem 0 .5rem;display:flex;align-items:center;justify-content:space-between}.settings-section-title-icon{gap:.45rem;justify-content:flex-start}.settings-section-title-icon>span:first-child{font-size:1rem;text-transform:none;letter-spacing:0}.ai-rule-helper{display:flex;flex-direction:column;gap:.5rem;padding:.85rem .9rem;background:#7dd3fc0d;border:1px solid rgba(125,211,252,.22);border-radius:10px;margin:.25rem 0 1rem}.ai-rule-helper-input{width:100%;font-family:inherit;font-size:.88rem;color:#e6edf3;background:#0f172a;border:1px solid #334155;border-radius:6px;padding:.55rem .7rem;line-height:1.45;resize:vertical;min-height:4.5rem}.ai-rule-helper-input:focus{outline:2px solid #38bdf8;outline-offset:1px;border-color:#38bdf8}.ai-rule-helper-actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.ai-rule-helper-hint{margin:0;font-size:.72rem;color:#94a3b8}.ai-rule-helper-unconfigured{display:flex;flex-direction:column;gap:.5rem;align-items:flex-start}.ai-rule-helper-unconfigured .hint{margin:0}.ai-rule-helper-preview{margin-top:.5rem;padding-top:.65rem;border-top:1px dashed rgba(125,211,252,.25);display:flex;flex-direction:column;gap:.4rem}.ai-rule-helper-preview-label{font-size:.7rem;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}.ai-rule-helper-preview-text{margin:0;background:#161b22;border:1px solid #334155;border-radius:6px;padding:.5rem .65rem;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.8rem;color:#cbd5e1;white-space:pre-wrap;word-break:break-word;overflow-x:auto}.ai-rule-helper-preview .msg-inline-warn{margin:0}.usage-total{display:flex;align-items:baseline;gap:.6rem;padding:1rem 1.1rem;border:1px solid #1f2937;border-radius:10px;background:linear-gradient(180deg,#7dd3fc0f,#c4b5fd0a),#0f172a;margin:.5rem 0 1rem}.usage-total-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8}.usage-total-value{font-size:1.6rem;font-weight:700;font-family:ui-monospace,monospace;color:#e6edf3;font-variant-numeric:tabular-nums}.usage-total-meta{margin-left:auto;font-size:.78rem;color:#94a3b8}.usage-table{width:100%;border-collapse:collapse;font-size:.82rem;font-variant-numeric:tabular-nums}.usage-table th,.usage-table td{padding:.5rem .6rem;border-bottom:1px solid #1f2937;text-align:left;vertical-align:top}.usage-table th{color:#94a3b8;font-weight:500;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em}.usage-table tbody tr:last-child td{border-bottom:none}.usage-num{text-align:right;font-family:ui-monospace,monospace}.usage-cost{color:#7dd3fc;font-weight:600}.usage-model{color:#e6edf3;font-family:ui-monospace,monospace;font-size:.82rem}.usage-provider{color:#94a3b8;font-size:.72rem;margin-top:.1rem}.usage-warning{margin-top:.2rem;font-size:.7rem;color:#fbbf24;display:inline-block;cursor:help}.usage-warning:focus-visible{outline:none}.skeleton-block{display:inline-block;vertical-align:middle;border-radius:4px;background:linear-gradient(90deg,#1f293799,#374151e6,#1f293799);background-size:200% 100%;animation:skeleton-shimmer 1.4s ease-in-out infinite}.skeleton-row td{vertical-align:middle}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.skeleton-block{animation:none}}.models-refresh-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin:.5rem 0 .85rem;padding:.55rem .75rem;border:1px solid #1f2937;border-radius:8px;background:#7dd3fc0a}.models-refresh-meta{font-size:.85rem;color:#94a3b8}.models-refresh-meta strong{color:#e6edf3;font-weight:500}.models-table tr.models-row-active{background:#7dd3fc0f}.models-table tr.models-row-active td{border-bottom-color:#7dd3fc2e}.models-active-badge{display:inline-block;margin-left:.45rem;padding:.05rem .4rem;border-radius:4px;background:#7dd3fc1f;border:1px solid rgba(125,211,252,.3);color:#7dd3fc;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;vertical-align:middle}.models-table code{font-size:.7rem}.model-limits-inline{margin:.85rem 0 .5rem;padding:.7rem .85rem;border:1px solid #1f2937;border-radius:8px;background:#7dd3fc0a;display:flex;flex-direction:column;gap:.3rem}.model-limits-row{display:flex;align-items:baseline;gap:.7rem;font-size:.82rem;font-variant-numeric:tabular-nums}.model-limits-label{color:#94a3b8;min-width:7rem;font-size:.74rem;text-transform:uppercase;letter-spacing:.04em}.model-limits-value{color:#e6edf3}.model-limits-warn{margin-top:.2rem;font-size:.72rem;color:#fbbf24}.settings-card{padding:.9rem 1rem 1rem;border:1px solid #1f2937;border-radius:10px;background:#0a0f1d;margin-top:1rem;display:flex;flex-direction:column;gap:.5rem}.settings-card:first-of-type{margin-top:.5rem}.settings-card-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.settings-card-title{margin:0;font-size:.85rem;font-weight:600;color:#cbd5e1;text-transform:uppercase;letter-spacing:.05em;display:inline-flex;align-items:center;gap:.45rem}.settings-card-title-icon>span:first-child{font-size:1rem;text-transform:none;letter-spacing:0}.settings-card-count{font-size:.75rem;font-weight:500;color:#94a3b8;text-transform:none;letter-spacing:0;background:#111827;border:1px solid #1f2937;border-radius:999px;padding:.1rem .5rem}.settings-card-footer-note{margin:.4rem 0 0;padding-top:.65rem;border-top:1px dashed #1f2937}.redaction-builtin-disclosure,.redaction-builtin-disclosure[open]{margin-top:1rem;background:#0a0f1d}.redaction-test-help{margin:0 0 .4rem}.redaction-test-input{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;padding:.6rem .7rem;background:#0f172a;border:1px solid #1f2937;border-radius:8px;color:#e6edf3;resize:vertical;min-height:4.5rem}.redaction-test-input:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf826}.redaction-test-output{margin-top:.5rem;padding:.6rem .75rem;border:1px solid #1f2937;border-radius:8px;background:transparent;display:flex;flex-direction:column;gap:.4rem}.redaction-test-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8}.redaction-test-redacted{margin:0;padding:.55rem .65rem;background:#0f172a;border:1px solid #1f2937;border-radius:6px;font-size:.8rem;color:#e6edf3;white-space:pre-wrap;word-break:break-word}.redaction-test-chips{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.3rem}.redaction-test-chip{display:inline-flex;align-items:center;gap:.35rem;background:#0b2233;color:#7dd3fc;border:1px solid #1e3a52;border-radius:999px;padding:.15rem .6rem;font-size:.75rem}.redaction-test-chip-count{color:#38bdf8;font-weight:600;font-variant-numeric:tabular-nums}.settings-disclosure{margin-top:1rem;border:1px solid #1f2937;border-radius:8px;background:#0f172a}.settings-disclosure[open]{background:transparent}.settings-disclosure-summary{display:flex;align-items:center;gap:.55rem;padding:.6rem .75rem;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none;border-radius:8px}.settings-disclosure-summary::-webkit-details-marker{display:none}.settings-disclosure-summary:hover{background:#111827}.settings-disclosure-chevron{display:inline-block;color:#94a3b8;font-size:.75rem;transition:transform .15s ease}.settings-disclosure[open]>.settings-disclosure-summary>.settings-disclosure-chevron{transform:rotate(90deg)}.settings-disclosure-title{font-size:.85rem;font-weight:600;color:#cbd5e1;text-transform:uppercase;letter-spacing:.05em}.settings-disclosure-meta{font-size:.75rem;color:#94a3b8;text-transform:none;letter-spacing:0;margin-left:auto}.settings-disclosure>.redaction-list,.settings-disclosure>p.footnote{margin-left:.75rem;margin-right:.75rem}.settings-disclosure>.redaction-list:last-child{margin-bottom:.75rem}.vault-meta{margin-top:.75rem;display:flex;align-items:center;justify-content:flex-end;gap:.55rem;font-size:.78rem;color:#64748b}.vault-meta-sep{opacity:.5}.vault-meta-status{display:inline-flex;align-items:center;gap:.3rem;padding:.1rem .55rem;border-radius:999px;font-size:.75rem;font-weight:500;cursor:help}.vault-meta-status>span:first-child{font-size:.85em;line-height:1}.vault-meta-status-ok{background:#22c55e1a;color:#86efac;border:1px solid rgba(34,197,94,.25)}.vault-meta-status-warn{background:#f59e0b1a;color:#fbbf24;border:1px solid rgba(245,158,11,.3)}.redaction-list{list-style:none;padding:0;margin:0 0 .5rem;display:flex;flex-direction:column;gap:.25rem}.redaction-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.5rem .65rem;border:1px solid #1f2937;border-radius:6px;background:#0f172a}.redaction-toggle{display:inline-flex;align-items:center;gap:.6rem;font-size:.9rem;color:#e6edf3;cursor:pointer;margin:0;flex:1;min-width:0}.redaction-toggle input[type=checkbox]{width:1rem;height:1rem;accent-color:#38bdf8;cursor:pointer;flex-shrink:0}.redaction-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.redaction-replacement{font-size:.75rem;color:#7dd3fc;background:#0a0f1d;border:1px solid #1f2937;border-radius:4px;padding:.1rem .4rem;white-space:nowrap}.redaction-custom-list{list-style:none;padding:0;margin:0 0 .5rem;display:flex;flex-direction:column;gap:.6rem}.redaction-custom-row{border:1px solid #1f2937;border-radius:8px;background:#0f172a;padding:.6rem .75rem;display:flex;flex-direction:column;gap:.5rem}.redaction-custom-row.disabled{opacity:.55}.redaction-custom-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.redaction-custom-name{background:transparent;border:none;color:#e6edf3;font-size:.95rem;font-weight:500;padding:.2rem .35rem;border-radius:4px;margin:0;flex:1;min-width:0}.redaction-custom-name:focus{outline:none;background:#0a0f1d;box-shadow:0 0 0 1px #1f2937}.redaction-custom-fields{display:grid;grid-template-columns:1fr 5rem 1fr;gap:.5rem}.redaction-custom-fields label{display:flex;flex-direction:column;font-size:.75rem;color:#94a3b8;margin:0;gap:.25rem}.redaction-custom-fields input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;padding:.45rem .55rem}button.ghost.small.destructive{color:#fda4af;border-color:#3f1d24;padding:.2rem .5rem}button.ghost.small.destructive:hover{background:#2a1116;color:#fecdd3}.msg-inline{margin:0;padding:.35rem .5rem;font-size:.78rem}.msg-inline-warn{display:inline-block;margin-top:.5rem;color:#fbbf24;font-weight:500}.rotate-confirm{margin:.5rem 0 .75rem;padding:.75rem .85rem;border:1px solid #3f1d24;border-radius:8px;background:#f59e0b0d}.rotate-confirm .msg-inline-warn{display:block;margin:0 0 .6rem}.toast-viewport{position:fixed;bottom:1rem;right:1rem;z-index:100;display:flex;flex-direction:column;gap:.6rem;max-width:calc(100vw - 2rem);width:min(22rem,calc(100vw - 2rem));pointer-events:none}.toast{pointer-events:auto;display:flex;gap:.5rem;padding:.7rem .85rem;border-radius:10px;background:#111827;border:1px solid #1f2937;color:#e6edf3;box-shadow:0 1px #ffffff0a inset,0 12px 30px -10px #0009;animation:toast-slide-in .18s ease;font-size:.88rem;line-height:1.4}@keyframes toast-slide-in{0%{transform:translate(20px);opacity:0}to{transform:translate(0);opacity:1}}@media(prefers-reduced-motion:reduce){.toast{animation:none}}.toast-info{border-left:3px solid #38bdf8}.toast-success{border-left:3px solid #22c55e}.toast-warning{border-left:3px solid #f59e0b}.toast-error{border-left:3px solid #ef4444}.toast-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:.15rem}.toast-title{font-weight:600;color:#f1f5f9}.toast-message{color:#cbd5e1}.toast-actions{display:flex;flex-direction:column;align-items:flex-end;gap:.3rem}.toast-action{background:transparent;border:1px solid #334155;color:#7dd3fc;font-size:.8rem;padding:.25rem .65rem;border-radius:6px;cursor:pointer;font-family:inherit;white-space:nowrap}.toast-action:hover{background:#1f2937;border-color:#64748b}.toast-dismiss{background:transparent;border:none;color:#94a3b8;cursor:pointer;font-size:1.1rem;line-height:1;padding:0 .35rem;border-radius:4px}.toast-dismiss:hover{background:#1f2937;color:#e6edf3}.chatpanel-title-toggle{display:inline-flex;align-items:center;gap:.4rem;background:transparent;border:1px solid transparent;color:#e6edf3;font-family:inherit;font-size:.85rem;text-transform:none;letter-spacing:0;padding:.3rem .55rem;border-radius:6px;cursor:pointer;min-width:0;flex:1;max-width:100%}.chatpanel-title-toggle:hover{background:#111827;border-color:#1f2937}.chatpanel-title-toggle.is-open{background:#111827;border-color:#1f2937;color:#7dd3fc}.chatpanel-title-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.chatpanel-title-chevron,.chatpanel-title-back{font-size:.75rem;color:#94a3b8;flex-shrink:0}.chatpanel-title-toggle.is-open .chatpanel-title-back{color:#7dd3fc}.chatpanel-new-button,.workspace-new-note-button{display:inline-flex;align-items:center;gap:.35rem;background:#38bdf81f;color:#7dd3fc;border:1px solid rgba(56,189,248,.4);border-radius:6px;font-family:inherit;font-size:.8rem;font-weight:600;text-transform:none;letter-spacing:0;padding:.32rem .7rem;cursor:pointer;flex-shrink:0}.chatpanel-new-button:hover,.workspace-new-note-button:hover{background:#38bdf833;border-color:#38bdf899;color:#bae6fd}.workspace-import-button{display:inline-flex;align-items:center;gap:.35rem;background:transparent;color:#cbd5e1;border:1px solid #1f2937;border-radius:6px;font-family:inherit;font-size:.8rem;font-weight:500;text-transform:none;letter-spacing:0;padding:.32rem .7rem;cursor:pointer;flex-shrink:0}.workspace-import-button:hover{background:#111827;border-color:#334155;color:#e6edf3}.chatpanel-list-body{padding:.75rem .85rem 1rem}.chatpanel-list{display:flex;flex-direction:column;gap:.85rem}.chatpanel-list-search{position:sticky;top:0;background:#0b1220;padding-bottom:.25rem;z-index:1}.chatpanel-list-search-input{width:100%;box-sizing:border-box;background:#111827;border:1px solid #1f2937;color:#e6edf3;font-family:inherit;font-size:.85rem;padding:.45rem .65rem;border-radius:6px}.chatpanel-list-search-input:focus{outline:none;border-color:#38bdf8;background:#0f172a}.chatpanel-list-search-input::placeholder{color:#64748b}.chatpanel-list-empty{margin:.5rem 0;padding:1rem .5rem;text-align:center;font-size:.85rem;color:#94a3b8}.chatpanel-list-empty strong{color:#cbd5e1;font-weight:600}.chatpanel-list-group{display:flex;flex-direction:column;gap:.3rem}.chatpanel-list-group-label{margin:0;font-size:.7rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.06em;padding:0 .15rem}.chatpanel-list-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.15rem}.chatpanel-list-item{display:flex;align-items:stretch;gap:.25rem;border-radius:6px}.chatpanel-list-item.active{background:#38bdf814;outline:1px solid rgba(56,189,248,.25)}.chatpanel-list-pick{flex:1;background:transparent;border:none;color:#e6edf3;text-align:left;cursor:pointer;padding:.55rem .65rem;border-radius:6px;display:flex;flex-direction:column;gap:.2rem;min-width:0;font-family:inherit}.chatpanel-list-pick:hover{background:#111827}.chatpanel-list-title{font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chatpanel-list-meta{font-size:.72rem;color:#94a3b8}.chatpanel-list-delete{background:transparent;border:1px solid transparent;color:#64748b;cursor:pointer;padding:0 .7rem;font-size:.95rem;line-height:1;border-radius:6px;align-self:center;margin:.25rem .25rem .25rem 0}.chatpanel-list-delete:hover{background:#2a1116;color:#fda4af;border-color:#3f1d24}.chatpanel-header-simple{justify-content:flex-start}.chatpanel-header-title{color:#94a3b8}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
  Theme: GitHub Dark
  Description: Dark theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Outdated base version: https://github.com/primer/github-syntax-dark
  Current colors taken from GitHub's CSS
*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}
