:root{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:Geist,system-ui,Segoe UI,Roboto,-apple-system,sans-serif;line-height:1.5}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;padding:0}body{color:#1f2328;background:#f7f7f5;transition:background .2s,color .2s}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}[data-theme=dark] body{color:#e6edf3;background:#0d1117}[data-theme=dark] .app{background:#0d1117}[data-theme=dark] .app-header{background:#161b22}[data-theme=dark] .brand-name{color:#f0f6fc}[data-theme=dark] .user-email{color:#8b949e}[data-theme=dark] .header-btn{color:#c9d1d9;background:#21262d;border-color:#30363d}[data-theme=dark] .header-btn:hover{background:#30363d}[data-theme=dark] .header-btn.ghost{color:#8b949e;background:0 0}[data-theme=dark] .header-btn.ghost:hover{color:#f85149;background:0 0}[data-theme=dark] .role-badge{color:#8b949e;background:#21262d}[data-theme=dark] .theme-toggle-btn{color:#f0f6fc;background:#21262d;border-color:#30363d}[data-theme=dark] .theme-toggle-btn:hover{background:#30363d}[data-theme=dark] .user-menu-appearance{border-bottom-color:#30363d}[data-theme=dark] .uma-seg{background:#21262d}[data-theme=dark] .uma-seg-btn.is-active{box-shadow:none;background:#30363d}[data-theme=dark] .sidebar{background:#0f141c;border-right-color:#30363d}[data-theme=dark] .sidebar-title{color:#8b949e}[data-theme=dark] .new-doc{color:#c9d1d9;background:#21262d;border-color:#30363d}[data-theme=dark] .new-doc:hover{background:#30363d}[data-theme=dark] .doc-item{color:#c9d1d9}[data-theme=dark] .doc-item:hover{background:#21262d}[data-theme=dark] .doc-item.is-selected{color:#93c5fd;background:#1e3a8a}[data-theme=dark] .doc-item-del{color:#8b949e}[data-theme=dark] .doc-item-del:hover{color:#f85149}[data-theme=dark] .sidebar-head{border-bottom-color:#30363d}[data-theme=dark] .sidebar-btn-ghost{color:#c9d1d9;background:#21262d;border-color:#30363d}[data-theme=dark] .sidebar-btn-ghost:hover{color:#f0f6fc;background:#30363d}[data-theme=dark] .sidebar-inline-form{background:#161b22;border-color:#30363d}[data-theme=dark] .sidebar-inline-input{color:#f0f6fc;background:#0d1117;border-color:#30363d}[data-theme=dark] .sidebar-count{color:#8b949e;background:#21262d}[data-theme=dark] .folder-head:hover{background:#21262d}[data-theme=dark] .folder-head.is-drop-target{outline-color:#388bfd;background:#1e3a8a!important}[data-theme=dark] .folder-name{color:#f0f6fc}[data-theme=dark] .folder-rename-input{color:#f0f6fc;background:#0d1117;border-color:#388bfd}[data-theme=dark] .folder-doc-list{border-left-color:#30363d}[data-theme=dark] .folder-action-btn:hover{color:#f0f6fc;background:#30363d}[data-theme=dark] .doc-move-btn:hover{color:#58a6ff;background:#21262d}[data-theme=dark] .move-folder-popover{background:#161b22;border-color:#30363d;box-shadow:0 10px 25px #00000080}[data-theme=dark] .move-popover-header{color:#8b949e;background:#12161f;border-bottom-color:#30363d}[data-theme=dark] .move-popover-item{color:#c9d1d9}[data-theme=dark] .move-popover-item:hover{color:#f0f6fc;background:#21262d}[data-theme=dark] .move-popover-item.is-active{color:#93c5fd;background:#1e3a8a}[data-theme=dark] .move-popover-footer{background:#12161f;border-top-color:#30363d}[data-theme=dark] .move-popover-new-btn{color:#58a6ff}[data-theme=dark] .move-popover-new-btn:hover{background:#1e3a8a}[data-theme=dark] .editor-scroll{background:#0d1117}[data-theme=dark] .editor-topbar{background:#161b22;border-bottom-color:#30363d}[data-theme=dark] .doc-title-input{color:#f0f6fc}[data-theme=dark] .doc-menu-item{color:#8b949e}[data-theme=dark] .doc-menu-item:hover,[data-theme=dark] .doc-menu-item.is-active{color:#f0f6fc;background:#21262d}[data-theme=dark] .comments-btn{color:#8b949e}[data-theme=dark] .comments-btn:hover{color:#f0f6fc;background:#21262d}[data-theme=dark] .comments-btn.is-active{color:#58a6ff;background:#21262d}[data-theme=dark] .editor-content{box-shadow:none;background:0 0;border:none}[data-theme=dark] .editor-shell,[data-theme=dark] .editor-scroll{background:#0d1117}[data-theme=dark] .app-subbar{background:#161b22;border-bottom-color:#30363d}[data-theme=dark] .app-sidebar{border-right-color:#30363d}[data-theme=dark] .header-icon-btn,[data-theme=dark] .sidebar-collapse-btn{color:#8b949e}[data-theme=dark] .header-icon-btn:hover,[data-theme=dark] .sidebar-collapse-btn:hover{color:#f0f6fc;background:#21262d}[data-theme=dark] .header-search:focus-within{background:#21262d}[data-theme=dark] .header-search-input{color:#f0f6fc}[data-theme=dark] .editor-content .ProseMirror{color:#c9d1d9}[data-theme=dark] .editor-content h1,[data-theme=dark] .editor-content h2,[data-theme=dark] .editor-content h3{color:#f0f6fc}[data-theme=dark] .editor-content hr{border-top-color:#30363d}[data-theme=dark] .editor-content blockquote{color:#8b949e;border-left-color:#388bfd}[data-theme=dark] .editor-content code{color:#f0f6fc;background:#21262d}[data-theme=dark] .editor-content pre{background:#1f242c;border-color:#30363d}[data-theme=dark] .editor-content th,[data-theme=dark] .editor-content td{border-color:#30363d}[data-theme=dark] .editor-content th{color:#f0f6fc;background:#21262d}[data-theme=dark] .collab-status{color:#8b949e;background:#161b22;border-color:#30363d}[data-theme=dark] .toolbar{background:#161b22;border-bottom-color:#30363d}[data-theme=dark] .tb-sep{background:#30363d}[data-theme=dark] .tb-btn{color:#c9d1d9}[data-theme=dark] .tb-btn:hover:not(:disabled){background:#21262d}[data-theme=dark] .tb-btn.is-active{color:#93c5fd;background:#1e3a8a;border-color:#2563eb}[data-theme=dark] .tb-insert-label{color:#6e7681}[data-theme=dark] .tb-ai-btn{color:#c084fc;background:linear-gradient(135deg,#2e1065 0%,#1e1b4b 100%);border-color:#6b21a8}[data-theme=dark] .tb-ai-btn:hover{color:#d8b4fe;background:linear-gradient(135deg,#3b0764 0%,#2e1065 100%);border-color:#9333ea}[data-theme=dark] .tb-ai-gear{color:#8b949e}[data-theme=dark] .custom-select-trigger{color:#c9d1d9;background:#21262d;border-color:#30363d}[data-theme=dark] .custom-select-trigger:hover{color:#f0f6fc;background:#292e36;border-color:#484f58}[data-theme=dark] .custom-select-menu{background:#161b22;border-color:#30363d;box-shadow:0 10px 28px -6px #0009}[data-theme=dark] .custom-select-item{color:#c9d1d9}[data-theme=dark] .custom-select-item:hover{color:#f0f6fc;background:#21262d}[data-theme=dark] .custom-select-item.is-selected{color:#93c5fd;background:#1e3a8a}[data-theme=dark] .menu-dropdown{background:#161b22;border-color:#30363d;box-shadow:0 8px 24px #00000080}[data-theme=dark] .menu-item{color:#c9d1d9}[data-theme=dark] .menu-item:hover:not(:disabled){background:#21262d}[data-theme=dark] .menu-divider{background:#30363d}[data-theme=dark] .comments-panel,[data-theme=dark] .version-panel{background:#161b22;border-left-color:#30363d}[data-theme=dark] .cp-head,[data-theme=dark] .version-head{border-bottom-color:#30363d}[data-theme=dark] .cp-title,[data-theme=dark] .version-title,[data-theme=dark] .version-label{color:#f0f6fc}[data-theme=dark] .version-item:hover{background:#21262d}[data-theme=dark] .version-item.is-current{background:#1e3a8a}[data-theme=dark] .comment-thread{background:#161b22;border-color:#30363d}[data-theme=dark] .comment-popover{background:#161b22;border-color:#30363d;box-shadow:0 10px 34px #00000080}[data-theme=dark] .cp-quote{color:#c9d1d9;background:#21262d}[data-theme=dark] .cp-text,[data-theme=dark] .cp-name{color:#f0f6fc}[data-theme=dark] .cp-footer-input{color:#f0f6fc;background:#0d1117;border-color:#30363d}[data-theme=dark] .share-dialog{background:#161b22;box-shadow:0 10px 40px #0009}[data-theme=dark] .share-head h2{color:#f0f6fc}[data-theme=dark] .share-add input{color:#f0f6fc;background:#0d1117;border-color:#30363d}[data-theme=dark] .share-row{border-top-color:#30363d}[data-theme=dark] .share-who{color:#f0f6fc}[data-theme=dark] .home{background:#0d1117}[data-theme=dark] .home-greeting{color:#f0f6fc}[data-theme=dark] .home-doc-card{color:#f0f6fc;background:#161b22;border-color:#30363d}[data-theme=dark] .home-doc-card:hover{background:#21262d;border-color:#484f58}[data-theme=dark] .home-doc-title{color:#f0f6fc}[data-theme=dark] .ai-modal-window{background:#161b22;border:1px solid #30363d}[data-theme=dark] .ai-modal-title{color:#f0f6fc}[data-theme=dark] .ai-modal-header{border-bottom-color:#30363d}[data-theme=dark] .ai-field-label{color:#c9d1d9}[data-theme=dark] .ai-provider-card{background:#161b22;border-color:#30363d}[data-theme=dark] .ai-provider-card:hover{background:#21262d}[data-theme=dark] .ai-provider-card.is-selected{background:#1e3a8a;border-color:#3b82f6}[data-theme=dark] .ai-card-name{color:#f0f6fc}[data-theme=dark] .ai-card-desc{color:#8b949e}[data-theme=dark] .ai-model-chip{color:#c9d1d9;background:#21262d;border-color:#30363d}[data-theme=dark] .ai-model-chip:hover{background:#30363d}[data-theme=dark] .ai-model-chip.is-selected{color:#fff;background:#388bfd}[data-theme=dark] .ai-key-input{color:#f0f6fc;background:#0d1117;border-color:#30363d}[data-theme=dark] .ai-modal-footer{background:#131720;border-top-color:#30363d}[data-theme=dark] .ai-btn-secondary{color:#c9d1d9;background:#21262d;border-color:#30363d}[data-theme=dark] .ai-btn-secondary:hover{color:#f0f6fc;background:#30363d}[data-theme=dark] .ai-popover-card{background:#161b22fa;border-color:#30363d}[data-theme=dark] .ai-pill-switch{background:#21262d}[data-theme=dark] .ai-switch-btn.active{color:#f0f6fc;background:#30363d}[data-theme=dark] .ai-quote-preview{color:#8b949e;background:#21262d;border-left-color:#388bfd}[data-theme=dark] .ai-prompt-input,[data-theme=dark] .ai-output-box{color:#f0f6fc;background:#0d1117;border-color:#30363d}[data-theme=dark] .ai-pop-btn-secondary{color:#c9d1d9;background:#21262d;border-color:#30363d}[data-theme=dark] .ai-pop-btn-secondary:hover:not(:disabled){background:#30363d}[data-theme=dark] .ai-rendered-html th,[data-theme=dark] .ai-rendered-html td{border-color:#30363d}[data-theme=dark] .ai-rendered-html th{color:#f0f6fc;background:#21262d}[data-theme=dark] .ai-rendered-html tr:nth-child(2n) td{background:#21262d66}[data-theme=dark] .ai-warning-box{color:#fef08a;background:#27200d;border-color:#854d0e}[data-theme=dark] .ai-warning-btn{color:#fef08a;background:#3b2c09;border-color:#a16207}[data-theme=dark] .ai-warning-btn:hover{background:#4d380c}[data-theme=dark] .ai-output-box.has-error{background:#200f13;border-color:#671e28}[data-theme=dark] .ai-error-banner{background:#200f13}[data-theme=dark] .ai-error-banner-title{color:#fca5a5}[data-theme=dark] .ai-error-banner-body{color:#fca5a5;background:#14080a;border-color:#7f1d1d}[data-theme=dark] .ai-error-banner-hint{color:#f87171}[data-theme=dark] .ai-error-action-btn.primary{color:#fff;background:#dc2626;border-color:#b91c1c}[data-theme=dark] .ai-error-action-btn.primary:hover{background:#ef4444}[data-theme=dark] .ai-error-action-btn.secondary{color:#fca5a5;background:#2e1318;border-color:#842029}[data-theme=dark] .ai-error-action-btn.secondary:hover{background:#3e1920}[data-theme=dark] .editor-content .column-resize-handle{background-color:#60a5fa;box-shadow:0 0 6px #60a5fa80}[data-theme=dark] .editor-content .column-resize-dragging{background-color:#60a5fa26!important}[data-theme=dark] .tb-table-controls .tb-insert-label{color:#58a6ff!important}[data-theme=dark] .doc-folder-chip{color:#c9d1d9;background:#21262d;border-color:#30363d}[data-theme=dark] .doc-folder-chip:hover{color:#f0f6fc;background:#30363d;border-color:#484f58}[data-theme=dark] .doc-folder-dropdown{background:#161b22;border-color:#30363d;box-shadow:0 10px 25px -5px #00000080,0 8px 10px -6px #0006}[data-theme=dark] .dfd-header{color:#8b949e}[data-theme=dark] .dfd-item{color:#c9d1d9}[data-theme=dark] .dfd-item:hover{color:#f0f6fc;background:#21262d}[data-theme=dark] .dfd-item.is-active{color:#79c0ff;background:#1f293d}[data-theme=dark] .dfd-divider{background:#30363d}[data-theme=dark] .dfd-new-btn{color:#58a6ff}[data-theme=dark] .dfd-new-btn:hover{background:#1f293d}[data-theme=dark] .hc-folder{color:#8b949e;background:#21262d}[data-theme=dark] .comments-fab{color:#8b949e}[data-theme=dark] .comments-fab:hover{color:#f0f6fc;background:#21262d}[data-theme=dark] .comments-fab.is-active{color:#58a6ff;background:#15233f}[data-theme=dark] .thread.is-resolved{background:#0f141c}[data-theme=dark] .thread.is-resolved .thread-anchor{color:#6e7681;background:#161b22}[data-theme=dark] .ai-bubble-fmt.is-active{color:#9ecbff;background:#58a6ff38}[data-theme=dark] .invite-people-link{color:#9aa0a6}[data-theme=dark] .invite-people-link:hover{color:#f0f6fc;background:#21262d}.sidebar{background:#fbfbfa;border-right:1px solid #e6e6e3;flex-direction:column;flex-shrink:0;width:270px;height:100%;display:flex;overflow:hidden}.sidebar-head{border-bottom:1px solid #f0efec;flex-shrink:0;justify-content:space-between;align-items:center;padding:14px 14px 10px;display:flex}.sidebar-title{letter-spacing:.05em;text-transform:uppercase;color:#8a8f96;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;font-weight:700;overflow:hidden}.sidebar-head-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.new-split{background:#2563eb;border-radius:8px;align-items:stretch;display:inline-flex;position:relative;overflow:visible}.new-split-main,.new-split-caret{color:#fff;cursor:pointer;background:0 0;border:none;align-items:center;font-size:12.5px;font-weight:600;transition:background .15s;display:inline-flex}.new-split-main{border-radius:8px 0 0 8px;gap:6px;padding:6px 10px}.new-split-main:hover{background:#ffffff1f}.new-split-plus{background:#ffffff38;border-radius:4px;place-items:center;width:16px;height:16px;font-size:14px;line-height:1;display:inline-grid}.new-split-caret{border-left:1px solid #ffffff4d;border-radius:0 8px 8px 0;padding:0 8px;font-size:10px}.new-split-caret:hover{background:#ffffff1f}.new-split-menu{z-index:40;background:#fff;border:1px solid #e6e6e3;border-radius:9px;min-width:160px;padding:6px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #0000001f}.new-split-item{text-align:left;color:#1f2937;cursor:pointer;background:0 0;border:none;border-radius:6px;width:100%;padding:8px;font-size:13px;display:block}.new-split-item:hover{background:#f3f4f6}.sidebar-btn-ghost{white-space:nowrap;color:#4b5563;cursor:pointer;background:#fff;border:1px solid #e6e6e3;border-radius:6px;padding:4px 10px;font-size:11.5px;font-weight:600;line-height:1.2;transition:all .15s}.sidebar-btn-ghost:hover{color:#1f2937;background:#f3f4f6;border-color:#d1d5db}.new-doc{white-space:nowrap;color:#fff;cursor:pointer;background:#2563eb;border:1px solid #2563eb;border-radius:6px;padding:4px 10px;font-size:11.5px;font-weight:600;line-height:1.2;transition:all .15s}.new-doc:hover{background:#1d4ed8;border-color:#1d4ed8}.sidebar-inline-form{background:#fff;border-bottom:1px solid #e5e7eb;align-items:center;gap:6px;padding:8px 12px;animation:.15s ease-out slideDown;display:flex}@keyframes slideDown{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.inline-folder-icon{font-size:14px}.sidebar-inline-input{border:1px solid #d1d5db;border-radius:4px;outline:none;flex:1;padding:4px 8px;font-family:inherit;font-size:12.5px}.sidebar-inline-input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.sidebar-inline-btn{cursor:pointer;background:#f9fafb;border:1px solid #d1d5db;border-radius:4px;padding:3px 7px;font-size:12px}.sidebar-inline-btn.primary{color:#fff;background:#2563eb;border-color:#2563eb}.sidebar-content-scroll{flex:1;padding:8px 6px 20px;overflow-y:auto}.sidebar-section{margin-bottom:14px}.sidebar-section-label{letter-spacing:.05em;text-transform:uppercase;color:#9ca3af;border-radius:6px;justify-content:space-between;align-items:center;padding:6px 10px 4px;font-size:11px;font-weight:700;transition:all .15s;display:flex}.sidebar-section-label.is-drop-target{color:#2563eb;background:#eff6ff;outline:1.5px dashed #3b82f6}.sidebar-count{color:#6b7280;background:#f3f4f6;border-radius:999px;padding:1px 6px;font-size:10.5px;font-weight:600}.folders-list{flex-direction:column;gap:2px;display:flex}.folder-item{flex-direction:column;display:flex}.folder-head{cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:6px;align-items:center;gap:6px;padding:6px 8px;transition:all .12s;display:flex;position:relative}.folder-head:hover{background:#f0efec}.folder-head.is-drop-target{outline-offset:-1px;outline:2px dashed #2563eb;background:#eff6ff!important}.folder-toggle-btn{color:#6b7280;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:14px;height:14px;padding:0;font-size:10px;display:flex}.folder-icon{color:#e8912d;align-items:center;display:inline-flex}.folder-name{color:#374151;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:13px;font-weight:600;overflow:hidden}.folder-rename-input{border:1px solid #3b82f6;border-radius:4px;outline:none;flex:1;padding:2px 6px;font-family:inherit;font-size:12.5px;font-weight:600}.folder-count{color:#9ca3af;margin-right:4px;font-size:11px}.folder-quick-actions{align-items:center;gap:2px;display:none}.folder-head:hover .folder-quick-actions{display:flex}.folder-action-btn{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:20px;height:20px;padding:0;font-size:12px;display:flex}.folder-action-btn:hover{color:#111827;background:#e5e7eb}.folder-action-btn.danger:hover{color:#dc2626;background:#fee2e2}.folder-children-block{flex-direction:column;display:flex}.folder-doc-list{border-left:1.5px solid #e5e7eb;margin:0;padding:2px 0 4px 14px;list-style:none}.folder-empty-hint{color:#9ca3af;padding:5px 8px;font-size:11.5px;font-style:italic}.doc-list{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.doc-item{cursor:pointer;color:#374151;-webkit-user-select:none;user-select:none;border-radius:6px;align-items:center;gap:6px;padding:6px 8px;font-size:13px;transition:all .12s;display:flex}.doc-item:hover{background:#f0efec}.doc-item.is-selected{color:#1d4ed8;background:#eff6ff;font-weight:600}.doc-item.is-dragging{opacity:.35;background:#e5e7eb}.doc-icon{color:#6b7280;align-items:center;display:inline-flex}.doc-item-title{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.doc-item-actions{align-items:center;gap:3px;display:none}.doc-item:hover .doc-item-actions{display:flex}.doc-move-btn,.doc-del{color:#9ca3af;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:20px;height:20px;padding:0;font-size:12px;display:flex}.doc-move-btn:hover{color:#2563eb;background:#e5e7eb}.doc-del:hover{color:#dc2626;background:#fee2e2}.move-folder-popover{z-index:1000;background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-direction:column;width:210px;max-height:280px;animation:.14s ease-out fadeInPop;display:flex;position:fixed;overflow:hidden;box-shadow:0 10px 25px -5px #00000026,0 8px 10px -6px #0000001a}@keyframes fadeInPop{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.move-popover-header{text-transform:uppercase;color:#9ca3af;letter-spacing:.04em;background:#fafafa;border-bottom:1px solid #f3f4f6;padding:8px 12px 6px;font-size:11px;font-weight:700}.move-popover-list{flex-direction:column;flex:1;gap:2px;padding:4px;display:flex;overflow-y:auto}.move-popover-item{color:#374151;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:5px;align-items:center;gap:7px;width:100%;padding:6px 8px;font-size:12.5px;transition:all .1s;display:flex}.move-popover-item:hover{color:#111827;background:#f3f4f6}.move-popover-item.is-active{color:#2563eb;background:#eff6ff;font-weight:600}.move-item-icon{font-size:13px}.move-item-name{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.move-item-check{color:#2563eb;font-size:12px;font-weight:700}.move-popover-footer{background:#fafafa;border-top:1px solid #f3f4f6;padding:4px}.move-popover-new-btn{color:#2563eb;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:4px;width:100%;padding:6px 8px;font-size:12px;font-weight:600}.move-popover-new-btn:hover{background:#eff6ff}.sidebar-empty,.sidebar-error{color:#9ca3af;padding:12px 14px;font-size:12.5px}.sidebar-error{color:#c23b3b;background:#fef2f2;border-radius:6px;margin:8px}.new-doc-wrap{position:relative}.new-doc-menu{z-index:50;background:#fff;border:1px solid #e5e7eb;border-radius:8px;min-width:150px;padding:4px;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 8px 24px #00000024}.new-doc-menu button{cursor:pointer;color:#374151;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;width:100%;padding:8px 10px;font:13px/1 ui-sans-serif,system-ui,sans-serif;display:flex}.new-doc-menu button:hover{background:#f3f4f6}.sidebar-filters{flex-wrap:wrap;gap:6px;padding:8px 12px 4px;display:flex}.filter-chip{color:#6b7280;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:3px 10px;font:12px/1 ui-sans-serif,system-ui,sans-serif}.filter-chip.is-active{color:#fff;background:#111827;border-color:#111827}.doc-item-main{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.doc-item-tags{align-items:center;gap:6px;display:flex}.doc-tag{align-items:center;gap:3px;font:10px/1 ui-sans-serif,system-ui,sans-serif;display:inline-flex}.doc-tag-type{color:#3730a3;letter-spacing:.03em;background:#eef2ff;border-radius:4px;padding:2px 6px;font-weight:600}.doc-tag-dot{border-radius:50%;width:6px;height:6px;display:inline-block}.comments-panel{background:#fbfbfa;border-left:1px solid #e6e6e3;flex-direction:column;flex-shrink:0;width:300px;display:flex;overflow-y:auto}.comments-head{background:#fbfbfa;border-bottom:1px solid #e6e6e3;align-items:center;gap:10px;padding:12px 14px;display:flex;position:sticky;top:0}.comments-title{letter-spacing:.04em;text-transform:uppercase;color:#8a8f96;font-size:12px;font-weight:700}.comments-close{color:#8a8f96;cursor:pointer;background:0 0;border:none;margin-left:auto;font-size:13px}.comments-empty{color:#8a8f96;padding:16px 14px;font-size:13px;line-height:1.6}.thread-list{margin:0;padding:8px;list-style:none}.thread{background:#fff;border:1px solid #e6e6e3;border-radius:9px;margin-bottom:10px;padding:10px}.thread.is-resolved{opacity:.55;filter:grayscale(.7);background:#f6f6f5}.thread.is-resolved .thread-anchor{color:#8a8f96;background:#efefed}.thread-resolved-tag{text-transform:uppercase;letter-spacing:.05em;color:#16a34a;margin:6px 0 0 2px;font-size:10px;font-weight:600;display:inline-block}.thread-anchor{text-align:left;color:#8a6a2e;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:#fff6e8;border:none;border-radius:6px;width:100%;margin-bottom:8px;padding:4px 8px;font-size:12px;display:block;overflow:hidden}.thread-anchor:hover{background:#ffeccb}.entry{margin-bottom:8px}.entry.is-reply{border-left:none;margin-left:0;padding-left:0}.entry-head{align-items:center;gap:6px;font-size:12px;display:flex}.entry-name{color:#1f2328;font-weight:600}.entry-when{color:#a0a4ab;font-size:11px}.entry-del{color:#c2c6cc;cursor:pointer;background:0 0;border:none;margin-left:auto;font-size:11px}.entry-del:hover{color:#c23b3b}.entry-body{color:#3a3f45;white-space:pre-wrap;margin-top:2px;font-size:13px}.thread-actions{gap:12px;margin-top:6px;display:flex}.btn-link{color:#1a52d6;cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;font-weight:600}.reply-box{width:100%}.reply-box textarea{box-sizing:border-box;resize:vertical;border:1px solid #e0e0dc;border-radius:7px;width:100%;min-height:48px;padding:7px 9px;font-family:inherit;font-size:13px}.reply-buttons{gap:8px;margin-top:6px;display:flex}.btn-primary{color:#fff;cursor:pointer;background:#1a52d6;border:none;border-radius:6px;padding:6px 12px;font-size:12px;font-weight:600}.btn-ghost{color:#8a8f96;cursor:pointer;background:0 0;border:none;font-size:12px}.comment-mark{cursor:pointer;background:#fff2cc;border-bottom:2px solid #f2c14e}.comment-mark:hover{background:#ffe9a8}.thread.is-flash{animation:1.2s ease-out thread-flash}@keyframes thread-flash{0%{background:#2567f42e}to{background:0 0}}.version-panel{background:#faf9f7;border-left:1px solid #e6e6e3;flex-direction:column;flex:0 0 300px;width:300px;display:flex;overflow-y:auto}.version-head{border-bottom:1px solid #e6e6e3;align-items:center;padding:12px 14px;display:flex}.version-title{letter-spacing:.04em;text-transform:uppercase;color:#8a8f96;font-size:12px;font-weight:700}.version-close{color:#8a8f96;cursor:pointer;background:0 0;border:none;margin-left:auto;font-size:13px}.version-save{color:#fff;cursor:pointer;background:#2567f4;border:none;border-radius:8px;margin:12px 14px 4px;padding:8px 12px;font-size:13px;font-weight:500}.version-save:hover:not(:disabled){background:#1a56da}.version-save:disabled{opacity:.5;cursor:default}.version-error{color:#c23b3b;margin:6px 14px;font-size:12px}.version-empty{color:#8a8f96;padding:16px 14px;font-size:13px}.version-list{margin:0;padding:8px;list-style:none}.version-row{background:#fff;border:1px solid #e6e6e3;border-radius:8px;align-items:center;gap:8px;margin-bottom:8px;padding:10px;display:flex}.version-info{flex-direction:column;flex:1;min-width:0;display:flex}.version-label{color:#1f2328;font-size:13px;font-weight:600}.version-tag{text-transform:uppercase;letter-spacing:.03em;color:#57606a;vertical-align:middle;background:#eaeef2;border-radius:4px;margin-left:6px;padding:1px 5px;font-size:10px;font-weight:600}.version-meta{color:#a0a4ab;margin-top:2px;font-size:11px}.version-actions{gap:6px;display:flex}.vbtn{color:#3a3f45;cursor:pointer;background:#fff;border:1px solid #dcdbd7;border-radius:6px;padding:4px 10px;font-size:12px}.vbtn:hover:not(:disabled){background:#f4f3f1}.vbtn:disabled{opacity:.5;cursor:default}.vbtn-del{color:#c23b3b}.vbtn-del:hover{background:#fdecec}.menu{position:relative}.menu-trigger{color:#6b7177;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 4px;font-size:13px}.menu-trigger:hover{color:#1f2328;background:#f0efec}.menu-trigger.is-open{color:#1a52d6;background:#e4ecff}.menu-trigger.is-active{color:#1f2328;font-weight:600}.menu-dropdown{z-index:50;background:#fff;border:1px solid #e6e6e3;border-radius:8px;min-width:180px;margin-top:4px;padding:5px;position:absolute;top:100%;left:0;box-shadow:0 6px 24px #0000001f}.menu-item{text-align:left;color:#3a3f45;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:6px;width:100%;padding:7px 9px;font-size:13px;display:flex}.menu-item:hover:not(:disabled){background:#f0efec}.menu-item:disabled{opacity:.4;cursor:default}.menu-check{color:#1a52d6;width:14px;font-size:12px}.menu-divider{background:#ececea;height:1px;margin:5px 4px}.mermaid-block{background:#fff;border:1px solid #e6e6e3;border-radius:10px;margin:.8em 0;transition:border-color .15s,box-shadow .15s;overflow:hidden}.mermaid-block:hover{border-color:#cbd5e1;box-shadow:0 4px 12px #0000000a}.mermaid-editor{background:#fbfbfa}.mermaid-src{box-sizing:border-box;color:#e6edf3;resize:vertical;background:#1f2328;border:none;outline:none;width:100%;padding:12px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;line-height:1.5}.mermaid-actions{background:#f4f3f1;border-top:1px solid #e6e6e3;gap:8px;padding:8px 10px;display:flex}.mmd-btn{color:#3a3f45;cursor:pointer;background:#fff;border:1px solid #dcdbd7;border-radius:6px;padding:5px 12px;font-size:13px;transition:all .12s}.mmd-btn:hover{background:#ecebe8}.mmd-btn.primary{color:#fff;background:#2567f4;border-color:#2567f4}.mmd-btn.primary:hover{background:#1a56da}.mermaid-preview{background:#fff;justify-content:center;align-items:center;min-height:120px;padding:24px 16px;transition:background .15s;display:flex;position:relative;overflow-x:auto}.mermaid-svg-wrapper{flex-direction:column;justify-content:center;align-items:center;margin:0 auto;transition:width .12s ease-out;display:flex;position:relative}.mermaid-svg{justify-content:center;align-items:center;width:100%;transition:transform .12s ease-out;display:flex}.mermaid-svg svg{margin:0 auto;display:block;max-width:100%!important;height:auto!important}.mermaid-preview.size-auto .mermaid-svg-wrapper{max-width:100%}.mermaid-preview.size-small .mermaid-svg-wrapper{max-width:360px}.mermaid-preview.size-medium .mermaid-svg-wrapper{max-width:560px}.mermaid-preview.size-large .mermaid-svg-wrapper{max-width:800px}.mermaid-preview.size-full .mermaid-svg-wrapper{width:100%;max-width:100%}.mermaid-error{color:#ef4444;background:#fef2f2;border:1px solid #fee2e2;border-radius:6px;padding:12px;font-family:ui-monospace,monospace;font-size:13px}.mermaid-top-toolbar{opacity:0;-webkit-user-select:none;user-select:none;z-index:5;align-items:center;gap:6px;transition:opacity .12s;display:flex;position:absolute;top:8px;right:8px}.mermaid-preview:hover .mermaid-top-toolbar{opacity:1}.mermaid-size-switcher{background:#fff;border:1px solid #dcdbd7;border-radius:6px;align-items:center;gap:2px;padding:2px 4px;display:flex;box-shadow:0 1px 3px #0000000d}.mermaid-size-label{color:#64748b;margin-right:2px;padding-left:2px;font-size:11px;font-weight:600}.mermaid-size-btn{color:#475467;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px 6px;font-size:11px;font-weight:600;transition:all .12s}.mermaid-size-btn:hover{color:#1e293b;background:#f1f5f9}.mermaid-size-btn.is-active{color:#fff;background:#2567f4}.mermaid-tool-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #dcdbd7;border-radius:6px;align-items:center;gap:3px;padding:4px 9px;font-size:12px;font-weight:500;transition:all .12s;display:flex;box-shadow:0 1px 3px #0000000d}.mermaid-tool-btn:hover{color:#0f172a;background:#f8fafc;border-color:#cbd5e1}.mermaid-tool-btn.primary{color:#2567f4}.mermaid-tool-btn.primary:hover{background:#eff6ff;border-color:#bfdbfe}.mermaid-drag{color:#64748b;cursor:grab;opacity:0;-webkit-user-select:none;user-select:none;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;padding:3px 6px;font-size:13px;line-height:1;transition:opacity .12s;position:absolute;top:8px;left:8px}.mermaid-preview:hover .mermaid-drag{opacity:1}.mermaid-drag:active{cursor:grabbing}[data-theme=dark] .mermaid-block{background:#161b22;border-color:#30363d}[data-theme=dark] .mermaid-block:hover{border-color:#388bfd;box-shadow:0 4px 12px #0000004d}[data-theme=dark] .mermaid-preview{background:#161b22}[data-theme=dark] .mermaid-editor{background:#0d1117}[data-theme=dark] .mermaid-actions{background:#0d1117;border-top-color:#30363d}[data-theme=dark] .mmd-btn{color:#c9d1d9;background:#21262d;border-color:#30363d}[data-theme=dark] .mmd-btn:hover{color:#f0f6fc;background:#30363d}[data-theme=dark] .mermaid-size-switcher{background:#21262d;border-color:#30363d}[data-theme=dark] .mermaid-size-label,[data-theme=dark] .mermaid-size-btn{color:#8b949e}[data-theme=dark] .mermaid-size-btn:hover{color:#f0f6fc;background:#30363d}[data-theme=dark] .mermaid-size-btn.is-active{color:#fff;background:#1f6feb}[data-theme=dark] .mermaid-tool-btn{color:#c9d1d9;background:#21262d;border-color:#30363d}[data-theme=dark] .mermaid-tool-btn:hover{color:#f0f6fc;background:#30363d;border-color:#484f58}[data-theme=dark] .mermaid-tool-btn.primary{color:#58a6ff}[data-theme=dark] .mermaid-tool-btn.primary:hover{background:#1f293d;border-color:#388bfd}[data-theme=dark] .mermaid-drag{color:#8b949e;background:#21262d;border-color:#30363d}[data-theme=dark] .mermaid-error{color:#fca5a5;background:#200f13;border-color:#7f1d1d}.mermaid-code-drawer{background:#0f172a;border-top:1px solid #e2e8f0;animation:.15s ease-out mmSlideDown}@keyframes mmSlideDown{0%{opacity:0;max-height:0}to{opacity:1;max-height:400px}}.mermaid-code-drawer-header{background:#1e293b;border-bottom:1px solid #334155;justify-content:space-between;align-items:center;padding:8px 14px;display:flex}.mermaid-code-drawer-title{color:#94a3b8;letter-spacing:.02em;text-transform:uppercase;font-size:11.5px;font-weight:600}.mermaid-code-copy-btn{color:#f1f5f9;cursor:pointer;background:#334155;border:1px solid #475569;border-radius:5px;padding:3px 8px;font-size:11px;font-weight:600;transition:all .15s}.mermaid-code-copy-btn:hover{color:#fff;background:#475569}.mermaid-code-drawer-content{color:#38bdf8;white-space:pre;background:#090d16;margin:0;padding:14px 16px;font-family:JetBrains Mono,Fira Code,Menlo,Monaco,Consolas,monospace;font-size:12.5px;line-height:1.55;overflow-x:auto}.mermaid-tool-btn.is-active{color:#fff;background:#2563eb;border-color:#2563eb}[data-theme=dark] .mermaid-tool-btn.is-active{color:#fff;background:#1f6feb;border-color:#388bfd}.mermaid-scale-switcher{background:#fff;border:1px solid #dcdbd7;border-radius:6px;align-items:center;gap:2px;padding:2px 3px;display:flex;box-shadow:0 1px 3px #0000000d}.mermaid-scale-btn{color:#475467;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:18px;height:18px;padding:0;font-size:13px;font-weight:700;line-height:1;transition:all .12s;display:flex}.mermaid-scale-btn:hover{color:#1e293b;background:#f1f5f9}.mermaid-scale-label{color:#334155;cursor:pointer;text-align:center;background:0 0;border:none;min-width:36px;padding:0 3px;font-size:11px;font-weight:600;transition:color .12s}.mermaid-scale-label:hover{color:#2563eb}.mermaid-resize-handle{cursor:ew-resize;opacity:0;-webkit-user-select:none;user-select:none;z-index:10;justify-content:center;align-items:center;width:16px;transition:opacity .15s;display:flex;position:absolute;top:0;bottom:0;right:0}.mermaid-preview:hover .mermaid-resize-handle,.mermaid-preview.is-resizing .mermaid-resize-handle{opacity:1}.mermaid-resize-handle-bar{background:#cbd5e1;border-radius:4px;width:4px;height:38px;transition:all .12s}.mermaid-resize-handle:hover .mermaid-resize-handle-bar,.mermaid-preview.is-resizing .mermaid-resize-handle-bar{background:#2563eb;width:5px;height:52px}.mermaid-resize-badge{color:#f8fafc;pointer-events:none;z-index:20;white-space:nowrap;background:#1e293b;border-radius:4px;padding:2px 8px;font-size:11px;font-weight:600;position:absolute;bottom:-24px;box-shadow:0 2px 8px #00000040}[data-theme=dark] .mermaid-scale-switcher{background:#21262d;border-color:#30363d}[data-theme=dark] .mermaid-scale-btn{color:#8b949e}[data-theme=dark] .mermaid-scale-btn:hover{color:#f0f6fc;background:#30363d}[data-theme=dark] .mermaid-scale-label{color:#c9d1d9}[data-theme=dark] .mermaid-scale-label:hover{color:#58a6ff}[data-theme=dark] .mermaid-resize-handle-bar{background:#30363d}[data-theme=dark] .mermaid-resize-handle:hover .mermaid-resize-handle-bar,[data-theme=dark] .mermaid-preview.is-resizing .mermaid-resize-handle-bar{background:#388bfd}.coderef-block{margin:12px 0}.coderef-empty{background:#fafafa;border:1px dashed #c7cad1;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;padding:12px;display:flex}.coderef-url{border:1px solid #d1d5db;border-radius:6px;flex:1;min-width:240px;padding:7px 10px;font:13px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace}.coderef-btn{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:7px 14px;font:13px/1 ui-sans-serif,system-ui,sans-serif}.coderef-btn.primary{color:#fff;background:#2567f4;border-color:#2567f4}.coderef-btn:disabled{opacity:.5;cursor:default}.coderef-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.coderef-head{background:#f6f8fa;border-bottom:1px solid #e5e7eb;align-items:center;gap:8px;padding:7px 12px;font:12px/1.2 ui-sans-serif,system-ui,sans-serif;display:flex}.coderef-path{color:#0969da;text-overflow:ellipsis;white-space:nowrap;font-weight:600;text-decoration:none;overflow:hidden}.coderef-path:hover{text-decoration:underline}.coderef-lines{color:#57606a;font-weight:500}.coderef-sha{color:#8a8f96;margin-left:auto;font:11px/1 ui-monospace,monospace}.coderef-refresh{cursor:pointer;color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:5px;padding:2px 7px}.coderef-refresh:disabled{opacity:.5;cursor:default}.coderef-code{color:#1f2328;white-space:pre;background:#fff;margin:0;padding:12px 14px;font:12.5px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-x:auto}.coderef-error{color:#b91c1c;padding:8px 12px;font:12px/1.4 ui-sans-serif,system-ui,sans-serif}.embed-block{margin:12px 0}.embed-inline{border-radius:6px;align-items:center;gap:8px;padding:4px 6px;transition:background .12s;display:flex}.embed-inline:hover,.embed-inline:focus-within{background:#f6f6f5}.embed-inline-dot{opacity:.85;flex-shrink:0;font-size:14px;line-height:1}.embed-inline-input{color:#1f2328;background:0 0;border:none;outline:none;flex:1;min-width:0;padding:2px 0;font-size:16px}.embed-inline-input::placeholder{color:#9ca3af}.embed-err{color:#b91c1c;margin:4px 0 0 32px;font-size:12px}.embed-frame-wrap{background:#000;border:1px solid #e6e6e3;border-radius:10px;width:100%;position:relative;overflow:hidden}.embed-frame{border:0;width:100%;height:100%;display:block;position:absolute;inset:0}.slash-menu{color:#d7dae0;background:#2b2f36;border-radius:8px;width:220px;max-height:360px;padding:6px;font-size:13px;overflow-y:auto;box-shadow:0 12px 34px #00000059}.slash-empty{color:#9ca3af;padding:10px}.slash-filter-hint{text-transform:uppercase;letter-spacing:.08em;color:#7c828b;padding:2px 8px 6px;font-size:10px}.slash-group+.slash-group{margin-top:2px}.slash-item{text-align:left;width:100%;color:inherit;cursor:pointer;background:0 0;border:none;border-radius:5px;flex-direction:row;align-items:center;gap:11px;padding:5px 8px;display:flex}.slash-item.is-active{background:#ffffff17}.slash-item.is-active .slash-item-title,.slash-item.is-active .slash-item-icon{color:#f4634e}.slash-item-icon{color:#c3c8d0;flex-shrink:0;place-items:center;width:16px;font-size:13px;line-height:1;display:grid}.slash-item-title{font-size:13.5px;font-weight:400}.html-page-block{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin:1.2em 0;transition:border-color .15s,box-shadow .15s;overflow:hidden;box-shadow:0 1px 3px #0000000d}.html-page-block:hover{border-color:#cbd5e1;box-shadow:0 4px 16px #00000014}.html-page-card{box-sizing:border-box;flex-direction:column;margin:0 auto;display:flex;position:relative}.html-page-floating-controls{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:15;-webkit-user-select:none;user-select:none;opacity:.92;background:#fffffff2;border:1px solid #cbd5e1d9;border-radius:8px;align-items:center;gap:6px;padding:4px 8px;transition:opacity .15s,box-shadow .15s;display:inline-flex;position:absolute;top:10px;right:12px;box-shadow:0 4px 12px #00000014}.html-page-card:hover .html-page-floating-controls{opacity:1;box-shadow:0 6px 16px #0000001f}.html-page-floating-drag{cursor:grab;color:#94a3b8;border-radius:4px;padding:2px 4px;font-size:13px;line-height:1}.html-page-floating-drag:hover{color:#475569;background:#f1f5f9}.html-page-floating-edit-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;font-size:13px;font-weight:600;transition:background .12s;display:inline-flex}.html-page-floating-edit-btn:hover{background:#1d4ed8}.html-page-head{-webkit-user-select:none;user-select:none;background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:8px 14px;display:flex}.html-page-head-left{align-items:center;gap:8px;min-width:0;display:flex}.html-page-drag{cursor:grab;color:#94a3b8;border-radius:4px;padding:2px 4px;font-size:14px;line-height:1}.html-page-drag:hover{color:#475569;background:#e2e8f0}.html-page-icon{font-size:15px;line-height:1}.html-page-title{color:#1e293b;white-space:nowrap;text-overflow:ellipsis;max-width:220px;font-size:13px;font-weight:600;overflow:hidden}.html-page-tag{text-transform:uppercase;letter-spacing:.04em;color:#0369a1;background:#e0f2fe;border-radius:999px;padding:2px 7px;font-size:11px;font-weight:600}.html-page-head-center{align-items:center;gap:10px;display:flex}.html-page-mode-switcher{background:#edeef2;border-radius:6px;gap:2px;padding:2px;display:inline-flex}.html-mode-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 9px;font-size:12px;font-weight:600;transition:all .12s}.html-mode-btn:hover{color:#1e293b}.html-mode-btn.is-active{color:#2563eb;background:#fff;box-shadow:0 1px 2px #0000000f}.html-page-size-switcher{background:#edeef2;border-radius:6px;gap:2px;padding:2px;display:inline-flex}.html-size-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:3px 8px;font-size:11.5px;font-weight:600;transition:all .12s}.html-size-btn:hover{color:#1e293b}.html-size-btn.is-active{color:#2563eb;background:#fff;box-shadow:0 1px 2px #0000000f}.html-page-head-right{align-items:center;gap:6px;margin-left:auto;display:flex}.html-tool-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:4px;padding:4px 10px;font-size:12px;font-weight:500;transition:all .12s;display:inline-flex}.html-tool-btn:hover{color:#0f172a;background:#f1f5f9;border-color:#94a3b8}.html-tool-btn.primary{color:#fff;background:#2563eb;border-color:#2563eb}.html-tool-btn.primary:hover{background:#1d4ed8;border-color:#1d4ed8}.html-page-body{background:#fff;flex-direction:column;width:100%;display:flex;position:relative;overflow:hidden}.html-page-resizing-shield{z-index:20;cursor:nwse-resize;background:0 0;position:absolute;inset:0}.html-page-iframe{background:#fff;border:none;width:100%;height:100%;display:block}.html-editor-panel{background:#f8fafc;flex-direction:column;height:100%;display:flex}.html-editor-tabs-bar{background:#f1f5f9;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:8px 14px;display:flex}.html-tabs-left{gap:6px;display:flex}.html-tab-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:5px 12px;font-size:12.5px;font-weight:600}.html-tab-btn:hover{color:#1e293b;background:#e2e8f0}.html-tab-btn.is-active{color:#2563eb;background:#fff;box-shadow:0 1px 3px #0000000d}.html-upload-file-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:5px 11px;font-size:12px;font-weight:500;transition:all .12s}.html-upload-file-btn:hover{color:#0f172a;background:#e2e8f0}.html-code-pane{flex-direction:column;flex:1;padding:10px 14px;display:flex;overflow:hidden}.html-code-inputs-row{margin-bottom:8px}.html-field-label{color:#475569;align-items:center;gap:10px;font-size:12.5px;font-weight:600;display:flex}.html-title-input,.html-url-input{background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;flex:1;padding:6px 10px;font-size:13px}.html-title-input:focus,.html-url-input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.html-code-textarea{box-sizing:border-box;color:#f8fafc;resize:none;tab-size:2;background:#0f172a;border:1px solid #cbd5e1;border-radius:6px;outline:none;flex:1;width:100%;padding:12px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12.5px;line-height:1.55}.html-code-textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.html-templates-pane{flex:1;padding:16px 20px;overflow-y:auto}.html-templates-intro{color:#64748b;margin-bottom:14px;font-size:13px}.html-templates-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;display:grid}.html-template-item{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;flex-direction:column;padding:14px;transition:all .15s;display:flex}.html-template-item:hover{border-color:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #2563eb14}.html-tmpl-name{color:#0f172a;margin-bottom:6px;font-size:14px;font-weight:700}.html-tmpl-desc{color:#64748b;flex:1;margin-bottom:12px;font-size:12px;line-height:1.45}.html-tmpl-use-btn{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;align-self:flex-start;padding:6px 12px;font-size:12px;font-weight:600;transition:all .12s}.html-template-item:hover .html-tmpl-use-btn{color:#fff;background:#2563eb;border-color:#2563eb}.html-url-pane{flex-direction:column;flex:1;max-width:560px;padding:24px;display:flex}.html-url-hint{color:#64748b;margin-top:8px;font-size:12px;line-height:1.5}.html-editor-actions{background:#f1f5f9;border-top:1px solid #e2e8f0;gap:10px;padding:10px 14px;display:flex}.html-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:6px 14px;font-size:13px;font-weight:600;transition:all .12s}.html-btn:hover{background:#e2e8f0}.html-btn.primary{color:#fff;background:#2563eb;border-color:#2563eb}.html-btn.primary:hover{background:#1d4ed8}.html-btn:disabled{opacity:.5;cursor:not-allowed}.html-split-container{width:100%;height:100%;display:flex}.html-split-editor{background:#0f172a;border-right:1px solid #e2e8f0;flex-direction:column;flex:1;display:flex}.html-split-editor-bar{color:#94a3b8;background:#1e293b;border-bottom:1px solid #334155;justify-content:space-between;align-items:center;padding:6px 12px;font-size:12px;font-weight:600;display:flex}.html-split-save-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:4px;padding:3px 8px;font-size:11px;font-weight:600}.html-split-save-btn:hover{background:#1d4ed8}.html-split-textarea{box-sizing:border-box;color:#f8fafc;resize:none;background:0 0;border:none;outline:none;flex:1;width:100%;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;line-height:1.5}.html-split-preview{background:#fff;flex:1;height:100%}.html-empty-placeholder{text-align:center;background:#f8fafc;flex-direction:column;justify-content:center;align-items:center;height:100%;padding:28px;display:flex}.html-empty-icon{margin-bottom:8px;font-size:32px}.html-empty-title{color:#1e293b;margin-bottom:4px;font-size:16px;font-weight:700}.html-empty-desc{color:#64748b;max-width:420px;margin-bottom:16px;font-size:13px;line-height:1.5}.html-resize-handle-x{cursor:ew-resize;-webkit-user-select:none;user-select:none;z-index:10;justify-content:center;align-items:center;width:10px;display:flex;position:absolute;top:0;bottom:0;right:0}.html-resize-handle-x-bar{opacity:0;background:#cbd5e1;border-radius:2px;width:4px;height:36px;transition:opacity .15s}.html-page-card:hover .html-resize-handle-x-bar,.html-resize-handle-x:hover .html-resize-handle-x-bar{opacity:1}.html-resize-handle-y{cursor:ns-resize;-webkit-user-select:none;user-select:none;background:#f8fafc;border-top:1px solid #e2e8f0;justify-content:center;align-items:center;height:14px;transition:background .12s;display:flex;position:relative}.html-resize-handle-y:hover{background:#f1f5f9}.html-resize-handle-y-bar{background:#cbd5e1;border-radius:2px;width:40px;height:4px}.html-resize-badge{color:#94a3b8;font-size:10px;font-weight:600;position:absolute;right:12px}[data-theme=dark] .html-page-block{background:#1e293b;border-color:#334155}[data-theme=dark] .html-page-head{background:#0f172a;border-bottom-color:#334155}[data-theme=dark] .html-page-title{color:#f1f5f9}[data-theme=dark] .html-page-tag{color:#38bdf8;background:#38bdf826}[data-theme=dark] .html-page-mode-switcher,[data-theme=dark] .html-page-size-switcher{background:#1e293b}[data-theme=dark] .html-mode-btn,[data-theme=dark] .html-size-btn{color:#94a3b8}[data-theme=dark] .html-mode-btn:hover,[data-theme=dark] .html-size-btn:hover{color:#f8fafc}[data-theme=dark] .html-mode-btn.is-active,[data-theme=dark] .html-size-btn.is-active{color:#38bdf8;background:#334155}[data-theme=dark] .html-tool-btn{color:#cbd5e1;background:#1e293b;border-color:#334155}[data-theme=dark] .html-tool-btn:hover{color:#f8fafc;background:#334155}[data-theme=dark] .html-editor-panel{background:#0f172a}[data-theme=dark] .html-editor-tabs-bar{background:#1e293b;border-bottom-color:#334155}[data-theme=dark] .html-tab-btn{color:#94a3b8}[data-theme=dark] .html-tab-btn.is-active{color:#38bdf8;background:#0f172a}[data-theme=dark] .html-upload-file-btn{color:#cbd5e1;background:#1e293b;border-color:#334155}[data-theme=dark] .html-upload-file-btn:hover{background:#334155}[data-theme=dark] .html-title-input,[data-theme=dark] .html-url-input{color:#f8fafc;background:#1e293b;border-color:#334155}[data-theme=dark] .html-template-item{background:#1e293b;border-color:#334155}[data-theme=dark] .html-tmpl-name{color:#f1f5f9}[data-theme=dark] .html-tmpl-desc{color:#94a3b8}[data-theme=dark] .html-tmpl-use-btn{color:#60a5fa;background:#2563eb33;border-color:#2563eb}[data-theme=dark] .html-editor-actions{background:#1e293b;border-top-color:#334155}[data-theme=dark] .html-btn{color:#cbd5e1;background:#0f172a;border-color:#334155}[data-theme=dark] .html-empty-placeholder{background:#0f172a}[data-theme=dark] .html-empty-title{color:#f1f5f9}[data-theme=dark] .html-resize-handle-y{background:#0f172a;border-top-color:#334155}[data-theme=dark] .html-page-floating-controls{background:#0f172af2;border-color:#334155d9;box-shadow:0 4px 14px #00000059}[data-theme=dark] .html-page-floating-drag{color:#64748b}[data-theme=dark] .html-page-floating-drag:hover{color:#94a3b8;background:#1e293b}.mermaid-modal-backdrop{z-index:1200;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f172ac7;justify-content:center;align-items:center;padding:24px;animation:.15s ease-out mmFadeIn;display:flex;position:fixed;inset:0}@keyframes mmFadeIn{0%{opacity:0}to{opacity:1}}.mermaid-modal-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;width:94vw;max-width:1400px;height:90vh;max-height:900px;display:flex;position:relative;overflow:hidden;box-shadow:0 25px 50px -12px #00000059}.mermaid-modal-header{-webkit-user-select:none;user-select:none;background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;padding:12px 18px;display:flex}.mm-header-left{align-items:center;gap:8px;display:flex}.mm-header-icon{font-size:16px}.mm-header-title{color:#1e293b;font-size:14px;font-weight:600}.mm-header-controls{align-items:center;gap:6px;display:flex}.mm-tool-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;font-size:14px;font-weight:600;transition:all .12s;display:flex}.mm-tool-btn:hover{color:#0f172a;background:#f1f5f9;border-color:#94a3b8}.mm-zoom-pill{color:#334155;cursor:pointer;text-align:center;background:#fff;border:1px solid #cbd5e1;border-radius:6px;min-width:54px;padding:3px 10px;font-size:12px;font-weight:600;transition:all .12s}.mm-zoom-pill:hover{background:#f1f5f9;border-color:#94a3b8}.mm-divider{background:#cbd5e1;width:1px;height:18px;margin:0 4px}.mm-action-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:4px 10px;font-size:12px;font-weight:500;transition:all .12s}.mm-action-btn:hover{color:#0f172a;background:#f1f5f9;border-color:#94a3b8}.mm-close-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:30px;height:30px;font-size:15px;transition:all .12s;display:flex}.mm-close-btn:hover{color:#dc2626;background:#fee2e2}.mermaid-modal-viewport{background:#fff;flex:1;width:100%;height:100%;min-height:0;display:flex;position:relative;overflow:hidden}.mermaid-modal-canvas{box-sizing:border-box;flex:1;justify-content:center;align-items:center;width:100%;height:100%;padding:28px;display:flex;overflow:auto}.mermaid-modal-svg{transform-origin:50%;justify-content:center;align-items:center;margin:auto;transition:transform .15s ease-out;display:flex}.mermaid-modal-svg svg{filter:drop-shadow(0 4px 12px #0000000a);max-width:100%;height:auto;max-height:75vh;margin:0 auto;display:block}.mermaid-modal-footer{color:#64748b;-webkit-user-select:none;user-select:none;background:#f8fafc;border-top:1px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;padding:8px 18px;font-size:12px;display:flex}.mm-footer-hint{color:#94a3b8;font-size:11px}[data-theme=dark] .mermaid-modal-card{background:#161b22;border-color:#30363d;box-shadow:0 25px 50px -12px #000000b3}[data-theme=dark] .mermaid-modal-header{background:#0d1117;border-bottom-color:#30363d}[data-theme=dark] .mm-header-title{color:#f0f6fc}[data-theme=dark] .mm-tool-btn,[data-theme=dark] .mm-zoom-pill,[data-theme=dark] .mm-action-btn{color:#c9d1d9;background:#21262d;border-color:#30363d}[data-theme=dark] .mm-tool-btn:hover,[data-theme=dark] .mm-zoom-pill:hover,[data-theme=dark] .mm-action-btn:hover{color:#f0f6fc;background:#30363d;border-color:#484f58}[data-theme=dark] .mm-divider{background:#30363d}[data-theme=dark] .mm-close-btn{color:#8b949e}[data-theme=dark] .mm-close-btn:hover{color:#fca5a5;background:#3e1920}[data-theme=dark] .mermaid-modal-viewport{background:#161b22}[data-theme=dark] .mermaid-modal-footer{color:#8b949e;background:#0d1117;border-top-color:#30363d}[data-theme=dark] .mm-footer-hint{color:#6e7681}.mm-view-toggle{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;gap:2px;padding:2px;display:flex}.mm-view-btn{color:#475569;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:3px 9px;font-size:11.5px;font-weight:600;transition:all .12s}.mm-view-btn:hover{color:#0f172a}.mm-view-btn.active{color:#2563eb;background:#fff;box-shadow:0 1px 2px #00000014}.mm-code-action-btn{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.mm-code-action-btn:hover{color:#1d4ed8;background:#dbeafe;border-color:#93c5fd}.mm-split-container{width:100%;height:100%;min-height:0;display:flex}.mm-split-container .mm-code-panel{border-right:1px solid #1e293b;flex-shrink:0;width:44%}.mm-split-container .mermaid-modal-canvas{flex:1;width:56%;padding:24px;overflow:auto}.mm-code-panel{background:#0f172a;flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.mm-code-header{color:#cbd5e1;background:#1e293b;border-bottom:1px solid #334155;flex-shrink:0;justify-content:space-between;align-items:center;padding:10px 16px;font-size:12px;font-weight:600;display:flex}.mm-code-header-left{align-items:center;gap:8px;display:flex}.mm-code-hint{color:#94a3b8;font-size:11px;font-weight:400}.mm-copy-code-btn{color:#f1f5f9;cursor:pointer;background:#334155;border:1px solid #475569;border-radius:6px;align-items:center;gap:4px;padding:3px 9px;font-size:11.5px;font-weight:600;transition:all .15s;display:flex}.mm-copy-code-btn:hover{color:#fff;background:#475569}.mm-code-editor{color:#38bdf8;resize:none;white-space:pre;tab-size:2;box-sizing:border-box;background:#090d16;border:none;outline:none;flex:1;width:100%;padding:16px;font-family:JetBrains Mono,Fira Code,Menlo,Monaco,Consolas,monospace;font-size:13px;line-height:1.6;overflow:auto}[data-theme=dark] .mm-view-toggle{background:#1e293b;border-color:#334155}[data-theme=dark] .mm-view-btn{color:#94a3b8}[data-theme=dark] .mm-view-btn:hover{color:#f8fafc}[data-theme=dark] .mm-view-btn.active{color:#60a5fa;background:#0f172a}[data-theme=dark] .mm-code-action-btn{color:#60a5fa;background:#172554;border-color:#1e3a8a}[data-theme=dark] .mm-code-action-btn:hover{color:#93c5fd;background:#1e3a8a;border-color:#2563eb}.html-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background:#0f172abf;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.html-modal-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;width:96vw;max-width:1500px;height:94vh;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #00000059}.html-modal-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:12px;padding:10px 18px;display:flex}.hm-header-left{align-items:center;gap:10px;min-width:0;display:flex}.hm-header-icon{font-size:18px}.hm-header-title{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;max-width:280px;font-size:15px;font-weight:700;overflow:hidden}.hm-header-center{align-items:center;gap:14px;display:flex}.hm-view-toggle,.hm-device-switcher{background:#edeef2;border-radius:6px;gap:2px;padding:2px;display:inline-flex}.hm-view-btn,.hm-device-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 10px;font-size:12px;font-weight:600;transition:all .12s}.hm-view-btn:hover,.hm-device-btn:hover{color:#0f172a}.hm-view-btn.active,.hm-device-btn.active{color:#2563eb;background:#fff;box-shadow:0 1px 2px #00000014}.hm-zoom-group{background:#edeef2;border-radius:6px;align-items:center;gap:3px;padding:2px 4px;display:flex}.hm-tool-btn{color:#475569;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;font-weight:700;display:flex}.hm-tool-btn:hover{color:#0f172a;background:#fff}.hm-zoom-pill{color:#334155;cursor:pointer;background:0 0;border:none;padding:0 6px;font-size:11.5px;font-weight:600}.hm-header-right{align-items:center;gap:8px;display:flex}.hm-action-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:5px 12px;font-size:12px;font-weight:600;transition:all .12s}.hm-action-btn:hover{background:#f1f5f9;border-color:#94a3b8}.hm-close-btn{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;font-size:15px;transition:all .12s;display:flex}.hm-close-btn:hover{color:#0f172a;background:#e2e8f0}.html-modal-viewport{background:#f1f5f9;flex:1;display:flex;position:relative;overflow:auto}.hm-preview-container{flex:1;justify-content:center;min-height:100%;padding:24px;display:flex;overflow:auto}.hm-device-frame{background:#fff;border-radius:8px;flex-direction:column;height:100%;min-height:540px;transition:width .2s,transform .15s;display:flex;overflow:hidden;box-shadow:0 4px 20px #00000014}.hm-device-frame.device-tablet{border:8px solid #334155;border-radius:16px}.hm-device-frame.device-mobile{border:10px solid #1e293b;border-radius:24px}.hm-iframe{background:#fff;border:none;flex:1;width:100%;height:100%}.hm-split-container{width:100%;height:100%;display:flex}.hm-code-panel{background:#0f172a;border-right:1px solid #334155;flex-direction:column;flex:1;display:flex}.hm-code-header{color:#cbd5e1;background:#1e293b;border-bottom:1px solid #334155;justify-content:space-between;align-items:center;padding:8px 14px;font-size:12.5px;font-weight:600;display:flex}.hm-copy-btn{color:#f8fafc;cursor:pointer;background:#334155;border:1px solid #475569;border-radius:4px;padding:3px 10px;font-size:11.5px;font-weight:600}.hm-copy-btn:hover{background:#475569}.hm-code-editor{box-sizing:border-box;color:#f8fafc;resize:none;background:#0f172a;border:none;outline:none;flex:1;width:100%;padding:16px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;line-height:1.55}.html-modal-footer{color:#64748b;background:#f8fafc;border-top:1px solid #e2e8f0;justify-content:space-between;padding:8px 18px;font-size:12px;display:flex}.hm-footer-hint{color:#94a3b8;font-weight:500}[data-theme=dark] .html-modal-card{background:#1e293b;border-color:#334155}[data-theme=dark] .html-modal-header,[data-theme=dark] .html-modal-footer{background:#0f172a;border-color:#334155}[data-theme=dark] .hm-header-title{color:#f1f5f9}[data-theme=dark] .hm-view-toggle,[data-theme=dark] .hm-device-switcher,[data-theme=dark] .hm-zoom-group{background:#1e293b}[data-theme=dark] .hm-view-btn,[data-theme=dark] .hm-device-btn{color:#94a3b8}[data-theme=dark] .hm-view-btn:hover,[data-theme=dark] .hm-device-btn:hover{color:#f8fafc}[data-theme=dark] .hm-view-btn.active,[data-theme=dark] .hm-device-btn.active{color:#38bdf8;background:#334155}[data-theme=dark] .hm-action-btn{color:#cbd5e1;background:#1e293b;border-color:#334155}[data-theme=dark] .hm-action-btn:hover{color:#f8fafc;background:#334155}[data-theme=dark] .hm-close-btn{color:#94a3b8;background:#1e293b}[data-theme=dark] .hm-close-btn:hover{color:#f8fafc;background:#334155}[data-theme=dark] .html-modal-viewport{background:#0b1120}.diagramify-modal-backdrop{z-index:1200;-webkit-backdrop-filter:blur(10px);background:#0f172ad1;justify-content:center;align-items:center;padding:20px;animation:.18s ease-out dfFadeIn;display:flex;position:fixed;inset:0}@keyframes dfFadeIn{0%{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}.diagramify-modal-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;width:95vw;max-width:1560px;height:92vh;max-height:980px;display:flex;position:relative;overflow:hidden;box-shadow:0 25px 60px -15px #0006}.df-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;padding:14px 24px;display:flex}.df-header-left{align-items:center;gap:12px;display:flex}.df-header-icon{justify-content:center;align-items:center;font-size:20px;display:flex}.df-header-title-box{flex-direction:column;display:flex}.df-header-title{color:#0f172a;font-size:16px;font-weight:700}.df-header-subtitle{color:#64748b;font-size:12px}.df-header-right{align-items:center;gap:10px;display:flex}.df-model-pill{color:#475569;cursor:pointer;background:#edf2f7;border:1px solid #cbd5e1;border-radius:9999px;align-items:center;gap:6px;padding:4px 10px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.df-model-pill:hover{color:#0f172a;background:#e2e8f0}.df-close-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-size:18px;transition:all .15s;display:flex}.df-close-btn:hover{color:#0f172a;background:#e2e8f0}.df-view-toggle{background:#e2e8f0;border-radius:8px;gap:2px;padding:2px;display:flex}.df-view-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:4px;padding:5px 11px;font-size:12px;font-weight:600;transition:all .15s;display:flex}.df-view-btn:hover{color:#0f172a}.df-view-btn.active{color:#2563eb;background:#fff;box-shadow:0 1px 3px #00000014}.df-split-container{width:100%;height:100%;min-height:0;display:flex}.df-code-panel{background:#0f172a;border-right:1px solid #1e293b;flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.df-split-container .df-code-panel{flex-shrink:0;width:44%}.df-split-container .df-canvas-wrapper{background:#fcfcfd radial-gradient(#e2e8f0 1px,#0000 1px) 0 0/20px 20px;flex:1;width:56%;position:relative;overflow:auto}.df-code-header{color:#cbd5e1;background:#1e293b;border-bottom:1px solid #334155;justify-content:space-between;align-items:center;padding:10px 16px;font-size:12px;font-weight:600;display:flex}.df-code-header-left{align-items:center;gap:8px;display:flex}.df-code-hint{color:#94a3b8;font-size:11px;font-weight:400}.df-copy-code-btn{color:#f1f5f9;cursor:pointer;background:#334155;border:1px solid #475569;border-radius:6px;align-items:center;gap:5px;padding:4px 10px;font-size:11.5px;font-weight:600;transition:all .15s;display:flex}.df-copy-code-btn:hover{color:#fff;background:#475569}.df-code-editor{color:#38bdf8;resize:none;white-space:pre;tab-size:2;box-sizing:border-box;background:#090d16;border:none;outline:none;flex:1;width:100%;padding:16px;font-family:JetBrains Mono,Fira Code,Menlo,Monaco,Consolas,monospace;font-size:13px;line-height:1.6;overflow:auto}[data-theme=dark] .df-view-toggle{background:#1e293b}[data-theme=dark] .df-view-btn{color:#94a3b8}[data-theme=dark] .df-view-btn:hover{color:#f8fafc}[data-theme=dark] .df-view-btn.active{color:#60a5fa;background:#334155}[data-theme=dark] .df-split-container .df-canvas-wrapper{background:#090d16 radial-gradient(#1e293b 1px,#0000 1px)}.df-instruction-bar{background:#fff;border-bottom:1px solid #f1f5f9;flex-shrink:0;align-items:center;gap:10px;padding:10px 24px;display:flex}.df-instruction-input{color:#0f172a;border:1px solid #cbd5e1;border-radius:8px;outline:none;flex:1;padding:7px 12px;font-size:13px;transition:border-color .15s}.df-instruction-input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.df-regen-btn{color:#334155;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:6px;padding:7px 14px;font-size:13px;font-weight:600;transition:all .15s;display:flex}.df-regen-btn:hover:not(:disabled){color:#0f172a;background:#e2e8f0}.df-regen-btn:disabled{opacity:.6;cursor:not-allowed}.df-stage-tabs{background:#f8fafc;border-bottom:1px solid #e2e8f0;flex-shrink:0;align-items:center;gap:6px;padding:6px 24px;display:flex}.df-stage-tab{color:#64748b;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:5px 12px;font-size:12.5px;font-weight:600;transition:all .15s}.df-stage-tab:hover{color:#0f172a;background:#e2e8f0}.df-stage-tab.active{color:#2563eb;background:#fff;border-color:#cbd5e1;box-shadow:0 1px 3px #0000000d}.df-viewport{background:#fcfcfd radial-gradient(#e2e8f0 1px,#0000 1px) 0 0/20px 20px;flex:1;justify-content:center;align-items:center;min-height:0;display:flex;position:relative;overflow:auto}.df-canvas{box-sizing:border-box;justify-content:center;align-items:center;width:100%;height:100%;padding:30px;display:flex}.df-svg-container{transform-origin:50%;justify-content:center;align-items:center;transition:transform .15s ease-out;display:flex}.df-svg-container svg{filter:drop-shadow(0 4px 12px #0000000a);max-width:100%;height:auto}.df-zoom-controls{z-index:10;background:#fffffff2;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:2px;padding:3px;display:flex;position:absolute;bottom:20px;right:24px;box-shadow:0 4px 12px #00000014}.df-zoom-btn{color:#475569;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:5px 8px;font-size:13px;transition:all .1s}.df-zoom-btn:hover{color:#0f172a;background:#f1f5f9}.df-zoom-label{color:#64748b;text-align:center;min-width:44px;font-size:12px;font-weight:600}.df-loading-box{color:#64748b;flex-direction:column;align-items:center;gap:14px;font-size:14px;font-weight:500;display:flex}.df-spinner{border:3px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;width:36px;height:36px;animation:.8s linear infinite dfSpin}@keyframes dfSpin{to{transform:rotate(360deg)}}.df-warning-card{text-align:center;background:#fffbeb;border:1px solid #fef3c7;border-radius:12px;max-width:580px;padding:24px;box-shadow:0 8px 24px #f59e0b14}.df-warning-icon{margin-bottom:8px;font-size:32px}.df-warning-title{color:#92400e;margin-bottom:8px;font-size:16px;font-weight:700}.df-warning-msg{color:#78350f;margin-bottom:16px;font-size:13.5px;line-height:1.5}.df-footer{background:#f8fafc;border-top:1px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;padding:14px 24px;display:flex}.df-footer-quote{color:#64748b;white-space:nowrap;text-overflow:ellipsis;max-width:50%;font-size:12.5px;font-style:italic;overflow:hidden}.df-footer-actions{align-items:center;gap:10px;display:flex}.df-btn-ghost{color:#475569;cursor:pointer;background:0 0;border:1px solid #cbd5e1;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .15s}.df-btn-ghost:hover{color:#0f172a;background:#f1f5f9}.df-btn-secondary{color:#1e293b;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .15s}.df-btn-secondary:hover:not(:disabled){background:#e2e8f0}.df-btn-secondary:disabled{opacity:.5;cursor:not-allowed}.df-btn-primary{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;border-radius:8px;padding:8px 20px;font-size:13px;font-weight:600;transition:all .15s;box-shadow:0 2px 8px #2563eb40}.df-btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8,#1e40af);box-shadow:0 4px 12px #2563eb59}.df-btn-primary:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}[data-theme=dark] .diagramify-modal-card{background:#0f172a;border-color:#334155;box-shadow:0 25px 60px -15px #000000b3}[data-theme=dark] .df-header{background:#1e293b;border-bottom-color:#334155}[data-theme=dark] .df-header-title{color:#f8fafc}[data-theme=dark] .df-header-subtitle{color:#94a3b8}[data-theme=dark] .df-model-pill{color:#cbd5e1;background:#334155;border-color:#475569}[data-theme=dark] .df-model-pill:hover{color:#fff;background:#475569}[data-theme=dark] .df-close-btn{color:#94a3b8}[data-theme=dark] .df-close-btn:hover{color:#f8fafc;background:#334155}[data-theme=dark] .df-instruction-bar{background:#0f172a;border-bottom-color:#1e293b}[data-theme=dark] .df-instruction-input{color:#f8fafc;background:#1e293b;border-color:#334155}[data-theme=dark] .df-instruction-input:focus{border-color:#60a5fa;box-shadow:0 0 0 2px #60a5fa33}[data-theme=dark] .df-regen-btn{color:#cbd5e1;background:#1e293b;border-color:#334155}[data-theme=dark] .df-regen-btn:hover:not(:disabled){color:#f8fafc;background:#334155}[data-theme=dark] .df-stage-tabs{background:#1e293b;border-bottom-color:#334155}[data-theme=dark] .df-stage-tab{color:#94a3b8}[data-theme=dark] .df-stage-tab:hover{color:#f8fafc;background:#334155}[data-theme=dark] .df-stage-tab.active{color:#60a5fa;background:#0f172a;border-color:#334155}[data-theme=dark] .df-viewport{background:#090d16 radial-gradient(#1e293b 1px,#0000 1px)}[data-theme=dark] .df-zoom-controls{background:#1e293bf2;border-color:#475569}[data-theme=dark] .df-zoom-btn{color:#cbd5e1}[data-theme=dark] .df-zoom-btn:hover{color:#fff;background:#334155}[data-theme=dark] .df-zoom-label{color:#94a3b8}[data-theme=dark] .df-warning-card{background:#1c1917;border-color:#451a03}[data-theme=dark] .df-warning-title{color:#fde68a}[data-theme=dark] .df-warning-msg{color:#fef3c7}[data-theme=dark] .df-footer{background:#1e293b;border-top-color:#334155}[data-theme=dark] .df-footer-quote{color:#94a3b8}[data-theme=dark] .df-btn-ghost{color:#cbd5e1;border-color:#475569}[data-theme=dark] .df-btn-ghost:hover{color:#fff;background:#334155}[data-theme=dark] .df-btn-secondary{color:#f8fafc;background:#334155;border-color:#475569}[data-theme=dark] .df-btn-secondary:hover:not(:disabled){background:#475569}.ai-modal-overlay{-webkit-backdrop-filter:blur(8px);z-index:1000;background:#0f172a73;justify-content:center;align-items:center;animation:.18s ease-out aiOverlayFade;display:flex;position:fixed;inset:0}@keyframes aiOverlayFade{0%{opacity:0}to{opacity:1}}.ai-modal-window{background:#fff;border-radius:18px;width:600px;max-width:calc(100vw - 32px);animation:.2s cubic-bezier(.16,1,.3,1) aiModalZoom;overflow:hidden;box-shadow:0 20px 50px -10px #0f172a40,0 0 1px #0000001a}@keyframes aiModalZoom{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.ai-modal-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding:18px 24px;display:flex}.ai-modal-title{color:#0f172a;letter-spacing:-.2px;align-items:center;gap:8px;font-size:16px;font-weight:700;display:flex}.ai-modal-sparkle{color:#8b5cf6;font-size:16px}.ai-modal-close{color:#64748b;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:12px;transition:all .15s;display:flex}.ai-modal-close:hover{color:#0f172a;background:#e2e8f0}.ai-modal-body{max-height:72vh;padding:22px 24px;overflow-y:auto}.ai-field-label{color:#334155;margin-bottom:8px;font-size:12.5px;font-weight:700}.ai-provider-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:18px;display:grid}.ai-provider-card{cursor:pointer;background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:4px;padding:12px 14px;transition:all .18s cubic-bezier(.16,1,.3,1);display:flex}.ai-provider-card:hover{border-color:#cbd5e1;transform:translateY(-1px)}.ai-provider-card.is-selected{background:#f0f7ff;border-color:#3b82f6;box-shadow:0 4px 12px #3b82f61f}.ai-card-top{justify-content:space-between;align-items:center;display:flex}.ai-card-name{color:#0f172a;align-items:center;gap:6px;font-size:13.5px;font-weight:600;display:flex}.ai-card-icon{font-size:14px}.ai-provider-card.is-disabled{opacity:.5;cursor:not-allowed;pointer-events:auto;background:#f6f5f3}.ai-provider-card.is-disabled:hover{box-shadow:none;border-color:#e2e0db}.ai-card-tag{letter-spacing:.3px;text-transform:uppercase;color:#6b7177;background:#f0efec;border:1px solid #e2e0db;border-radius:4px;padding:2px 6px;font-size:9.5px;font-weight:700}.ai-card-desc{color:#64748b;font-size:11.5px;line-height:1.35}.ai-model-chips{flex-wrap:wrap;gap:6px;margin-bottom:16px;display:flex}.ai-model-chip{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9999px;align-items:center;gap:6px;padding:5px 12px;font-size:12px;font-weight:500;transition:all .12s;display:inline-flex}.ai-model-chip:hover{background:#f1f5f9}.ai-model-chip.is-selected{color:#fff;box-shadow:none;background:#2567f4;border-color:#2567f4}.ai-chip-name{font-size:12px}.ai-chip-badge{opacity:.8;background:#0000000d;border-radius:4px;padding:1px 5px;font-size:10px;font-weight:600}.ai-model-chip.is-selected .ai-chip-badge{color:#fff;background:#fff3}.ai-key-input{color:#0f172a;background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;outline:none;width:100%;padding:10px 14px;font-family:inherit;font-size:13px;transition:all .15s}.ai-key-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.ai-key-input-wrap{align-items:center;display:flex;position:relative}.ai-key-input-wrap .ai-key-input{padding-right:60px}.ai-key-reveal{cursor:pointer;color:#3b82f6;background:0 0;border:none;padding:4px 6px;font-size:12px;font-weight:600;line-height:1;position:absolute;right:6px}.ai-key-reveal:hover{color:#1d4ed8;text-decoration:underline}.ai-key-hint{color:#64748b;margin-top:6px;font-size:11.5px;line-height:1.4}.ai-modal-footer{background:#f8fafc;border-top:1px solid #f1f5f9;justify-content:flex-end;gap:8px;padding:14px 24px;display:flex}.ai-btn-secondary{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:9999px;padding:6px 14px;font-size:13px;font-weight:500;transition:all .12s}.ai-btn-secondary:hover{color:#0f172a;background:#f1f5f9}.ai-btn-primary{color:#fff;cursor:pointer;background:#2567f4;border:none;border-radius:8px;padding:7px 16px;font-size:13px;font-weight:600;transition:background .12s}.ai-btn-primary:hover:not(:disabled){background:#1a56da}.ai-btn-primary:disabled{opacity:.45;cursor:not-allowed}.ai-required{color:#c23b3b;font-size:12px;font-weight:600}.ai-popover-card{z-index:9999;-webkit-backdrop-filter:blur(16px);background:#fffffffa;border:1px solid #e2e8f0;border-radius:16px;width:530px;max-width:calc(100vw - 32px);margin-top:10px;padding:16px;animation:.18s cubic-bezier(.16,1,.3,1) popoverEnter;position:fixed;transform:translate(-50%);box-shadow:0 20px 45px -10px #0f172a33,0 4px 12px #0f172a0f}@keyframes popoverEnter{0%{opacity:0;transform:translate(-50%,-8px)scale(.97)}to{opacity:1;transform:translate(-50%)scale(1)}}.ai-pop-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.ai-pop-badge{color:#7c3aed;background:#f5f3ff;border:1px solid #ddd6fe;border-radius:9999px;align-items:center;gap:5px;padding:3px 9px;font-size:12.5px;font-weight:700;display:inline-flex}.ai-pop-model-tag{color:#64748b;cursor:pointer;background:#f1f5f9;border-radius:9999px;align-items:center;gap:5px;padding:3px 8px;font-size:11.5px;transition:all .15s;display:inline-flex}.ai-pop-model-tag:hover{color:#0f172a;background:#e2e8f0}.ai-pop-change{color:#3b82f6;font-size:11px;font-weight:600;text-decoration:underline}.ai-pop-model-tag:hover .ai-pop-change{color:#1d4ed8}.ai-pill-switch{background:#f1f5f9;border-radius:9999px;margin-bottom:12px;padding:3px;display:flex}.ai-switch-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:9999px;flex:1;justify-content:center;align-items:center;gap:5px;padding:6px 10px;font-size:12.5px;font-weight:600;transition:all .15s;display:flex}.ai-switch-btn.active{color:#0f172a;background:#fff;box-shadow:0 2px 6px #00000014}.ai-quote-preview{color:#64748b;background:#f8fafc;border-left:3px solid #cbd5e1;border-radius:0 6px 6px 0;max-height:48px;margin-bottom:12px;padding:6px 10px;font-size:11.5px;font-style:italic;overflow-y:auto}.ai-custom-prompt{gap:6px;margin-bottom:12px;display:flex}.ai-prompt-input{background:#fff;border:1px solid #e2e8f0;border-radius:9999px;outline:none;flex:1;padding:7px 12px;font-family:inherit;font-size:12.5px;transition:all .15s}.ai-prompt-input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.ai-regen-btn{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9999px;justify-content:center;align-items:center;width:32px;height:32px;font-size:14px;display:flex}.ai-regen-btn:hover:not(:disabled){background:#e2e8f0}.ai-regen-btn:disabled{opacity:.5;cursor:default}.ai-output-box{color:#0f172a;background:#fafaf9;border:1px solid #e2e8f0;border-radius:10px;min-height:75px;margin-bottom:14px;padding:12px 14px;font-size:13.5px;line-height:1.6}.ai-output-box.is-loading{justify-content:center;align-items:center;display:flex}.ai-shimmer-container{flex-direction:column;align-items:center;gap:8px;width:100%;display:flex}.ai-shimmer-line{background:linear-gradient(90deg,#3b82f6,#8b5cf6,#ec4899,#3b82f6) 0 0/200% 100%;border-radius:9999px;width:100%;height:4px;animation:1.4s linear infinite shimmerAnim}@keyframes shimmerAnim{0%{background-position:200% 0}to{background-position:-200% 0}}.ai-shimmer-text{color:#64748b;font-size:12px;font-weight:500}.ai-output-box.has-error{background:#fef2f2;border-color:#fca5a5;padding:0;overflow:hidden}.ai-error-banner{background:#fef2f2;border-radius:10px;padding:12px 14px}.ai-error-banner-header{align-items:center;gap:8px;margin-bottom:8px;display:flex}.ai-error-banner-icon{font-size:15px}.ai-error-banner-title{color:#991b1b;letter-spacing:-.2px;font-size:13px;font-weight:700}.ai-error-banner-body{color:#b91c1c;word-break:break-word;background:#fff;border:1px solid #fecaca;border-radius:7px;max-height:105px;margin-bottom:8px;padding:8px 10px;font-size:12px;line-height:1.5;overflow-y:auto}.ai-error-banner-hint{color:#7f1d1d;margin-bottom:10px;font-size:11.5px;font-weight:500;line-height:1.4}.ai-error-banner-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ai-error-action-btn{cursor:pointer;border-radius:9999px;padding:5px 12px;font-size:11.5px;font-weight:600;transition:all .15s}.ai-error-action-btn.primary{color:#fff;background:#ef4444;border:1px solid #dc2626;box-shadow:0 1px 3px #ef44444d}.ai-error-action-btn.primary:hover{background:#dc2626;transform:translateY(-1px)}.ai-error-action-btn.secondary{color:#991b1b;background:#fff;border:1px solid #fca5a5}.ai-error-action-btn.secondary:hover{background:#fee2e2}.ai-rendered-html ul{margin:0;padding-left:20px}.ai-rendered-html li{margin-bottom:4px}.ai-rendered-html table{border-collapse:collapse;border-radius:8px;width:100%;margin:4px 0;font-size:12.5px;overflow:hidden;box-shadow:0 1px 3px #0000000d}.ai-rendered-html th,.ai-rendered-html td{text-align:left;vertical-align:top;border:1px solid #cbd5e1;padding:6px 10px}.ai-rendered-html th{color:#1e293b;background:#f1f5f9;font-weight:600}.ai-rendered-html tr:nth-child(2n) td{background:#f1f5f966}.ai-warning-box{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:12px 14px;font-size:13px;line-height:1.5}.ai-warning-text{margin-bottom:8px;font-weight:500}.ai-warning-actions{flex-wrap:wrap;gap:8px;display:flex}.ai-warning-btn{color:#78350f;cursor:pointer;background:#fff;border:1px solid #fcd34d;border-radius:9999px;padding:5px 12px;font-size:12px;font-weight:600;transition:all .15s}.ai-warning-btn:hover{background:#fef3c7;transform:translateY(-1px)}.ai-pop-actions{justify-content:space-between;align-items:center;display:flex}.ai-pop-actions-right{align-items:center;gap:8px;display:flex}.ai-pop-btn-ghost{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:9999px;padding:6px 10px;font-size:12.5px;font-weight:500}.ai-pop-btn-ghost:hover{color:#0f172a;background:#f1f5f9}.ai-pop-btn-secondary{color:#334155;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:9999px;padding:6px 12px;font-size:12.5px;font-weight:500;transition:all .12s}.ai-pop-btn-secondary:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1}.ai-pop-btn-primary{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#3b82f6);border:none;border-radius:9999px;padding:6px 14px;font-size:12.5px;font-weight:600;transition:all .12s;box-shadow:0 2px 6px #2563eb40}.ai-pop-btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 10px #2563eb59}.ai-pop-btn-primary:disabled,.ai-pop-btn-secondary:disabled{opacity:.42;pointer-events:none;box-shadow:none;filter:grayscale(.6);transform:none;cursor:not-allowed!important}.review-bar{flex-wrap:wrap;align-items:center;gap:10px;display:inline-flex}.rv-reviewers{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.rv-empty{color:#9ca3af;font:12px/1 ui-sans-serif,system-ui,sans-serif}.rv-chip{color:#374151;background:#f3f4f6;border-radius:999px;align-items:center;gap:4px;padding:3px 8px;font:12px/1 ui-sans-serif,system-ui,sans-serif;display:inline-flex}.rv-chip.is-approved{color:#166534;background:#dcfce7}.rv-chip.is-changes{color:#991b1b;background:#fee2e2}.rv-chip-x{cursor:pointer;color:inherit;opacity:.5;background:0 0;border:none;padding:0 0 0 2px;font-size:10px}.rv-chip-x:hover{opacity:1}.rv-progress{color:#374151;padding:0 4px;font:600 12px/1 ui-sans-serif,system-ui,sans-serif}.rv-add-wrap{position:relative}.rv-add{cursor:pointer;color:#4b5563;background:#fff;border:1px dashed #c7cad1;border-radius:6px;padding:4px 10px;font:12px/1 ui-sans-serif,system-ui,sans-serif}.rv-pick-menu{z-index:50;background:#fff;border:1px solid #e5e7eb;border-radius:8px;min-width:180px;padding:4px;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 8px 24px #00000024}.rv-pick-menu button{cursor:pointer;color:#374151;text-align:left;background:0 0;border:none;border-radius:6px;width:100%;padding:7px 10px;font:13px/1 ui-sans-serif,system-ui,sans-serif;display:block}.rv-pick-menu button:hover{background:#f3f4f6}.rv-pick-empty{color:#9ca3af;padding:8px 10px;font:12px/1.3 ui-sans-serif,system-ui,sans-serif}.review-actions{gap:6px;display:inline-flex}.rv-btn{cursor:pointer;color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:4px 10px;font:12px/1 ui-sans-serif,system-ui,sans-serif}.rv-btn:disabled{opacity:.5;cursor:default}.rv-btn-approve.is-active{color:#fff;background:#16a34a;border-color:#16a34a}.rv-btn-changes.is-active{color:#fff;background:#dc2626;border-color:#dc2626}.editor-shell{background:#fff;flex-direction:column;height:100%;display:flex}.editor-topbar{z-index:11;background:#fff;border-bottom:1px solid #ececea;flex-direction:row;flex-shrink:0;align-items:flex-start;gap:10px;padding:10px 16px 8px 24px;display:none}.title-block{flex-direction:column;flex:1;min-width:0;display:flex}.doc-title-row{align-items:center;gap:12px;width:100%;display:flex}.doc-title-input{color:#1f2328;box-sizing:border-box;background:0 0;border:none;outline:none;flex:1;min-width:0;padding:0;font-size:20px;font-weight:700;line-height:1.3}.doc-title-input::placeholder{color:#c2c6cc}.doc-folder-chip-container{flex-shrink:0;display:none;position:relative}.doc-folder-chip{color:#475467;cursor:pointer;-webkit-user-select:none;user-select:none;background:#f1f3f5;border:1px solid #e2e4e8;border-radius:9999px;align-items:center;gap:5px;padding:3px 10px;font-size:12px;font-weight:500;transition:all .15s;display:inline-flex}.doc-folder-chip:hover{color:#1f2328;background:#e9ecef;border-color:#d0d5dd}.doc-folder-chip .dfc-icon{font-size:12px}.doc-folder-chip .dfc-name{white-space:nowrap;text-overflow:ellipsis;max-width:140px;overflow:hidden}.doc-folder-chip .dfc-arrow{opacity:.6;font-size:10px}.doc-folder-dropdown{z-index:100;background:#fff;border:1px solid #e1e4ea;border-radius:8px;flex-direction:column;min-width:210px;max-width:280px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 10px 25px -5px #0000001f,0 8px 10px -6px #0000000f}.dfd-header{text-transform:uppercase;letter-spacing:.04em;color:#8c959f;padding:4px 8px 6px;font-size:11px;font-weight:600}.dfd-item{color:#24292f;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;width:100%;padding:6px 8px;font-size:13px;transition:background .12s;display:flex}.dfd-item:hover{background:#f3f4f6}.dfd-item.is-active{color:#4338ca;background:#eef2ff;font-weight:600}.dfd-item-name{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.dfd-item-check{font-size:12px;font-weight:700}.dfd-divider{background:#eef0f2;height:1px;margin:4px 0}.dfd-new-btn{color:#0969da;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;width:100%;padding:6px 8px;font-size:12px;font-weight:500;transition:background .12s;display:block}.dfd-new-btn:hover{background:#f0f7ff}.doc-menu-row{gap:16px;margin-top:3px;display:flex}.doc-menu-item{color:#6b7177;cursor:default;-webkit-user-select:none;user-select:none;font-size:13px}.doc-menu-item.is-active{color:#1f2328;font-weight:600}.topbar-right{flex-shrink:0;align-items:center;gap:8px;display:flex}.comments-btn{color:#3a3f45;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:7px;padding:6px 12px;font-size:13px;font-weight:600}.comments-btn:hover{background:#f0efec}.comments-btn.is-active{color:#1a52d6;background:#e4ecff;border-color:#c3d4ff}.editor-with-panel{flex:1;min-height:0;display:flex;position:relative}.editor-fab-row{z-index:30;gap:2px;display:flex;position:absolute;top:10px;right:16px}.comments-fab{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:8px;place-items:center;width:32px;height:32px;transition:background .15s,color .15s;display:inline-grid}.comments-fab:hover{color:#1f2328;background:#f1f1ef}.comments-fab.is-active{color:#2567f4;background:#eef3ff}.editor-scroll{background:#fff;flex:1;padding:0 0 120px;position:relative;overflow-y:auto}.editor-scroll .editor-content{margin-top:24px}.editor-content.font-sans .ProseMirror{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.editor-content.font-inter .ProseMirror{font-family:Inter,system-ui,-apple-system,sans-serif}.editor-content.font-jakarta .ProseMirror{font-family:Plus Jakarta Sans,system-ui,-apple-system,sans-serif}.editor-content.font-serif .ProseMirror{font-family:Georgia,Cambria,Times New Roman,serif}.editor-content.font-merriweather .ProseMirror{font-family:Merriweather,Georgia,serif}.editor-content.font-playfair .ProseMirror{font-family:Playfair Display,Georgia,serif}.editor-content.font-mono .ProseMirror{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace}.editor-content.font-fira .ProseMirror{font-family:Fira Code,ui-monospace,monospace}.editor-content.font-casual .ProseMirror{font-family:Comic Sans MS,cursive,sans-serif}.font-picker{color:#3a3f45;cursor:pointer;background:#fff;border:1px solid #e6e6e3;border-radius:7px;padding:6px 8px;font-size:13px;font-weight:600}.font-picker:hover{background:#f0efec}.comment-bubble{z-index:20;color:#fff;cursor:pointer;background:#1f2328;border:none;border-radius:9999px;padding:6px 12px;font-size:12px;font-weight:600;position:absolute;transform:translate(-50%);box-shadow:0 4px 12px #0003}.comment-bubble:hover{background:#000}.ai-floating-bubble-bar{z-index:9999;color:#d7dae0;background:#2b2f36;border:none;border-radius:8px;align-items:center;gap:3px;padding:3px;animation:.16s cubic-bezier(.16,1,.3,1) bubblePopIn;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 10px 30px #0000004d}@keyframes bubblePopIn{0%{opacity:0;transform:translate(-50%,6px)scale(.95)}to{opacity:1;transform:translate(-50%)scale(1)}}.ai-bubble-btn{color:#d7dae0;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:6px;align-items:center;gap:5px;padding:6px 10px;font-size:13px;font-weight:500;transition:background .12s,color .12s;display:inline-flex}.ai-bubble-btn:hover{color:#f4634e;background:#ffffff1a}.ai-bubble-btn--ai{color:#1e293b;font-weight:600}.ai-bubble-btn--ai:hover{color:#0f172a;background:linear-gradient(135deg,#4285f414,#9b72cb1f)}.ai-gemini-sparkle{transition:transform .2s cubic-bezier(.16,1,.3,1)}.ai-bubble-btn:hover .ai-gemini-sparkle{transform:scale(1.15)rotate(6deg)}.ai-bubble-btn--glow{font-weight:600}[data-theme=dark] .ai-floating-bubble-bar{color:#fff;background:#0f172af0;border-color:#ffffff24;box-shadow:0 16px 36px #00000038,0 4px 12px #0000001a}[data-theme=dark] .ai-bubble-btn{color:#f8fafc}[data-theme=dark] .ai-bubble-btn:hover{color:#fff;background:#ffffff26}[data-theme=dark] .ai-bubble-btn--ai{color:#f8fafc}[data-theme=dark] .ai-bubble-btn--ai:hover{color:#fff;background:linear-gradient(135deg,#4285f438,#9b72cb40)}.ai-bubble-divider{background:#ffffff2e;width:1px;height:18px;margin:0 3px}[data-theme=dark] .ai-bubble-divider{background:#fff3}.comment-mark--flash{transition:background .3s;background:#ffd874!important}.comment-popover{z-index:9999;background:#fff;border:1px solid #e6e6e3;border-radius:12px;width:360px;max-width:92vw;padding:0;position:fixed;overflow:hidden;box-shadow:0 10px 34px #0000002e}.comment-popover-empty{color:#8a8f96;padding:16px;font-size:13px}.comment-popover.is-rail{width:300px;max-width:calc(100vw - 40px);right:20px;left:auto!important}.cp-head{border-bottom:1px solid #ececea;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.cp-title{color:#1f2328;font-size:15px;font-weight:600}.cp-head-left,.cp-head-right{flex:1 1 0;align-items:center;display:flex}.cp-head-right{justify-content:flex-end}.cp-close-btn{color:#3a3f45;cursor:pointer;background:#fff;border:1px solid #dcdbd7;border-radius:7px;padding:4px 12px;font-size:13px}.cp-close-btn:hover{background:#f4f3f1}.cp-archive-btn{color:#3a3f45;cursor:pointer;background:#fff;border:1px solid #dcdbd7;border-radius:7px;padding:4px 12px;font-size:13px}.cp-archive-btn:hover{background:#f4f3f1}.cp-archived{color:#8a8f96;text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:600}.cp-entries{min-height:140px;max-height:420px;padding:14px 16px;overflow-y:auto}.cp-entry{gap:10px;margin-bottom:14px;display:flex}.cp-entry:last-child{margin-bottom:0}.cp-avatar{color:#fff;border-radius:50%;flex:none;justify-content:center;align-items:center;width:32px;height:32px;font-size:12px;font-weight:600;display:flex}.cp-entry-main{min-width:0}.cp-entry-head{align-items:baseline;gap:6px;display:flex}.cp-name{color:#1f2328;font-size:14px;font-weight:600}.cp-when{color:#9aa0a6;font-size:12px}.cp-text{color:#3a3f45;white-space:pre-wrap;word-break:break-word;margin-top:2px;font-size:14px}.cp-footer{border-top:1px solid #ececea;align-items:center;gap:8px;padding:10px 12px;display:flex}.cp-footer-input{resize:none;background:0 0;border:none;flex:1;max-height:130px;padding:8px 4px;font-family:inherit;font-size:14px}.cp-footer-input:focus{outline:none}.cp-send-btn{color:#fff;cursor:pointer;background:#2567f4;border:none;border-radius:8px;flex:none;padding:7px 16px;font-size:13px;font-weight:500}.cp-send-btn:hover:not(:disabled){background:#1a56da}.cp-send-btn:disabled{opacity:.5;cursor:default}.cp-quote{color:#8a8f96;margin:12px 14px 0;font-size:12px;font-style:italic}.comment-composer{padding:0}.collab-status{color:#57606a;background:#fff;border:1px solid #e6e6e3;border-radius:999px;align-items:center;gap:7px;padding:5px 12px;font-size:12px;display:flex;position:fixed;bottom:16px;right:18px;box-shadow:0 1px 3px #0000000f}.collab-status .dot{background:#adb5bd;border-radius:50%;width:8px;height:8px}.collab-status .dot-connected{background:#2f9d54}.collab-status .dot-connecting{background:#f2b705}.collab-status .dot-disconnected{background:#c23b3b}.editor-content .collaboration-carets__caret{pointer-events:none;word-break:normal;border-left:1px solid #0d0d0d;border-right:1px solid #0d0d0d;margin-left:-1px;margin-right:-1px;position:relative}.editor-content .collaboration-carets__label{color:#fff;-webkit-user-select:none;user-select:none;white-space:nowrap;border-radius:3px 3px 3px 0;padding:1px 4px;font-size:11px;font-weight:600;line-height:1;position:absolute;top:-1.4em;left:-1px}.editor-content{max-width:760px;box-shadow:none;background:0 0;border:none;border-radius:0;margin:0 auto;padding:16px 32px}.editor-content .ProseMirror{color:#1f2328;outline:none;min-height:480px;font-size:16px;line-height:1.4}.editor-content .ProseMirror>*+*{margin-top:.3em}.editor-content .ProseMirror p,.editor-content .ProseMirror h1,.editor-content .ProseMirror h2,.editor-content .ProseMirror h3,.editor-content .ProseMirror ul,.editor-content .ProseMirror ol,.editor-content .ProseMirror blockquote,.editor-content .ProseMirror pre{margin:0}.editor-content img{cursor:pointer;border-radius:8px;max-width:100%;height:auto;margin:.5em 0;display:block}.editor-content img.ProseMirror-selectednode{outline-offset:2px;outline:2px solid #2567f4}.img-lightbox{z-index:1000;cursor:zoom-out;background:#000000d1;justify-content:center;align-items:center;padding:40px;display:flex;position:fixed;inset:0}.img-lightbox-img{cursor:default;border-radius:8px;max-width:94vw;max-height:92vh;box-shadow:0 12px 48px #00000080}.img-lightbox-close{color:#fff;cursor:pointer;background:#ffffff26;border:none;border-radius:50%;width:38px;height:38px;font-size:18px;position:fixed;top:18px;right:22px}.img-lightbox-close:hover{background:#ffffff47}.editor-content h1{font-size:2em;font-weight:700;line-height:1.25}.editor-content h2{font-size:1.5em;font-weight:700;line-height:1.3}.editor-content h3{font-size:1.2em;font-weight:600}.editor-content ul,.editor-content ol{padding-left:1.4em}.editor-content blockquote{color:#57606a;border-left:3px solid #d9d9d4;padding-left:1em}.editor-content code{background:#f0f0ee;border-radius:4px;padding:.15em .35em;font-size:.9em}.editor-content pre{color:#eaeef2;background:#1f2328;border-radius:8px;padding:14px 16px;overflow-x:auto}.editor-content pre code{color:inherit;background:0 0;padding:0}.editor-content hr{border:none;border-top:1px solid #e6e6e3;margin:1.5em 0}.editor-content .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;height:0}.editor-content ul[data-type=taskList]{padding-left:.2em;list-style:none}.editor-content ul[data-type=taskList] li{align-items:flex-start;gap:.5em;display:flex}.editor-content ul[data-type=taskList] li>label{margin-top:.25em}.editor-content ul[data-type=taskList] li>div{flex:1}.editor-content .tableWrapper{box-sizing:border-box;border-radius:8px;max-width:100%;margin:1.2em 0;overflow-x:auto}.editor-content table{border-collapse:collapse;table-layout:fixed;box-sizing:border-box;border-radius:8px;width:100%;margin:0;overflow:hidden}.editor-content th,.editor-content td{vertical-align:top;word-break:break-word;overflow-wrap:break-word;box-sizing:border-box;border:1px solid #d9d9d4;min-width:40px;padding:8px 12px;font-size:13.5px;line-height:1.45;position:relative}.editor-content th{text-align:left;color:#24292f;background:#f6f8fa;font-weight:600}.editor-content tr:nth-child(2n) td{background:#00000004}.ProseMirror.resize-cursor,.editor-content.resize-cursor,.editor-content .ProseMirror.resize-cursor{cursor:col-resize!important}.editor-content .column-resize-handle{z-index:25;pointer-events:none;background-color:#3b82f6;border-radius:2px;width:5px;transition:background-color .15s;position:absolute;top:0;bottom:0;right:-2px;box-shadow:0 0 6px #3b82f680}.editor-content .column-resize-dragging{background-color:#3b82f614!important}.editor-content .selectedCell:after{content:"";pointer-events:none;z-index:2;background:#5082e61f;position:absolute;inset:0}.mermaid-zoom-svg{cursor:default;background:#fff;border-radius:10px;max-width:94vw;max-height:92vh;padding:24px;overflow:auto}.mermaid-zoom-svg svg{width:auto;max-width:100%;height:auto}.doc-type-badge{color:#3730a3;letter-spacing:.03em;background:#eef2ff;border-radius:6px;align-items:center;padding:2px 8px;font:600 11px/1 ui-sans-serif,system-ui,sans-serif;display:inline-flex}.status-pill-wrap{display:inline-block;position:relative}.status-pill{border:1px solid var(--pill-color,#6b7280);color:var(--pill-color,#6b7280);cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font:600 12px/1 ui-sans-serif,system-ui,sans-serif;display:inline-flex}.status-pill:disabled{cursor:default}.status-dot{background:var(--pill-color,currentColor);border-radius:50%;width:8px;height:8px}.status-caret{opacity:.7;font-size:9px}.status-menu{z-index:50;background:#fff;border:1px solid #e5e7eb;border-radius:8px;min-width:160px;padding:4px;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 8px 24px #0000001f}.status-menu-item{cursor:pointer;color:#374151;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;width:100%;padding:7px 10px;font:13px/1 ui-sans-serif,system-ui,sans-serif;display:flex}.status-menu-item:hover{background:#f3f4f6}.status-menu-item.is-current{font-weight:600}.ai-bubble-fmt{justify-content:center;min-width:30px;padding:6px 7px;font-size:13px}.ai-bubble-fmt.is-active{color:#f4634e;background:#ffffff24}.ai-bubble-sparkle-wrap{display:inline-flex;position:relative}.ai-bubble-flyout{z-index:10000;background:#2b2f36;border-radius:8px;flex-direction:column;min-width:140px;padding:4px;display:flex;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 12px 30px #00000059}.ai-flyout-item{color:#d7dae0;text-align:left;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:6px;padding:7px 10px;font-size:13px}.ai-flyout-item:hover{color:#f4634e;background:#ffffff1a}.sidekick-card{z-index:9999;background:#fff;border:1px solid #e6e6e3;border-radius:12px;width:420px;max-width:92vw;position:fixed;overflow:hidden;box-shadow:0 16px 40px #00000029}.sidekick-head{border-bottom:1px solid #f0efec;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.sidekick-title{letter-spacing:.08em;color:#8a8f96;align-items:center;gap:6px;font-size:11px;font-weight:700;display:inline-flex}.sidekick-close{color:#8a8f96;cursor:pointer;background:0 0;border:none;font-size:13px}.sidekick-body{align-items:center;gap:12px;padding:14px;display:flex}.sidekick-mode{color:#1f2328;cursor:pointer;background:#f1f1ef;border:none;border-radius:7px;padding:7px 10px;font-size:13px;font-weight:600}.sidekick-hint{color:#9aa0a6;font-size:12px}.sidekick-foot{border-top:1px solid #f0efec;justify-content:flex-end;padding:10px 14px;display:flex}.sidekick-send{color:#f4634e;letter-spacing:.02em;cursor:pointer;background:0 0;border:none;font-size:13px;font-weight:700}.sidekick-send:hover{color:#e24a34}[data-theme=dark] .sidekick-card{background:#161b22;border-color:#30363d}[data-theme=dark] .sidekick-head,[data-theme=dark] .sidekick-foot{border-color:#30363d}[data-theme=dark] .sidekick-mode{color:#f0f6fc;background:#21262d}.home{background-color:#fafaf9;background-image:radial-gradient(circle at 1px 1px,#78716c0d 1px,#0000 0);background-size:22px 22px;flex:1;font-family:Geist,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;overflow-y:auto}.home-inner{max-width:960px;margin:0 auto;padding:44px 40px 80px}.home-header{align-items:center;gap:16px;margin-bottom:36px;display:flex}.home-avatar{color:#fff;background:#1c1917;border-radius:50%;flex:none;justify-content:center;align-items:center;width:50px;height:50px;font-size:20px;font-weight:600;display:flex}.home-greeting{letter-spacing:-.02em;color:#1c1917;margin:0;font-size:28px;font-weight:600}.home-sub{color:#78716c;margin:4px 0 0;font-size:14px}.home-new{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:none;border-radius:10px;margin-left:auto;padding:10px 18px;font-size:14px;font-weight:600;transition:background .15s,box-shadow .15s,transform 50ms;box-shadow:0 2px 10px #2563eb40}.home-new:hover{background:#1d4ed8;box-shadow:0 4px 14px #2563eb4d}.home-new:active{transform:scale(.98)}.home-section{margin-bottom:34px}.home-section-title{letter-spacing:.12em;text-transform:uppercase;color:#a8a29e;margin:0 0 14px;font-size:11px;font-weight:600}.home-empty{color:#78716c;font-size:14px}.home-link{color:#2563eb;cursor:pointer;background:0 0;border:none;padding:0;font-size:14px;font-weight:600}.home-link:hover{text-decoration:underline}.home-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;display:grid}.home-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #e7e5e4;border-radius:16px;flex-direction:column;align-items:flex-start;gap:10px;padding:18px;transition:box-shadow .15s,border-color .15s,transform .15s;display:flex;box-shadow:0 1px 2px #1c19170a}.home-card:hover{border-color:#d6d3d1;transform:translateY(-2px);box-shadow:0 10px 24px #1c19171a}.hc-icon-tile{color:#57534e;background:#f5f5f4;border-radius:9px;place-items:center;width:34px;height:34px;display:inline-grid}.hc-icon-tile.is-shared{color:#2563eb;background:#eff6ff}.hc-title{letter-spacing:-.01em;color:#1c1917;text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:15px;font-weight:600;overflow:hidden}.hc-bottom{justify-content:space-between;align-items:center;gap:6px;width:100%;margin-top:2px;display:flex}.hc-meta{color:#a8a29e;font-size:11px}.hc-folder{color:#57534e;white-space:nowrap;text-overflow:ellipsis;background:#f5f5f4;border-radius:999px;flex-shrink:0;max-width:95px;padding:2px 8px;font-size:11px;font-weight:500;overflow:hidden}.auth-screen{background:#f7f7f5;place-items:center;height:100vh;display:grid}.auth-card{background:#fff;border:1px solid #e6e6e3;border-radius:12px;flex-direction:column;gap:14px;width:340px;padding:32px 28px;display:flex;box-shadow:0 4px 20px #0000000d}.auth-brand{justify-content:center;align-items:center;gap:8px;display:flex}.auth-brand .brand-mark{color:#fff;background:0 0;border-radius:7px;place-items:center;width:26px;height:26px;font-size:12px;font-weight:700;display:grid}.auth-brand .brand-name{color:#1f2328;font-weight:700}.auth-title{color:#1f2328;text-align:center;margin:4px 0 8px;font-size:18px;font-weight:700}.auth-field{flex-direction:column;gap:5px;display:flex}.auth-field span{color:#57606a;font-size:12px;font-weight:600}.auth-field input{border:1px solid #e0e0dc;border-radius:7px;outline:none;padding:9px 11px;font-size:14px}.auth-field input:focus{border-color:#1a52d6;box-shadow:0 0 0 3px #1a52d61a}.auth-error{color:#c23b3b;background:#fbe9e9;border:1px solid #f0c9c9;border-radius:7px;padding:8px 11px;font-size:13px}.auth-submit{color:#fff;cursor:pointer;background:#1a52d6;border:none;border-radius:8px;margin-top:4px;padding:10px;font-size:14px;font-weight:600}.auth-submit:hover:not(:disabled){background:#1746b8}.auth-submit:disabled{opacity:.6;cursor:default}.auth-switch{color:#57606a;text-align:center;font-size:13px}.auth-note{color:#57606a;text-align:center;margin:0 0 6px;font-size:14px;line-height:1.6}.auth-switch button{color:#1a52d6;cursor:pointer;background:0 0;border:none;padding:0;font-weight:600}.custom-select-container{-webkit-user-select:none;user-select:none;display:inline-block;position:relative}.custom-select-trigger{color:#334155;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:9999px;outline:none;justify-content:space-between;align-items:center;gap:8px;height:32px;padding:5px 12px;font-size:13px;font-weight:500;transition:all .15s cubic-bezier(.16,1,.3,1);display:inline-flex;box-shadow:0 1px 2px #0000000a}.custom-select-container.sm .custom-select-trigger{height:28px;padding:3px 10px;font-size:12px}.custom-select-trigger:hover{color:#0f172a;background:#f8fafc;border-color:#cbd5e1}.custom-select-container.is-open .custom-select-trigger{background:#fff;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.custom-select-label{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;display:inline-flex;overflow:hidden}.select-icon{color:#64748b;align-items:center;font-size:14px;display:inline-flex}.select-text{font-size:13px}.select-badge{color:#475569;background:#f1f5f9;border-radius:4px;padding:1px 5px;font-size:10px;font-weight:600}.select-chevron{color:#94a3b8;flex-shrink:0;transition:transform .2s cubic-bezier(.16,1,.3,1)}.custom-select-container.is-open .select-chevron{color:#3b82f6;transform:rotate(180deg)}.custom-select-menu{z-index:100;background:#fff;border:1px solid #e2e8f0;border-radius:12px;min-width:170px;max-height:280px;padding:5px;animation:.15s cubic-bezier(.16,1,.3,1) selectFadeIn;position:absolute;top:calc(100% + 5px);left:0;overflow-y:auto;box-shadow:0 10px 28px -6px #0f172a26,0 4px 10px -2px #0f172a0d}@keyframes selectFadeIn{0%{opacity:0;transform:translateY(-4px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.custom-select-item{color:#334155;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;outline:none;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:7px 10px;font-size:13px;font-weight:500;transition:all .12s;display:flex}.custom-select-item:hover{color:#0f172a;background:#f1f5f9}.custom-select-item.is-selected{color:#2563eb;background:#eff6ff;font-weight:600}.select-item-content{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;display:inline-flex;overflow:hidden}.select-check{color:#2563eb;flex-shrink:0}.share-overlay{z-index:50;background:#14161a66;place-items:center;display:grid;position:fixed;inset:0}.share-dialog{background:#fff;border-radius:12px;width:440px;max-width:calc(100vw - 32px);padding:22px 24px;box-shadow:0 10px 40px #0003}.share-head{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.share-head h2{color:#1f2328;margin:0;font-size:16px;font-weight:700}.share-close{color:#8a8f96;cursor:pointer;background:0 0;border:none;font-size:14px}.share-add{gap:8px;display:flex}.share-add input{border:1px solid #e0e0dc;border-radius:7px;outline:none;flex:1;padding:8px 10px;font-size:14px}.share-add input:focus{border-color:#1a52d6}.share-add select{border:1px solid #e0e0dc;border-radius:7px;padding:8px;font-size:13px}.share-add>button[type=submit]{color:#fff;cursor:pointer;background:#1a52d6;border:none;border-radius:7px;padding:8px 14px;font-size:13px;font-weight:600}.share-add>button[type=submit]:disabled{opacity:.6}.share-error{color:#c23b3b;background:#fbe9e9;border:1px solid #f0c9c9;border-radius:7px;margin-top:10px;padding:7px 10px;font-size:13px}.share-list{margin:16px 0 0;padding:0;list-style:none}.share-empty{color:#8a8f96;padding:8px 0;font-size:13px}.share-row{border-top:1px solid #f0efec;align-items:center;gap:10px;padding:9px 0;display:flex}.share-who{color:#1f2328;flex-direction:column;flex:1;font-size:14px;display:flex}.share-who small{color:#8a8f96;font-size:12px}.share-role{color:#57606a;font-size:12px}.share-revoke{color:#c23b3b;cursor:pointer;background:0 0;border:none;font-size:12px;font-weight:600}.connect-overlay{z-index:1000;background:#0f172a73;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.connect-window{background:#fff;border-radius:14px;width:560px;max-width:94vw;max-height:88vh;overflow-y:auto;box-shadow:0 20px 60px #00000040}.connect-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.connect-title{color:#0f172a;font-size:15px;font-weight:700}.connect-close{cursor:pointer;color:#64748b;background:0 0;border:none;font-size:15px}.connect-body{padding:18px 20px}.connect-intro{color:#475569;margin:0 0 14px;font-size:13px;line-height:1.5}.connect-fresh{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;margin-bottom:16px;padding:12px 14px}.connect-fresh-label{color:#166534;margin-bottom:6px;font-size:12px;font-weight:600}.connect-fresh-token{word-break:break-all;background:#fff;border:1px solid #d1d5db;border-radius:6px;margin-bottom:8px;padding:8px 10px;font:12px/1.4 ui-monospace,Menlo,monospace;display:block}.connect-config{color:#e2e8f0;background:#0f172a;border-radius:8px;margin:6px 0 8px;padding:10px 12px;font:11.5px/1.4 ui-monospace,Menlo,monospace;overflow-x:auto}.connect-create{flex-wrap:wrap;gap:8px;margin-bottom:10px;display:flex}.connect-input{border:1.5px solid #e2e8f0;border-radius:8px;flex:1;min-width:160px;padding:8px 12px;font-size:13px}.connect-select{border:1.5px solid #e2e8f0;border-radius:8px;padding:8px 10px;font-size:13px}.connect-btn{cursor:pointer;color:#334155;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:8px 14px;font-size:13px;font-weight:600}.connect-btn.primary{color:#fff;background:#2567f4;border-color:#2567f4}.connect-btn:disabled{opacity:.5;cursor:default}.connect-err{color:#b91c1c;margin:8px 0;font-size:12.5px}.connect-list-label{color:#334155;text-transform:uppercase;letter-spacing:.04em;margin:16px 0 6px;font-size:12px;font-weight:700}.connect-list{margin:0;padding:0;list-style:none}.connect-row{border-bottom:1px solid #f1f5f9;align-items:center;gap:10px;padding:9px 0;font-size:13px;display:flex}.connect-row.is-revoked{opacity:.5}.connect-row-name{color:#0f172a;font-weight:600}.connect-row-scope{color:#64748b;background:#f1f5f9;border-radius:999px;padding:2px 7px;font-size:11px}.connect-row-meta{color:#94a3b8;margin-left:auto;font-size:11.5px}.connect-revoke{color:#dc2626;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:6px;padding:4px 10px;font-size:12px}.connect-empty{color:#94a3b8;padding:8px 0;font-size:13px}.consent-wrap{background:#f6f8fa;justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.consent-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;width:440px;max-width:94vw;padding:28px;box-shadow:0 12px 40px #0000001f}.consent-title{color:#0f172a;margin:0 0 6px;font-size:20px}.consent-sub{color:#475569;margin:0 0 16px;font-size:14px;line-height:1.5}.consent-scopes{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:16px;padding:12px 14px}.consent-scopes-label{color:#334155;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px;font-size:12px;font-weight:700}.consent-scopes ul{color:#0f172a;margin:0;padding-left:18px;font-size:14px}.consent-scopes li{margin:3px 0}.consent-user{color:#94a3b8;margin:0 0 16px;font-size:12.5px}.consent-err{color:#dc2626;margin:8px 0;font-size:13px}.consent-actions{justify-content:flex-end;gap:10px;display:flex}.consent-deny,.consent-approve{cursor:pointer;border-radius:8px;padding:9px 18px;font-size:14px;font-weight:600}.consent-deny{color:#334155;background:#fff;border:1px solid #d1d5db}.consent-approve{color:#fff;background:#2567f4;border:none}.consent-approve:disabled,.consent-deny:disabled{opacity:.5;cursor:default}.launch-root{width:100%;min-height:100vh;color:var(--text-main,#f8fafc);box-sizing:border-box;background-color:#000;background-image:none;flex-direction:column;font-family:Geist,system-ui,sans-serif;display:flex}[data-theme=light] .launch-root{color:#0f172a;background-color:#f8fafc}.launch-root *{box-sizing:border-box}.launch-header{z-index:50;-webkit-backdrop-filter:blur(16px);background:#060911d9;border-bottom:1px solid #ffffff14;position:sticky;top:0}[data-theme=light] .launch-header{background:#ffffffe6;border-bottom:1px solid #0f172a14}.launch-header-inner{justify-content:space-between;align-items:center;max-width:1200px;height:64px;margin:0 auto;padding:0 24px;display:flex}.launch-brand-group{align-items:center;gap:12px;display:flex}.launch-brand-icon{color:#fff;width:34px;height:34px;box-shadow:none;background:0 0;border-radius:9px;place-items:center;font-size:14px;font-weight:800;display:grid}.launch-brand-top{align-items:center;gap:8px;display:flex}.launch-brand-name{letter-spacing:-.02em;font-size:17px;font-weight:700}.launch-sync-pill{color:#10b981;background:#10b9811f;border:1px solid #10b9814d;border-radius:9999px;align-items:center;gap:5px;padding:2px 8px;font-family:JetBrains Mono,monospace;font-size:11px;font-weight:600;display:inline-flex}.launch-pulse-dot{background:#10b981;border-radius:50%;width:6px;height:6px;box-shadow:0 0 6px #10b981}.launch-sub-label{color:#94a3b8;font-size:11px}.launch-nav-actions{align-items:center;gap:12px;display:flex}.launch-nav-btn{cursor:pointer;border-radius:8px;align-items:center;gap:7px;padding:8px 16px;font-size:13px;font-weight:600;text-decoration:none;transition:all .15s;display:inline-flex}.launch-nav-ghost{color:inherit;background:#ffffff0a;border:1px solid #ffffff1f}[data-theme=light] .launch-nav-ghost{background:#0f172a0a;border-color:#0f172a1f}.launch-nav-ghost:hover{background:#ffffff14}.launch-nav-primary{color:#fff;background:#2563eb;border:1px solid #3b82f6;box-shadow:0 4px 12px #2563eb4d}.launch-nav-primary:hover{background:#1d4ed8}.launch-svg-icon{fill:currentColor;width:16px;height:16px}.launch-main{flex:1;padding:60px 24px 80px}.launch-content-container{max-width:1100px;margin:0 auto}.launch-hero-section{text-align:center;margin-bottom:60px}.launch-tags-center{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin-bottom:24px;display:flex}.launch-tag-blue,.launch-tag-gray,.launch-tag-green,.launch-tag-purple{border:1px solid #0000;border-radius:9999px;padding:4px 12px;font-size:12px;font-weight:600}.launch-tag-blue{color:#3b82f6;background:#2563eb1f;border-color:#3b82f64d}.launch-tag-gray{color:#94a3b8;background:#94a3b81f;border-color:#94a3b840}.launch-tag-green{color:#10b981;background:#10b9811f;border-color:#10b98140}.launch-tag-purple{color:#a78bfa;background:#8b5cf61f;border-color:#8b5cf640}.launch-hero-title{letter-spacing:-.03em;margin-bottom:20px;font-size:50px;font-weight:800;line-height:1.12}.launch-title-gradient{background:linear-gradient(90deg,#fff,#9b9b9b);-webkit-text-fill-color:transparent;-webkit-background-clip:text}.launch-hero-desc{color:#94a3b8;max-width:680px;margin:0 auto 36px;font-size:18px;line-height:1.6}.launch-cta-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;margin-bottom:40px;display:flex}.launch-btn-primary{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:9999px;align-items:center;gap:8px;padding:12px 26px;font-size:15px;font-weight:600;text-decoration:none;transition:all .15s;display:inline-flex;box-shadow:0 4px 16px #2563eb66}.launch-btn-primary:hover{background:#1d4ed8;transform:translateY(-1px)}.launch-quick-clone{color:#cbd5e1;background:#0f172a99;border:1px solid #ffffff1a;border-radius:9999px;align-items:center;gap:10px;padding:10px 16px;font-family:JetBrains Mono,monospace;font-size:13px;display:inline-flex}[data-theme=light] .launch-quick-clone{color:#334155;background:#f1f5f9;border-color:#cbd5e1}.launch-clone-copy{color:#94a3b8;cursor:pointer;background:0 0;border:none;align-items:center;padding:2px;display:flex}.launch-clone-copy:hover{color:#3b82f6}.launch-mac-window{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);text-align:left;background:#121c3399;border:1px solid #ffffff1f;border-radius:20px;overflow:hidden;box-shadow:0 20px 48px #0006}[data-theme=light] .launch-mac-window{background:#fff;border-color:#0f172a1a;box-shadow:0 20px 48px #0f172a14}.launch-window-top{background:#0b1120b3;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:14px;padding:12px 18px;display:flex}[data-theme=light] .launch-window-top{background:#f1f5f9;border-bottom-color:#e2e8f0}.launch-window-dots{gap:6px;display:flex}.dot{border-radius:50%;width:10px;height:10px}.dot.red{background:#ef4444}.dot.yellow{background:#f59e0b}.dot.green{background:#10b981}.launch-window-tab-title{color:#94a3b8;align-items:center;gap:6px;font-family:JetBrains Mono,monospace;font-size:12.5px;display:flex}.launch-rfc-pill{text-transform:uppercase;letter-spacing:.05em;cursor:pointer;border-radius:9999px;align-items:center;gap:6px;padding:3px 10px;font-size:11px;font-weight:700;transition:all .2s;display:inline-flex}.launch-rfc-pill.review{color:#f59e0b;background:#f59e0b1f;border:1px solid #f59e0b4d}.launch-rfc-pill.approved{color:#10b981;background:#10b9811f;border:1px solid #10b9814d}.launch-window-body{padding:24px 30px}.launch-window-meta{border-bottom:1px solid #ffffff14;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;padding-bottom:14px;display:flex}[data-theme=light] .launch-window-meta{border-bottom-color:#f1f5f9}.launch-avatars-row{align-items:center;display:flex}.launch-av{color:#fff;border:2px solid #060911;border-radius:50%;place-items:center;width:26px;height:26px;margin-right:-6px;font-size:10.5px;font-weight:700;display:grid}[data-theme=light] .launch-av{border-color:#fff}.launch-av.blue{background:#3b82f6}.launch-av.green{background:#10b981}.launch-av.purple{background:#8b5cf6}.launch-ai-shelf{background:#0f172a99;border:1px solid #ffffff14;border-radius:8px;align-items:center;gap:6px;margin-bottom:12px;padding:4px 8px;display:inline-flex}[data-theme=light] .launch-ai-shelf{background:#f1f5f9;border-color:#e2e8f0}.launch-shelf-btn{color:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:4px 10px;font-size:12px;font-weight:600;transition:all .15s}.launch-shelf-btn.active,.launch-shelf-btn:hover{color:#fff;background:#2563eb}.launch-hero-editor-box{background:#0b112080;border:1px solid #ffffff14;border-radius:12px;padding:16px 20px;font-family:JetBrains Mono,monospace;font-size:13.5px;line-height:1.6;position:relative}[data-theme=light] .launch-hero-editor-box{background:#f8fafc;border-color:#e2e8f0}.launch-caret-badge{color:#fff;background:#3b82f6;border-radius:4px;padding:2px 7px;font-size:10px;font-weight:700;position:absolute;top:-11px;right:20px}.launch-bento-section{margin-bottom:70px}.launch-bento-grid{grid-template-columns:repeat(12,1fr);gap:20px;display:grid}.launch-bento-card{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#121c338c;border:1px solid #ffffff14;border-radius:20px;flex-direction:column;padding:26px;transition:all .25s;display:flex;position:relative;overflow:hidden}[data-theme=light] .launch-bento-card{background:#fff;border-color:#0f172a14;box-shadow:0 10px 30px #0f172a0a}.launch-bento-card:before{content:"";top:var(--mouse-y,-200px);left:var(--mouse-x,-200px);pointer-events:none;z-index:0;background:radial-gradient(circle,#3b82f61f,#0000 70%);width:300px;height:300px;position:absolute;transform:translate(-50%,-50%)}.launch-bento-card:hover{border-color:#3b82f666;transform:translateY(-2px)}.span-8{grid-column:span 8}.span-4{grid-column:span 4}.span-6{grid-column:span 6}.span-12{grid-column:span 12}@media (width<=900px){.span-8,.span-4,.span-6{grid-column:span 12}}.bento-badge-row{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.launch-bento-desc{color:#94a3b8;margin-bottom:16px;font-size:14px}.launch-interactive-studio{background:#0b112099;border:1px solid #ffffff14;border-radius:12px;flex-direction:column;flex:1;gap:12px;padding:16px;display:flex}[data-theme=light] .launch-interactive-studio{background:#f8fafc;border-color:#e2e8f0}.launch-ai-tools-row{flex-wrap:wrap;gap:6px;display:flex}.launch-ai-pill{color:inherit;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:600;transition:all .15s}[data-theme=light] .launch-ai-pill{background:#fff;border-color:#cbd5e1}.launch-ai-pill.active,.launch-ai-pill:hover{color:#fff;background:#2563eb;border-color:#3b82f6}.launch-live-box{color:#f1f5f9;background:#040711;border:1px solid #ffffff14;border-radius:8px;min-height:90px;padding:12px 14px;font-family:JetBrains Mono,monospace;font-size:12.5px;line-height:1.6}.launch-canvas-box{background:#10b9810a;border:1px solid #10b98133;border-radius:10px;justify-content:center;align-items:center;width:100%;height:70px;margin-top:auto;display:flex;overflow:hidden}.launch-mcp-box{color:#f1f5f9;background:#040711;border:1px solid #ffffff14;border-radius:10px;flex:1;padding:12px;font-family:JetBrains Mono,monospace;font-size:12px;line-height:1.6}.launch-diagram-box{background:#0b112080;border:1px solid #ffffff14;border-radius:10px;justify-content:center;align-items:center;min-height:110px;padding:16px;display:flex;overflow:hidden}.launch-roi-box{background:#0b112080;border:1px solid #ffffff14;border-radius:14px;margin-top:auto;padding:20px}[data-theme=light] .launch-roi-box{background:#f8fafc;border-color:#e2e8f0}.launch-slider{-webkit-appearance:none;background:#ffffff26;border-radius:4px;outline:none;width:100%;height:6px;margin:14px 0}.launch-slider::-webkit-slider-thumb{-webkit-appearance:none;cursor:pointer;background:#3b82f6;border-radius:50%;width:18px;height:18px;box-shadow:0 0 10px #3b82f6}.launch-roi-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:14px;display:grid}.launch-roi-tile{border-radius:10px;padding:14px}.launch-roi-tile.red{background:#ef444414;border:1px solid #ef444433}.launch-roi-tile.green{background:#10b98114;border:1px solid #10b98133}.launch-roi-tile.blue{background:#3b82f614;border:1px solid #3b82f633}.launch-tabs-bar{flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:24px;display:flex}.launch-tab-chip{color:inherit;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:9999px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .15s}.launch-tab-chip.active{color:#fff;background:#2563eb;border-color:#3b82f6;box-shadow:0 4px 12px #2563eb4d}.launch-feature-showcase-panel{background:#121c338c;border:1px solid #ffffff14;border-radius:20px;margin-bottom:70px;padding:30px}[data-theme=light] .launch-feature-showcase-panel{background:#fff;border-color:#e2e8f0}.launch-feature-showcase-panel h3{margin-bottom:8px;font-size:22px;font-weight:800}.launch-feature-showcase-panel p{color:#94a3b8;font-size:15px;line-height:1.6}.launch-table-wrap{background:#121c338c;border:1px solid #ffffff14;border-radius:20px;margin-bottom:70px;overflow-x:auto}[data-theme=light] .launch-table-wrap{background:#fff;border-color:#e2e8f0}.launch-table{border-collapse:collapse;width:100%;font-size:14px}.launch-table th,.launch-table td{text-align:left;border-bottom:1px solid #ffffff0f;padding:14px 20px}[data-theme=light] .launch-table th,[data-theme=light] .launch-table td{border-bottom-color:#f1f5f9}.launch-table th{background:#0f172a66;font-weight:700}[data-theme=light] .launch-table th{background:#f8fafc}.launch-table .highlight-col{color:#3b82f6;background:#2563eb0a;font-weight:600}.text-green{color:#10b981;font-weight:600}.text-red{color:#ef4444}.launch-deploy-card{background:#121c338c;border:1px solid #ffffff14;border-radius:20px;margin-bottom:70px;overflow:hidden}[data-theme=light] .launch-deploy-card{background:#fff;border-color:#e2e8f0}.launch-deploy-tabs{background:#0b112099;border-bottom:1px solid #ffffff14;display:flex}.launch-d-tab{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;padding:14px 20px;font-size:13.5px;font-weight:600}.launch-d-tab.active{color:#3b82f6;border-bottom-color:#3b82f6}.launch-deploy-body{padding:20px}.launch-code-block{color:#f1f5f9;background:#040711;border:1px solid #ffffff14;border-radius:10px;margin:0;padding:16px;font-family:JetBrains Mono,monospace;font-size:13px;line-height:1.6;overflow-x:auto}.launch-faq-section{margin-bottom:70px}.launch-faq-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}@media (width<=768px){.launch-faq-grid{grid-template-columns:1fr}}.launch-faq-item{cursor:pointer;background:#121c338c;border:1px solid #ffffff14;border-radius:12px;padding:18px 22px;transition:all .2s}[data-theme=light] .launch-faq-item{background:#fff;border-color:#e2e8f0}.launch-faq-q{justify-content:space-between;align-items:center;font-size:14.5px;font-weight:700;display:flex}.launch-faq-a{color:#94a3b8;margin-top:10px;font-size:13.5px;line-height:1.55}.launch-ready-banner{background:#181818;border:1px solid #3b82f659;border-radius:24px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;padding:40px;display:flex}.launch-ready-bolt-box{background:#2563eb;border-radius:14px;place-items:center;width:52px;height:52px;display:grid}.launch-ready-title{margin-bottom:4px;font-size:24px;font-weight:800}.launch-ready-desc{color:#94a3b8;font-size:15px}.launch-ready-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:9999px;align-items:center;gap:8px;padding:12px 24px;font-size:15px;font-weight:600;text-decoration:none;transition:all .15s;display:inline-flex;box-shadow:0 4px 16px #2563eb66}.launch-ready-btn:hover{background:#1d4ed8;transform:translateY(-1px)}.launch-node-tag{background:#ffffff14;border-radius:4px;padding:3px 8px}.launch-node-tag.primary{color:#3b82f6;background:#2563eb26}.launch-node-tag.purple{color:#8b5cf6;background:#8b5cf626}.launch-hero-title{text-wrap:balance;max-width:680px;margin:0 auto 24px;font-size:48px;font-weight:600;line-height:1}.launch-root p{text-wrap:pretty}.launch-hero-desc{margin-bottom:32px;line-height:28px}.launch-root :focus-visible{outline-offset:4px;outline:2px solid #60a5fa}.launch-root button,.launch-root a{transition-duration:.3s;transition-timing-function:cubic-bezier(.22,1,.36,1)}.launch-root button:active{transform:scale(.98)}[data-theme=light] .launch-title-gradient{background-image:linear-gradient(90deg,#000,#666)}[data-theme=light] .launch-ready-banner{background:#f5f5f5;border-color:#d4d4d4}[data-theme=light] :is(.launch-hero-desc,.launch-bento-desc,.launch-faq-a,.launch-ready-desc,.launch-sub-label){color:#525252}@media (width<=600px){.launch-main{padding:32px 16px 48px}.launch-hero-title{font-size:36px;line-height:40px}.launch-header-inner{padding:0 16px}.launch-ready-banner{padding:24px}.launch-cta-row{gap:12px}}@media (prefers-reduced-motion:reduce){.launch-root *,.launch-root :before,.launch-root :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.app{background:#fff;flex-direction:column;height:100vh;display:flex}.app-header{-webkit-backdrop-filter:blur(10px);z-index:60;background:#ffffffd9;flex-shrink:0;align-items:center;gap:14px;height:64px;padding:0 18px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:8px;margin-right:8px;display:flex}.brand-mark{color:#fff;background:0 0;border-radius:7px;place-items:center;width:26px;height:26px;font-size:12px;font-weight:700;display:grid}.brand-name{color:#1f2328;font-weight:700}.app-body{flex:1;min-height:0;display:flex}.phase-tag{color:#8a7250;background:#fdf3e3;border:1px solid #f2e2c4;border-radius:999px;margin-left:auto;padding:3px 10px;font-size:12px}.app-main{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.app-sidebar{border-right:1px solid #e6e6e3;flex-shrink:0;width:270px;transition:width .18s;display:flex;overflow:hidden}.app-sidebar.is-collapsed{border-right:none;width:0}.app-sidebar .sidebar{border-right:none}.header-icon-btn{color:#4b5563;cursor:pointer;background:0 0;border:none;border-radius:7px;flex-shrink:0;place-items:center;width:32px;height:32px;display:inline-grid}.header-icon-btn:hover{background:#f3f4f6}.header-search{color:#8a8f96;background:#fff;border:1px solid #e7e5e4;border-radius:8px;flex:1;align-items:center;gap:8px;min-width:120px;max-width:420px;height:32px;padding:0 10px;display:flex}.header-search:focus-within{background:#fff;border-color:#60a5fa;box-shadow:0 0 0 3px #2563eb1f}.header-search-input{color:#1f2328;background:0 0;border:none;outline:none;flex:1;min-width:0;font-size:14px}.header-search-input::placeholder{color:#9ca3af}.header-search-clear{color:#9ca3af;cursor:pointer;background:0 0;border:none;font-size:12px}.header-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.app-subbar{z-index:20;background:#fff;border-bottom:1px solid #e6e6e3;flex-shrink:0;align-items:center;gap:14px;min-height:40px;padding:0 16px;display:flex;position:relative}.app-subbar-menus{flex-shrink:0;align-items:center;display:flex}.app-subbar-menus .doc-menu-row{gap:4px;margin-top:0}.app-subbar-toolbar{flex:1;min-width:0}.app-subbar-toolbar .toolbar{background:0 0;border-bottom:none;padding:4px 0;position:static}.app-subbar-status{flex-shrink:0}.app-subbar-status .collab-status{box-shadow:none;background:0 0;border:none;padding:0;position:static}.sidebar-collapse-btn{color:#8a8f96;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:2px 6px;font-size:18px;line-height:1}.sidebar-collapse-btn:hover{color:#1f2937;background:#eef0f2}.user-menu{position:relative}.user-menu-trigger{color:#1f2937;cursor:pointer;background:#fff;border:1px solid #e6e6e3;border-radius:7px;align-items:center;gap:5px;padding:4px 10px;font-size:13px;transition:all .15s;display:inline-flex}.user-menu-trigger:hover{background:#f3f4f6;border-color:#d1d5db}.user-menu-caret{color:#8a8f96;font-size:10px}.user-avatar-btn{color:#fff;letter-spacing:.02em;cursor:pointer;background:#3c9d7a;border:none;border-radius:50%;flex-shrink:0;place-items:center;width:32px;height:32px;font-size:12px;font-weight:600;transition:filter .15s;display:inline-grid}.user-avatar-btn:hover{filter:brightness(.94)}.user-menu-dropdown{z-index:40;background:#fff;border:1px solid #e6e6e3;border-radius:9px;min-width:200px;padding:6px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #0000001f}.user-menu-email{color:#8a8f96;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #f0efec;margin-bottom:4px;padding:6px 8px 8px;font-size:12px;overflow:hidden}.user-menu-appearance{border-bottom:1px solid #f0efec;justify-content:space-between;align-items:center;margin-bottom:4px;padding:6px 8px 8px;display:flex}.uma-label{color:#8a8f96;font-size:12px}.uma-seg{background:#f1f1ef;border-radius:7px;gap:2px;padding:2px;display:inline-flex}.uma-seg-btn{cursor:pointer;background:0 0;border:none;border-radius:5px;padding:2px 8px;font-size:13px;line-height:1}.uma-seg-btn.is-active{background:#fff;box-shadow:0 1px 2px #0000001f}.user-menu-item{text-align:left;color:#1f2937;cursor:pointer;background:0 0;border:none;border-radius:6px;width:100%;padding:8px;font-size:13px;display:block}.user-menu-item:hover{background:#f3f4f6}.user-menu-item-danger{color:#b91c1c}.user-menu-item-danger:hover{background:#fef2f2}.header-btn{color:#3a3f45;cursor:pointer;background:#fff;border:1px solid #e6e6e3;border-radius:7px;margin-left:auto;padding:5px 12px;font-size:13px;font-weight:600}.header-btn:hover{background:#f0efec}.header-btn.ghost{color:#8a8f96;border-color:#0000;margin-left:0}.header-btn.ghost:hover{color:#c23b3b;background:0 0}.header-btn.share-primary{color:#fff;background:#2567f4;border-color:#2567f4}.header-btn.share-primary:hover{background:#1a56da;border-color:#1a56da}.role-badge{color:#57606a;background:#f0efec;border-radius:999px;padding:4px 11px;font-size:12px}.header-user{align-items:center;margin-left:12px;display:flex}.theme-toggle-btn{cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:9999px;justify-content:center;align-items:center;width:32px;height:32px;font-size:15px;transition:all .18s;display:flex}.theme-toggle-btn:hover{background:#e2e8f0;transform:scale(1.05)}.user-email{color:#57606a;font-size:13px}.app-boot{color:#8a8f96;place-items:center;height:100vh;font-size:15px;display:grid}.app-placeholder{color:#8a8f96;text-align:center;place-items:center;height:100%;padding:24px;font-size:15px;display:grid}.app-error{color:#57606a;line-height:1.9}.app-placeholder code{background:#f0f0ee;border-radius:4px;padding:.1em .4em}.invite-people-link{color:#5b6168;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;background:0 0;border:none;border-radius:7px;align-items:center;padding:6px 8px;font-size:12px;font-weight:600;display:inline-flex}.invite-people-link:hover{color:#1f2937;background:#f3f4f6}.header-right{align-items:flex-start;display:flex}.header-right-main{flex-direction:column;align-items:flex-end;gap:2px;display:flex}.invite-wrap{justify-content:flex-end;align-items:center;min-height:32px;display:flex}.header-subrow{white-space:nowrap;justify-content:flex-end;align-items:center;gap:12px;display:flex;transform:translateY(32px)}.header-review-slot,.header-status-slot{align-items:center;display:flex}.header-review-slot .review-bar{flex-wrap:nowrap;gap:8px}.header-review-slot .rv-reviewers{flex-wrap:nowrap}.header-status-slot .status-pill{color:#6b7280;cursor:pointer;background:0 0;border:none;padding:0;font-size:13px}.header-status-slot .status-pill:disabled{cursor:default}.brand-mark img,.launch-brand-icon img{object-fit:contain;border-radius:inherit;width:100%;height:100%;display:block}.brand-mark,.launch-brand-icon{overflow:hidden}
