.notepad-layout{display:grid;grid-template-columns:300px 1fr;gap:1.5rem;min-height:70vh;position:relative}.notepad-sidebar{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:1rem;display:flex;flex-direction:column;height:fit-content;max-height:80vh;overflow:hidden}.sidebar-header{margin-bottom:1rem}.btn-full{width:100%;justify-content:center}.search-container{margin-bottom:1rem}.search-input{width:100%;padding:.75rem;border:1px solid var(--border-color);border-radius:var(--radius-md);font-size:.875rem;background:var(--bg-primary);color:var(--text-primary);transition:border-color var(--transition-fast)}.search-input:focus{outline:0;border-color:var(--primary-color);box-shadow:0 0 0 3px rgba(99,102,241,.1)}.notes-list{flex:1;overflow-y:auto;margin-bottom:1rem;max-height:50vh}.note-item{padding:.75rem;border:1px solid var(--border-color);border-radius:var(--radius-md);margin-bottom:.5rem;cursor:pointer;transition:all var(--transition-fast);background:var(--bg-primary);animation:.3s ease-out fadeInUp}.note-item:hover{background:var(--bg-tertiary);border-color:var(--primary-color);transform:translateY(-1px)}.note-item.active{background:var(--primary-color);color:#fff;border-color:var(--primary-color)}.note-item-title{font-weight:600;margin-bottom:.25rem;font-size:.875rem;line-height:1.2;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.note-item-preview{font-size:.75rem;opacity:.8;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.note-item-date{font-size:.7rem;opacity:.7;margin-top:.25rem}.sidebar-footer{border-top:1px solid var(--border-color);padding-top:1rem}.notepad-main{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--radius-lg);display:flex;flex-direction:column;min-height:70vh}.editor-header{padding:1rem;border-bottom:1px solid var(--border-color);display:flex;align-items:center;gap:1rem}.title-input{flex:1;padding:.75rem;border:1px solid var(--border-color);border-radius:var(--radius-md);font-size:1.125rem;font-weight:600;background:var(--bg-primary);color:var(--text-primary);transition:border-color var(--transition-fast)}.title-input:focus{outline:0;border-color:var(--primary-color);box-shadow:0 0 0 3px rgba(99,102,241,.1)}.editor-actions{display:flex;gap:.5rem}.editor-container{flex:1;padding:1rem}.note-editor{width:100%;height:100%;min-height:400px;border:none;outline:0;resize:none;font-family:var(--font-mono);font-size:1rem;line-height:1.6;background:0 0;color:var(--text-primary)}.editor-footer{padding:1rem;border-top:1px solid var(--border-color);background:var(--bg-tertiary)}.note-stats{display:flex;gap:1rem;font-size:.75rem;color:var(--text-secondary)}.welcome-screen{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:var(--radius-lg);z-index:1}.welcome-content{max-width:400px;padding:2rem}.welcome-icon{font-size:4rem;margin-bottom:1rem}.welcome-screen h2{margin-bottom:.5rem;color:var(--text-primary)}.welcome-screen p{color:var(--text-secondary);margin-bottom:1.5rem}.mt-sm{margin-top:.5rem}.notes-list-empty{text-align:center;padding:2rem 1rem;color:var(--text-secondary);font-size:.875rem}@media (max-width:768px){.notepad-layout{grid-template-columns:1fr;gap:1rem}.notepad-sidebar{order:2;max-height:40vh}.notepad-main{order:1;min-height:60vh}.editor-header{flex-direction:column;align-items:stretch;gap:.75rem}.editor-actions{justify-content:center}.note-stats{flex-direction:column;gap:.25rem}}@media (max-width:480px){.app-content{padding:.5rem}.notepad-layout{gap:.5rem}.notepad-sidebar{padding:.75rem}.notepad-main{min-height:50vh}.editor-container{padding:.75rem}.note-editor{min-height:300px}}@keyframes fadeInUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.notes-list::-webkit-scrollbar{width:6px}.notes-list::-webkit-scrollbar-track{background:var(--bg-tertiary);border-radius:3px}.notes-list::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:3px}.notes-list::-webkit-scrollbar-thumb:hover{background:var(--text-secondary)}