.notes-workspace{height:calc(100vh - var(--header-h));display:grid;grid-template-columns:256px minmax(0,1fr);background:var(--bg)}
.notes-workspace[hidden]{display:none}.notes-sidebar{position:relative;border-right:1px solid var(--border);background:var(--surface);padding:18px 14px;overflow-y:auto;scrollbar-width:none}.notes-sidebar::-webkit-scrollbar{display:none}.notes-search{height:36px;border:1px solid var(--border);border-radius:5px;background:var(--bg);display:flex;align-items:center;gap:7px;padding:0 10px;color:var(--text-muted)}.notes-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:var(--text);font-size:13px}.note-new-btn{width:100%;height:38px;margin-top:10px;border:1px solid var(--accent);border-radius:5px;background:var(--accent);color:#fff;font-weight:500;cursor:pointer}.note-new-btn:hover{background:#244ed0}.note-create-menu{display:none;position:absolute;left:14px;right:14px;top:106px;z-index:12;padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:7px;box-shadow:var(--shadow)}.note-create-menu.open{display:block}.note-create-menu p{margin:0 0 8px;color:var(--text-muted);font-size:11px;font-weight:500}.note-create-menu p:not(:first-child){margin-top:14px}.note-create-menu>div{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.note-create-menu button{height:58px;border:0;border-radius:5px;background:transparent;color:var(--text-secondary);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer}.note-create-menu button:hover{background:var(--surface-subtle);color:var(--text)}.note-create-menu button b{font:500 14px "IBM Plex Mono",monospace;color:var(--accent)}.note-create-menu button span{font-size:11px}.note-tree{margin-top:24px}.note-tree-item{width:100%;height:36px;border:0;border-radius:5px;background:transparent;color:var(--text-secondary);display:flex;align-items:center;gap:9px;padding:0 10px;cursor:pointer;text-align:left}.note-tree-item:hover{background:var(--surface-subtle)}.note-tree-item.active{background:var(--accent-soft);color:var(--accent);font-weight:500}.note-tree-item b{margin-left:auto;font:400 10px "IBM Plex Mono",monospace;color:var(--text-muted)}.note-tree>p{height:32px;margin:18px 0 4px;padding:0 10px;color:var(--text-muted);font-size:11px;display:flex;align-items:center;justify-content:space-between;text-transform:uppercase;letter-spacing:.06em}.note-tree>p button{border:0;background:transparent;color:var(--text-muted);font-size:17px;cursor:pointer}.notes-stage{min-width:0;height:100%;overflow:hidden}.notes-board{height:100%;overflow-y:auto;padding:34px 38px;scrollbar-width:none}.notes-board::-webkit-scrollbar{display:none}.notes-heading{display:flex;align-items:center;justify-content:space-between}.notes-heading h1{font-size:25px;margin:0 0 3px}.notes-heading p{margin:0;color:var(--text-muted);font-size:12px}.note-tabs{height:54px;margin-top:22px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:24px}.note-tabs button{height:54px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--text-muted);padding:0;cursor:pointer}.note-tabs button.active{border-bottom-color:var(--text);color:var(--text);font-weight:500}.note-tabs span{flex:1}.note-tabs #noteSort{font-size:12px;border-bottom-color:transparent}.note-card-grid{display:grid;grid-template-columns:repeat(4,minmax(190px,1fr));gap:12px;margin-top:18px}.note-card{position:relative;height:205px;border:1px solid var(--border);border-radius:7px;background:var(--surface);padding:17px;cursor:pointer;overflow:hidden;transition:border-color .14s,transform .14s}.note-card:hover{border-color:var(--border-strong);transform:translateY(-2px)}.note-card h3{font-size:15px;line-height:21px;margin:0 26px 10px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.note-card p{margin:0;color:var(--text-secondary);font-size:13px;line-height:21px;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.note-card footer{position:absolute;left:17px;right:17px;bottom:13px;margin:0;padding:10px 0 0;border-top:1px solid var(--border);display:flex;color:var(--text-muted);font-size:10px}.note-card footer span:last-child{margin-left:auto}.note-card .note-star{position:absolute;right:10px;top:10px;width:30px;height:30px;border:0;background:transparent;color:var(--text-muted);cursor:pointer}.note-card .note-star.active{color:var(--accent)}.note-empty{display:none;text-align:center;padding:100px 0;color:var(--text-muted)}.note-empty h2{font-size:17px;color:var(--text)}.note-editor{height:100%;background:var(--surface);overflow:hidden}.note-editor[hidden]{display:none}.editor-nav{height:46px;border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 18px;gap:5px}.editor-crumb{flex:1;min-width:0;color:var(--text-muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editor-crumb span{margin:0 7px;color:var(--border-strong)}.editor-crumb b{font-weight:400}.editor-crumb strong{color:var(--text-secondary);font-weight:500}.editor-toolbar{height:42px;border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 22px;gap:3px}.editor-toolbar button{width:31px;height:30px;border:0;border-radius:4px;background:transparent;color:var(--text-secondary);cursor:pointer}.editor-toolbar button:hover{background:var(--surface-subtle)}.editor-toolbar>i{height:20px;width:1px;background:var(--border);margin:0 6px}.editor-toolbar>span{margin-left:auto;color:var(--text-muted);font-size:11px}.editor-page{position:relative;max-width:850px;height:calc(100% - 88px);margin:0 auto;padding:48px 54px;overflow-y:auto;scrollbar-width:none}.editor-page::-webkit-scrollbar{display:none}.editor-page>input{width:100%;border:0;outline:0;background:transparent;color:var(--text);font-size:28px;font-weight:600;letter-spacing:-.02em;padding:0;margin:0 0 24px}.editor-body{min-height:calc(100% - 110px);outline:0;color:var(--text);font-size:15px;line-height:1.8}.editor-body:empty::before{content:attr(data-placeholder);color:var(--text-muted)}.editor-page>small{position:fixed;right:24px;bottom:18px;color:var(--text-muted);font:10px "IBM Plex Mono",monospace}
.folder-chevron{width:10px;text-align:center}.folder-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-note-list[hidden]{display:none}.folder-note-list{padding:2px 0 5px 20px}.folder-note{width:100%;height:31px;border:0;border-radius:4px;background:transparent;color:var(--text-secondary);display:flex;align-items:center;gap:7px;padding:0 9px;text-align:left;cursor:pointer}.folder-note:hover,.folder-note.current{background:var(--surface-subtle);color:var(--text)}.folder-note.current{color:var(--accent)}.folder-note span{font:500 10px "IBM Plex Mono",monospace;color:var(--text-muted)}.folder-note em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;font-size:12px}.note-card .note-type{display:inline-flex;height:20px;align-items:center;margin:0 0 9px;padding:0 7px;border-radius:3px;background:var(--surface-subtle);color:var(--text-muted);font-size:10px}.note-card .note-type+h3{margin-top:0}.editor-type{height:22px;display:inline-flex;align-items:center;padding:0 7px;border-radius:3px;background:var(--accent-soft);color:var(--accent);font-size:10px;font-weight:500}.note-editor[data-editor-mode="markdown"] .format-command,.note-editor[data-editor-mode="markdown"] .format-divider{display:none}.note-editor[data-editor-mode="markdown"] .editor-body{font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px;line-height:1.75;white-space:pre-wrap}
@media(max-width:1100px){.note-card-grid{grid-template-columns:repeat(3,minmax(180px,1fr))}}
@media(max-width:820px){.notes-workspace{grid-template-columns:1fr}.notes-sidebar{display:none}.notes-board{padding:26px 18px}.note-card-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}}
@media(max-width:540px){.note-card-grid{grid-template-columns:1fr}.notes-heading .secondary-btn{display:inline-flex}.editor-page{padding:32px 22px}.editor-page>input{font-size:24px}}
