:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#242c38;background:#f6f7f9;font-size:14px;font-synthesis:none;--muted:#7b8492;--line:#e7eaef;--accent:#2563eb;--accent-light:#edf3ff}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none;color:inherit}button:disabled{opacity:.5;cursor:wait}a{color:var(--accent);text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input,select,textarea{border:1px solid #dce0e7;border-radius:6px;background:#fff;color:inherit;padding:10px 12px;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #2563eb45;border-color:var(--accent)}label{display:flex;flex-direction:column;gap:8px;font-size:13px}kbd{font:11px ui-monospace,SFMono-Regular,monospace;border:1px solid #e0e3ea;border-radius:4px;padding:1px 5px;color:#7b8492;background:#fafbfc}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;font-weight:650;line-height:1.2}h2{font-size:19px;font-weight:600}h3{font-size:14px}small{font-size:11px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:14px;border-radius:6px;padding:10px 14px;font-weight:550;min-height:38px}.primary{background:var(--accent);color:#fff;box-shadow:0 2px 3px #283f9f12}.primary:hover{background:#1d4ed8}.secondary{border:1px solid #dce0e7;background:#fff;font-size:13px}.secondary:hover{background:#f7f8fc}.primary kbd{background:#ffffff17;border-color:#ffffff30;color:#fff}.small{padding:7px 14px;min-height:32px;font-size:12px}.link{font-size:12px;color:var(--accent);padding:4px 0}.link:hover{text-decoration:underline}.subtle{font-size:20px;color:var(--muted);padding:3px 8px;border-radius:5px}.subtle:hover{background:#f0f2f7;color:#303b50}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.6px;color:#8c93a0}.muted{color:var(--muted);font-size:11px}.placeholder{color:#a3aab5}.logo{display:block;width:44px;height:44px;object-fit:contain;flex-shrink:0}.workspace{display:flex;min-height:100vh}.sidebar{width:238px;flex-shrink:0;border-right:1px solid var(--line);background:#fbfcfe;padding:28px 18px 0;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{color:inherit;display:flex;align-items:center;gap:11px;font-size:19px;font-weight:650;letter-spacing:-.6px;margin:0 6px 34px}.brand small{display:block;font-size:8px;letter-spacing:1.25px;color:#8b93a1;margin-top:5px}.capture{font-size:12px;width:100%;justify-content:space-between;margin-bottom:33px;padding:11px}.nav-label{font-size:9px;font-weight:650;letter-spacing:1.4px;color:#99a0ad;padding:0 12px;margin-bottom:13px}nav{display:grid;gap:4px}.nav-item{display:flex;align-items:center;gap:11px;padding:11px 12px;text-align:left;border-radius:6px;font-size:12px;color:#697383}.nav-item:hover{background:#f1f3f8}.nav-item.active{color:var(--accent);background:var(--accent-light);font-weight:600}.nav-item:nth-child(5),.nav-item:nth-child(7){margin-top:20px}.nav-icon{font-size:18px;width:18px;text-align:center;line-height:16px}.count{font-size:11px;margin-left:auto}.sidebar-bottom{margin-top:auto}.help-button{display:flex;justify-content:space-between;width:100%;font-size:11px;color:var(--muted);padding:18px 8px}.user{border-top:1px solid var(--line);display:flex;align-items:center;gap:9px;padding:20px 0;font-size:11px;color:#7b8492}.user>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user>button{margin-left:auto;font-size:20px}.avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;width:28px;height:28px;flex-shrink:0;background:#e9edf5;color:#68778e}.main{margin-left:238px;min-width:0;flex:1;display:flex;flex-direction:column;min-height:100vh}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid var(--line);font-size:11px;color:#8a92a1}.topbar strong{color:#4e5868;font-weight:500}.crumb{margin:0 12px;color:#c1c6d0}.search{display:flex;flex-direction:row;align-items:center;gap:8px;color:#8a92a1}.search>span{font-size:22px}.search input{background:transparent;border:0;font-size:12px;width:155px;padding:5px}.search input:focus{outline:0}.page-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:37px 38px 30px}.page-heading .eyebrow,.page-heading h1{margin-bottom:11px}.page-heading h1 span{font-size:13px;vertical-align:middle;color:#8d96a6;font-weight:400;letter-spacing:0;background:#e9ecf2;border-radius:5px;padding:3px 7px;margin-left:8px}.page-heading p{font-size:12px;color:#8a92a0;margin:0;line-height:1.6}.heading-actions{display:flex;gap:8px;align-items:center}.list-panel{border:1px solid var(--line);border-radius:9px;background:#fff;overflow:hidden;display:flex;flex-direction:column;min-height:380px}.list-heading{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.2px;color:#939aa7;padding:17px 21px;border-bottom:1px solid var(--line);background:#fdfdfe}.item-row{display:flex;align-items:center;gap:12px;padding:17px 19px;border-bottom:1px solid #eef0f4;position:relative;min-height:75px}.item-row.selected{background:#f2f4ff}.item-row.selected:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--accent)}.item-row:hover{background:#f7f8fc}.check{width:17px;height:17px;flex-shrink:0;border:1.4px solid #cdd3de;border-radius:5px;padding:0;font-size:12px;background:#fff;color:#fff}.check:hover{border-color:var(--accent)}.check.checked{background:var(--accent);border-color:var(--accent)}.completed .row-title{text-decoration:line-through;color:#929ba8}.kind-icon{font-size:21px;color:#8d97b4;flex-shrink:0}.row-content{display:flex;flex-direction:column;gap:8px;text-align:left;padding:0;flex:1;min-width:0}.row-title{font-size:13px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.row-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:10px;color:#919aa8}.row-meta:empty{display:none}.tag{color:#8995b0}.item-row time{font-size:10px;color:#9da4b0;white-space:nowrap;align-self:flex-start;padding-top:2px}.list-footer{margin-top:auto;display:flex;justify-content:space-between;gap:10px;padding:14px 20px;color:#9aa2af;font-size:10px}.list-footer kbd{font-size:9px;margin-right:3px}.properties{display:grid;gap:11px;margin-bottom:24px}.properties label{display:grid;grid-template-columns:65px minmax(0,1fr);align-items:center;font-size:11px;color:#9098a6}.properties select,.properties input{font-size:11px;border-color:transparent;padding:5px 7px;background:#f7f8fa;width:100%;color:#626f85}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:9px;font-weight:550;letter-spacing:1px;color:#8a94a4;margin-bottom:12px}.section-heading label{font-size:9px}.section-heading>div{display:flex;gap:10px;align-items:center;letter-spacing:0}.markdown{font-size:12px;line-height:1.85;overflow-wrap:anywhere;min-height:110px;color:#646f80}.markdown p{margin:0 0 8px}.markdown h3,.markdown h4,.markdown h5{font-size:14px;color:#3c475a;margin:17px 0 8px}.markdown pre{white-space:pre-wrap;background:#f5f6f9;padding:10px;border-radius:5px}.markdown code{background:#f1f3f8;font-family:ui-monospace,monospace;font-size:11px;padding:1px 3px}.markdown blockquote{margin:8px 0;border-left:2px solid #ccd2e4;padding-left:12px;color:#939bad}.markdown br+br{display:none}#body{width:100%;min-height:230px;resize:vertical;font:12px/1.8 ui-monospace,monospace;padding:11px;background:#fcfcff;tab-size:2}#body[readonly]{border-color:#bdc7f2}.mode{font:9px ui-monospace,monospace;padding:3px 5px;border-radius:3px;background:#e8f3ef;color:#528471}.mode[data-mode=normal]{background:#eceffe;color:var(--accent)}.mode[data-mode=select]{background:#fdf1dc;color:#aa853e}.editor-hint{font-size:9px;color:#929bab;margin-top:7px;line-height:1.8}.editor-hint kbd{font-size:8px}.save-row{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:16px}.save-row>span{font-size:9px;color:#969eac}.detail-section{border-top:1px solid var(--line);padding-top:19px;margin-top:22px}.relation{display:block;text-align:left;font-size:11px;line-height:1.6;color:#697995;padding:6px 0;overflow-wrap:anywhere}.relation small{font-size:9px;color:#a2aab8;margin-left:5px}.relation:hover{color:var(--accent)}.relation-line{display:flex;align-items:center;justify-content:space-between}#link-item{font-size:11px;color:#8896ae;border:0;background:#f7f8fb;width:100%;padding:8px;margin-top:6px}.attachment{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:5px 0}.attachment a{display:flex;align-items:center;gap:6px;min-width:0;font-size:11px}.attachment a>span{overflow-wrap:anywhere}.attachment small{white-space:nowrap;color:#8b95a7}.upload{border:1px dashed #dce1ec;padding:13px;border-radius:6px;flex-direction:row;align-items:center;justify-content:center;font-size:11px;color:#7787a3;cursor:pointer;margin-top:9px;position:relative;overflow:hidden}.upload span{font-size:9px;color:#adb4c0}.upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.detail-bottom{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-top:25px;padding-top:16px;border-top:1px solid var(--line);font-size:9px;color:#a0a8b4}.detail-bottom .link{font-size:10px}.empty{padding:65px 22px;text-align:center;color:#8e99aa}.empty-symbol{font-size:34px;color:#c3cce0;margin-bottom:19px}.empty h2{font-size:16px;font-weight:500;color:#69768d}.empty p{font-size:12px;line-height:1.8;max-width:250px;margin:0 auto 15px}.statusbar{margin-top:auto;border-top:1px solid var(--line);padding:11px 38px;display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#8e98a8;letter-spacing:.2px}.statusbar>span:first-child{font:10px ui-monospace,monospace}.statusbar i{display:inline-block;border-radius:50%;width:5px;height:5px;background:#77ab90;margin-right:8px}.status-muted{color:#adb5c2}.statusbar kbd{font-size:9px;margin:0 3px 0 8px}.auth-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;padding:55px 20px;background:radial-gradient(ellipse at 50% 10%,#eff1ff,transparent 60%)}.auth-brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:600;letter-spacing:-.5px;margin-bottom:42px}.auth-card{width:100%;max-width:420px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:36px;box-shadow:0 14px 45px #27356405}.auth-card .eyebrow{font-size:9px;margin-bottom:18px}.auth-card h1{font-size:31px;line-height:1.3}.auth-card p{color:#929aa8;font-size:12px;line-height:1.8}.auth-card form{display:grid;gap:17px;margin-top:28px}.auth-card h2{font-size:15px;margin:0 0 2px}.auth-card label{font-size:11px;color:#727d90}.auth-card .primary{justify-content:space-between}.auth-card>.link{display:block;margin:20px auto 0;font-size:11px}.auth-page footer{margin-top:30px;font-size:10px;color:#a4acbb}dialog{border:1px solid var(--line);border-radius:12px;padding:25px;width:440px;max-width:calc(100vw - 30px);box-shadow:0 20px 90px #1f2e5926;color:inherit}dialog::backdrop{background:#1a24443b;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dialog-heading h2{margin:0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}dialog label{margin-bottom:18px;font-size:12px}.help-dialog{width:560px;max-height:85vh;overflow-y:auto}.help-dialog h3{margin:22px 0 12px}.help-dialog dl{display:grid;grid-template-columns:155px 1fr;gap:12px;font-size:12px}.help-dialog dt{font:11px ui-monospace,monospace;color:var(--accent)}.help-dialog dd{margin:0;color:#7d8799}.help-dialog p{margin-top:25px;line-height:1.8}.form-error{font-size:12px;color:#b84f59;line-height:1.6}.form-error:empty{display:none}#toast{position:fixed;bottom:45px;left:50%;transform:translate(-50%,15px);background:#293449;color:#fff;padding:12px 20px;border-radius:8px;box-shadow:0 6px 30px #15203920;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;max-width:90vw;font-size:12px;z-index:10}#toast.visible{opacity:1;transform:translate(-50%)}#toast.error{background:#9c414b}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.loading{padding:100px;text-align:center;color:#8e98a8}@media(min-width:1600px){.main{padding-left:20px;padding-right:20px}}@media(max-width:1150px){.sidebar{width:205px;padding-left:12px;padding-right:12px}.main{margin-left:205px}.topbar,.page-heading{padding-left:24px;padding-right:24px}.list-footer>span:last-child{display:none}.page-heading h1{font-size:26px}.page-heading .secondary{font-size:11px}.item-row{padding:16px 13px}.statusbar{padding-left:24px;padding-right:24px}}@media(max-width:900px){.sidebar{width:175px}.main{margin-left:175px}.brand{font-size:16px;gap:8px;margin-left:0}.brand small{font-size:6px}.capture{font-size:10px}.capture kbd{display:none}.nav-item{font-size:11px;padding-left:8px;gap:8px}.topbar{padding:0 20px}.topbar>span{display:none}.search,.search input{width:100%}.page-heading{padding:25px 20px}.page-heading h1{font-size:24px}.heading-actions{align-self:flex-start}.heading-actions .secondary{font-size:0;gap:0;padding:9px}.heading-actions .secondary:first-letter{font-size:18px}.list-panel{min-height:250px}.item-row{min-height:65px}.statusbar>span:last-child{display:none}.page-heading .eyebrow{font-size:8px}}@media(max-width:600px){.workspace{display:block}.sidebar{position:static;width:auto;padding:14px 16px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:18px;margin:0 0 17px}.brand small{font-size:7px}.capture,.nav-label,.sidebar-bottom{display:none}nav{display:flex;overflow-x:auto;gap:5px;padding-bottom:3px}.nav-item{white-space:nowrap;font-size:11px;padding:9px 11px;flex-shrink:0}.nav-item:nth-child(5),.nav-item:nth-child(7){margin-top:0}.nav-icon{font-size:15px;width:15px}.count{display:none}.main{margin-left:0;min-height:calc(100vh - 125px)}.topbar{height:53px;padding:0 18px}.page-heading{padding:24px 18px 22px}.page-heading h1{font-size:24px}.page-heading p{font-size:11px}.list-panel{min-height:200px}.empty{padding:38px 20px}.statusbar{padding:12px 18px}.auth-page{padding-top:35px}.auth-card{padding:28px}.help-dialog dl{grid-template-columns:120px 1fr;font-size:11px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.mobile-tools{display:none}@media(max-width:900px){.heading-actions .secondary{width:38px;height:38px;padding:0}.heading-actions .secondary:before{content:"+";font-size:22px;font-weight:400}}@media(max-width:600px){.mobile-tools{display:flex;gap:5px;margin-left:12px;flex-shrink:0}.mobile-tools button{font-size:17px;color:#7b8492;width:28px;height:32px}.search{min-width:0;flex:1}.search input{min-width:0}}.screen{flex:1;min-width:0;padding-bottom:30px;outline:none}.view-toolbar{margin:22px 38px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:32px}.back-button{display:inline-flex;align-items:center;gap:12px;color:#63718a;padding:7px 0;font-size:12px}.back-button:hover{color:var(--accent)}.context-badge{font:10px ui-monospace,monospace;text-transform:uppercase;letter-spacing:1px;color:var(--accent);background:var(--accent-light);border-radius:5px;padding:6px 9px}.nav-item.nav-cursor{box-shadow:inset 0 0 0 1px #a9b4ed}.breadcrumbs{display:flex;align-items:center;flex:1;min-width:0;gap:10px;overflow-x:auto;white-space:nowrap;padding:5px 0}.breadcrumbs button{color:#8a92a1;font-size:11px;padding:4px 0}.breadcrumbs button:hover{color:var(--accent)}.breadcrumbs strong{font-size:11px;font-weight:500}.topbar{gap:24px}.topbar .search{flex-shrink:0}.single-content{padding:0 38px}.page-heading>div:first-child{min-width:0}.page-heading h1{overflow-wrap:anywhere}.home-view{padding:70px 38px;max-width:850px}.home-view .eyebrow{margin-bottom:18px}.home-view h1{font-size:38px;margin-bottom:18px}.home-view>p{font-size:14px;line-height:1.9;color:#8792a5}.home-shortcuts{display:flex;flex-wrap:wrap;gap:16px 24px;margin:30px 0;color:#7e8aa0;font-size:12px}.home-shortcuts span{white-space:nowrap}.row-open{font-size:14px;color:#a9b3c5}.item-view{background:#fff;border:1px solid var(--line);border-radius:9px;padding:30px;min-width:0}.item-metadata{display:flex;flex-wrap:wrap;gap:20px 42px;margin:0 0 32px;font-size:12px}.item-metadata>div{min-width:110px}.item-metadata dt{color:#949eae;font-size:11px;margin-bottom:8px}.item-metadata dd{margin:0;color:#53627a;overflow-wrap:anywhere}.item-metadata .link{padding:0}.item-description{margin-top:8px}.item-description .markdown{font-size:14px;line-height:1.9;max-width:90ch;min-height:100px}.item-description .markdown h3{font-size:18px}.section-heading h2{margin:0;font-size:12px;font-weight:600;letter-spacing:.5px;color:#768298}.project-tasks{margin-bottom:32px}.project-tasks>.section-heading{margin-bottom:16px}.project-task-actions{flex-wrap:wrap;justify-content:flex-end}.quick-add-dialog{width:680px;max-height:calc(100dvh - 30px);overflow-y:auto}.quick-add-dialog fieldset{border:0;padding:0;margin:0;min-width:0}.quick-add-project{font-size:13px;overflow-wrap:anywhere}.quick-add-dialog .section-heading label{margin:0;font-size:12px}.quick-add-dialog textarea{display:block;width:100%;min-height:230px;resize:vertical;font:14px/1.7 ui-monospace,monospace}.quick-add-dialog .editor-hint{line-height:2}.quick-add-dialog .form-error{overflow-wrap:anywhere}.project-tasks .list-panel{min-height:160px}.project-tasks .empty{padding:30px 20px}.project-tasks .empty-symbol{display:none}.item-view .detail-section{margin-top:30px;padding-top:25px}.item-view .relation,.item-view .attachment a{font-size:13px}.item-view #link-item{max-width:520px;font-size:12px}.item-view .upload{max-width:520px}.item-view .detail-bottom{margin-top:35px}.edit-form>label{margin-bottom:22px}.edit-form>label input{font-size:18px}.edit-form .properties{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px}.edit-form .properties label{display:flex;flex-direction:column;align-items:stretch;gap:8px;font-size:12px}.edit-form .properties input,.edit-form .properties select{padding:10px;font-size:13px;border-color:#dce0e7;background:#fff}.edit-form #body{min-height:340px;font-size:14px;padding:18px}.edit-form .editor-hint{font-size:11px}.edit-form .save-row{gap:18px;flex-wrap:wrap}.edit-form .save-row>div{display:flex;gap:10px}.draft-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:14px 18px;margin-bottom:28px;border-radius:6px;background:#fff6e5;color:#8a6e38;font-size:12px}.draft-banner>div{display:flex;align-items:center;gap:16px}.statusbar{position:sticky;bottom:0;z-index:2;background:#f6f7f9;min-height:38px}.statusbar>span:first-child{display:flex;align-items:center;min-width:0;flex:1}.statusbar #mode-label{flex-shrink:0}.statusbar #mode-context{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:7px}.statusbar #key-hints{letter-spacing:0;flex-shrink:0}@media(max-width:1150px){.view-toolbar{margin-left:24px;margin-right:24px}.single-content{padding-left:24px;padding-right:24px}.statusbar #key-hints{max-width:42%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}@media(max-width:900px){.topbar{flex-wrap:wrap;height:auto;min-height:74px;gap:5px 12px;padding-top:12px;padding-bottom:12px}.breadcrumbs{flex-basis:100%}.topbar .search{width:auto;flex:1}.view-toolbar{margin-left:20px;margin-right:20px}.single-content{padding-left:20px;padding-right:20px}.home-view{padding:45px 24px}.home-view h1{font-size:30px}.item-view{padding:24px}.item-heading .heading-actions .secondary{width:auto;height:auto;font-size:12px;padding:9px 12px;gap:8px}.item-heading .heading-actions .secondary:before{content:none}.item-heading .heading-actions kbd,.statusbar #key-hints{display:none}}@media(max-width:600px){.topbar{min-height:84px}.topbar .mobile-tools{margin-left:0}.view-toolbar{margin:16px 18px 0}.single-content{padding:0 14px}.page-heading{flex-wrap:wrap}.item-view{padding:20px}.item-heading{display:block}.item-heading .heading-actions{margin-top:14px;justify-content:flex-end}.home-view{padding:35px 18px}.home-shortcuts{flex-direction:column;gap:14px}.edit-form .properties{grid-template-columns:1fr}.edit-form #body{min-height:280px;font-size:13px;padding:12px}.project-tasks .section-heading{flex-wrap:wrap;gap:12px}.project-task-actions{justify-content:flex-start}.project-tasks .secondary{font-size:11px}.item-row{gap:9px}.row-open{display:none}.item-row time{font-size:9px}}
