*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{color:#1b2430;background:#f4f6f8;margin:0;font-family:system-ui,-apple-system,sans-serif;line-height:1.4}h1{margin:0 0 14px;font-size:1.5rem}h2{margin:0 0 12px;font-size:1.1rem}a{color:#2b6cb0}label{color:#475467;font-size:.85rem;font-weight:600}.topnav{color:#fff;background:#1f3a5f;align-items:center;gap:16px;padding:10px 20px;display:flex}.topnav a{color:#cfe0ff;border-radius:6px;padding:6px 10px;text-decoration:none}.topnav a.active,.topnav a:hover{color:#fff;background:#2d4f7c}.toplinks{gap:4px;display:flex}.topnav button{background:#2d4f7c}.spacer{flex:1}.tabbar{display:none}main{max-width:900px;margin:24px auto;padding:0 16px}.card{background:#fff;border-radius:12px;margin-bottom:16px;padding:18px;box-shadow:0 1px 3px #00000014}.narrow{max-width:420px;margin:40px auto}.center{text-align:center;margin-top:60px}input,select,textarea,button{font:inherit;border:1px solid #c5ccd6;border-radius:8px;min-height:42px;padding:10px 12px}input,select,textarea{background:#fff;width:100%;margin:4px 0 12px}button{color:#fff;cursor:pointer;background:#2b6cb0;border:none}button:disabled{opacity:.55;cursor:not-allowed}button.secondary{color:#1b2430;background:#e2e8f0}button.danger{background:#c53030}button.block{width:100%}.grid2{grid-template-columns:1fr 1fr;gap:12px;display:grid}.row{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.row:last-child{border-bottom:none}.grow{word-break:break-word;flex:1;min-width:0}.muted{color:#667085;font-size:.85rem}.error{color:#c53030}.badge{white-space:nowrap;background:#e2e8f0;border-radius:99px;padding:2px 8px;font-size:.75rem}.actions{flex-wrap:wrap;gap:8px;display:flex}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;display:flex}.toolbar input,.toolbar select{flex:140px;width:auto;margin:0}.chips{flex-wrap:wrap;gap:6px;margin-bottom:8px;display:flex}.chip{color:#2d3748;background:#edf2f7;border-radius:99px;min-height:34px;padding:4px 12px;font-size:.9rem}.chip.on{color:#fff;background:#2b6cb0}.tagchip{color:#2b6cb0;background:#ebf4ff;border-radius:99px;margin:2px 4px 0 0;padding:1px 9px;font-size:.78rem;display:inline-block}.tag-add{gap:8px;display:flex}.tag-add input{margin:0}.tag-add button{white-space:nowrap}.tagpicker{margin-bottom:12px}.drop{text-align:center;cursor:pointer;border:2px dashed #a0aec0;border-radius:12px;flex-direction:column;gap:4px;margin-bottom:12px;padding:24px 12px;display:flex}.drop.over{background:#ebf4ff;border-color:#2b6cb0}.filelist{margin-bottom:12px}.file{border-bottom:1px solid #edf0f4;align-items:center;gap:12px;padding:10px 0;display:flex}.file:last-child{border-bottom:none}.thumb{cursor:pointer;background:#edf2f7;border-radius:8px;flex:none;justify-content:center;align-items:center;width:56px;height:56px;font-size:1.6rem;display:flex;overflow:hidden}.thumb img{object-fit:cover;width:100%;height:100%}.file-title{color:#2b6cb0;text-align:left;background:0 0;border:none;min-height:0;padding:0;font-weight:600}.overlay{z-index:50;background:#00000073;justify-content:center;align-items:center;padding:12px;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:14px;width:100%;max-width:560px;max-height:92vh;padding:18px;overflow:auto}.modal-head{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.modal-head h2{margin:0}.toasts{z-index:60;pointer-events:none;flex-direction:column;align-items:center;gap:8px;display:flex;position:fixed;bottom:80px;left:0;right:0}.toast{color:#fff;background:#2d3748;border-radius:10px;max-width:90vw;padding:10px 16px;box-shadow:0 4px 12px #00000040}.toast.error{background:#c53030}.stats{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin-bottom:16px;display:grid}.stat{text-align:center;color:inherit;background:#fff;border-radius:12px;padding:14px;text-decoration:none;box-shadow:0 1px 3px #00000014}.stat b{font-size:1.6rem;display:block}.quick{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.quick a{color:#fff;background:#2b6cb0;border-radius:10px;padding:10px 16px;font-weight:600;text-decoration:none}@media (max-width:700px){.toplinks,.who{display:none}.topnav{padding:10px 14px}main{margin:14px auto 90px;padding:0 12px}.tabbar{z-index:40;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #dde3ea;display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar a{text-align:center;color:#667085;flex:1;padding:8px 2px;font-size:.72rem;text-decoration:none}.tabbar a.active{color:#2b6cb0;font-weight:700}.tabbar .ico{font-size:1.3rem;display:block}.grid2{grid-template-columns:1fr;gap:0}.row,.file{flex-wrap:wrap}.file .actions{width:100%}.file .actions button{flex:1}.modal{max-height:96vh}input,select,textarea{font-size:16px}}.pagehead{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;display:flex}.pagehead h1{margin:0}.small{color:#667085;font-size:.78rem}.crumbs{flex-wrap:wrap;align-items:center;gap:4px;margin-bottom:12px;display:flex}.crumb{color:#2b6cb0;background:0 0;border-radius:8px;min-height:34px;padding:4px 8px}.crumb.last{color:#1b2430;font-weight:700}.crumb.over,.item.over{background:#ebf4ff;outline:2px dashed #2b6cb0}.seg{gap:0;display:flex}.seg button{border-radius:0;min-width:44px}.seg button:first-child{border-radius:8px 0 0 8px}.seg button:last-child{border-radius:0 8px 8px 0}.seg button.on{color:#fff;background:#2b6cb0}.empty{text-align:center;padding:28px 8px}.selbar{z-index:5;background:#ebf4ff;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;padding:8px 12px;display:flex;position:sticky;top:0}.items.grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.items.list{flex-direction:column;display:flex}.item{cursor:pointer;border-radius:12px;position:relative}.item.grid{background:#f8fafc;border:1px solid #e2e8f0;flex-direction:column;display:flex;overflow:hidden}.item.list{border-bottom:1px solid #edf0f4;border-radius:0;align-items:center;gap:12px;padding:8px 4px;display:flex}.item.selected{background:#ebf4ff;outline:2px solid #2b6cb0}.item.grid .thumbwrap{aspect-ratio:1;background:#edf2f7}.item.list .thumbwrap{background:#edf2f7;border-radius:8px;flex:none;width:56px;height:56px;overflow:hidden}.thumbfill{justify-content:center;align-items:center;width:100%;height:100%;font-size:2.4rem;display:flex}.item.list .thumbfill{font-size:1.6rem}.thumbfill img{object-fit:cover;width:100%;height:100%}.item .meta{flex:1;min-width:0;padding:8px 10px}.item.list .meta{padding:0}.item .name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.item .menu{opacity:.92;min-height:34px;padding:2px 10px;position:absolute;top:6px;right:6px}.item.list .menu{flex:none;position:static}.selbox{z-index:2;background:#ffffffe6;border-radius:6px;padding:2px 4px;display:flex;position:absolute;top:6px;left:6px}.selbox input{width:20px;height:20px;min-height:0;margin:0}.item.list .selbox{background:0 0;position:static}.item.folder .thumbfill{background:#fff7e0}.check{color:inherit;align-items:center;gap:10px;padding:6px 0;font-weight:400;display:flex}.check input{flex:none;width:20px;height:20px;min-height:0;margin:0}.people{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;max-height:260px;margin:4px 0 12px;padding:10px;overflow:auto}.sheet{flex-direction:column;gap:8px;display:flex}.viewer{z-index:70;color:#fff;background:#0f141cf5;flex-direction:column;display:flex;position:fixed;inset:0}.viewer-bar{align-items:center;gap:8px;padding:10px 14px;display:flex}.viewer .small{color:#a0aec0}.viewer-body{flex:1;justify-content:center;align-items:center;min-height:0;padding:0 8px 12px;display:flex;position:relative}.viewer-body img,.viewer-body video{object-fit:contain;max-width:100%;max-height:100%}.viewer-body iframe{background:#fff;border:none;border-radius:8px;width:100%;height:100%}.viewer .nav{color:#fff;z-index:3;background:#ffffff2e;width:48px;height:64px;padding:0;font-size:2rem;position:absolute;top:50%;transform:translateY(-50%)}.viewer .prev{left:6px}.viewer .next{right:6px}@media (max-width:700px){.items.grid{grid-template-columns:repeat(2,1fr);gap:8px}.pagehead button{flex:1}}.excerpt{color:#475467;-webkit-line-clamp:4;word-break:break-word;-webkit-box-orient:vertical;margin:0;font-size:.9rem;display:-webkit-box;overflow:hidden}.progress{background:#e2e8f0;border-radius:99px;height:6px;overflow:hidden}.progress div{background:#38a169;height:100%}.templates{flex-direction:column;gap:8px;display:flex}.tpl{text-align:left;justify-content:flex-start;align-items:center;gap:12px;display:flex}.tpl strong,.tpl .small{display:block}.tpl-ico{font-size:1.6rem}.note-editor{color:#1b2430;background:#f4f6f8}.note-editor .viewer-bar{background:#fff;border-bottom:1px solid #e2e8f0}.note-editor .small{color:#667085}.note-body{flex-direction:column;flex:1;gap:8px;width:100%;max-width:820px;margin:0 auto;padding:16px 16px 40px;display:flex;overflow:auto}.note-title{background:0 0;border:none;margin:0;padding:4px 0;font-size:1.6rem;font-weight:700}.note-title:focus{outline:none}.note-text{resize:vertical;min-height:55vh;margin:0;font-family:inherit;line-height:1.55}.modeseg{align-self:flex-start}.mdbar{z-index:2;background:#f4f6f8;flex-wrap:wrap;gap:4px;padding:4px 0;display:flex;position:sticky;top:0}.mdbar button{min-width:40px;padding:4px 8px;font-weight:700}.banner{color:#664d03;background:#fff3cd;padding:10px 16px}.md{word-break:break-word;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:12px 16px;line-height:1.6}.md h2,.md h3,.md h4{margin:1em 0 .4em}.md p{margin:.5em 0}.md blockquote{color:#475467;background:#f8fafc;border-left:4px solid #cbd5e0;margin:.6em 0;padding:4px 12px}.md pre{color:#f3f4f6;background:#1f2937;border-radius:8px;padding:12px;overflow:auto}.md code{background:#edf2f7;border-radius:4px;padding:1px 5px;font-size:.9em}.md pre code{background:0 0;padding:0}.md hr{border:none;border-top:1px solid #e2e8f0;margin:1em 0}.md-list{margin:.5em 0;padding:0;list-style:none}.md-list li{align-items:flex-start;gap:8px;padding:2px 0;display:flex}.md-list .mk{color:#667085;min-width:1.2em}.md-list input{flex:none;width:20px;height:20px;min-height:0;margin:2px 0 0}.md-list .done{color:#98a2b3;text-decoration:line-through}@media (max-width:700px){.tabbar a{padding:6px 0;font-size:.66rem}.tabbar .ico{font-size:1.15rem}.notegrid{grid-template-columns:1fr}.note-body{padding:12px 12px 90px}.note-title{font-size:1.35rem}}.linkchip{color:#2b6cb0;background:#ebf4ff;border-radius:6px;align-items:center;gap:4px;padding:0 8px;font-size:.95em;text-decoration:none;display:inline-flex}.linkchip:hover{background:#d6e8ff}.linkchip.missing{color:#667085;background:#f1f3f5}.linkchip.pending{opacity:.6}.embed{max-width:100%;margin:8px 0;display:block}.embed img{border:1px solid #e2e8f0;border-radius:10px;max-width:100%;max-height:420px;display:block}.filecard{color:inherit;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:10px;padding:8px 12px;text-decoration:none;display:inline-flex}.filecard strong,.filecard .small{display:block}.backlinks{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;display:flex}.viewer-links{padding:0 14px}.hits{flex-direction:column;gap:6px;max-height:50vh;margin:8px 0 12px;display:flex;overflow:auto}.hit{text-align:left;justify-content:flex-start;align-items:center;gap:10px;display:flex}.hit strong,.hit .small{display:block}.hit .small{color:inherit;opacity:.75}.hit-ico{font-size:1.3rem}.row.flash{animation:2.5s ease-out flash}@keyframes flash{0%{background:#fff3bf}to{background:0 0}}.spaceswitch{color:#fff;background:#2d4f7c;border:none;width:auto;max-width:170px;min-height:36px;margin:0;padding:4px 8px}.btnlink{color:#1b2430;background:#e2e8f0;border-radius:8px;align-items:center;padding:10px 14px;text-decoration:none;display:inline-flex}@media (max-width:700px){.spaceswitch{flex:1;max-width:none}.topnav .brand{display:none}}.homehead h1{margin:0}.homehead p{margin:2px 0 14px}.homegrid{grid-template-columns:1fr 1fr;align-items:start;gap:16px;display:grid}.homecol{min-width:0}.cardhead{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px;display:flex}.cardhead h2{margin:0}.capture textarea{resize:vertical;margin:0 0 8px}.capture-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.capture .small{margin:6px 0 0}.spacecards{scrollbar-width:thin;gap:8px;margin-bottom:4px;padding:2px 2px 12px;display:flex;overflow-x:auto}.spacecard{color:#1b2430;text-align:left;background:#fff;border:1px solid #dde3ea;border-radius:12px;flex-direction:column;flex:none;gap:2px;min-width:120px;padding:10px 14px;display:flex}.spacecard.on{background:#ebf4ff;border-color:#2b6cb0;box-shadow:0 0 0 1px #2b6cb0}.spacecard-ico{font-size:1.3rem}.agenda-day{margin-bottom:10px}.agenda-label{text-transform:uppercase;letter-spacing:.04em;color:#667085;margin-bottom:4px;font-size:.8rem;font-weight:700}.agenda-item,.listlink{color:inherit;border-radius:8px;align-items:center;gap:12px;padding:8px 6px;text-decoration:none;display:flex}.agenda-item:hover,.listlink:hover{background:#f1f5f9}.agenda-item strong,.agenda-item .small,.listlink strong,.listlink .small{display:block}.agenda-time{color:#2b6cb0;min-width:64px;font-size:.9rem;font-weight:600}.listlink .right{text-align:right;flex:none}.listlink .grow{overflow:hidden}.listlink .grow .small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.task{align-items:flex-start}.task input{margin-top:2px}.tasknote{color:#667085;text-decoration:none;display:block}.tasknote:hover{text-decoration:underline}.homefiles{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.homefile{color:inherit;flex-direction:column;gap:2px;min-width:0;text-decoration:none;display:flex}.homefile .name{text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;font-weight:600;overflow:hidden}.homethumb{aspect-ratio:1;background:#edf2f7;border-radius:10px;overflow:hidden}.notice{border-radius:10px;margin-bottom:12px}@media (max-width:800px){.homegrid{grid-template-columns:1fr;gap:0}.homefiles{grid-template-columns:repeat(3,1fr);gap:8px}.capture-row .btnlink,.capture-row button{text-align:center;flex:1;justify-content:center}}.storage{margin:6px 0}.storage-text{justify-content:space-between;gap:8px;margin-bottom:4px;font-size:.85rem;display:flex}.storage-track{background:#e2e8f0;border-radius:99px;height:8px;overflow:hidden}.storage-track div{background:#2b6cb0;border-radius:99px;height:100%;transition:width .3s}.storage-track.warn div{background:#dd9a1a}.storage-track.full div{background:#c53030}.storage-warn{color:#b7791f}.storage-full{color:#c53030;font-weight:600}.toast.hasaction{pointer-events:auto;align-items:center;gap:12px;display:flex}.toast.hasaction button{background:#fff3;min-height:32px;padding:2px 12px}.codeblock{margin:8px 0 12px;position:relative}.codeblock pre{color:#f3f4f6;white-space:pre-wrap;word-break:break-all;background:#1f2937;border-radius:8px;margin:0;padding:12px;font-size:.8rem;overflow:auto}.codeblock button{min-height:30px;padding:2px 10px;position:absolute;top:6px;right:6px}code{word-break:break-all;background:#edf2f7;border-radius:4px;padding:1px 5px;font-size:.9em}.codeinput{text-align:center;letter-spacing:.4em;font-variant-numeric:tabular-nums;font-size:1.6rem}.qr{justify-content:center;margin:8px 0;display:flex}.qr img{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:8px}.steps{margin:8px 0 12px;padding-left:20px}.codes{grid-template-columns:1fr 1fr;gap:6px;margin:10px 0;display:grid}.codes code{text-align:center;letter-spacing:.08em;padding:8px;font-size:1.05rem}.addmenu{align-items:center;gap:8px;display:flex;position:relative}.addmenu .quickadd{gap:8px;display:flex}.addmenu .addmore{display:none}.menu-pop{z-index:30;background:#fff;border:1px solid #dde3ea;border-radius:12px;flex-direction:column;gap:6px;min-width:220px;padding:8px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #0000002e}.menu-pop button{color:#1b2430;text-align:left;background:#f1f5f9}.menu-pop p{margin:2px 6px}.notethumb{background:#fffdf5;justify-content:flex-start;align-items:flex-start;width:100%;height:100%;padding:10px;font-size:1.6rem;display:flex;overflow:hidden}.notethumb p{color:#475467;-webkit-line-clamp:7;word-break:break-word;-webkit-box-orient:vertical;margin:0;font-size:.78rem;line-height:1.35;display:-webkit-box;overflow:hidden}.item.note.grid{background:#fffdf5;border-color:#efe6c8}.item.list .notethumb{justify-content:center;align-items:center;padding:0}.note-text.dropping{background:#ebf4ff;outline:2px dashed #2b6cb0}@media (max-width:700px){.addmenu .quickadd{display:none}.addmenu .addmore{display:block}}
