:root{--bg:#f5f6f8;--surface:#fff;--surface2:#f8f9fb;--border:#e2e5e9;--text:#14171b;--muted:#6f7782;--soft:#9aa1aa;--accent:#171a1f;--accent2:#2b3038;--danger:#b42318;--green:#198754;--greenSoft:#eaf6ef;--shadow:0 18px 45px rgba(17,24,39,.08);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text)}*{box-sizing:border-box}html,body{height:100%;margin:0;background:var(--bg)}button,input,textarea,select{font:inherit}.hidden{display:none!important}.app-shell{height:100vh;display:grid;grid-template-columns:72px 300px minmax(520px,1fr) 300px;overflow:hidden}.org-rail{background:#15171b;color:#fff;padding:14px 10px;display:flex;flex-direction:column;align-items:center;gap:10px}.rail-brand,.org-pill,.rail-button{width:46px;height:46px;border:0;border-radius:14px;display:grid;place-items:center;text-decoration:none;font-weight:800;cursor:pointer}.rail-brand{background:#fff;color:#15171b;font-size:19px}.org-pill{background:#2b2f36;color:#fff;font-size:16px}.org-pill.active{outline:2px solid rgba(255,255,255,.6);outline-offset:2px}.org-pill.dragging{opacity:.35}.org-pill.switch-disabled{pointer-events:none;opacity:.55}.rail-button{background:transparent;color:#c4c9d0;font-size:20px}.rail-button:hover{background:#262a30;color:#fff}.rail-separator{width:30px;height:1px;background:#353941}.rail-spacer{flex:1}.board-sidebar{background:#f0f2f4;border-right:1px solid var(--border);display:flex;flex-direction:column;min-width:0}.workspace-head{padding:20px 18px 14px;display:flex;align-items:center;justify-content:space-between}.workspace-label,.eyebrow{font-size:11px;letter-spacing:.11em;font-weight:800;color:var(--muted)}.workspace-head h2{margin:3px 0 0;font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-title span{font-size:11px;color:var(--muted)}.icon-button{border:1px solid var(--border);background:#fff;width:38px;height:38px;border-radius:10px;cursor:pointer;color:#3e444d}.icon-button:hover{background:#f7f8fa}.search-wrap{margin:0 14px 10px;height:42px;background:#fff;border:1px solid var(--border);border-radius:11px;padding:0 12px;display:flex;align-items:center;gap:8px}.search-wrap input{border:0;outline:0;background:transparent;width:100%;font-size:14px}.sidebar-actions{padding:0 14px 10px;display:flex;gap:7px}.subtle-button,.subtle-icon{border:1px solid var(--border);background:#f7f8fa;color:#59616b;border-radius:9px;height:34px;cursor:pointer}.subtle-button{padding:0 11px;font-size:12px;font-weight:700;flex:1;text-align:left}.subtle-icon{width:36px}.subtle-button:hover,.subtle-icon:hover{background:#fff}.board-nav{flex:1;overflow:auto;padding:2px 9px 18px}.category{margin-bottom:8px}.category-head{height:34px;display:flex;align-items:center;gap:6px;padding:0 6px;color:#5d6570;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.category-head .collapse{border:0;background:transparent;cursor:pointer;color:#7a828d;width:20px;padding:0}.category-head strong{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-head .category-menu{border:0;background:transparent;color:#7a828d;cursor:pointer;opacity:0}.category:hover .category-menu{opacity:1}.category-list{min-height:8px;border-radius:10px;padding:1px}.category-list.drag-over{background:rgba(25,135,84,.08);outline:1px dashed rgba(25,135,84,.35)}.category.collapsed .category-list{display:none}.board-row{display:flex;align-items:center;gap:9px;padding:9px 9px;border-radius:9px;cursor:pointer;margin:1px 0;user-select:none}.board-row:hover{background:#e6e9ed}.board-row.active{background:#dfe8e2;color:#102a19}.board-row.dragging{opacity:.35}.board-icon{width:31px;height:31px;border-radius:9px;background:#fff;border:1px solid #dde1e5;display:grid;place-items:center;font-size:13px;flex:none}.board-copy{min-width:0;flex:1}.board-copy strong,.board-copy span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.board-copy strong{font-size:13px}.board-copy span{font-size:11px;color:var(--muted);margin-top:2px}.me-card{border-top:1px solid var(--border);padding:13px 14px;display:flex;align-items:center;gap:9px;background:#eceef1}.avatar{width:36px;height:36px;border-radius:50%;background:#d7dce2;display:grid;place-items:center;font-weight:800;flex:none}.me-copy{min-width:0;flex:1}.me-copy strong,.me-copy span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.me-copy strong{font-size:13px}.me-copy span{font-size:10px;color:var(--muted);margin-top:2px}.presence-dot{width:9px;height:9px;border-radius:50%;background:#9ca3af}.presence-dot.online{background:#16a34a}.board-stage{background:#fff;display:flex;flex-direction:column;min-width:0;position:relative}.board-header{height:76px;border-bottom:1px solid var(--border);padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex:none}.board-header-main{display:flex;align-items:center;gap:12px;min-width:0}.board-header h1{font-size:17px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.board-meta{font-size:12px;color:var(--muted);margin-top:3px}.header-actions{display:flex;align-items:center;gap:10px}.member-stack{display:flex;align-items:center}.member-chip{width:30px;height:30px;border:2px solid #fff;border-radius:50%;background:#dce2e8;margin-left:-7px;display:grid;place-items:center;font-size:10px;font-weight:800;position:relative}.member-chip:first-child{margin-left:0}.member-chip.online:after{content:"";width:7px;height:7px;border-radius:50%;background:#16a34a;position:absolute;right:-1px;bottom:-1px;border:2px solid #fff}.empty-state{margin:auto;max-width:540px;text-align:center;padding:40px}.empty-icon{margin:0 auto 16px;width:50px;height:50px;border:1px solid var(--border);border-radius:14px;display:grid;place-items:center;font-size:24px;background:#fafbfc}.empty-state h2{margin:0 0 9px;font-size:23px}.empty-state p{color:var(--muted);line-height:1.55;margin:0 0 20px}.primary-button,.secondary-button,.danger-button,.danger-ghost{border:0;border-radius:10px;min-height:38px;padding:0 14px;font-weight:700;cursor:pointer}.primary-button{background:#171a1f;color:#fff}.secondary-button{background:#f2f4f6;color:#303640;border:1px solid var(--border)}.danger-button{background:var(--danger);color:#fff}.danger-ghost{background:#fff;color:var(--danger);border:1px solid #f2c7c3}.board-view{position:relative;flex:1;min-height:0;background:#eef0f2}.toolbar{height:58px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:4px;padding:0 12px;position:relative;z-index:30}.tool{border:0;background:transparent;color:#4f5762;border-radius:9px;min-width:48px;height:44px;padding:4px 8px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:17px}.tool span{font-size:9px;font-weight:700}.tool:hover{background:#f1f3f5}.tool.active{background:#e7ece9;color:#183d27}.tool-separator{width:1px;height:28px;background:var(--border);margin:0 4px}.viewport{position:absolute;left:0;right:0;top:58px;bottom:0;overflow:auto;background-color:#f2f3f5;background-image:radial-gradient(#cfd4da 1px,transparent 1px);background-size:24px 24px;cursor:default}.viewport.panning{cursor:grabbing}.canvas-sizer{position:relative;width:5000px;height:3500px}.board-canvas{position:absolute;left:0;top:0;width:5000px;height:3500px;transform-origin:0 0;outline:0}.board-item{position:absolute;user-select:none;touch-action:none}.board-item.selected{outline:2px solid #2d6cdf;outline-offset:3px}.note-item{border:1px solid rgba(20,23,27,.08);box-shadow:0 8px 20px rgba(17,24,39,.08);padding:16px;white-space:pre-wrap;overflow:hidden;font-weight:600;line-height:1.35}.text-item{padding:6px 8px;white-space:pre-wrap;overflow:visible;background:transparent}.rect-item,.ellipse-item{border-style:solid;border-width:2px;background:transparent}.ellipse-item{border-radius:50%}.path-item{position:absolute;left:0;top:0;width:5000px;height:3500px;pointer-events:none;overflow:visible}.remote-cursor{position:absolute;pointer-events:none;z-index:100000;transform:translate(-2px,-2px)}.remote-cursor:before{content:"";display:block;width:0;height:0;border-left:7px solid #222;border-top:11px solid transparent;border-bottom:4px solid transparent;transform:rotate(-20deg)}.remote-cursor span{display:inline-block;background:#222;color:#fff;border-radius:5px;padding:2px 5px;font-size:9px;margin-left:7px;white-space:nowrap}.zoom-controls{position:absolute;right:18px;bottom:18px;z-index:40;background:#fff;border:1px solid var(--border);border-radius:11px;box-shadow:var(--shadow);display:flex;align-items:center;overflow:hidden}.zoom-controls button{height:36px;border:0;border-right:1px solid var(--border);background:#fff;cursor:pointer;padding:0 11px}.zoom-controls span{font-size:11px;font-weight:800;min-width:56px;text-align:center}.connection-status{position:absolute;left:14px;bottom:14px;z-index:40;background:rgba(255,255,255,.92);border:1px solid var(--border);border-radius:8px;padding:5px 8px;font-size:10px;color:var(--muted)}.connection-status.ok{color:#18723f}.settings-panel{background:#fff;border-left:1px solid var(--border);display:flex;flex-direction:column;min-width:0}.settings-head{height:76px;border-bottom:1px solid var(--border);padding:0 16px;display:flex;align-items:center;justify-content:space-between}.settings-head h3{margin:3px 0 0;font-size:17px}.settings-body{padding:18px;overflow:auto}.settings-section{padding:0 0 22px;margin-bottom:18px;border-bottom:1px solid var(--border)}.settings-section-title{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800;margin-bottom:10px}.field{display:block;margin-bottom:12px}.field span{display:block;font-size:11px;font-weight:700;color:#5d6570;margin-bottom:6px}.field input,.field select{width:100%;height:40px;border:1px solid var(--border);border-radius:9px;padding:0 10px;background:#fff}.member-picker{max-height:280px;overflow:auto;border:1px solid var(--border);border-radius:10px;padding:5px}.member-option{display:flex;align-items:center;gap:9px;padding:8px;border-radius:8px}.member-option:hover{background:#f6f7f8}.member-option input{width:16px;height:16px}.member-option-copy{min-width:0}.member-option-copy strong,.member-option-copy span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-option-copy strong{font-size:12px}.member-option-copy span{font-size:10px;color:var(--muted)}.settings-full-button{width:100%;margin-top:8px}.danger-zone{border-bottom:0}.modal-backdrop{position:fixed;inset:0;background:rgba(18,21,25,.42);display:grid;place-items:center;z-index:200}.modal{width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 40px);background:#fff;border-radius:16px;box-shadow:0 30px 80px rgba(0,0,0,.2);overflow:hidden}.modal-head{padding:18px 20px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.modal-head h3{margin:0;font-size:17px}.modal-body{padding:18px 20px;overflow:auto;max-height:65vh}.modal-actions{padding:14px 20px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:8px}.toast-root{position:fixed;right:18px;bottom:18px;z-index:300;display:flex;flex-direction:column;gap:8px}.toast{background:#181b20;color:#fff;padding:10px 13px;border-radius:9px;box-shadow:var(--shadow);font-size:12px}.mobile-only{display:none}.landing-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,.9fr) minmax(520px,1.1fr);background:#fff}.landing-panel{padding:9vh 9vw;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.brand-mark{width:50px;height:50px;border-radius:14px;background:#171a1f;color:#fff;display:grid;place-items:center;font-weight:900;font-size:21px;margin-bottom:34px}.landing-panel h1{font-size:48px;line-height:1.04;letter-spacing:-.04em;max-width:580px;margin:10px 0 18px}.landing-panel p{font-size:16px;line-height:1.65;color:var(--muted);max-width:560px;margin:0 0 26px}.landing-cta{text-decoration:none;display:grid;place-items:center;min-height:44px}.landing-note{font-size:11px;color:var(--muted);margin-top:12px}.landing-flashes{margin-bottom:16px;width:100%;max-width:560px}.landing-flash{padding:10px 12px;border-radius:9px;background:#f7eceb;color:#8c2117;font-size:12px}.landing-visual{background:#f0f2f4;display:grid;place-items:center;padding:50px}.mock-window{width:min(760px,92%);aspect-ratio:1.35;background:#fff;border:1px solid #dfe3e8;border-radius:20px;box-shadow:0 30px 70px rgba(17,24,39,.13);display:grid;grid-template-columns:58px 180px 1fr;overflow:hidden}.mock-rail{background:#17191d;color:#fff;display:flex;flex-direction:column;align-items:center;gap:14px;padding:15px 0}.mock-rail b,.mock-rail span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#2c3037}.mock-rail b{background:#fff;color:#17191d}.mock-sidebar{background:#eef0f2;padding:22px 16px}.mock-sidebar strong{font-size:12px}.mock-sidebar i{display:block;height:34px;background:#dfe3e7;border-radius:8px;margin-top:12px}.mock-main{position:relative;background-image:radial-gradient(#d5d9de 1px,transparent 1px);background-size:18px 18px}.mock-title{position:absolute;left:20px;top:20px;width:160px;height:16px;background:#d7dce1;border-radius:4px}.mock-note{position:absolute;width:90px;height:72px;display:grid;place-items:center;font-size:10px;font-weight:800;box-shadow:0 6px 12px rgba(0,0,0,.07)}.mock-note.n1{left:18%;top:34%;background:#fff0a8}.mock-note.n2{left:49%;top:27%;background:#dff0ff}.mock-note.n3{left:65%;top:58%;background:#e6f5e9}.mock-line{position:absolute;left:35%;top:44%;width:38%;height:2px;background:#b2b8c0;transform:rotate(15deg);transform-origin:left center}@media(max-width:980px){.app-shell{grid-template-columns:66px 270px 1fr}.settings-panel{position:fixed;right:0;top:0;bottom:0;width:300px;z-index:100;box-shadow:-20px 0 40px rgba(0,0,0,.08)}.landing-shell{grid-template-columns:1fr}.landing-visual{display:none}}@media(max-width:760px){.app-shell{grid-template-columns:60px 1fr}.board-sidebar{position:fixed;left:60px;top:0;bottom:0;width:285px;z-index:120;box-shadow:20px 0 40px rgba(0,0,0,.1);transform:translateX(-110%);transition:.18s}.app-shell.sidebar-open .board-sidebar{transform:translateX(0)}.mobile-only{display:grid}.board-header{padding:0 12px}.tool{min-width:42px}.tool span{display:none}.landing-panel{padding:50px 28px}.landing-panel h1{font-size:38px}}
