*,:after,:before{box-sizing:border-box}#root,body,html{height:100%;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.notes-app{background:#fff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;height:100vh;overflow:hidden}.sidebar{background:#f5f4f0;border-right:1px solid #ddd;display:flex;flex-direction:column;min-width:220px;-webkit-user-select:none;user-select:none;width:220px}.sidebar-header{align-items:center;border-bottom:1px solid #e8e6e0;display:flex;gap:8px;padding:20px 16px 16px}.sidebar-logo{color:#1c1c1e;font-size:1.1rem;font-weight:700;letter-spacing:-.02em}.sidebar-logo-icon{font-size:1.3rem}.sidebar-nav{padding:10px 8px 0}.sidebar-nav-item{align-items:center;background:none;border:none;border-radius:7px;color:#3c3c43;cursor:pointer;display:flex;font-family:inherit;font-size:.875rem;font-weight:400;gap:9px;margin-bottom:2px;padding:8px 10px;text-align:left;transition:background .1s;width:100%}.sidebar-nav-item:hover{background:#0000000f}.sidebar-nav-item.active{background:#00000014;color:#1c1c1e;font-weight:500}.nav-icon{font-size:.9rem;text-align:center;width:20px}.nav-count{color:#aeaeb2;font-size:.75rem;font-weight:400;margin-left:auto}.sidebar-tags{flex:1 1;overflow-y:auto;padding:14px 8px 0}.sidebar-section-label{color:#aeaeb2;font-size:.69rem;font-weight:600;letter-spacing:.08em;padding:0 10px 8px;text-transform:uppercase}.tag-item{align-items:center;background:none;border:none;border-radius:7px;color:#3c3c43;cursor:pointer;display:flex;font-family:inherit;font-size:.84rem;gap:8px;margin-bottom:1px;overflow:hidden;padding:6px 10px;text-align:left;text-overflow:ellipsis;transition:background .1s;white-space:nowrap;width:100%}.tag-item:hover{background:#0000000f}.tag-item.active{background:#00000014;color:#1c1c1e;font-weight:500}.tag-item-icon{color:#aeaeb2;flex-shrink:0;font-size:.8rem}.sidebar-footer{border-top:1px solid #e8e6e0;margin-top:auto;padding:10px 8px 14px}.user-info-row{color:#636366;font-size:.8rem;gap:8px;margin-bottom:4px;padding:6px 10px}.user-avatar,.user-info-row{align-items:center;display:flex}.user-avatar{background:#c7c7cc;border-radius:50%;color:#fff;flex-shrink:0;height:26px;justify-content:center;width:26px}.guest-badge,.user-avatar{font-size:.7rem;font-weight:600}.guest-badge{background:#ff9f0a20;border-radius:4px;color:#c07000;display:inline-block;margin-left:4px;padding:2px 7px}.btn-sidebar-action{align-items:center;background:none;border:none;border-radius:7px;color:#3c3c43;cursor:pointer;display:flex;font-family:inherit;font-size:.875rem;gap:9px;padding:7px 10px;text-align:left;transition:background .1s;width:100%}.btn-sidebar-action:hover{background:#0000000f}.btn-sidebar-action.sign-in{color:#007aff;font-weight:500}.btn-sidebar-action.logout{color:#636366}.note-list-panel{background:#fff;border-right:1px solid #e5e5e5;display:flex;flex-direction:column;min-width:280px;width:280px}.note-list-header{border-bottom:1px solid #f0f0f0;display:flex;flex-direction:column;gap:8px;padding:14px 12px 10px}.note-list-title-row{align-items:center;display:flex;justify-content:space-between;padding:0 2px}.note-list-panel-title{color:#aeaeb2;font-size:.78rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase}.note-count-label{color:#c7c7cc;font-size:.75rem}.search-wrapper{position:relative}.search-icon{color:#aeaeb2;font-size:.75rem;left:9px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.search-input{background:#f5f4f0;border:1px solid #e5e5e5;border-radius:8px;color:#1c1c1e;font-family:inherit;font-size:.84rem;outline:none;padding:7px 10px 7px 28px;transition:border-color .15s,background .15s;width:100%}.search-input:focus{background:#fff;border-color:#b0b0b5}.search-input::placeholder{color:#aeaeb2}.btn-new-note{background:#1c1c1e;border:none;border-radius:8px;color:#fff;cursor:pointer;font-family:inherit;font-size:.84rem;font-weight:500;padding:8px 12px;text-align:center;transition:background .15s;width:100%}.btn-new-note:hover{background:#3a3a3e}.note-list{flex:1 1;overflow-y:auto}.note-list-empty{color:#aeaeb2;font-size:.875rem;line-height:1.6;padding:40px 16px;text-align:center}.note-list-item{border-bottom:1px solid #f5f5f5;cursor:pointer;padding:13px 16px;transition:background .1s}.note-list-item:hover{background:#f9f9f7}.note-list-item.selected{background:#e8f0fe;border-left:3px solid #007aff;padding-left:13px}.note-item-title{color:#1c1c1e;font-size:.875rem;font-weight:600;margin-bottom:3px}.note-item-preview,.note-item-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.note-item-preview{color:#8e8e93;font-size:.79rem;line-height:1.4;margin-bottom:6px}.note-item-meta{align-items:center;color:#c7c7cc;display:flex;font-size:.71rem;gap:6px}.note-item-tag{background:#f0f0f5;border-radius:4px;color:#8e8e93;font-size:.68rem;font-weight:500;padding:1px 5px}.editor-panel{background:#fff;overflow:hidden}.editor-empty,.editor-panel{display:flex;flex:1 1;flex-direction:column}.editor-empty{align-items:center;color:#c7c7cc;gap:10px;justify-content:center}.editor-empty-icon{font-size:3.5rem;line-height:1;opacity:.4}.editor-empty-text{color:#aeaeb2;font-size:1rem;font-weight:500}.editor-empty-subtext{color:#c7c7cc;font-size:.82rem}.editor-content{display:flex;flex:1 1;flex-direction:column;overflow:hidden}.editor-scrollable{flex:1 1;overflow-y:auto;padding:36px 64px}.editor-title-input{background:#0000;border:none;color:#1c1c1e;font-family:inherit;font-size:1.75rem;font-weight:700;letter-spacing:-.02em;line-height:1.2;margin-bottom:10px;outline:none;width:100%}.editor-title-input::placeholder{color:#c7c7cc}.editor-meta-row{align-items:center;border-bottom:1px solid #f0f0f0;border-top:1px solid #f0f0f0;color:#aeaeb2;display:flex;font-size:.8rem;gap:10px;margin-bottom:22px;padding:10px 0}.editor-meta-label{align-items:center;display:flex;font-size:.78rem;gap:4px;white-space:nowrap}.editor-tag-input{background:#0000;border:none;color:#3c3c43;flex:1 1;font-family:inherit;font-size:.82rem;outline:none}.editor-tag-input::placeholder{color:#c7c7cc}.editor-body{background:#0000;border:none;color:#2c2c2e;font-family:inherit;font-size:.95rem;line-height:1.75;min-height:320px;outline:none;resize:none;width:100%}.editor-body::placeholder{color:#c7c7cc}.editor-footer{align-items:center;background:#fafaf8;border-top:1px solid #f0f0f0;display:flex;gap:10px;padding:12px 64px}.btn-save{background:#1c1c1e;border:none;border-radius:8px;color:#fff;cursor:pointer;font-family:inherit;font-size:.84rem;font-weight:500;padding:8px 20px;transition:background .15s}.btn-save:hover:not(:disabled){background:#3a3a3e}.btn-save:disabled{background:#d1d1d6;cursor:not-allowed}.btn-cancel{background:none;border:1px solid #d1d1d6;border-radius:8px;color:#3c3c43;cursor:pointer;font-family:inherit;font-size:.84rem;padding:8px 18px;transition:background .15s}.btn-cancel:hover{background:#f5f4f0}.btn-delete-note{background:none;border:1px solid #ff3b3025;border-radius:8px;color:#ff3b30;cursor:pointer;font-family:inherit;font-size:.84rem;margin-left:auto;padding:8px 18px;transition:background .15s,border-color .15s}.btn-delete-note:hover{background:#fff5f4;border-color:#ff3b3060}.auth-header{align-items:center;background:#f5f4f0;border-bottom:1px solid #e8e6e0;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;gap:24px;height:52px;padding:0 20px;-webkit-user-select:none;user-select:none}.auth-header-brand{align-items:center;color:#1c1c1e;display:flex;flex-shrink:0;font-size:1.05rem;font-weight:700;gap:7px;letter-spacing:-.02em;text-decoration:none}.auth-header-brand-icon{font-size:1.2rem}.auth-header-nav{align-items:center;display:flex;flex:1 1;gap:2px}.auth-header-link{border-radius:7px;color:#3c3c43;font-size:.875rem;font-weight:400;padding:6px 10px;text-decoration:none;transition:background .1s}.auth-header-link:hover{background:#0000000f;color:#1c1c1e}.auth-header-link.active{background:#00000014;color:#1c1c1e;font-weight:500}.auth-header-actions{align-items:center;display:flex;flex-shrink:0;gap:8px}.auth-header-action-btn{align-items:center;background:#1c1c1e;border:none;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-family:inherit;font-size:.84rem;font-weight:500;padding:6px 14px;text-decoration:none;transition:background .15s}.auth-header-action-btn:hover{background:#3a3a3e;color:#fff}.auth-header-action-btn.outline{background:none;border:1px solid #d1d1d6;color:#1c1c1e}.auth-header-action-btn.outline:hover{background:#0000000f;color:#1c1c1e}.auth-page{align-items:center;background:#f5f4f0;display:flex;justify-content:center;min-height:calc(100vh - 52px);padding:24px}.auth-card{background:#fff;border-radius:16px;box-shadow:0 2px 20px #00000014,0 1px 4px #0000000a;max-width:400px;padding:40px;width:100%}.auth-brand{align-items:center;display:flex;font-size:1.2rem;gap:6px;margin-bottom:28px}.auth-brand,.auth-title{color:#1c1c1e;font-weight:700;letter-spacing:-.02em}.auth-title{font-size:1.5rem;margin:0 0 6px}.auth-subtitle{color:#8e8e93;font-size:.875rem;margin:0 0 28px}.auth-form-group{margin-bottom:16px}.auth-label{color:#3c3c43;display:block;font-size:.8rem;font-weight:600;margin-bottom:6px}.auth-input{background:#f9f9f9;border:1px solid #e5e5e5;border-radius:10px;color:#1c1c1e;font-family:inherit;font-size:.9rem;outline:none;padding:10px 14px;transition:border-color .15s,background .15s;width:100%}.auth-input:focus{background:#fff;border-color:#007aff;box-shadow:0 0 0 3px #007aff1a}.auth-hint{color:#aeaeb2;font-size:.74rem;margin-top:5px}.btn-auth-submit{background:#1c1c1e;border:none;border-radius:10px;color:#fff;cursor:pointer;font-family:inherit;font-size:.9rem;font-weight:600;margin-top:8px;padding:11px 14px;transition:background .15s;width:100%}.btn-auth-submit:hover{background:#3a3a3e}.auth-footer-link{color:#8e8e93;font-size:.85rem;margin-top:20px;text-align:center}.auth-footer-link a{color:#007aff;font-weight:500;text-decoration:none}.auth-footer-link a:hover{text-decoration:underline}.auth-divider{align-items:center;color:#d1d1d6;display:flex;font-size:.78rem;gap:12px;margin:20px 0}.auth-divider:after,.auth-divider:before{background:#e5e5e5;content:"";flex:1 1;height:1px}.toast-container{bottom:24px;display:flex;flex-direction:column;gap:8px;pointer-events:none;position:fixed;right:24px;z-index:9999}.toast-alert{align-items:center;animation:toast-slide-up .22s ease;border-radius:10px;box-shadow:0 4px 20px #00000026;display:flex;font-size:.875rem;font-weight:500;gap:10px;max-width:320px;min-width:200px;padding:12px 18px;pointer-events:auto}.toast-alert.success{background:#34c759;color:#fff}.toast-alert.danger{background:#ff3b30;color:#fff}.toast-alert.warning{background:#ff9f0a;color:#fff}.toast-alert.info{background:#007aff;color:#fff}@keyframes toast-slide-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}i{cursor:pointer}
/*# sourceMappingURL=main.fca1d046.css.map*/