:root{color-scheme:light;--ink:#1f2533;--muted:#697086;--line:#e7e8ed;--soft:#f6f7f9;--panel:#ffffff;--sidebar:#242535;--sidebar-soft:#2f3042;--primary:#6e61f5;--primary-dark:#574bd7;--shadow:0 12px 36px rgba(36,37,53,0.1)}:root[data-theme=dark]{color-scheme:dark;--ink:#f1f1ef;--muted:#a3a3a0;--line:#343434;--soft:#262626;--panel:#202020;--sidebar:#202020;--sidebar-soft:#2c2c2c;--primary:#9b91ff;--primary-dark:#b5adff;--shadow:0 16px 42px rgba(0,0,0,0.38)}*{box-sizing:border-box}body,html{margin:0;min-height:100%;background:#fff;color:var(--ink)}body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px}button,input,textarea{font:inherit}button{color:inherit}[contenteditable]:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid color-mix(in srgb,var(--primary) 55%,transparent);outline-offset:2px}.splash{min-height:100vh;display:grid;place-content:center;justify-items:center;grid-gap:14px;gap:14px;color:var(--muted);background:var(--soft)}.splash .brand-mark{animation:pulse 1.7s ease-in-out infinite}@keyframes pulse{50%{transform:scale(1.06);box-shadow:0 13px 35px rgba(110,97,245,.35)}}.brand{display:flex;align-items:center;gap:11px;font-size:18px;font-weight:750;letter-spacing:-.02em}.brand-mark{width:40px;height:40px;display:inline-grid;place-items:center;color:white;background:linear-gradient(140deg,#776af8,#5347c9);border-radius:12px;font-weight:850;box-shadow:0 9px 24px rgba(110,97,245,.28)}.brand-mark.small{width:31px;height:31px;border-radius:9px;font-size:14px}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(430px,1.15fr) minmax(420px,.85fr)}.auth-story{position:relative;padding:42px 5vw;color:white;overflow:hidden;background:radial-gradient(circle at 20% 75%,rgba(123,109,255,.48),transparent 35%),linear-gradient(145deg,#242539 5%,#31324d 60%,#242539)}.auth-story:before{content:"";position:absolute;inset:0;opacity:.13;background-image:linear-gradient(rgba(255,255,255,.16) 1px,transparent 0),linear-gradient(90deg,rgba(255,255,255,.16) 1px,transparent 0);background-size:42px 42px;-webkit-mask-image:linear-gradient(180deg,transparent,black);mask-image:linear-gradient(180deg,transparent,black)}.auth-story .brand,.story-copy{position:relative;z-index:2}.story-copy{max-width:660px;margin-top:17vh}.eyebrow{color:#bbb5ff;font-size:12px;font-weight:800;letter-spacing:.18em}.story-copy h1{margin:18px 0;font-size:clamp(40px,5.3vw,72px);line-height:1.04;letter-spacing:-.055em}.story-copy>p{max-width:550px;color:#c9cad7;font-size:18px;line-height:1.7}.feature-row{margin-top:42px;display:flex;flex-wrap:wrap;gap:12px}.feature-row span{display:flex;align-items:center;gap:8px;padding:11px 14px;border:1px solid rgba(255,255,255,.14);border-radius:12px;color:#e8e8f0;background:rgba(255,255,255,.06);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.auth-art{position:absolute;right:-60px;bottom:-60px;width:380px;height:250px;transform:rotate(-9deg);opacity:.65}.auth-art i{position:absolute;width:210px;height:120px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);box-shadow:0 20px 40px rgba(0,0,0,.12)}.auth-art i:nth-child(2){left:70px;top:55px;background:rgba(119,106,248,.2)}.auth-art i:nth-child(3){left:140px;top:110px}.auth-panel,.center-page{display:grid;place-items:center;padding:32px;background:#fbfbfc}.center-page{min-height:100vh}.auth-card{width:min(440px,100%);display:flex;flex-direction:column;gap:18px}.auth-card.compact{padding:40px;border:1px solid var(--line);background:white;border-radius:22px;box-shadow:var(--shadow)}.auth-card h2{margin:10px 0 -8px;font-size:32px;line-height:1.18;letter-spacing:-.035em}.auth-card>p{margin:0 0 8px;color:var(--muted);line-height:1.55}.step-chip{align-self:flex-start;display:flex;align-items:center;gap:6px;padding:6px 9px;color:var(--primary-dark);font-size:12px;font-weight:700;border-radius:8px;background:#efedff}.auth-card label{display:grid;grid-gap:8px;gap:8px;color:#454a59;font-size:13px;font-weight:650}.auth-card input{width:100%;height:47px;padding:0 14px;border:1px solid #dcdde4;border-radius:10px;background:white;transition:.18s}.auth-card input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(110,97,245,.1);outline:0}.form-error{padding:11px 13px;color:#a83939;background:#fff0f0;border:1px solid #ffd2d2;border-radius:9px;line-height:1.4}.text-button{align-self:flex-end;margin-top:-9px;padding:0;color:var(--primary-dark);border:0;background:transparent;font-size:12px;cursor:pointer}.primary-button{min-height:46px;padding:0 18px;border:0;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:9px;color:white;background:var(--primary);font-weight:720;cursor:pointer;box-shadow:0 8px 20px rgba(110,97,245,.22);transition:.18s}.primary-button:hover{background:var(--primary-dark);transform:translateY(-1px)}.primary-button:disabled{opacity:.65;cursor:wait}.primary-button.fit{min-height:40px}.mobile-brand{display:none}.workspace{height:100vh;display:grid;grid-template-columns:264px minmax(0,1fr);overflow:hidden;background:var(--soft);transition:grid-template-columns .22s ease}.workspace.sidebar-collapsed{grid-template-columns:72px minmax(0,1fr)}.sidebar{position:relative;z-index:20;height:100vh;display:flex;flex-direction:column;color:#d7d8e2;background:var(--sidebar);box-shadow:5px 0 22px rgba(25,25,38,.08);transition:width .22s ease,transform .22s ease}.sidebar-brand{min-height:64px;display:flex;align-items:center;gap:10px;padding:0 16px;color:white;font-weight:750;border-bottom:1px solid rgba(255,255,255,.07);white-space:nowrap}.collapse-button{margin-left:auto;width:27px;height:27px;display:grid;place-items:center;color:#a8aabb;border:0;border-radius:7px;background:rgba(255,255,255,.05);cursor:pointer}.sidebar-scroll{flex:1 1;min-height:0;padding:18px 9px;overflow-y:auto}.workspace-overview{width:100%;height:39px;margin-bottom:17px;padding:0 10px;display:flex;align-items:center;gap:9px;color:#c8c9d4;border:0;border-radius:8px;background:transparent;font-weight:680;cursor:pointer}.workspace-overview:hover{color:white;background:var(--sidebar-soft)}.workspace-overview.active{color:white;background:rgba(110,97,245,.25);box-shadow:inset 2px 0 #8b81ff}.workspace-overview span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-collapsed .workspace-overview{justify-content:center;padding:0}.sidebar-heading{display:flex;justify-content:space-between;align-items:center;padding:0 9px 9px;color:#85879a;font-size:10px;font-weight:800;letter-spacing:.12em}.inline-add,.sidebar-heading button,.tree-label button{width:24px;height:24px;display:grid;place-items:center;color:#a8aabb;background:transparent;border:0;border-radius:6px;cursor:pointer}.inline-add:hover,.sidebar-heading button:hover,.tree-label button:hover{color:white;background:rgba(255,255,255,.08)}.project-group{margin-bottom:5px}.project-row{width:100%;height:39px;padding:0 9px;display:flex;align-items:center;gap:9px;color:#f0f0f5;border:0;border-radius:8px;background:transparent;cursor:pointer}.project-row:hover{background:var(--sidebar-soft)}.project-dot{flex:0 0 auto;width:9px;height:9px;border-radius:3px;box-shadow:0 0 0 3px rgba(255,255,255,.05)}.project-dot.has-image{width:20px;height:20px;margin-left:-5px;border-radius:6px;background-position:50%;background-size:cover}.project-name{flex:1 1;overflow:hidden;text-align:left;font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.project-row svg{color:#818397;transition:transform .18s}.project-row svg.rotated{transform:rotate(-90deg)}.project-tree{margin:3px 0 10px}.tree-section{margin:5px 0}.tree-label{height:29px;padding:0 7px 0 19px;display:flex;align-items:center;gap:7px;color:#9193a6;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.035em}.tree-label span{flex:1 1}.tree-item{width:100%;height:31px;display:flex;align-items:center;gap:7px;overflow:hidden;color:#bfc0cd;background:transparent;border:0;border-radius:7px;font-size:12.5px;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.tree-item:hover{color:#fff;background:rgba(255,255,255,.055)}.tree-item.active{color:white;background:rgba(110,97,245,.25);box-shadow:inset 2px 0 #8b81ff}.page-tree-row{position:relative}.page-tree-row .inline-add{position:absolute;right:5px;top:4px;opacity:0}.page-tree-row:hover .inline-add{opacity:1}.page-icon{width:16px}.page-icon.image img{width:16px;height:16px;display:block;object-fit:cover;border-radius:4px}.sidebar-user{min-height:66px;padding:11px 14px;display:flex;align-items:center;gap:10px;border-top:1px solid rgba(255,255,255,.07)}.sidebar-user>div:nth-child(2){flex:1 1;min-width:0;display:grid;grid-gap:2px;gap:2px}.sidebar-user strong{overflow:hidden;color:#f0f0f3;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.sidebar-user span{color:#888a9b;font-size:10px}.main-pane{min-width:0;height:100vh;display:flex;flex-direction:column;background:#fff}.topbar{min-height:64px;padding:0 25px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.document-actions,.header-actions,.topbar-actions{display:flex;align-items:center;gap:8px}.search-trigger{width:min(360px,35vw);height:37px;padding:0 10px;display:flex;align-items:center;gap:9px;color:#7b8090;border:1px solid #e1e2e8;border-radius:9px;background:#f8f8fa;cursor:pointer}.search-trigger span{flex:1 1;text-align:left}kbd{padding:2px 6px;color:#8a8d99;font:11px inherit;border:1px solid #dedfe5;border-radius:5px;background:white}.icon-button{width:36px;height:36px;display:grid;place-items:center;border:1px solid transparent;border-radius:9px;background:transparent;cursor:pointer}.icon-button:hover{border-color:var(--line);background:var(--soft)}.theme-toggle.floating{position:fixed;z-index:220;top:18px;right:20px;color:var(--ink);border-color:var(--line);background:var(--panel);box-shadow:var(--shadow)}.icon-button.has-dot{position:relative}.icon-button.has-dot:after{content:"";position:absolute;right:7px;top:7px;width:6px;height:6px;background:#ef5967;border:2px solid white;border-radius:50%}.ghost-button{min-height:36px;padding:0 11px;display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#565c6c;border:1px solid var(--line);border-radius:8px;background:white;font-size:12px;font-weight:650;cursor:pointer}.ghost-button:hover{background:var(--soft)}.avatar{flex:0 0 auto;width:34px;height:34px;display:grid;place-items:center;color:white;background:linear-gradient(140deg,#4b91dd,#745ee6);border-radius:10px;font-size:11px;font-weight:800}.avatar.muted{background:#55576b}.notice{position:fixed;z-index:100;top:75px;left:50%;max-width:min(680px,90vw);padding:11px 16px;transform:translateX(-35%);color:#413a87;border:1px solid #dcd7ff;border-radius:10px;background:#f2f0ff;box-shadow:var(--shadow);cursor:pointer}.mobile-menu{display:none}.view-shell{flex:1 1;min-height:0;display:flex;flex-direction:column}.view-header{padding:24px 30px 17px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.breadcrumbs{color:#9397a5;font-size:10px;font-weight:750;letter-spacing:.085em}.chat-header h1,.view-header h1{margin:8px 0 0;font-size:25px;letter-spacing:-.03em}.member-stack,.mini-stack{display:flex;padding-left:8px}.member-stack span,.mini-stack span{width:29px;height:29px;margin-left:-8px;display:grid;place-items:center;color:#4f5360;border:2px solid white;border-radius:50%;background:#e2e3ea;font-size:10px;font-weight:800}.board-toolbar{min-height:45px;padding:0 30px;display:flex;align-items:center;gap:15px;color:#858997;border-bottom:1px solid var(--line);font-size:12px}.board-toolbar button{align-self:stretch;color:var(--ink);border:0;border-bottom:2px solid var(--primary);background:transparent;font-weight:700}.toolbar-divider{width:1px;height:17px;background:var(--line)}.saving{margin-left:auto;color:var(--primary)}.kanban-scroll{flex:1 1;min-height:0;padding:20px 25px 28px;display:flex;align-items:flex-start;gap:15px;overflow:auto;background:#f7f7f9}.kanban-column{flex:0 0 290px;min-height:130px;padding:9px;border:1px solid #e5e6eb;border-radius:12px;background:#eff0f3;transition:.15s}.kanban-column.drop-over{border-color:var(--primary);background:#eeecff}.kanban-column>header{height:37px;padding:0 5px 8px;display:flex;align-items:center;justify-content:space-between}.kanban-column>header>div{display:flex;align-items:center;gap:8px}.kanban-column>header i{width:8px;height:8px;border-radius:50%}.kanban-column>header strong{font-size:12px}.kanban-column>header span{padding:2px 7px;color:#747986;background:#dfe0e5;border-radius:10px;font-size:10px}.kanban-column button{border:0;background:transparent;cursor:pointer}.card-list{display:grid;grid-gap:9px;gap:9px}.task-card{padding:13px;border:1px solid #e1e2e7;border-radius:10px;background:white;box-shadow:0 1px 2px rgba(22,24,35,.04);cursor:-webkit-grab;cursor:grab;touch-action:none;transition:box-shadow .16s,transform .16s}.task-card:hover{box-shadow:0 7px 18px rgba(30,31,45,.08);transform:translateY(-1px)}.task-card.dragging{opacity:.78;box-shadow:0 17px 38px rgba(30,31,45,.18);cursor:-webkit-grabbing;cursor:grabbing}.card-topline{align-items:center;justify-content:space-between;gap:8px}.card-labels,.card-topline{min-height:4px;display:flex}.card-labels{gap:4px}.card-labels i{width:30px;height:4px;border-radius:4px}.project-card-origin{min-width:0;max-width:135px;display:flex;align-items:center;gap:6px;color:#696e7c;font-size:10px;font-weight:700}.project-card-origin>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-mark{flex:0 0 auto;width:24px;height:24px;display:inline-grid;place-items:center;overflow:hidden;color:white;border:2px solid white;border-radius:7px;font-size:9px;font-weight:850;box-shadow:0 2px 7px rgba(25,28,40,.14)}.project-mark img{width:100%;height:100%;display:block;object-fit:cover}.general-project-stack{display:flex;align-items:center;padding-left:9px}.general-project-stack .project-mark,.general-project-stack .project-mark-more{margin-left:-9px}.project-mark-more{width:29px;height:29px;display:inline-grid;place-items:center;color:#5f6370;border:2px solid white;border-radius:8px;background:#e5e6eb;font-size:9px;font-weight:800}.general-kanban-column{flex-basis:310px}.general-board-empty{background:#f7f7f9}.task-card h3{margin:10px 0 12px;font-size:13px;line-height:1.45}.card-meta{display:flex;align-items:center;gap:8px;color:#777b88;font-size:10px}.card-meta span{display:inline-flex;align-items:center;gap:4px}.priority{padding:3px 6px;border-radius:5px;background:#eef0f3}.priority.high,.priority.urgent{color:#bd4d54;background:#fff0f0}.priority.low{color:#317650;background:#eaf8ef}.task-card footer{min-height:27px;margin-top:13px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0f0f2;padding-top:10px}.mini-stack span{width:24px;height:24px;border-width:1px;font-size:9px}.card-counts{display:flex;gap:7px;color:#9094a0}.card-counts span{display:inline-flex;align-items:center;gap:3px;font-size:10px}.add-card,.add-column{min-height:34px;display:flex;align-items:center;gap:7px;color:#737886;font-size:11px}.add-card{width:100%;margin-top:8px;padding:0 7px}.add-card:hover{color:var(--primary)}.add-column{flex:0 0 180px;padding:0 13px;border:1px dashed #cfd1d9;border-radius:10px;background:rgba(255,255,255,.65);cursor:pointer}.document-shell{overflow:auto;background:#fafafa}.document-topline{min-height:53px;padding:0 27px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:white}.save-status{color:#6a9b7c;font-size:11px}.save-status.saving{color:#897ed8}.save-status.error{color:#c2525d}.document-canvas{flex:0 0 auto;width:min(900px,calc(100% - 40px));min-height:calc(100vh - 150px);margin:25px auto 80px;padding:38px 64px 100px;border:1px solid #e9e9ed;border-radius:12px;background:white;box-shadow:0 4px 24px rgba(30,31,45,.04)}.page-cover{height:190px;margin:-38px -64px 25px;background-position:50%;background-size:cover;border-radius:12px 12px 0 0}.page-icon-large{width:52px;height:52px;margin-bottom:9px;padding:0;display:grid;place-items:center;overflow:hidden;border:0;border-radius:10px;background:transparent;font-size:42px;cursor:pointer}.page-icon-large:hover{background:#f2f2f5}.page-icon-large img{width:48px;height:48px;object-fit:cover;border-radius:10px}.page-title{width:100%;padding:0;color:#232734;border:0;background:transparent;font-size:37px;font-weight:780;letter-spacing:-.045em}.editor-toolbar{position:-webkit-sticky;position:sticky;z-index:4;top:0;margin:24px 0 18px;padding:6px;display:flex;flex-wrap:wrap;gap:3px;border:1px solid var(--line);border-radius:9px;background:rgba(255,255,255,.94);box-shadow:0 5px 18px rgba(30,31,45,.06);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.editor-toolbar button{width:30px;height:30px;display:grid;place-items:center;color:#666b78;border:0;border-radius:6px;background:transparent;cursor:pointer}.editor-toolbar button.active,.editor-toolbar button:hover{color:var(--primary-dark);background:#eeecff}.editor-toolbar>span{width:1px;margin:4px 3px;background:var(--line)}.tiptap-shell .tiptap{min-height:420px;color:#383d4b;font-size:15px;line-height:1.72;outline:none}.block-drag-handle{width:24px;height:28px;display:grid;place-items:center;color:#9a9eaa;border:1px solid var(--line);border-radius:6px;background:white;box-shadow:0 3px 8px rgba(30,31,45,.08);cursor:-webkit-grab;cursor:grab}.block-drag-handle:active{cursor:-webkit-grabbing;cursor:grabbing}.tiptap-shell .tiptap>:first-child{margin-top:0}.tiptap-shell h1,.tiptap-shell h2,.tiptap-shell h3{color:#242835;letter-spacing:-.025em}.tiptap-shell h2{margin-top:1.6em;font-size:24px}.tiptap-shell blockquote{margin-left:0;padding-left:18px;color:#656a77;border-left:3px solid var(--primary)}.tiptap-shell pre{padding:16px;color:#e7e8ed;background:#282938;border-radius:9px;overflow:auto}.tiptap-shell img{max-width:100%;border-radius:8px}.tiptap-shell table{width:100%;border-collapse:collapse}.tiptap-shell td,.tiptap-shell th{min-width:80px;padding:7px;border:1px solid #dfe1e6;vertical-align:top}.tiptap-shell th{background:#f4f4f7}.tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;height:0;color:#adb0ba;pointer-events:none}.sheet-embed{margin:20px 0;overflow:hidden;border:1px solid #dfe1e6;border-radius:10px}.sheet-embed-head{height:42px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;background:#f7f8fa;border-bottom:1px solid #e5e6ea}.sheet-embed-head span{display:flex;gap:7px;font-weight:700}.sheet-embed-head a{color:var(--primary-dark);font-size:11px;text-decoration:none}.sheet-embed iframe{width:100%;height:440px;display:block;border:0}.embed-error{padding:35px;color:#a14d53;text-align:center}.chat-shell{background:white}.chat-header{min-height:74px;padding:0 27px;display:flex;align-items:center;border-bottom:1px solid var(--line)}.channel-title{display:flex;align-items:flex-start;gap:8px}.channel-title>svg{margin-top:8px;color:#777c8b}.chat-header h1{margin:0;font-size:19px}.chat-header p{margin:4px 0 0;color:#8b8f9b;font-size:11px}.messages{flex:1 1;min-height:0;padding:20px 30px;overflow-y:auto}.channel-intro{margin:20px 0 35px}.channel-intro>div{width:54px;height:54px;display:grid;place-items:center;color:#6d7282;background:#eceef2;border-radius:15px}.channel-intro h2{margin:13px 0 5px;font-size:21px}.channel-intro p{color:var(--muted)}.message{position:relative;min-height:50px;padding:5px 30px 5px 48px;display:flex}.message:hover{background:#fafafa}.message.grouped{min-height:30px;padding-top:1px;padding-bottom:1px}.message-avatar{position:absolute;left:0;top:5px;width:36px;height:36px;border-radius:9px}.message-body{min-width:0}.message-body header{display:flex;align-items:baseline;gap:8px}.message-body header strong{font-size:13px}.message-body time{color:#9a9da7;font-size:10px}.message-body header small{color:#9a9da7;font-size:9px}.message-body p{margin:3px 0;line-height:1.5;white-space:pre-wrap}.message-file{width:-moz-fit-content;width:fit-content;margin:6px 0;padding:7px 9px;display:flex;align-items:center;gap:6px;color:var(--primary-dark);border:1px solid #e1defa;border-radius:7px;background:#f8f7ff;font-size:10px;text-decoration:none}.message-file small{color:#9396a2}.message-react{position:absolute;right:4px;top:3px;width:28px;height:27px;display:none;place-items:center;border:1px solid var(--line);border-radius:7px;background:white;cursor:pointer}.message:hover .message-react{display:grid}.message-tools{position:absolute;right:4px;top:2px;display:none;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:white;box-shadow:0 3px 10px rgba(30,31,45,.07)}.message:hover .message-tools{display:flex}.message-tools button{width:28px;height:27px;display:grid;place-items:center;color:#747886;border:0;background:white;cursor:pointer}.message-tools button:hover{color:var(--primary);background:#f3f1ff}.thread-count{margin-top:5px;padding:0;color:var(--primary-dark);border:0;background:transparent;font-size:10px;font-weight:700;cursor:pointer}.reactions{display:flex;gap:5px;margin-top:5px}.reactions button{padding:3px 7px;border:1px solid #dddaf8;border-radius:9px;background:#f5f3ff;font-size:11px}.message-composer{min-height:66px;margin:0 28px 22px;padding:7px;display:flex;align-items:center;gap:5px;border:1px solid #d9dbe2;border-radius:10px;box-shadow:0 3px 12px rgba(30,31,45,.04)}.message-composer>button{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:7px;background:transparent;cursor:pointer}.message-composer input{flex:1 1;height:38px;border:0;outline:0}.message-composer .send-button{color:white;background:var(--primary)}.message-composer .file-selected{color:var(--primary);background:#efedff}.thread-panel{position:absolute;z-index:8;top:64px;right:0;bottom:0;width:min(400px,92vw);display:flex;flex-direction:column;border-left:1px solid var(--line);background:white;box-shadow:-12px 0 30px rgba(30,31,45,.08)}.chat-shell{position:relative}.thread-panel>header{height:51px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.thread-panel>header button{border:0;background:transparent;cursor:pointer}.thread-root{margin:13px;padding:12px;border-radius:9px;background:#f6f6f9}.thread-replies b,.thread-root b{font-size:11px}.thread-replies p,.thread-root p{margin:4px 0 0;line-height:1.45}.thread-replies{flex:1 1;min-height:0;padding:0 13px;overflow-y:auto}.thread-replies article{padding:9px 0;display:flex;gap:8px}.thread-panel>form{margin:10px;padding:5px;display:flex;border:1px solid #d9dbe2;border-radius:8px}.thread-panel>form input{flex:1 1;height:33px;padding:0 7px;border:0;outline:0}.thread-panel>form button{width:32px;height:32px;display:grid;place-items:center;color:white;border:0;border-radius:7px;background:var(--primary)}.empty-state{flex:1 1;display:grid;place-content:center;justify-items:center;color:var(--muted);text-align:center}.empty-state h2{margin:13px 0 3px;color:var(--ink)}.empty-illustration{width:80px;height:80px;display:grid;place-items:center;color:var(--primary);border-radius:24px;background:#efedff}.modal-backdrop{position:fixed;z-index:200;inset:0;display:grid;place-items:start center;padding-top:12vh;background:rgba(31,32,44,.42);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.search-dialog{width:min(620px,calc(100vw - 30px));max-height:70vh;overflow:hidden;border:1px solid rgba(255,255,255,.35);border-radius:15px;background:white;box-shadow:0 30px 80px rgba(25,26,39,.25)}.search-dialog>header{height:60px;padding:0 17px;display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line)}.search-dialog input{flex:1 1;height:45px;border:0;outline:0;font-size:16px}.search-dialog header button{border:0;background:transparent;cursor:pointer}.search-results{max-height:calc(70vh - 60px);padding:8px;overflow-y:auto}.search-results>button{width:100%;padding:10px;display:flex;align-items:center;gap:11px;text-align:left;border:0;border-radius:9px;background:transparent;cursor:pointer}.search-results>button:hover{background:var(--soft)}.search-results>button>svg{width:18px;color:var(--primary)}.search-results>button span{min-width:0;display:grid;grid-gap:3px;gap:3px}.search-results strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-results small{color:#9296a2}.search-hint{padding:35px;color:#9094a0;text-align:center}.detail-dialog,.settings-dialog{width:min(620px,calc(100vw - 30px));max-height:86vh;padding:25px;overflow-y:auto;border:1px solid var(--line);border-radius:16px;background:white;box-shadow:0 30px 80px rgba(25,26,39,.25)}.detail-dialog>header,.settings-dialog>header{margin-bottom:22px;display:flex;align-items:flex-start;justify-content:space-between}.detail-dialog h2,.settings-dialog h2{margin:7px 0 0;font-size:23px;letter-spacing:-.025em}.eyebrow.dark{color:var(--primary);font-size:10px}.detail-dialog>label,.form-grid>label,.settings-form>label{margin-bottom:15px;display:grid;grid-gap:7px;gap:7px;color:#555a68;font-size:12px;font-weight:700}.detail-dialog label small{color:#8a8e9a;font-size:10px;font-weight:500;line-height:1.45}.detail-dialog input,.detail-dialog select,.detail-dialog textarea,.settings-dialog input,.settings-dialog select,.settings-dialog textarea{width:100%;min-height:41px;padding:9px 11px;color:var(--ink);border:1px solid #dcdde4;border-radius:8px;background:white;resize:vertical}.detail-dialog textarea,.settings-dialog textarea{line-height:1.5}.form-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:13px;gap:13px}.detail-dialog fieldset{margin:4px 0 20px;padding:13px;border:1px solid var(--line);border-radius:10px}.detail-dialog legend{padding:0 5px;color:#555a68;font-size:12px;font-weight:700}.assignee-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:7px;gap:7px}.assignee-grid label{min-width:0;padding:5px;display:flex;align-items:center;gap:7px;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.assignee-grid input{width:auto;min-height:auto}.avatar.tiny{width:25px;height:25px;border-radius:7px;font-size:9px}.detail-dialog>footer{display:flex;justify-content:flex-end;gap:8px}.form-note{margin:-8px 0 19px;color:#737784;font-size:12px;line-height:1.55}.user-dialog .form-grid>label{margin-bottom:20px}.settings-dialog{width:min(680px,calc(100vw - 30px))}.settings-form{padding-bottom:22px;border-bottom:1px solid var(--line)}.settings-form .primary-button{margin-left:auto}.file-button input{display:none}.file-button i{height:41px;padding:0 12px;display:flex;align-items:center;gap:7px;color:#5e6371;border:1px dashed #cfd1d9;border-radius:8px;font-style:normal;font-weight:600;cursor:pointer}.settings-section{padding:19px 0}.settings-section h3{margin:0 0 13px;font-size:14px}.member-list{display:grid;grid-gap:6px;gap:6px}.member-list>div{min-height:44px;padding:5px 8px;display:flex;align-items:center;gap:9px;border-radius:8px;background:#f7f7f9}.member-list>div>span:nth-child(2){flex:1 1;min-width:0;display:grid;grid-gap:2px;gap:2px}.member-list strong{font-size:11px}.member-list small{color:#8a8e9a;font-size:10px}.member-list em{color:#6b628f;font-size:9px;font-style:normal;font-weight:750}.member-add{margin-top:11px;display:grid;grid-template-columns:minmax(0,1fr) 130px auto;grid-gap:7px;gap:7px}.member-add select{min-width:0}.danger-zone{padding-top:17px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #f0dcdc}.danger-zone>div{display:grid;grid-gap:3px;gap:3px}.danger-zone strong{color:#a7474d;font-size:12px}.danger-zone span{color:#999;font-size:10px}.danger-zone button{min-height:34px;padding:0 10px;display:flex;align-items:center;gap:6px;color:#a7474d;border:1px solid #f0cdd0;border-radius:8px;background:#fff5f5;cursor:pointer}.notification-panel{position:fixed;z-index:160;right:20px;top:58px;width:min(380px,calc(100vw - 30px));max-height:70vh;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:white;box-shadow:var(--shadow)}.notification-panel>header{height:47px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.notification-panel>header span{display:flex;align-items:center;gap:7px;font-weight:750}.notification-panel>header button{border:0;background:transparent;cursor:pointer}.notification-panel>div{max-height:calc(70vh - 47px);padding:6px;overflow-y:auto}.notification-panel>div>button{width:100%;padding:10px 8px;display:flex;gap:9px;text-align:left;border:0;border-radius:8px;background:#f7f6ff;cursor:pointer}.notification-panel>div>button+button{margin-top:4px}.notification-panel>div>button.read{background:white}.notification-panel>div>button>i{width:25px;height:25px;display:grid;place-items:center;color:var(--primary);border-radius:7px;background:#e9e6ff}.notification-panel>div>button>span{flex:1 1;min-width:0;display:grid;grid-gap:3px;gap:3px}.notification-panel strong{font-size:11px}.notification-panel small{overflow:hidden;color:#656a77;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.notification-panel time{color:#a0a3ad;font-size:9px}.notification-panel p{padding:25px;color:#9296a2;text-align:center}.sidebar-scrim{display:none}:root[data-theme=dark],:root[data-theme=dark] body{background:#191919;color:var(--ink)}:root[data-theme=dark] *{scrollbar-color:#494949 transparent}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea{color:var(--ink);border-color:#424242;background:#242424}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#73736f}:root[data-theme=dark] .auth-panel,:root[data-theme=dark] .center-page,:root[data-theme=dark] .chat-shell,:root[data-theme=dark] .document-shell,:root[data-theme=dark] .main-pane,:root[data-theme=dark] .splash,:root[data-theme=dark] .workspace{background:#191919}:root[data-theme=dark] .auth-card.compact{border-color:var(--line);background:var(--panel)}:root[data-theme=dark] .auth-card label{color:#d2d2cf}:root[data-theme=dark] .auth-card input{border-color:#424242;background:#242424}:root[data-theme=dark] .step-chip{color:#c2bbff;background:rgba(155,145,255,.16)}:root[data-theme=dark] .form-error{color:#ffaaaa;border-color:rgba(255,125,125,.3);background:rgba(151,48,48,.2)}:root[data-theme=dark] .text-button{color:var(--primary-dark)}:root[data-theme=dark] .primary-button{background:#7064df;box-shadow:0 8px 22px rgba(85,72,205,.3)}:root[data-theme=dark] .primary-button:hover{background:#7d71e9}:root[data-theme=dark] .sidebar{box-shadow:5px 0 22px rgba(0,0,0,.2)}:root[data-theme=dark] .topbar{border-color:var(--line);background:rgba(25,25,25,.92)}:root[data-theme=dark] .search-trigger{color:#9b9b98;border-color:#3a3a3a;background:#242424}:root[data-theme=dark] kbd{color:#aaa9a5;border-color:#444;background:#2b2b2b}:root[data-theme=dark] .ghost-button{color:#d1d1ce;border-color:var(--line);background:var(--panel)}:root[data-theme=dark] .ghost-button:hover{background:#292929}:root[data-theme=dark] .icon-button.has-dot:after{border-color:#191919}:root[data-theme=dark] .notice{color:#d3ceff;border-color:rgba(155,145,255,.3);background:#28243d}:root[data-theme=dark] .add-card,:root[data-theme=dark] .add-column,:root[data-theme=dark] .board-toolbar,:root[data-theme=dark] .breadcrumbs,:root[data-theme=dark] .card-counts,:root[data-theme=dark] .card-meta{color:#999995}:root[data-theme=dark] .member-stack span,:root[data-theme=dark] .mini-stack span{color:#ddd;border-color:#191919;background:#3a3a3a}:root[data-theme=dark] .kanban-scroll{background:#191919}:root[data-theme=dark] .kanban-column{border-color:#353535;background:#252525}:root[data-theme=dark] .kanban-column.drop-over{border-color:var(--primary);background:rgba(155,145,255,.12)}:root[data-theme=dark] .kanban-column>header span{color:#aaa9a5;background:#353535}:root[data-theme=dark] .task-card{border-color:#363636;background:#202020;box-shadow:0 1px 2px rgba(0,0,0,.18)}:root[data-theme=dark] .task-card:hover{box-shadow:0 8px 22px rgba(0,0,0,.3)}:root[data-theme=dark] .task-card.dragging{box-shadow:0 18px 42px rgba(0,0,0,.5)}:root[data-theme=dark] .project-card-origin{color:#aaa9a5}:root[data-theme=dark] .project-mark{border-color:#252525;box-shadow:0 2px 8px rgba(0,0,0,.35)}:root[data-theme=dark] .project-mark-more{color:#c4c4c0;border-color:#191919;background:#383838}:root[data-theme=dark] .general-board-empty{background:#191919}:root[data-theme=dark] .priority{background:#303030}:root[data-theme=dark] .priority.high,:root[data-theme=dark] .priority.urgent{color:#ff9b9b;background:rgba(190,65,65,.2)}:root[data-theme=dark] .priority.low{color:#8fd0a5;background:rgba(55,135,83,.2)}:root[data-theme=dark] .task-card footer{border-color:#313131}:root[data-theme=dark] .add-column{border-color:#484848;background:#202020}:root[data-theme=dark] .document-topline{border-color:var(--line);background:#191919}:root[data-theme=dark] .document-canvas{border-color:#2d2d2d;background:#191919;box-shadow:none}:root[data-theme=dark] .page-icon-large:hover{background:#272727}:root[data-theme=dark] .page-title{color:var(--ink);background:transparent}:root[data-theme=dark] .editor-toolbar{border-color:#383838;background:rgba(32,32,32,.94);box-shadow:0 6px 20px rgba(0,0,0,.24)}:root[data-theme=dark] .editor-toolbar button{color:#aaa9a5}:root[data-theme=dark] .editor-toolbar button.active,:root[data-theme=dark] .editor-toolbar button:hover{color:#d2ccff;background:rgba(155,145,255,.16)}:root[data-theme=dark] .tiptap-shell .tiptap{color:#dededb}:root[data-theme=dark] .tiptap-shell h1,:root[data-theme=dark] .tiptap-shell h2,:root[data-theme=dark] .tiptap-shell h3{color:var(--ink)}:root[data-theme=dark] .tiptap-shell blockquote{color:#b2b2ae}:root[data-theme=dark] .tiptap-shell pre{color:#e8e8e5;background:#101010}:root[data-theme=dark] .block-drag-handle{color:#8e8e89;border-color:#3a3a3a;background:#242424;box-shadow:0 3px 9px rgba(0,0,0,.3)}:root[data-theme=dark] .tiptap-shell td,:root[data-theme=dark] .tiptap-shell th{border-color:#424242}:root[data-theme=dark] .tiptap-shell th{background:#262626}:root[data-theme=dark] .tiptap p.is-editor-empty:first-child:before{color:#73736f}:root[data-theme=dark] .sheet-embed{border-color:#414141;background:var(--panel)}:root[data-theme=dark] .sheet-embed-head{border-color:#3b3b3b;background:#252525}:root[data-theme=dark] .embed-error{color:#ff9b9b}:root[data-theme=dark] .chat-header{border-color:var(--line)}:root[data-theme=dark] .channel-title>svg,:root[data-theme=dark] .chat-header p{color:#949490}:root[data-theme=dark] .channel-intro>div{color:#b0b0ac;background:#2b2b2b}:root[data-theme=dark] .message:hover{background:#202020}:root[data-theme=dark] .message-body header small,:root[data-theme=dark] .message-body time{color:#858580}:root[data-theme=dark] .message-file{color:#c4beff;border-color:rgba(155,145,255,.3);background:rgba(155,145,255,.1)}:root[data-theme=dark] .message-file small{color:#969691}:root[data-theme=dark] .message-react,:root[data-theme=dark] .message-tools{border-color:#414141;background:#252525;box-shadow:0 4px 12px rgba(0,0,0,.28)}:root[data-theme=dark] .message-tools button{color:#aaa9a5;background:#252525}:root[data-theme=dark] .message-tools button:hover{color:#d0caff;background:#302d43}:root[data-theme=dark] .reactions button{border-color:rgba(155,145,255,.3);background:rgba(155,145,255,.12)}:root[data-theme=dark] .message-composer{border-color:#444;background:#202020;box-shadow:0 4px 14px rgba(0,0,0,.2)}:root[data-theme=dark] .message-composer input,:root[data-theme=dark] .thread-panel>form input{background:transparent}:root[data-theme=dark] .message-composer .file-selected{background:rgba(155,145,255,.16)}:root[data-theme=dark] .thread-panel{border-color:var(--line);background:#202020;box-shadow:-12px 0 30px rgba(0,0,0,.25)}:root[data-theme=dark] .thread-root{background:#292929}:root[data-theme=dark] .thread-panel>form{border-color:#424242;background:#242424}:root[data-theme=dark] .empty-illustration{background:rgba(155,145,255,.15)}:root[data-theme=dark] .modal-backdrop{background:rgba(0,0,0,.62)}:root[data-theme=dark] .detail-dialog,:root[data-theme=dark] .search-dialog,:root[data-theme=dark] .settings-dialog{border-color:#3b3b3b;background:#202020;box-shadow:0 30px 80px rgba(0,0,0,.5)}:root[data-theme=dark] .search-dialog input{background:transparent}:root[data-theme=dark] .search-hint,:root[data-theme=dark] .search-results small{color:#8f8f8a}:root[data-theme=dark] .detail-dialog legend,:root[data-theme=dark] .detail-dialog>label,:root[data-theme=dark] .form-grid>label,:root[data-theme=dark] .settings-form>label{color:#c8c8c4}:root[data-theme=dark] .detail-dialog label small,:root[data-theme=dark] .form-note{color:#90908b}:root[data-theme=dark] .detail-dialog input,:root[data-theme=dark] .detail-dialog select,:root[data-theme=dark] .detail-dialog textarea,:root[data-theme=dark] .settings-dialog input,:root[data-theme=dark] .settings-dialog select,:root[data-theme=dark] .settings-dialog textarea{color:var(--ink);border-color:#424242;background:#242424}:root[data-theme=dark] .file-button i{color:#c0c0bc;border-color:#4a4a4a}:root[data-theme=dark] .member-list>div{background:#282828}:root[data-theme=dark] .member-list small{color:#92928d}:root[data-theme=dark] .member-list em{color:#bbb4ff}:root[data-theme=dark] .danger-zone{border-color:rgba(255,120,120,.22)}:root[data-theme=dark] .danger-zone button,:root[data-theme=dark] .danger-zone strong{color:#ff9696}:root[data-theme=dark] .danger-zone span{color:#8f8f8a}:root[data-theme=dark] .danger-zone button{border-color:rgba(255,120,120,.28);background:rgba(143,45,45,.16)}:root[data-theme=dark] .notification-panel{border-color:#3b3b3b;background:#202020}:root[data-theme=dark] .notification-panel>div>button{background:rgba(155,145,255,.12)}:root[data-theme=dark] .notification-panel>div>button.read{background:#202020}:root[data-theme=dark] .notification-panel>div>button>i{background:rgba(155,145,255,.18)}:root[data-theme=dark] .notification-panel small{color:#aaa9a5}:root[data-theme=dark] .notification-panel p,:root[data-theme=dark] .notification-panel time{color:#858580}@media (max-width:900px){.auth-layout{grid-template-columns:1fr}.auth-story{display:none}.mobile-brand{display:flex;margin-bottom:15px}.workspace,.workspace.sidebar-collapsed{grid-template-columns:1fr}.sidebar{position:fixed;left:0;top:0;width:min(290px,84vw);transform:translateX(-105%)}.sidebar.mobile-open{transform:translateX(0)}.sidebar-scrim{position:fixed;z-index:15;inset:0;display:block;border:0;background:rgba(20,21,31,.45)}.mobile-menu{display:grid}.topbar{padding:0 13px;gap:8px}.search-trigger{flex:1 1;width:auto}.desktop-action{display:none}.view-header{padding:19px}.document-canvas{width:calc(100% - 20px);padding:28px 25px 70px}.page-cover{margin:-28px -25px 20px}.document-actions .ghost-button{width:34px;padding:0;font-size:0}.document-topline{padding:0 15px}}@media (max-width:560px){.auth-panel,.center-page{padding:24px}.auth-card h2{font-size:27px}.topbar-actions .icon-button{display:none}.topbar-actions .theme-toggle{display:grid}.header-actions .ghost-button,.search-trigger kbd{display:none}.view-header h1{font-size:22px}.kanban-scroll{padding:14px}.kanban-column{flex-basis:270px}.page-title{font-size:31px}.messages{padding:16px}.message-composer{margin:0 12px 12px}.assignee-grid,.form-grid,.member-add{grid-template-columns:1fr}.danger-zone{align-items:flex-start;flex-direction:column}}