@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{--evernote-green: #2dbe60;--evernote-green-hover: #25a854;--evernote-green-light: rgba(45, 190, 96, .1);--evernote-green-lighter: rgba(45, 190, 96, .05);--bg-primary: #ffffff;--bg-secondary: #f7f7f7;--bg-tertiary: #eff2f3;--bg-hover: #e8ebec;--bg-sidebar: #fafafa;--text-primary: #1a1a1a;--text-secondary: #525e63;--text-muted: #7b868a;--text-light: #aeb6b8;--border: #e0e4e5;--border-light: #eff2f3;--success: #2dbe60;--warning: #f5a623;--error: #e53e3e;--info: #2facb2;--radius-sm: 4px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);--shadow: 0 2px 8px rgba(0, 0, 0, .08);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .12);--sidebar-width: 240px;--notelist-width: 300px;--header-height: 52px}*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}html,body,#root{height:100%}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;line-height:1.5;color:var(--text-primary);background:var(--bg-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--text-light)}h1{font-size:1.75rem;font-weight:600;color:var(--text-primary)}h2{font-size:1.5rem;font-weight:600;color:var(--text-primary)}h3{font-size:1.25rem;font-weight:600;color:var(--text-primary)}h4{font-size:1rem;font-weight:600;color:var(--text-primary)}a{color:var(--evernote-green);text-decoration:none}a:hover{text-decoration:underline}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 16px;font-size:13px;font-weight:500;font-family:inherit;border-radius:var(--radius-md);border:none;cursor:pointer;transition:all .15s ease;white-space:nowrap}.btn-primary{background:var(--evernote-green);color:#fff}.btn-primary:hover{background:var(--evernote-green-hover)}.btn-secondary{background:var(--bg-tertiary);color:var(--text-primary)}.btn-secondary:hover{background:var(--bg-hover)}.btn-ghost{background:transparent;color:var(--text-secondary)}.btn-ghost:hover{background:var(--bg-tertiary);color:var(--text-primary)}.btn-icon{padding:8px;border-radius:var(--radius-sm)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.active{background:var(--evernote-green-light);color:var(--evernote-green)}input,textarea,select{font-family:inherit;font-size:14px;color:var(--text-primary);background:var(--bg-primary);border:1px solid var(--border);border-radius:var(--radius-md);padding:10px 12px;width:100%;transition:border-color .15s ease,box-shadow .15s ease}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--evernote-green);box-shadow:0 0 0 3px var(--evernote-green-light)}input::placeholder,textarea::placeholder{color:var(--text-light)}.app-layout{display:flex;height:100vh;overflow:hidden;background:var(--bg-primary)}.sidebar{width:var(--sidebar-width);background:var(--bg-sidebar);border-right:1px solid var(--border-light);display:flex;flex-direction:column;flex-shrink:0}.main-content{flex:1;display:flex;flex-direction:column;overflow:hidden}.header{height:var(--header-height);background:var(--bg-primary);border-bottom:1px solid var(--border-light);display:flex;align-items:center;padding:0 16px;gap:12px}.card{background:var(--bg-primary);border:1px solid var(--border-light);border-radius:var(--radius-lg);padding:16px}.tag{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;font-size:12px;font-weight:500;background:var(--evernote-green-light);color:var(--evernote-green);border-radius:999px;cursor:pointer;transition:all .15s ease}.tag:hover{background:var(--evernote-green);color:#fff}.status-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.status-online{background:var(--success)}.status-offline{background:var(--warning)}.status-syncing{background:var(--info);animation:pulse 1s infinite}.status-error{background:var(--error)}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.note-item{padding:14px 16px;cursor:pointer;transition:background .1s ease;border-left:3px solid transparent}.note-item:hover{background:var(--bg-secondary)}.note-item.active{background:var(--evernote-green-lighter);border-left-color:var(--evernote-green)}.note-item-title{font-weight:500;font-size:14px;margin-bottom:4px;display:flex;align-items:center;gap:8px;color:var(--text-primary)}.note-item-preview{font-size:13px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4}.note-item-meta{font-size:11px;color:var(--text-light);margin-top:6px;display:flex;align-items:center;gap:8px}.editor-container{flex:1;display:flex;flex-direction:column;background:var(--bg-primary)}.editor-header{padding:20px 32px 16px}.editor-title{font-size:28px;font-weight:600;background:transparent;border:none;color:var(--text-primary);width:100%;line-height:1.3}.editor-title:focus{outline:none}.editor-title::placeholder{color:var(--text-light)}.editor-body{flex:1;padding:0 32px 32px;overflow-y:auto}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal{background:var(--bg-primary);border-radius:var(--radius-xl);padding:24px;width:100%;max-width:480px;max-height:90vh;overflow-y:auto;box-shadow:var(--shadow-lg)}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-title{font-size:18px;font-weight:600}.modal-footer{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:16px;border-top:1px solid var(--border-light)}.toast-container{position:fixed;bottom:24px;right:24px;z-index:1100;display:flex;flex-direction:column;gap:8px}.toast{background:var(--text-primary);color:#fff;border-radius:var(--radius-md);padding:12px 16px;display:flex;align-items:center;gap:12px;box-shadow:var(--shadow-lg);animation:slideIn .2s ease;font-size:13px}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.offline-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;font-size:11px;font-weight:500;background:var(--evernote-green-light);color:var(--evernote-green);border-radius:var(--radius-sm)}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:64px 24px;text-align:center;color:var(--text-muted)}.empty-state-icon{font-size:48px;margin-bottom:16px;opacity:.5}.fab{position:fixed;bottom:24px;right:24px;width:56px;height:56px;border-radius:50%;background:var(--evernote-green);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #2dbe6066;transition:all .2s ease;z-index:100}.fab:hover{background:var(--evernote-green-hover);transform:scale(1.05)}.checklist-item{display:flex;align-items:flex-start;gap:10px;padding:8px 0;margin:4px 0}.checklist-item input[type=checkbox]{width:18px;height:18px;margin-top:2px;cursor:pointer;accent-color:var(--evernote-green);border-radius:4px}.checklist-item.checked span{text-decoration:line-through;color:var(--text-muted)}.checklist-item span{flex:1;outline:none;line-height:1.5}.internal-link{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;background:var(--evernote-green-light);color:var(--evernote-green);border-radius:4px;text-decoration:none;font-size:13px;cursor:pointer;transition:all .15s ease}.internal-link:hover{background:var(--evernote-green);color:#fff;text-decoration:none}.internal-link:before{content:"🔗";font-size:11px}.editor-body a[href^=http]{color:var(--evernote-green);text-decoration:underline}.drawing-embed{display:block;max-width:100%;border-radius:var(--radius-md);border:1px solid var(--border);margin:12px 0}@media (max-width: 768px){:root{--sidebar-width: 100%;--notelist-width: 100%}.sidebar{position:fixed;left:-100%;top:0;bottom:0;z-index:100;transition:left .2s ease}.sidebar.open{left:0}.sidebar-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000004d;z-index:99}}.loading-screen{display:flex;align-items:center;justify-content:center;height:100vh;background:var(--bg-primary)}.loading-spinner{width:40px;height:40px;border:3px solid var(--border);border-top-color:var(--evernote-green);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.spinning{animation:spin 1s linear infinite}.divider{width:1px;height:20px;background:var(--border);margin:0 4px}.search-highlight{background:var(--evernote-green-light);padding:1px 2px;border-radius:2px}
