:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:linear-gradient(135deg,#0c0c0c,#1a1a1a);min-height:100vh;color:#fff;line-height:1.6;overflow:hidden}.note-app{height:100vh;width:100vw;padding:16px;background:linear-gradient(145deg,#1a1a1a,#2a2a2a)}.app-layout{display:flex;height:100%;width:100%;gap:16px}.editor{flex:0 0 35%;display:flex;flex-direction:column;background:#ffffff0d;border-radius:16px;padding:20px;border:1px solid rgba(255,255,255,.1);overflow:hidden}.workspace-section{margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.1)}.workspace-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.workspace-header h2{font-size:1rem;color:#a855f7}.workspace-toggle{background:none;border:none;color:#888;cursor:pointer;font-size:.9rem;padding:4px}.current-workspace{font-size:.9rem;color:#ddd}.workspace-list{margin-top:8px;padding:8px;background:#ffffff0d;border-radius:8px}.workspace-item{padding:6px 8px;border-radius:4px;cursor:pointer;transition:background .2s ease;margin-bottom:4px;font-size:.85rem}.workspace-item:hover{background:#ffffff1a}.workspace-item.active{background:#a855f733;border-left:3px solid #a855f7}.create-workspace-btn{width:100%;padding:6px;border:1px dashed rgba(255,255,255,.3);border-radius:4px;background:transparent;color:#888;cursor:pointer;transition:all .2s ease;margin-top:8px;font-size:.8rem}.create-workspace-btn:hover{border-color:#a855f7;color:#a855f7}.editor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.1)}.editor-header h1{font-size:1.4rem;background:linear-gradient(45deg,#a855f7,#3b82f6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.header-actions{display:flex;align-items:center;gap:12px}.new-note-btn{padding:6px 12px;border:none;border-radius:6px;background:linear-gradient(45deg,#a855f7,#3b82f6);color:#fff;cursor:pointer;transition:all .2s ease;font-size:.85rem;font-weight:500}.new-note-btn:hover{background:linear-gradient(45deg,#9333ea,#2563eb);transform:translateY(-1px)}.pending-saves{font-size:.8rem;color:#f59e0b;font-weight:500;padding:4px 8px;background:#f59e0b1a;border-radius:4px;border:1px solid rgba(245,158,11,.3)}.note-title-input{width:100%;font-size:1.2rem;font-weight:600;margin-bottom:12px;padding:10px 12px;border-radius:8px;border:2px solid transparent;background:#ffffff0d;color:#fff;transition:all .3s ease;outline:none}.note-title-input:focus{border-color:#a855f7;background:#ffffff14;box-shadow:0 0 0 3px #a855f71a}.note-title-input::placeholder{color:#666}.textarea-container{position:relative;flex:1;margin-bottom:12px}.note-textarea{width:100%;height:100%;font-size:1rem;padding:12px;border-radius:8px;border:2px solid transparent;background:#ffffff08;color:#fff;resize:none;outline:none;transition:all .3s ease;font-family:inherit;line-height:1.5}.note-textarea:focus{border-color:#3b82f6;background:#ffffff0d;box-shadow:0 0 0 3px #3b82f61a}.note-textarea::placeholder{color:#666}.mentions-dropdown{position:fixed;background:#1a1a1af2;border:1px solid rgba(255,255,255,.1);border-radius:12px;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);z-index:1000;width:320px;max-height:420px;overflow:hidden;box-shadow:0 20px 40px #0009,0 0 0 1px #a855f733;animation:dropdownSlide .2s ease-out;display:flex;flex-direction:column}@keyframes dropdownSlide{0%{opacity:0;transform:translateY(-10px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.mentions-header{padding:12px 16px;font-size:.85rem;font-weight:600;color:#a855f7;border-bottom:1px solid rgba(255,255,255,.1);background:#a855f71a;display:flex;align-items:center;gap:8px;flex-shrink:0}.mentions-list{max-height:320px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(168,85,247,.5) transparent}.mentions-list::-webkit-scrollbar{width:6px}.mentions-list::-webkit-scrollbar-track{background:transparent}.mentions-list::-webkit-scrollbar-thumb{background:#a855f780;border-radius:3px}.mentions-list::-webkit-scrollbar-thumb:hover{background:#a855f7b3}.mention-item{display:flex;align-items:center;padding:12px 16px;cursor:pointer;transition:all .2s ease;border-bottom:1px solid rgba(255,255,255,.05)}.mention-item:hover,.mention-item.selected{background:#a855f726;border-left:4px solid #a855f7}.mention-avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(45deg,#3b82f6,#a855f7);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem;margin-right:12px;color:#fff;flex-shrink:0}.mention-info{flex:1;min-width:0}.mention-username{font-weight:600;color:#fff;font-size:.9rem}.mention-name{font-size:.8rem;color:#888;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mention-email{font-size:.75rem;color:#666;margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mentions-footer{padding:8px 16px;font-size:.75rem;color:#666;background:#ffffff05;text-align:center;border-top:1px solid rgba(255,255,255,.05);flex-shrink:0}.status-bar{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#ffffff08;border-radius:6px;font-size:.8rem;border:1px solid rgba(255,255,255,.05)}.status-left{display:flex;align-items:center;gap:12px}.status-right{color:#888;font-family:SF Mono,Consolas,monospace}.error{color:#ef4444;font-weight:500}.saving{color:#f59e0b;font-weight:500}.saved{color:#10b981;font-weight:500}.unsaved{color:#f59e0b;font-weight:500}.shortcut-hint{color:#666;font-size:.75rem;font-family:SF Mono,Consolas,monospace;opacity:.8}.notes-sidebar{flex:1;display:flex;flex-direction:column;padding:20px;overflow:hidden}.notes-header{margin-bottom:20px}.notes-header h2{font-size:1.8rem;color:#a855f7;text-align:center}.sticky-notes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;height:100%;overflow-y:auto;padding-right:8px}.sticky-note{background:linear-gradient(135deg,#fef3c7,#fbbf24);color:#92400e;border-radius:4px;padding:16px;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #0000001a,0 0 0 1px #0000000d;position:relative;height:fit-content;min-height:140px;transform:rotate(-1deg);font-family:Comic Sans MS,cursive,sans-serif}.sticky-note.dirty{box-shadow:0 2px 8px #0000001a,0 0 0 2px #fbbf2480}.sticky-note:nth-child(2n){background:linear-gradient(135deg,#ddd6fe,#8b5cf6);color:#5b21b6;transform:rotate(1deg)}.sticky-note:nth-child(2n).dirty{box-shadow:0 2px 8px #0000001a,0 0 0 2px #8b5cf680}.sticky-note:nth-child(3n){background:linear-gradient(135deg,#bbf7d0,#10b981);color:#065f46;transform:rotate(-.5deg)}.sticky-note:nth-child(3n).dirty{box-shadow:0 2px 8px #0000001a,0 0 0 2px #10b98180}.sticky-note:nth-child(4n){background:linear-gradient(135deg,#fecaca,#ef4444);color:#991b1b;transform:rotate(.8deg)}.sticky-note:nth-child(4n).dirty{box-shadow:0 2px 8px #0000001a,0 0 0 2px #ef444480}.sticky-note:nth-child(5n){background:linear-gradient(135deg,#bfdbfe,#3b82f6);color:#1e3a8a;transform:rotate(-1.2deg)}.sticky-note:nth-child(5n).dirty{box-shadow:0 2px 8px #0000001a,0 0 0 2px #3b82f680}.sticky-note:hover{transform:rotate(0) scale(1.02);box-shadow:0 8px 24px #0003,0 0 0 2px #a855f74d;z-index:10}.sticky-note.active{transform:rotate(0) scale(1.05);box-shadow:0 12px 32px #0000004d,0 0 0 3px #a855f780;z-index:20}.sticky-note-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:.75rem;opacity:.7}.note-id{font-weight:700;display:flex;align-items:center;gap:4px}.dirty-indicator{color:#f59e0b;font-size:.8rem;animation:pulse 2s infinite}.note-date{font-size:.7rem}.sticky-note-title{font-size:1rem;font-weight:700;margin-bottom:8px;line-height:1.2;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.sticky-note-content{font-size:.85rem;line-height:1.4;word-break:break-word;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;opacity:.8}.note-title-input:disabled,.note-textarea:disabled{opacity:.6;cursor:not-allowed;background:#ffffff05}.note-title-input:disabled::placeholder,.note-textarea:disabled::placeholder{color:#444}.empty-state{text-align:center;padding:40px;color:#666;font-style:italic;grid-column:1 / -1}.loading-skeleton{display:flex;height:100vh;width:100vw;gap:16px;padding:16px;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.skeleton-sidebar{flex:0 0 35%;background:#ffffff1a;border-radius:16px}.skeleton-editor{flex:1;background:#ffffff1a;border-radius:16px}@media (max-width: 1024px){.app-layout{flex-direction:column;height:auto}.editor{flex:none;margin-bottom:20px}.notes-sidebar{flex:none}.sticky-notes-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));height:auto}}@media (max-width: 768px){.note-app{padding:8px}.app-layout{gap:12px}.sticky-notes-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.sticky-note{min-height:100px;padding:12px}.mentions-dropdown{width:280px}}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.sticky-note{transform:none!important}.sticky-note:hover{transform:scale(1.02)!important}}.note-textarea:focus,.note-title-input:focus{outline:2px solid #a855f7;outline-offset:2px}
